Mouse over goto and play

i wanna do this thing dunno if its possible but on mouse over (mouse over mi button) i want this clip to play but i want it to play over the top so i dont lose mi button u get me?

on (release) {
getURL(“main.html”, “_self”);
}
on (rollOver) {
gotoAndPlay(“flare”);
}

flare is the name of the layer and the instant name of the clip i want to play.

you can’t load a new html and go somewhere in the original swf.

Not sure what exactly you are trying to do here?

lol i wanted 1 button to go to the main.html but when u just do the mouse over i want this clip i got to play but im guessin from wat u sed i need seperate buttons or summit.

You want it to play “over the top”. Huh ?

u get me?

not really… :-/, could you clear up a bit your explanation, thnx

right here goes again its kinda wired i wud post the .fla but at the min they aint much point.

Well i have this button yeah and i want this button to take me to the url page main.html when i click it (on release).

but as well i want the same button to play a animation when i just roll over the button.

u get me now? help if u can if u still dont get me i just have to scrap the idea.

keep it real
Desire.

No problem at all, let’s say you have a timeline, and in that timeline you have a movieclip with your animation you want to play, and your button. The movieclip has the instance name ‘mc’ for example and button has ‘btn’.

The first frame of that movieclip is empty and has a stop action, otherwise you’d already see a part of the animation and it’d play already. Don’t think you’re wrong when your first frame isn’t empty, that’d be because you already want people to see the a bit, and then animate it on roll over of the button. Ok.

Place this on your button:


on(rollOver){
_parent.mc.play();
}
on(release){
getURL("main.html","_self")
}

or you could get the new html to load from frame 1 on the movie that you are getting the button to run!

As a frame play action and not a button event action