# \<b\>Subscribe Form Problem in Flash Template

**URL:** <https://forum.kirupa.com/t/b-subscribe-form-problem-in-flash-template/264626>\
**Category:** flash\
**Created:** [June 27, 2008, 9:03pm UTC](https://forum.kirupa.com/t/b-subscribe-form-problem-in-flash-template/264626 "2008-06-27T21:03:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Judy1](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@Judy1](https://forum.kirupa.com/u/Judy1)\
**Post date:** [June 27, 2008, 9:03pm UTC](https://forum.kirupa.com/t/b-subscribe-form-problem-in-flash-template/264626/1 "2008-06-27T21:03:14Z")

</div>

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("[COLOR=#000000]file:///D:/test.txt[/COLOR][",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: [[COLOR=#003366]http://www.flashkit.com/movies/Inter…6165/index.php[/COLOR]](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](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!

---

<div class="post-metadata">

**Author:** ![name1](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@name1](https://forum.kirupa.com/u/name1)\
**Post date:** [June 28, 2008, 12:36am UTC](https://forum.kirupa.com/t/b-subscribe-form-problem-in-flash-template/264626/2 "2008-06-28T00:36:52Z")

</div>

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;

---

<div class="post-metadata">

**Author:** ![name1](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@name1](https://forum.kirupa.com/u/name1)\
**Post date:** [June 28, 2008, 12:43am UTC](https://forum.kirupa.com/t/b-subscribe-form-problem-in-flash-template/264626/3 "2008-06-28T00:43:12Z")

</div>

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”);

---

<div class="post-metadata">

**Author:** ![Judy1](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@Judy1](https://forum.kirupa.com/u/Judy1)\
**Post date:** [June 28, 2008, 8:33am UTC](https://forum.kirupa.com/t/b-subscribe-form-problem-in-flash-template/264626/4 "2008-06-28T08:33:05Z")

</div>

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!
