Copy link to clipboard
Copied
Good morning all!
I've got a problem getting one thing in my file to work. I am getting this error, but I don't know why:
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Stage@7fff9e7c0d1 to flash.display.MovieClip.
at _0102title_fla::Content_17/frame130()
Here's the code where the error comes from:
stop();
var getRoot:MovieClip = MovieClip(root);
var rootLevel:MovieClip = MovieClip(getRoot.parent.root);
rootLevel.rdcmndNextSlide = 1;
I need your help!!! please!!
Copy link to clipboard
Copied
the error message is pretty clear. the parent of the root is the stage and the stage is not a movieclip.
so, you can't cast the stage as a movieclip.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now