Controling MovieClip properties from a Class that it'slinked to

This is a discussion on Controling MovieClip properties from a Class that it'slinked to within the Macromedia Flash forums in Adobe Tools category; Hi all, I have a Moveclip with a Dynamic text field instance name of "optionName". The movie clip is linked to my custom Class "Toggle". Is there a way for me to access "optionName.text" from my class? I need to set the optionName.text to a string with a function of my class. Thanks....

Go Back   Application Development Forum > Adobe Tools > Macromedia Flash

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-10-2008, 03:44 PM
sabbamonte
Guest
 
Default Controling MovieClip properties from a Class that it'slinked to

Hi all,

I have a Moveclip with a Dynamic text field instance name of "optionName". The
movie clip is linked to my custom Class "Toggle". Is there a way for me to
access "optionName.text" from my class? I need to set the optionName.text to a
string with a function of my class.

Thanks.


Reply With Quote
  #2  
Old 11-10-2008, 06:22 PM
kglad
Guest
 
Default Re: Controlling MovieClip properties from a Class thatit's linked to

:



public function SetName(newName:String):Void {
this["optionName"].text = newName;
Reply With Quote
  #3  
Old 11-11-2008, 10:35 AM
kglad
Guest
 
Default Re: Controlling MovieClip properties from a Class thatit's linked to

you're welcome.
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 01:49 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.