jbess
08-25-2005, 09:08 PM
Hi all:
Been wracking my brain over this for a while:
I have a button in Scene 1 named submit_btn, a textinput named rootText_txt.
in a movie clip called source_mc i have a textinput named sourceText_txt to which i've assigned the value "voila!"
I want to read the value of sourceText_txt from the root level. but keep getting 'undefined'
I've added this code to submit_btn's Actions:
on(click){
_root.rootText_txt.text = _root.source_mc.sourceText_txt.text
}
I've searched the web and these forums, tried many permutations of _root & _level*
What am i doing wrong?
Thanks,
-- joe
Been wracking my brain over this for a while:
I have a button in Scene 1 named submit_btn, a textinput named rootText_txt.
in a movie clip called source_mc i have a textinput named sourceText_txt to which i've assigned the value "voila!"
I want to read the value of sourceText_txt from the root level. but keep getting 'undefined'
I've added this code to submit_btn's Actions:
on(click){
_root.rootText_txt.text = _root.source_mc.sourceText_txt.text
}
I've searched the web and these forums, tried many permutations of _root & _level*
What am i doing wrong?
Thanks,
-- joe