Not sure, but this "might" help... BASE - ( . or base directory or URL) Specifies the base directory or URL used to resolve all relative path statements in the Flash Player movie. This attribute is helpful when your Flash Player movies are kept in a different directory from your other files.
Used when embedding the swf in html.... more info here: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_12701 On 8/9/06, quinrou . <[EMAIL PROTECTED]> wrote:
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
-- [EMAIL PROTECTED] _______________________________________________ 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