NameSilo

Complex roll over button

Spacemail by SpaceshipSpacemail by Spaceship
Watch

Albino

Munky DesignsEstablished Member
Impact
17
ok, i enjoy working in flash, and ive seen loads of good rollover effects, and always wondered how to do them, and then I came across this tutorial,(http://www.kirupa.com/developer/mx2004/button_effect.htm) and I though great!

but, my buttons starts its animation as soon as the flash is loaded, and this is clearly wrong, ive no idea what im doing wrong.

the code im using is :

stop();

this.onEnterFrame = function(){

if(rewind == true){

prevFrame();

}

}

this.onRollOver = function(){

rewind = false;
play();

}

this.onRollOut = function(){

rewind = true;

}

this.onRelease = function(){

getURL("http://www.kirupa.com","_blank");

}


same as the tut, but the //stop(); is stop();

can anyone else go through the tut and see if it works for them?

thanks

Todd
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I went through the tutorial and can only tell that it's working for me...

Are you previewing your flash in a browser? You might close your browser first because it might be a caching problem (if you first played this file without uncommenting the "stop" )
 
0
•••
i am pre-viewing in flash,and also exporting as a .swf.

i am using flash mx, not 2004, will that make a difference?

i can send my file across in email if you want, so you can have a look?

thanks
Todd
 
0
•••
PM sent
 
0
•••
thanks :)
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back