This content has been marked as final. Show 3 replies
I think you have your code attached to an movieclip or component directly.
Try select all, Cut. Then select the frame you want to have it in, and paste back into the actionscript window.
The code is on its own action layer at Frame #1 of the root timeline.
I had accidently placed in on the same layer as the movieclip that is being manipulated. But I cut and pasted it onto its on layer in the root timeline.
You're welcome. FYI I think that even though the clip you had was on its own layer originally, the code was attached to the clip directly and not to the frame the clip was in. If you select a clip and then paste into the actionscript window you'll see what I mean - no 'a' will appear in the frame telling you it now has actionscript in it.
By placing the code on a separate empty layer you ensured you did not have the clip selected first and achieved what needed to be done. But the same result could have been achieved by clicking on the frame in the timeline before pasting, even on the same layer that the clip was in. (If all that makes sense)
I've done the same thing before by accident too. More than once I think. Easy enough to do when you're flicking between frame actions and editing author-time properties of individual movieclips. Can be frustrating because you end up looking in all the wrong places for the problem.