Tracy, Thanx it works. Where do you get such info about undocumented features like @ContextRoot()? Maybe there are some more interesting things there. As far as I understand the flex architecture such tags like @ContextRoot() are processed during mxml2AS translation on the server, The question is does anyone can provide a list of such tags like @ContextRoot() with description.
WBR, Mykola On 11/25/05, Tracy Spratt <[EMAIL PROTECTED]> wrote: > Declare a property in your mxml like this: > <mx:String id="strContextRoot">@ContextRoot()</mx:String> > > Now, in AS code you can use "strContextRoot" in your path. > > Tracy > > > -----Original Message----- > From: flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED] On > Behalf Of Stanislav Zayarsky > Sent: Friday, November 25, 2005 8:37 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] How to specify root application folder > > Hello Flex Coders, > > I have next problem: > > I have images folder in the root of the application folder. And I have > mxml file deeply inside other folders, that has Loader component and I > want to load image there. > > But I don't know how to specify path to the image i.e. I don't know > how to point to the root of the application folder. > > So the question is, how it should look like: > > source="/images/phone1.jpg" > or > source="./images/phone1.jpg" > or > source="../images/phone1.jpg" > > Best regards > Stanislav > > > > -- > 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 > > > > > > > > > > > > -- > 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. > > ________________________________ -- Best Regards, Mykola ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/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/