robpet
04-26-2005, 05:25 PM
I'm building a page which uses a ScrollPane to load other pages.
Essentially, when a button (nav) is clicked, it changes the frame in the root movie, which then uses a new ScrollPane, and which loads a new page (actually another swf).
So, on one of those swf pages inside the ScrollPane, I want to have a form that emails. I can get the .swf form to work in the Test window of MX2004, but I can't get it to work when it's inside the movie. The auto-generated email places values of "undefined".
The sample scripts I used do use the _root.textfield.text code, which tells me it's trying to find the values in the main movie...which is not where I want it to find it...
Also, is there a way to make the email send automatically, instead of having it open, and the user needing to click 'send'?? I have been using the mailto: command, but that was just to make it work.
Any and all help would be appreciated.
Thanks guys!
rob
Essentially, when a button (nav) is clicked, it changes the frame in the root movie, which then uses a new ScrollPane, and which loads a new page (actually another swf).
So, on one of those swf pages inside the ScrollPane, I want to have a form that emails. I can get the .swf form to work in the Test window of MX2004, but I can't get it to work when it's inside the movie. The auto-generated email places values of "undefined".
The sample scripts I used do use the _root.textfield.text code, which tells me it's trying to find the values in the main movie...which is not where I want it to find it...
Also, is there a way to make the email send automatically, instead of having it open, and the user needing to click 'send'?? I have been using the mailto: command, but that was just to make it work.
Any and all help would be appreciated.
Thanks guys!
rob