Brucebannor
07-14-2008, 09:41 PM
Has anyone else run into this problem?
When using the textArea component injunction with other components (in my case the Window), it will not allow to access the ".text" property of the component.
popupWindow.content.textmsg_txt.text = hotSpotArray[hotSpotNumber].textmsg.toString(); // Does nothing
trace(popupWindow.content.textmsg_txt + " : " + popupWindow.content.textmsg_txt.text); // Sees component - doesn't see text
It allows me to see and trace out the "textmsg_txt" which is my textArea component. I cannot set the text or trace out any text that I enter before publishing my swf.
I know I have propper targeting etc.. I can replace the textArea with a dynamic textbox and everything is fine. I'm just having problems getting these two components to play nicely together.
Any suggestions would be much appreciated thanks!
edit:: This is a V2 component in AS 2.0 :: got moved outta the 2.0 forumn
When using the textArea component injunction with other components (in my case the Window), it will not allow to access the ".text" property of the component.
popupWindow.content.textmsg_txt.text = hotSpotArray[hotSpotNumber].textmsg.toString(); // Does nothing
trace(popupWindow.content.textmsg_txt + " : " + popupWindow.content.textmsg_txt.text); // Sees component - doesn't see text
It allows me to see and trace out the "textmsg_txt" which is my textArea component. I cannot set the text or trace out any text that I enter before publishing my swf.
I know I have propper targeting etc.. I can replace the textArea with a dynamic textbox and everything is fine. I'm just having problems getting these two components to play nicely together.
Any suggestions would be much appreciated thanks!
edit:: This is a V2 component in AS 2.0 :: got moved outta the 2.0 forumn