HTML Help Forum Index HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

contact form in flash template
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum Index -> Templates
View previous topic :: View next topic  
Author Message
geneg21



Joined: 20 Jun 2007
Posts: 4

Posted: Wed Aug 08, 2007 4:38 am     contact form in flash template  

Hi, I'm hoping somebody can help me because this is driving me crazy. I'm currently using template #11883 (a flash template) and I'm trying to work with the contact form. However, I can't seem to find any code related to the submit button (i.e. what e-mail address it sends to after "Submit" is clicked). Also, even stranger is that I can't seem to find the actual text boxes for the form. It's almost as if it's a hidden layer. Anyway, any help would be GREATLY appreciated because I've been killing myself trying to figure this out. Thanks in advance for your help.
Pattons3rd



Joined: 28 Dec 2006
Posts: 1212
Location: Colorado

Posted: Wed Aug 08, 2007 4:43 am      

Can we see some source code?
geneg21



Joined: 20 Jun 2007
Posts: 4

Posted: Wed Aug 08, 2007 7:43 am     contact form in flash template  

Sure, this is what I've been able to find that seems to be somewhat relevant. Please note that for whatever reason, I'm not able to find the actual text boxes in the layers. However, when I create the .swf file, the text boxes are there.

"layer 20:Frame 1":

label_01 = "your name";
label_02 = "company";
label_03 = "phone";
label_04 = "e-mail";
label_05 = "comments";
label_06 = "city";
label_07 = "comments";
text1 = label_01;
text2 = label_02;
text3 = label_03;
text4 = label_04;
text5 = label_05;
text6 = label_06;
text7 = label_07;

this.onEnterFrame = function() {
text_field_1.onSetFocus = function() {
if (text1 == label_01) {
text1 = "";
}
};
text_field_1.onKillFocus = function() {
if (text1 == "") {
text1 = label_01;
}
};
text_field_2.onSetFocus = function() {
if (text2 == label_02) {
text2 = "";
}
};
text_field_2.onKillFocus = function() {
if (text2 == "") {
text2 = label_02;
}
};
text_field_3.onSetFocus = function() {
if (text3 == label_03) {
text3 = "";
}
};
text_field_3.onKillFocus = function() {
if (text3 == "") {
text3 = label_03;
}
};
text_field_4.onSetFocus = function() {
if (text4 == label_04) {
text4 = "";
}
};
text_field_4.onKillFocus = function() {
if (text4 == "") {
text4 = label_04;
}
};
text_field_5.onSetFocus = function() {
if (text5 == label_05) {
text5 = "";
}
};
text_field_5.onKillFocus = function() {
if (text5 == "") {
text5 = label_05;
}
};
text_field_6.onSetFocus = function() {
if (text6 == label_06) {
text6 = "";
}
};
text_field_6.onKillFocus = function() {
if (text6 == "") {
text6 = label_06;
}
};
text_field_7.onSetFocus = function() {
if (text7 == label_07) {
text7 = "";
}
};
text_field_7.onKillFocus = function() {
if (text7 == "") {
text7 = label_07;
}
};
};


"more copy 2":
on (rollOver) {
this.gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
this.gotoAndPlay("s2");
}
on (release) {
_parent.text1 = _parent.label_01;
_parent.text2 = _parent.label_02;
_parent.text3 = _parent.label_03;
_parent.text4 = _parent.label_04;
_parent.text5 = _parent.label_05;
_parent.text6 = _parent.label_06;
_parent.text7 = _parent.label_07;
}
geneg21



Joined: 20 Jun 2007
Posts: 4

Posted: Sat Aug 11, 2007 9:28 am     anybody have any suggestions?  

Anybody have any suggestions? I'm completely lost with this and totally stuck :-(
Pattons3rd



Joined: 28 Dec 2006
Posts: 1212
Location: Colorado

Posted: Sun Aug 12, 2007 4:24 am      

I guess I don't get it by that, I have no clue about flash and forms together.

Maybe a forum specifically about flash could help better?
 
 
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum Index -> Templates
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group