-
moving buttons
I am currently building a site that has buttons that move from left to right across the screen. I have placed the button inside of a movie clip so I can perform this movement within the movie clip and I then attached the following code to the movie clip
on (rollOver) {
stop();
}
on (release) {
_root.gotoAndPlay(20);
}
which stops the button from moving whilst mouseover and which then advanced the main movie to frame 20 after it has been clicked. My problem is I want the button to continue to move after the mouseover event if the button isn't clicked. Can anyone point out how to this as I pulling my hair out here!
-
Senior Member
Are you moving your button inside a MC or using actionscript? A little more of an explanation would help
-
Senior Mamba
code: on (rollOut) {
play();
}
-
I am moving the button within the mc using simple tweens
-
Originally Posted by austriaman
code: on (rollOut) {
play();
}
Thankyou, that is what I was looking for I am just learning the actionscript as you can probably tell!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|