| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
Wasn't sure if this was the proper place to post this question, oh well, yell at me if you want.
What I have is a form that has a variable "total" it is a numeric answer to a mathamatical equation. I then want to pass the answer "Total" into a new window and carry on the equation. So how do I pass the variable "total" into a new movie, to continue the equation. I don't want to keep it in the same FLA because I want the user to be able to go back and review the first page without losing the information they first posted. Any ideas are appreciated as always! XperiMental |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
To just send the total variable try:
loadMovieNum ("someOtherClip.swf?total=" + total, 0); To send all variables in the movie try: loadMovieNum ("someOtherClip.swf", 0, "GET"); Note that you can use GetURL in place of LoadMovieNUM here. Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
|
Okay I've been playing with this for a while and am having a hard time with it. Have you tested that to see if it works?
Just the one variable is what I'mm working with. And I am using GETURL if that will make a difference. I'll keep bustin though! XperiMental |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Yes it works fine. It may not work on your PC though. That uses HTML variable pass methods so it's made to work ona webserver. If you run a local webserver test it on that, or upload it to your site and you'll see it works perfectly well.
My text script was: testVar = "blah blah"; loadMovieNum ("clip2.swf?testVar=test " + testVar, 0); clip2.swf has a text field which displayed "test blah blah" (the correct output). Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Passing variables to a projector (exe) file | mamaz | Projectors and CDs | 3 | 09-20-2005 03:55 PM |
| Passing variables to / from loadMovie clips | cyanescent | ActionScript 1.0 (and below) | 2 | 10-12-2004 10:25 AM |
| Passing variables in a URL using getURL() | oka_ | ActionScript 2.0 | 2 | 06-21-2004 12:51 AM |
| passing variables to flash - too long? | babagadude | Server-Side Scripting | 2 | 06-03-2004 02:52 PM |
| Passing variables between movies? | Difflam | ActionScript 1.0 (and below) | 2 | 03-20-2002 10:16 PM |