cool thx! On 8/8/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
>>swfFolder = _level0._url.substring(0,_level0._url.lastIndexOf("/")) + "/"; That looks familiar. ;) Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Chris Hill >>Sent: Tuesday, August 08, 2006 11:25 AM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] how to set the root directory - swf vs html? >> >>swfFolder = _level0._url.substring(0,_level0._url.lastIndexOf("/")) + "/"; >> >>then use this variable to load your data: >> >>loadMovie(swfFolder + "image.jpg"); >> >>Peace >>Chris >> >>quinrou . wrote: >> >>> Hi, >>> >>> My HTML and my flash movie live in 2 different directories. So when I >>> work >>> in the flash IDE my swf can load all its assets but when I try to use >>> that >>> same swf via its HTML page the swf can't find its assets. Because it >>> now has >>> its root as the html root. I am pretty sure there's a work around to >>> define >>> the swf directory as the root not the html. >>> >>> thanks >>> seb >>> _______________________________________________ >>> Flashcoders@chattyfig.figleaf.com >>> To change your subscription options or search the archive: >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> Brought to you by Fig Leaf Software >>> Premier Authorized Adobe Consulting and Training >>> http://www.figleaf.com >>> http://training.figleaf.com >> >>_______________________________________________ >>Flashcoders@chattyfig.figleaf.com >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >>Brought to you by Fig Leaf Software >>Premier Authorized Adobe Consulting and Training >>http://www.figleaf.com >>http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com