Groups | Blog | Home
all groups > flash actionscript > february 2005 >

flash actionscript : not root


hack3rman
2/21/2005 11:18:00 PM
This is probably a dumb questions, but here goes.

Im trying to adapt a feedback form script Ive found. The variables in the
form I found are send to the sendmail.php with this command:
sender_mail = _root.Semail.text

However, I created an internal movie with the feedback form. How do I
reference the movie clip? Its name is "myform"

Thanks.


hack3rman
2/21/2005 11:42:10 PM
Let me be more specific... Since the dynamic text field is not in the root of
the movie, its in a movie clip called 'myform', the variables are not posting
to the php. So what is the proper code to reference the movie clip's varables?

sender_mail = myform.Semail.text or something like this?????

Thanks!
Jon Moyles
2/22/2005 9:04:52 AM
well, yes
from your main timeline it sounds like your path is:

myform.Semail.text

or you could use:

_root.myform.Semail.text

from anywhere.

[quoted text, click to view]
AddThis Social Bookmark Button