Calling MovieClip(root) from a dynamic MovieClip instance produces error 1034
NINJA EDIT: For some reason, the same code works now, without any problem at all. I don't know what happened, or why, but I no longer have this problem Here's the original post: To put simply, I created a MovieClip, put it with addChild() to stage, and when I tried to call this piece of code: MovieClip(root).someFunction(); It throws Error #1034: Type Coercion failed: cannot convert flash.display::Stage@4034f71 to flash.display.MovieClip. I really can't figure out why this piece of code won't work. The object itself works perfectly, as I can call functions within it (that line of code is actua
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.