You’ll either need three namespace
entries or you’ll need to create your own manifest file which should be
described in the docs.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rgwilson26
Sent: Friday, October 14, 2005
10:04 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Including files.
I am having a similar problem. I am trying to do the same to
reference several directories with my components.
for example:
root
/componentsDir1
/componentsDir2
/componentsDir3
I can acces /componentsDir1 by:
--------------------------------------------------------------
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
xmlns:comp="componentsDir1.*">
<comp:NewComponent />
</mx:Application>
---------------------------------------------------------------
But, I need to access more than one directory.
What is the correct
syntax in root to access components in all three
sub directories?
Thanks
--- In flexcoders@yahoogroups.com,
"Mercer, Dustin"
<[EMAIL PROTECTED]> wrote:
>
> You have to set the namespace property
(xmlns:xxx) on either the
app or
> the instantiated control. I.E.
>
>
>
> Option 1:
>
>
>
> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
> xmlns:addsale="panels.status.*">
>
>
<addsale:AddSale />
>
> </mx:Application>
>
>
>
> Option 2
>
>
>
> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
>
>
<addsale:AddSale xmlns="panels.status.*" />
>
> </mx:Application>
>
>
>
>
>
> Either one of those solutions should work
:-) If you need more
> explanation, let me know.
>
>
>
> Dustin Mercer
>
> _____
>
> From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
> Behalf Of Jeremy Rottman
> Sent: Thursday, September 01, 2005 1:07 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Including files.
>
>
>
> I am not sure where to begin. My app
structure is folder based start
> with index.mxml/application.cfm on the top
teir. Then I move into
> folders that I can panels within the panel
folder I have several
> folders broken up in to the different app
requirements. The
question I
> have is, what is the best way to use custom
components, as I plan to
> develope each panel as seperate custom
components.
>
> So if I wanted to include the page Add Sale that was in the
following
> heirarchy, how would I do it. Would I use
soemthing like this
> </panels/status/addSale> to use it as a
custom component?
>
> --Folder Heirachy--
>
> Root
> /Panels
>
/Status
>
/addSale.mxml
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>
> _____
>
> YAHOO! GROUPS LINKS
>
>
>
> * Visit your
group "flexcoders
> <http://groups.yahoo.com/group/flexcoders>
" on the web.
>
> * To
unsubscribe from this group, send an email to:
>
[EMAIL PROTECTED]
>
<mailto:[EMAIL PROTECTED]>
>
> * Your use of
Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>
.
>
>
>
> _____
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
|