I have a flash swf file displayed on an asp.net page, when a user clicks on a button I want to be able to change this flash file to another flash file. Any ideas?
Printable View
I have a flash swf file displayed on an asp.net page, when a user clicks on a button I want to be able to change this flash file to another flash file. Any ideas?
Place it in a panel.
On the click of the button, clear the controls of the Panel.
It's similar to pnlMyPanel.Controls.Clear()
Then, add a new literal control:
pnlMyPanel.Controls.Add(new LiteralControl("the html code for the new flash here"))