-
Simple "nextFrame" action doesn't work !! HELP!
I have a very disturbing problem:
I have a button in one layer.
I have a MC instance in another layer named "Start1".
The button have a simple action:
---------------------------------
on (release) {
_root.start1.nextFrame();
}
---------------------------------
From some reason - this action doesn't work.
* The MC have more then one instance on the stage, each on different layer, and each with different name.
I tried activating the same action from the button, on a new MC I have made that looks the same - it works. What can be the problem with this simple MC (4 frames, stop on each frame, the action should make it go to nextFrame on each release of the button) ??!
-
You say that your MC is called "Start1" but in your actions you refer to "start1"...is it the capital S that is causing the problem?
Adam
-
just a mistake in the message
no.. in the movie it's the same- I used the levels tree to find the name of the instance.
I even tried replacing the name of the instance. nothing.
Can it be related to the fact that I created several key frames for the instance on the timeline, and only then named the instance (I went through all it's key frames and gave that instance the same name - "start1" ) ??
-
found the problem...
I didn't give all the instance's key frames the same name, now I did and it works.
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
|