Thanks Abdul But I am not sure I know how to do that. Can you give me an idea 
of what that would look like. Sorry I am a total noob and I am treading water 
if you know what I mean. 
   
  I really appreciate any help you can give me in solving this dynamic linking 
problem.
   
  Matt

Abdul Qabiz <[EMAIL PROTECTED]> wrote:
  Why don't you pass the path of XML to SWF using FlashVars. When SWF loads,
it would have variable available, you dont need to detect or do anything
else.

Yeah, you need to make sure you pass the path.

-abdul


On 6/12/06, Matt Mc wrote:
>
> Loading XML in the HTML Embed Tag
>
> What I am doing:
> I have a dynamic MP3 player that I need to play a single MP3 per swf. I
> need to load XML file from a link in the html embed tag, this way I can use
> the same player for different XML files that call out each MP3 from dynamic
> locations.
>
> How it works now:
> Right now I am loading the XML with the path coded into an action script
> file.
>
> // playlist variables
> private var playlistURL:String = "playlist.xml";
> private var playlistObj:jwPlaylist;
> private var playlistArray:Array;
>
> What I need help with:
>
> I need to create a flashvar that will load in the XML dynamically from a
> link in the Embed tag.
>
> How do I get the action script to detect and load the variable in the
> Embed tag?
>
> I am looking for the code that you put in the ebed tag and the code that
> accepts it in the actionscript file.
>
>
> I just need a small push in the right direction.
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.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


 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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

Reply via email to