Problems with "registerClass" function
I have been having some trouble with the “registerClass” function for making homemade objects inherit the properties & methods of movie clips.
Below (verbatim) is the code I have been using from an example in a reference book, which would not appear to work. I have tried placing the code in the first keyframe of the main timeline, in the first keyframe of the symbols timeline & on the symbol itself but with no success.
Just to make sure I have set everything up correctly – I first created a symbol & used the linkage option in that window to set the symbol name & (by default) the linkage identifier to symbolID I chose both the default options for linkage – Export for action script & export in First frame & as mentioned above tried the register class script in a few keyframes. I have tried it with just the symbol on stage & with the symbol + instances on stage but nothing doing.
Any help please.
MyClass.prototype= new MovieClip();
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Function Consolidation Help||SpectacularStuf||Flash CS3 / Flash 9||0||09-29-2007 03:20 AM|
|Slight actionscript forum||Agent-VIP||Newbies||0||05-08-2007 12:30 AM|
|Newbie! Cannot access flash.net.FileReference||paulr||Actionscript 2.0||7||12-21-2006 11:33 AM|
|Buttons ... damned BUTTONS||gooup||Flash 8||3||10-15-2006 12:31 AM|
|Functions||ssjskipp||Flash MX ActionScript||5||03-22-2005 12:42 AM|