Groups | Blog | Home
all groups > flash actionscript > june 2006 >

flash actionscript : help on form (component?)



gratch
6/4/2006 10:57:59 PM
Im having a small problem creating a form in flash, this is the function
(below)i am using,it sends the info with out any problem but it also sends info
that I have
not requested for ,Im sure that there is a simple way the stop the form from
sending data that i do not need but I cant figure out how at this time.Im
pretty new at using the
components in flash 8 have I missed somthing simple?. Also I was wondering if
there is a way to use the redirect to send the movie to a new frame instead of
to a new browser page?
Any help would be appreciated. Thanks in advance

My function
------------------------------------------------------------------
function sendData(evt:Object) {
recipient = "meat@my.net";
redirect= ("<a target=_blank class=ftalternatingbarlinklarge
href="http://my.net/new/here/there.html");
Name">http://my.net/new/here/there.html");
Name</a> = fName_txt.text;
From = email_txt.text;
getURL("<a target=_blank class=ftalternatingbarlinklarge
href="http://my.net/2cgi-bin2/MyFormMail.pl",">http://my.net/2cgi-bin2/MyFormMai
l.pl",</a> "lower", "POST");
}
send_btn.addEventListener("click", sendData);
---------------------------------------------------------------------

This is the info I get that I have not requested for

iicon: undefined

label: Contact

_complete: true

width: undefined

height: undefined

left: undefined

x: undefined

top: undefined

y: undefined

right: undefined

bottom: undefined

visible: undefined

move: [type Function]

setSize: [type Function]

size: [type Function]

addEventListener: [type Function]

__origAddEventListener: [type Function]

removeEventListener: [type Function]

dispatchEvent: [type Function]

dispatchQueue: [type Function]

radioGroup: [object Object]

searchKey: 207

disenableall: [type Function]

emptyText: [type Function]

emptyText1: [type Function]

emptyText2: [type Function]

reset: [type Function]

changePanel: [type Function]

sendData: [type Function]
gratch
6/5/2006 2:57:37 AM
ok I got most of it had to use
new LoadVars();

to stop getting the info that I have
not requested for.

As for the other question, is there a way to use
the redirect to send the movie to a new frame of the flash movie
instead of to a new browser page? Any takers on this one?
AddThis Social Bookmark Button