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 <[EMAIL PROTECTED]> 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
_______________________________________________
[email protected]
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]
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