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
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
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.
Using Flashvars is extremely easy - all you have to do is add a PARAM to
the object tag, or a Flashvars to the Embed
All the resources I get tell me how to put a flashvar into an embed tag but not
the syntax for bringing the variable into my Action Script Document.
I have been working on this for almost a week now and I know it is simple
because everyone keeps telling me so.
If I can't get this I am dead.
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Help loading xml in html embed tag
All the resources I get tell me how to put a flashvar into an embed tag but
not the syntax for bringing the variable into my Action Script Document.
I have been working on this for almost a week now and I know
of America
Learning Technology Solutions
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Matt Mc
Sent: Monday, June 12, 2006 4:20 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Help loading xml in html embed tag
All
] Help loading xml in html embed tag
All the resources I get tell me how to put a flashvar into an embed
tag but not the
syntax for bringing the variable into my Action Script Document.
I have been working on this for almost a week now and I know it is
simple because
everyone keeps telling me so
elibol [EMAIL PROTECTED]
I really appreciate you guys helping. For some reason it is still not working.
I am going to load a zip file of the project. I just need this playlist to be
dynamic to make my boss happy before I get canned. he knows I am not an
actionscripter but he seems to think
Maybe you're loading the xml file relative to the swf?
If you define the xml files location relative to the swf file and the html
document you're embedding the swf file into is located in different
directory then the xml location will be incorrect.
example:
Lets say that these are the paths:
Right now the file is relative to the swf. The problem is i need it to link to
files that may not be relative. The actuall xml doc will be on a completely
difference server.
So The MP3 player which is now relative to the files needs to accept the
Flashvar so it does not need to be relative.
I
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.
11 matches
Mail list logo