View Single Post
Old 03-12-2009, 11:34 AM  
qw12er
Confirmed User
 
Join Date: Apr 2004
Location: Montreal
Posts: 799
:stoned Flash guru ... need your help

hi,

I'm learning actionscript 3.0 and I'm wondering why can't I create instances of MovieClip I've drawn and converted to MovieClip in my lib ?

Code:
var mc:MovieClip = new MonClip();
addChild(mc);

// MonClip is a predefined MovieClip I did.
-> make sense to me, but flash returns this error : 1180: Call to a possibly undefined method MonClip.

How can I do what I want ?
__________________
I have nothing to advertise ... yet.
qw12er is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote