homepage Welcome to WebmasterWorld Guest from 23.23.22.200
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
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
hcs420




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

Hi,
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");
gotoandplay(2);
}

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

Thanks in Advance

 

winstun




msg:1566051
 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.

hcs420




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

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

Thanks

benihana




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

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

winstun




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

You beat me to it, Benihana.
heheh

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