-
Hi
Does anyone know a way to pass a variable contained in a url to an embedded flash file?
the url would look something like:
http://www.mydomain.com/application?...e=passed_value
I want to pass an id number to the embedded flash file so that it can load the right xml template.
If anyone can help, I would greatly appreciate it.
thanks,
mr
-
Senior Member
my guess that you could do something with Javascript. However I don't think any XML code is going to help you ;-)
Why don't you try:
Flash 5 ActionScript Forum:
http://board.flashkit.com/board/foru...php?forumid=30
Flash MX Forum:
http://board.flashkit.com/board/foru...php?forumid=61
or even Genral Help:
http://board.flashkit.com/board/foru....php?forumid=2
Thanks
Luke
-
you'll need to use asp or similar thing to hold the swf file.
if you're page was called test.asp the following should work:
on you first page, link to test.asp?xmlitem=<%=xmlitem%>
then in your page containing the flash file embed the file, but query that too, like:
<object embed src=flashfile.swf?xmlid=<%=request("xmlitem)%>
then you can you reference _root.xmlitem in your flash file and use that as a variable.
-
wikkid.
it didn't like my html and know I can't edit the post.
just an idea - have edit details for each post above the post, not below it.
that way people can edit it if they break it like I just did
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|