Forum Topic: actionscripting help?

(62 views • 2 replies)

This topic is 1 page long.

<< < > >>
Questioning

mikedood

Reply To Post Reply & Quote

Posted at: 4/17/09 12:43 PM

mikedood NEUTRAL LEVEL 07

Sign-Up: 06/05/07

Posts: 64

so im working on a game in flash cs3- and ive hit a bit of a snag with the actionscript. i have a 30-something frame movie that automatically plays- and i have a movieclip within that movie with a button on frame 1, and an animation that i want to play should the user click the button at any time whilst they are watching the movie. i have a stop function on frame one, and the standard code
on(release){
_root.nextFrame(); }
on the button. the problem im having is that I want the button to play only the animation within the movieclip, and i want the movie to play from start to end regardless of whether the user has clicked the button, so that the animation would be played on top of the movie. but when I click the button it plays the next frame in the timeline of the movie and not the next frame of the animation within the movieclip

id be really grateful if anyobdy could help. im using actionscript 2 btw

BBS Signature

None

ColdLogic

Reply To Post Reply & Quote

Posted at: 4/17/09 12:47 PM

ColdLogic EVIL LEVEL 19

Sign-Up: 11/12/03

Posts: 524

ok thats simple use
_root.movieclipname.nextframe();

just make sure that movieclipname is the instance of your movieclip.

insted of just _root.


None

mikedood

Reply To Post Reply & Quote

Posted at: 4/17/09 02:17 PM

mikedood NEUTRAL LEVEL 07

Sign-Up: 06/05/07

Posts: 64

thx d00d... lol it seems rly simple now :)

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 08:51 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!