[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:[EMAIL PROTECTED] 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/ . _ Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Including files.
Try this: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:dir1=componentsDir1.* xmlns:dir2=componentsDir2.* dir1:Component1InDir1 / dir1:Component2InDir1 / dir2:Component1InDir2 / dir2:Component2InDir1 / João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26 Sent: sexta-feira, 14 de Outubro de 2005 15:04 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:[EMAIL PROTECTED] 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/ . _ Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- 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 Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM ~- -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Including files.
Youll either need three namespace entries or youll 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Including files.
Option 3 also works like this ;-) without giving the namespace a reference: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; AddSale xmlns=panels.status.* / /mx:Application Just thought I'd provide yet another way. But may I add that Dustin's examples are better to use, I merely wanted to demonstrate an alternative. Andrew Spaulding www.flexdaddy.info --- 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:[EMAIL PROTECTED] 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/ . _ Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/