-
refer to the instance of documentclass
i need to refer to a variable within the only instance of the documentclass. i tried to just say BallController.points, doesnt work. root.points doesnt work either. how is it done?
-
blah blah blah, cast root to MovieClip blah blah search.
Or, if you know that your class is going to be the document class, you could make the properties you need static, and you could refer to them as BallController.points (assuming BallController is the class).
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
|