homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

help with Flash mx2004
Flash MX2004

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

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)

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)

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)

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


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

You beat me to it, Benihana.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved