[FONT=Franklin Gothic Medium]I am trying to access the display properties of a MovieClip that extends a custom base Class. I’ll try to break the problem down as clearly as I can:
• I’ve created a base class (called PageBase) which extends MovieClip[/FONT]
[FONT=Franklin Gothic Medium]• I’ve created several MovieClips in the Flash IDE, along with a custom class for each (called Page_1, Page_2, etc.). The custom class is listed in the Class field of the MC’s library properties dialogue box. No Base Page is listed (my understanding is that I can’t use Base Class when the MC has a custom Class). Each of these custom Classes extends the base Class (PageBase) rather than directly extending MovieClip.[/FONT]
[FONT=Franklin Gothic Medium]• When I instantiate one of the MovieClips in my Document Class, everything appears to work properly and I can access the super class (PageBase)’s properties & methods when I set their access specifiers properly (i.e. using protected instead of private, etc.) from within the custom MC’s Class (e.g. Page_1).[/FONT]
[FONT=Franklin Gothic Medium]• The problem is that I seem to be unable to access the display properties of any MovieClips within the dynamically-generated MovieClip (i.e. access the alpha property of a button within Page_1). [/FONT]
[FONT=Franklin Gothic Medium]Any thoughts or suggestions would be greatly appreciated.[/FONT]
[FONT=Franklin Gothic Medium]I can provide source code, but it’s pretty lengthy and spans several .as files. Let me know if that’ll help.[/FONT]
[FONT=Franklin Gothic Medium]Thanks!!
[/FONT]