Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Complex roll over button

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
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
Close
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
Close
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
Close
PM sent
 
0
Close
thanks :)
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back