Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > HTML and JavaScript

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-04-2004, 09:52 AM   #1
darkstyle
Senior Member
 
Join Date: Jun 2004
Posts: 133
Send a message via MSN to darkstyle Send a message via Yahoo to darkstyle
Default how to create a flash refresh button?

hie there...
how do u create flash refresh button (F5)?
Any idea?? help required!...
__________________
Regards
Interactive Designer.
darkstyle is offline   Reply With Quote
Old 08-04-2004, 10:31 AM   #2
darkstyle
Senior Member
 
Join Date: Jun 2004
Posts: 133
Send a message via MSN to darkstyle Send a message via Yahoo to darkstyle
Default

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()
}
__________________
Regards
Interactive Designer.
darkstyle is offline   Reply With Quote
Old 09-24-2007, 10:46 PM   #3
originaliron
Dreaming Big
 
Join Date: Sep 2007
Posts: 20
Default error

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.

Last edited by originaliron; 09-24-2007 at 10:49 PM.. Reason: wrong thread
originaliron is offline   Reply With Quote
Old 09-24-2007, 11:59 PM   #4
thatblokemike
Registered User
 
Join Date: Nov 2005
Posts: 139
Default

what does that benfit over calling the same url with _parent?
thatblokemike is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:53 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.