Link to home
Start Free TrialLog in
Avatar of roscoeh23
roscoeh23

asked on

editng movie clips from a class

Hi,

I have a number of movie clips I have dragged on the main timeline. Now I also have a number of buttons created with  buttonClass. When I try and change the size of the movie clips the class thinke they are empty.

How do I make buttons on the main timeline available to my classes? Do I import them? Is there another way to do this? A stage class.


Many thanks,
Avatar of najh
najh
Flag of United Kingdom of Great Britain and Northern Ireland image

well if they're created in the button class, you'll have a reference to them in your button class. (or any class you created them in)

So if the class you used to set up the display is called Display, then you'd probably have some references to movieclips in there to support all the different movieclips you're referencing. These might be private or perhaps public variables, but i'd tend to choose private.  Then you can use those references as normal through the rest of your code.
Avatar of roscoeh23
roscoeh23

ASKER

please be more specific or provide some code.
ASKER CERTIFIED SOLUTION
Avatar of najh
najh
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial