|
-
Steve R
extend the movieClip object?
Hi
I am trying to create a new object which extends the MovieClip.
I have modelled this code on some MM examples but I don't see the hello world
Can anyone tell me what I have done wrong? (probably loads :-( )
Ta
Steve
My fun file has only this actionscript.....
#initclip
function SWR_Tree()
{
this.createTextField("tf",100,20,20,200,200);
tf.text="hello world";
}
SWR_Tree.prototype = new MovieClip();
Object.registerClass("SWR_Tree",SWR_Tree);
#endinitclip
attachMovie("SWR_Tree","tree", 101);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|