| Welcome to Brackenwood. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Action Script Help; Okay I need help with some AS........... | |
|---|---|
| Tweet Topic Started: Apr 13 2005, 08:31 AM (105 Views) | |
| mystical-mongoose | Apr 13 2005, 08:31 AM Post #1 |
![]()
Eggy Toast
|
Okay I have my movie. Made up of a couple scenes. And when it gets to a certain scene the first frame is a button. And I want that frame to stop, untill someone pushes the button. But it isn't working. Help please.
|
![]() |
|
| Mr. Jiggmin | Apr 13 2005, 10:03 AM Post #2 |
|
made of tulips
|
on the frame with the button on it put: stop(); _root.yourButtonName.onPress = function(){ play(); } Then give your button an instance name and replace "yourButtonName" in the above code with whatever you named it. If you don't know where the instance name box is, click on the button and it is in the lower left hand corner of the screen. |
![]() |
|
| ItsaMystery | Apr 18 2005, 12:13 PM Post #3 |
|
Brackenwood Lightweight
|
As an alternative way: Put the code:
in the first frame, and the code:
in the button itself. Hope that helps.
|
![]() |
|
| Xavo | Apr 19 2005, 03:21 AM Post #4 |
|
Xav ♂(im a boy :P)
|
in the frame u want to stop put:
and in the button that it is in a frame in a layer above the layer that have the keyframe with the stop put this:
in the "gotoAndPlay(2)" replace 2 with the number of the frame where the movie starts, if it starts in a different scene put this:
put instead of "nameofthescene" the name of the scene(haha), and with ""; ig:
NOTE: REMEMBER THE "" ^^ |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Actionscript · Next Topic » |







12:31 AM Jul 12