|
|||
|
Hi there, i have a movie clip loading in _level5, inside this movie there are 3 textinputs components, and those ones saves their text values inside an object.
I'm having some problems trying to read the object from swf kit. This is my AS code: Code:
on (click) {
***var emailer = new Object()
***emailer.emailname = _root.name.text;
***emailer.email = _root.mail.text;
***emailer.emailtype = _root.type.text;
***emailer.emailcontent = _root.text.text;
***fscommand("ffish_run","email");
}
Code:
//email
var emaildata = new Object;
emaildata = FlashPlayer.getObject("_level5.emailer", "emailname","email","emailtype","emailcontent");
trace(emaildata.emailname);
FSCommand("ffish_run", "email") Warning: using undefined property "emailname" undefined Any idea of what im doing wrong? Thanks a lot! |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|