|
-
trying to pass swf object parameter in URL
I have a piece of Javascript that creates a Flash file on my site with a swfobject. It uses something like this to read an XML file.
<script type="text/javascript">
var so3 = new SWFObject("scroller_x.swf", "scroller1", "100%", "82", "8");
so3.addVariable("sourceFile", "xmlfiles/myfile.xml");
so3.addVariable("fileType", "xml");
</script>
I have included this page as a php include as it shows on multiple pages. What happens though, is this is an image scroller and is used for navigation. When the users clicks item 10 and goes to that page, the scroller resets. What I want to do is pass along this via URL or on the page
so3.addVariable("startAt", "10");
to tell it where to start when the images is selected.
Thanks in advance.
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
|