having problem with data entry.

  • setharp
  • Born
  • Born
  • setharp
  • Posts: 1

Post 3+ Months Ago

Hello,
I am using a Zip code box on a site and basically cannot get it to function properly. I am wondering if either I have a syntax problem or perhaps flash doesnt work with the server. here is the code I used:

on (release) {
var zip;
getURL("http://www.mysite.com/product/promo.htm?depId=1&pgId=100&devicePrId=26161","","POST");
}


When I use this, it goes to a page that asks for the zip code again, which tells me the zip code doesnt register with the server. here is url I get back:

http://www.mysite.com/product/promo.htm ... =undefined

Any ideas? thanks in advance!
  • Tchuki
  • Mastermind
  • Mastermind
  • Tchuki
  • Posts: 1774
  • Loc: Edinburgh

Post 3+ Months Ago

Are you aware that Flash cannot directly access servers ?

If you are looking to pass variables to and from a web server, they must first be passed to either ASP or PHP, then forwarded onto the server or Flash depending on which route you are taking.


EDIT: Take a look at the link below on how to parse variables from Flash to PHP and therefore into a form.

http://kirupa.com/developer/actionscrip ... yinphp.htm

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 14 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.