Hello I've got a class that extends movieclip. This class is being associated with a movieClip in the Libary using the Object.RegisterClass method. When I attach this movieclip using attachMovie, the instance of the class does not respond to method calls defined in the subclass.
Here's the code: Object.registerClass("menu_mc", VideoPlayerWidgetMC); videoPlayer = screen_mc.attachMovie("videoPlayerEmpty_mc", "videoPlayer_mc", 10); videoPlayer._visible = false; videoPlayer._x = 500;; videoPlayer._y = 500; videoPlayer.init(); // does not respond to this custom method call!! In the debugger, the instance name shows up, but there is nothing next to it (the field is blank). The movieclip appears on the stage, however. I tried casting this clip as the custom object type (the sub-class), but this didn't work. I have a feeling this is a common occurance - does anyone know what I'm doing wrong? Thanks, August -- --------------------------------------------------------- -------------------------------------------------------- August Gresens Technical Director Black Hammer Productions, NYC [EMAIL PROTECTED] --------------------------------------------------------- -------------------------------------------------------- _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com