Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onClick reLoad the.swf clip into layer(DIV)tag

Status
Not open for further replies.

Curisco

Programmer
Feb 6, 2002
90
SE
OK,
Here,s the deal on the htm page i have a layer which contains a swf movie, which unfortunatly for this projekt loads as soon as the page does.
So i would like to know if it's possible to, on the click of a button reload/refresh the contents of the layer?

The code below shows you that i have a show hide situation which works! (shows then hides, i'm working on getting it to do the opposite but that's another question)

<a href=&quot;#&quot; onClick=&quot;HideShow('flashBox1');&quot; reload/refresh('skrufnekk.swf');&quot;> Flash</a>

skruffnekk being the film inside the layer.

Well, i hope i've made my self clear and if not the site is up here ' the html is a bit of a mess but ... under the flash file on the right you'll find a button &quot;flash&quot; this hides the layer, after a few seconds when the film is loaded and the button is pressed ...no animation hence the need for the reload.

THanks for your time as always,
/Ramsey

-------------------------------------
Laughing out loud every day,
keeps the doctor away....gotoAndPlay
-------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top