PDA

View Full Version : how to create a flash refresh button?


darkstyle
08-04-2004, 09:52 AM
hie there...
how do u create flash refresh button (F5)?
Any idea?? help required!...

darkstyle
08-04-2004, 10:31 AM
yup... got the solution !! :)
it's kind of a workaround but I would attach this code to my flash button

getURL("javascript: MM_Refresh()");

and then in the html page the flash file appears it's just a case of adding

function MM_Refresh(){
window.location.reload()
}

originaliron
09-24-2007, 10:46 PM
Still receiving an error

refresh_mc.addEventListener(MouseEvent.CLICK, rePlay);

function rePlay(event:MouseEvent):void
{
loadMovieNum("MemoryC.swf", 0)
}

refresh_mc.buttonMode = true;


keeps outputing error 1180, call to possibly undefined method.

sorry
I posted this in the wrong thread. please disregard.

thatblokemike
09-24-2007, 11:59 PM
what does that benfit over calling the same url with _parent?