I guess it helps a bit, but still doesnt definitively say if its possible or not.
I have now instead gone down the route of using SWFObject (albeit slightly modified).
Main Topics
Browse All TopicsI am trying to change the path to a .swf file using javascript on the page. This is to change to a different type of graph.
I can change the object.data to reflect the new graph.swf but I am not sure of the best way to change the value of a <param /> using Javascript.
The only way I can think is to add an id="" to the <param /> item. Is there a better way for this?
Also once it is done, how do I get the object to "refresh" to show the new swf?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Its not possible to change the parameters once the flash is loaded.
You have two options
1) You can reload the flash using new parameter. If you are using SWFObject, first delete the old object/embed tag from the DOM tree and call SWFObject with new parameters to load the flash gain.
2) You can use External Interface for communication between flash and javascript.
Check this http://www.experts-exchang
hope these helps
kiranvj
Business Accounts
Answer for Membership
by: kiranvjPosted on 2008-09-19 at 07:31:27ID: 22521483
AFAIK you cannot change the param attribute dynamically using javascript. For that you have to first delete the object and create a new object with new param
hope this helps
kiranvj