Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

Set text of TextInput control inside a movieclip

 
Jump to:  
 
erarjunmarwaha
PostPosted: Fri Aug 29, 2008 8:13 pm    Post subject: Set text of TextInput control inside a movieclip
       
Hello,

I have created a movieclip object in the library which has three TextInput
components. Now I am attaching this movieclip into another movieclip object on
the frame. When i try to change the text property of the TextInput component,
it does show the text.
temp_mc=empty_mc.attachMovie("display_mc","display_mc1",1);
temp_mc.desc.text="Sdf";
However if I trace the text of the new movieclip using the code:
trace(temp_mc.desc.text);
it shows the correct text.

Please suggest.

Regards,
Arjun
 

 
kglad
PostPosted: Sun Aug 31, 2008 3:27 am    Post subject: Re: Set text of TextInput control inside a movieclip
       
components need some time (1 ms is sufficient) to initialize. use setTimeout to delay using your textinputs.
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

markizy Moje jedyne marzenie - Anna Jantar kawa ziarnista agencje tłumaczeń upominki