Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 15th, 2003, 12:25 PM
tntemerson tntemerson is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: California
Posts: 1 tntemerson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Flash Forms & Variable Submission

Respectfully....

If anyone has a moment, I'm caught in one of the many Flash beginner's blank spots.

How does one select the specific variables to send using GetURL to post a form?

I'm experienced in HTML, C++, Javascript, and some Perl, so Action scripting is not particularly difficult for me. Neither was validating the form. I've consulted the books I have, the Flash help, Macromedia, and searched the net.

But for the life of me, I can't find a reference on how to select or restrict variables from the Flash form on the form submission.

Every temporary variable I used in the form validation script gets sent with the other text input field variables in a mess through the standard formmail CGI and returned in a very messy email.

For your reference, I created the form validation script in the action of the onRelease function associated with my form submission button.

Reply With Quote
  #2  
Old October 24th, 2003, 02:45 PM
mushie mushie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 58 mushie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
straight from the horses, erm, i mean mr moocks mouth
Quote:
Prior to Flash 6, the getURL( ) function was used to send variables to a remote server application or script, and receive results in a web browser. As of Flash 6, the LoadVars.send( ) method is better suited for that task. To send the current movie clip's timeline variables to an external script using getURL(), specify the name of the script as the url argument, and use either "GET" or "POST" as the method argument. For example:

getURL("http://www.someserver.com/cgi-bin/search.pl", "resultsFrame", "GET");
When invoked as a movie clip method, getURL( ) sends the timeline variables of that clip to the remote script, as in:

either do the getURL() inside a movieclip that contains the req vars to avoid picking up other vars like your temp vars, or...

use a LoadVars object, it's more flexible,and you arent limited to just sending data - among other things you can use the sendAndLoad method of the object to POST/GET DATA and get returned data which also triggers an event. far better
__________________
beware of geeks bearing animated gifs.

Last edited by mushie : October 24th, 2003 at 06:47 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Flash Forms & Variable Submission


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway