alert This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
user leefy
leefy (7)

Day to Night rollover button

Another learning thingy is was getting up to...may help you too if you suck like me...If not....At least it's quite pretty.Made with AS2 and flash 8.
2647 downloads, 26994 views
Download (17.52 KB)

Comments

You need to login to post a comment.

user annaboman00
annaboman00 15 years ago

Very neat, you just helped me understand how to make the neat buttons! :) Thanks

user leefy
the listing author leefy 16 years ago

b1.onPress = Press;

function over() {
this.gotoAndPlay(2);
}


function out() {
this.gotoAndPlay(11);
}

function Press() {
gotoAndPlay(21);
}

user paulodedeus
paulodedeus 16 years ago

cool

user langaw360
langaw360 16 years ago

in a flash website...
i need an animated button with rollover and rollout effects, i know how to make buttons and can make it transfer to another scene but i need them to animate on rollover and on rollout.....


//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.sample","_blank");

}

this is the code that ive been following ...and it can only go to a link not a scene....

user leefy
the listing author leefy 16 years ago

eeerm.?
on press goto and play a certain frame or scene you mean??..Because if so that's not a problem at all...In fact that's pretty much the basics of flash websites.

on (release) {
gotoAndPlay(10);
}


on any button instance will work fine to send you to frame 10.

But with a movie clip button that code won't work....and i can't be bothered to go into it now until you can perhaps make it a little clearer... :-)

user langaw360
langaw360 16 years ago

question on buttons....
does anyone knows how to create an animated button(rollover/ rollout)that can go to another scene? all i saw was buttons that can go to a link not a scene inside the same file....ive searched the the web since last week but all i saw was the same....

user langaw360
langaw360 16 years ago

question on buttons....
does anyone knows how to create an animated button(rollover/ rollout)that can go to another scene? all i saw was buttons that can go to a link not a scene inside the same file....ive searched the the web since last week but all i saw was the same....

user jing1
jing1 16 years ago

Pretty coo, could be used on an itneractive kids site and would look good there so 7/10

user jasonxx_kangkong
jasonxx_kangkong 16 years ago

nice so cute
i think it would be fine if you can create
a noon at the middle and a before sunrise view
tnx a lot for the idea