Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

help with Flash mx2004

Flash MX2004



6:42 am on Mar 18, 2004 (gmt 0)

10+ Year Member

I have created a file in Flash MX2004. It sends data to some other site. However, the same code works in Flash MX and also if i export the SWF in Flash 6 format but doesn't work on MX2004 or Flash 7.
Here is the code on submit button
on (release) {
var c = new LoadVars();
c.fname = fname;
c.lname = lname;
c.email = email;
c.listid = "RXXXXXXXXX";
c.redirect = "thankyou.html";
c.errorredirect = "error.html";
c.sendandload("http://www.****xx.com/cgi-bin/mmail-addonline.pl",c, "POST");

It works great on Flash MX but not on MX 2004.
Please help...

Thanks in Advance


2:11 pm on Mar 19, 2004 (gmt 0)

10+ Year Member

Since your code is in ActionScript1 be sure that your publish settings reflect that. There is a combobox that lets you specify which version of AS you want to publish for.

Hope this helps.


2:28 pm on Mar 19, 2004 (gmt 0)

10+ Year Member

When i publish in Flash 6 then it works great but when i publish it in Flash 7 - it doesn't work.



3:38 pm on Mar 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

just to calrify - when you publish as 7, are you selecting actionscript 1 or 2?


4:12 pm on Mar 19, 2004 (gmt 0)

10+ Year Member

You beat me to it, Benihana.

Featured Threads

Hot Threads This Week

Hot Threads This Month