PDA

View Full Version : <b>Subscribe Form Problem in Flash Template



Judy1
June 27th, 2008, 06:03 PM
Hello,

I'm having a problem integrating an email marketing company's subscribe data (pasted below) with a Flash template (attached) that has a predefined subscribe form and I'm hoping someone might be able to help.

The predefined form has an OK button that is pressed upon subscribing so I assigned the following script to the OK button to test it on my harddrive but the test failed:

on(press){
getURL("file:///D:/test.txt",0,"post (file:///D:/test.txt",0,"post)");
}

One of the issues that I'm having is that the OK button blinks like crazy on mouseover and I'm wondering if that's part of the problem.

I have Flash 8 with ActionScript 2.0 and viewed the tutorial at this link but have not made any progress: http://www.flashkit.com/movies/Inter...6165/index.php (http://www.flashkit.com/movies/Inter...6165/index.php)

Here is the email marketing company data that I need to integrate into flash:

<form method="post" action="http://..." onsubmit="window.open( 'http://www.verticalresponse.com', 'vr_optin_popup', 'scrollbars=yes,width=600,height=450' ); return true;" >

Appreciate any feedback that you can offer!

Thanks so much!

_name
June 27th, 2008, 09:36 PM
i downloaded your file, and here are some issues:
1) the file would not compile;
2) none of your objects have instance names;
3) there is no code related to your button
4) your actionscript should be in one frame on the root, not two;

_name
June 27th, 2008, 09:43 PM
forgot to tell you...
when you use getURL( ) to test opening your file, don't use "file:///D:/test.txt;" instead place the test.txt file in the same directory as your .swf/.fla and use the code below, although i don't really see what you are trying to post.

getURL("test.txt", "_blank", "POST");

Judy1
June 28th, 2008, 05:33 AM
Hello _Name,

I appreciate your time and comments so much! After reading your post and working on the file for several more hours, I decided that it's a bit over my head and changed the design to something a little easier - a simple button/link that will take the visitor to another page to input their data via an HTML form. Whew..........

Thanks again for your help!