View Full Version : what is the difference between createClassObject and new
dsdsdsdsd
04-29-2008, 11:06 PM
hello;
what is the difference between createClassObject and new ??
it seems to me that they do the same thing;
thanks
dsdsdsdsd
dsdsdsdsd
04-30-2008, 08:43 PM
part of the answer:
http://www.kirupa.com/forum/showthread.php?t=207233
xxneon
04-30-2008, 09:24 PM
when you use 'new' it only makes an instance of the desired class.. but it will not show any visual representation of the component..
when you use createClassObject().. however, it is setup to take the component that you want and attach it to the stage.. and also assign the desired class to the attached movieclip which is associated with the component that you have in your library..
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.