Welcome to GraphicForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Newbie Problem with my Animated Button.....

 
   Graphic Forums (Home) -> Newbie Corner RSS
Next:  - What am I doing wrong? (CSS padding works in FF..  
Author Message
flipper66




Joined: Dec 01, 2006
Posts: 3



(Msg. 1) Posted: Fri Feb 23, 2007 12:04 pm
Post subject: Newbie Problem with my Animated Button.....

Hello,

I posted this in the General Discussion Forum, but maybe it's more of a Newbie Question so here it is again.....

I seem to be having a problem with a "Button" i created inside of a
"Movie Clip"....

I simply wanted to create an animated button with 2 seperate animations for (rollOver & rollOut) states....

I used 2 frame labels to tell the button where in the timeline to go depending on whether the mouse rolls over or away from the button.

The animations do work fine.....but, the button doesn't seem to work once clicked (nothing basically happens) even tho i have used the correct syntax to point it to a new "Scene" in my Flash Movie.

However, when i copy/pasted all the animations and button to an "Empty New Scene"......(not within a Movie Clip anymore)....the Button seemed to work. I Don't understand why it won't work inside a Movie Clip?

This is the code i have used for the button:

on (rollOver, dragOver) {

gotoAndPlay("s1");

}

on (rollOut, dragOut) {

gotoAndPlay("s2");

}

on (release) {

gotoAndStop("Scene 2", 1);

}


Can anyone shed some light on this please?

 >> Stay informed about: Newbie Problem with my Animated Button..... 
Back to top
Login to vote
Display posts from previous:   
   Graphic Forums (Home) -> Newbie Corner All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]