HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
contact form in flash template
Post new topic   Reply to topic    HTML Help Forum -> Templates
View previous topic :: View next topic  
Author Message
geneg21



Joined: 20 Jun 2007
Posts: 4

PostPosted: Wed Aug 08, 2007 4:38 am     contact form in flash template Reply with quote

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

PostPosted: Wed Aug 08, 2007 4:43 am     Reply with quote

Can we see some source code?
geneg21



Joined: 20 Jun 2007
Posts: 4

PostPosted: Wed Aug 08, 2007 7:43 am     contact form in flash template Reply with quote

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

PostPosted: Sat Aug 11, 2007 9:28 am     anybody have any suggestions? Reply with quote

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



Joined: 28 Dec 2006
Posts: 1212
Location: Colorado

PostPosted: Sun Aug 12, 2007 4:24 am     Reply with quote

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?
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> Templates All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial