Reputation: 218722
I have a Flash file in my web page,the flash accepts a value as an argument and shows a graphics based on that. Now I want to know using JavaScript, can I reload the flash? So that when user enter a value and clicks on a button, the value will be passed to the flash file in same page and show the graphic (without loading the page again).
Upvotes: 0
Views: 441
Reputation: 67802
You could use swfobject to embed the flash dynamically, or you could just put the flash object in a 1px by 1px container and show it when you're ready. To pass in the argument, you could expose javascript methods in the flash object, like in this tutorial from adobe.
Upvotes: 1