ActionScript 2.0 :: Passing Data Between .swf Movies?

Dec 1, 2006

A map of the US comes up and users will select where they work, before getting to the next page, which is a form where they fill out the rest of their contact information. The Submit button sends the form variables to a php file on a different server which then stores their info in a database and will take the "location" variable from the map (in the previous .swf) to send the user the correct demo map.

My vars from the form post to the PHP and a confirmation e-mail is sent to the user etc. etc. this works fine...i'm just confused as to how to send the location variable that was pre-selected to send along with the form.

View 3 Replies


Similar Posts:


ActionScript 2.0 :: [mx]passing Variables Between Movies?

Feb 19, 2004

I want to know how I can pass parameters between 2 swf files..

View 7 Replies

ActionScript 2.0 :: Passing Movies OnRelease?

Jun 16, 2004

m using the following code for my main four buttons -

Code:
button_array = ["home","plans","terms","contact"];
for (var i in button_array){

[code].....

View 4 Replies

ActionScript 2.0 :: [mx] Passing Variables Between Movies

Feb 19, 2004

I want to know how I can pass parameters between 2 swf files..

View 7 Replies

ActionScript 2.0 :: Passing Variables Between Movies?

Sep 4, 2002

I have been receiving great help for the past few days on many different things, and now I have another issue. I am creating a form in an SWF that pops up in a window over my main site. Is there a way to pass the information that the user submits in that form to my main movie? Or will I have to embed the form movie into my main movie? Is there a tutorial dealing with this? Also, since I'm asking, is there a way to save information to a text file using ActionScript or Flash, or whatever? I was thinking the other thing I could do would be to save the information in a text file, then dynamically load it in a text box on the main site.

View 1 Replies

ActionScript 2.0 :: Passing Arrays Between Movies

Jul 16, 2002

I have a SWF movie ("bits.swf") with an array ("things") variable in it. I use loadMovie to load bits.swf into my main movie. Q: how can I read/use/transfer the values in array "things" from my main movie?

View 4 Replies

ActionScript 3.0 :: Passing A Parameter Between Flash Movies

Nov 15, 2009

I have a flash movie for drop down menus that is called by all flash/movie banner sections of my site. The banner movies use FlashVars to set the heading and an image. The trouble is that the flash menus also were set to use a flashvar to dictate the context of the menus and leave one top level menu highlighted to show the content to the user. I have not been able to get both of them to use the Flashvars functionality. The html page calls the banner movie directly and it can therefore access the Flashvars. The menu swf however - which is not called from the html page but instead is called from within the banner movie - cannot access the flashvars variables. That leaves me with two choices:
 
1. Either use a different method for passing the context variable to the menu movie.
2. HTML code calls the banner movie. I can continue using flashvars and get the context variable by reading it from within the banner movie - and then somehow pass the value down to the menu movie if that is possible.

View 20 Replies

ActionScript 3.0 :: Passing Information To Movies In UILoader?

Apr 12, 2011

I want to pass information to a Movie Clip (swf) loaded into a UILoader component on the stage. I need to be able to do this so I can synchronize the actions of multiple Movie Clips in the main movie clip. What's the proper way of accomplishing this?
 
An example of how I'd use it is when I'd load a video to the stage and I'd want to tell my audio player to mute the volume on the background audio.

View 3 Replies

Flash :: Passing Values From 2 Flex Movies?

Oct 28, 2010

I have a flex compiled swf module inside my flex program I just need to pass it some values like I do it when I use chat.swf?username=john : that works !

I tried it with flex swfLoader and Image

SWFLoader source="../bin-debug/chat.swf?username=john"
Image source="../bin-debug/chat.swf?username=john"

This does not work: these values are not passed !

View 1 Replies

ActionScript 2.0 :: Passing Variables Between Flash Movies (again)

Dec 23, 2002

Basically I have a button which can be clicked to load an external movie, the external movie loads an ASP script.Dependent upon the button clicked I want to be able to execute different SQL statements.

View 4 Replies

ActionScript 2.0 :: Passing Variables Between Movies And Do Action

Apr 14, 2002

I have two movies: m1 and m2. In m1 I set a variable to variable="yes". Now, I want m2 to read the variable and do an action depended on the variable (see the example below).

This is the AS in m1:
on (release) {
docufield = "background.txt";
}
And this is the AS in m2:
this.loadVariables(docufield);

View 7 Replies

ActionScript 2.0 :: FMX: Passing Variables Between Flash Movies On Different Html Pages?

Feb 21, 2003

Does anyone know of a good way to pass variables between flash movies on different html pages? Should I use a flash cookie? pass the variables in the URL of the html file and then try to get them back out on the next page?

View 3 Replies

Data Integration :: Enable Data Management If Passing An Extra Variable To PHP Script?

May 7, 2010

Im trying to use dynamic SQL tables on my PHP server so I need to pass the table name to the PHP script.  I don't understand why the Data Management system that sets up CRUD won't allow this extra parameter.  It says it can only have one input: item. I can get all records, but when I try to create, update, or delete I get an error.
 
Or is there another way I can pass the tablename variable to the php file before I call any functions?

View 3 Replies

Flash :: Data Integration - Xml.load() Failing - Passing All Of The Data Via A Query String Appended To The Movie's Url

Sep 5, 2006

We have implemented a Flash photo slideshow on our site and it works just fine for most of our users. Whenever the xml.load(success) returns false I have the Flash email me a debug report. For the life of me I can not find a common thread between all of these people having problems with the Flash. I don't think it's a cross-domain issue because it works for most people, and I have the crossdomain.xml files where they should be.

[Code]...

View 1 Replies

Data Integration :: Loading Bunch Of Swf (movies) With XML

Mar 28, 2007

I used a sample of macromedia to get a XML file with the names to the swf files i want to import in the stage. That works (for now). But now i also want to at a link (using getURL();) to the movieclip where the swf file is placed.

PS. i used gallery_tween.fla from the sample folder if someone wants to know...

View 1 Replies

Data Integration :: Barcode Scan Plays Flash Movies?

Sep 12, 2006

I'm trying to find a way of playing a presentation with product information and movie animation (flash or HTML with embedded movie) using a barcode scan as the activator. Ie, a customer would scan 1 of around 20 products on a barcode scanner, and product info and a movie would play. Anyone have any ideas of how this can be done. I've been out of the flash world for a while, so not sure if it has the capability. If someone has the ability to put this together, there would be some $$ involved. brendan.lake@circle-square.net

View 2 Replies

ActionScript 1/2 :: Passing Data To Swf

Jul 8, 2011

I would like to pass my SWF file an amount of data (textual).Is there some limit? I am talking about thousands of characters longI know the simple way of file.swf?data="mydata" but I know that you can pass data via "flash vars", when you embed the file in html(<object> How do I pass data in that way? Is it better to just read from a text file?

View 3 Replies

ActionScript 3.0 :: Passing And Getting Data To ASP

Oct 26, 2009

I've been researching for days on the issude but till now I still haven found a solution yet. I have 0 knowledge on ASP. And I just want to able to pass and get var/text from ASP.

ActionScript Code:
private function loadASP():void {
var aspSend:URLRequest=new URLRequest("testASP.asp");
var aspLoader:URLLoader = new URLLoader();

[Code].....

View 0 Replies

Data Integration :: Passing Data From Flash To Php And Back Into Flash?

Aug 23, 2010

I have a swf (swf#1) with links to another swf (swf #2). I would like use GET to pass data out of swf #1 to a PHP page that will be holding swf #2. I want swf #2 to start at a specific frame based on the data passed from swf #1.

View 1 Replies

ActionScript 3.0 :: Passing Xml Data To Main.flv?

Aug 5, 2010

So I'm trying to make a project with multiple rss feeds on one page. All the rss feeds are in one xml file. this works fine but now I need to retrieve rssdata from each rsslink.

To do that I want a variable to be filled up with the rssData that I retrieve via an external actionscript file.

So in my main actionscript I would have something like this:

ActionScript Code:
var rssLoader:RssLoader = new RssLoader;
var rssData = /* THIS IS WHERE I WANT MY RSS DATA TO COME */

[Code].....

View 9 Replies

ActionScript 3.0 :: Passing Data Out To A Web Form?

Dec 11, 2010

I'm trying to pass a string of text out to a html web form. Something I've never done before.

Tadster suggested I use something like this:

ActionScript Code:
var outDataToJavaScript:XML =
<script>
<![CDATA[

[Code].....

The movie runs fine and shows no errors, but when my browser opens forms.html the data is not there. I assume this is because I'm using navigateToURL(new URLRequest("form.html) and therefore opening a new instance of form.html rather than the one I've already loaded into flash. Am I right? and if so how do I open the pre-loaded version? Or....am I way off and have failed to understand something quite basic?

View 2 Replies

IDE :: Passing Geometry Data To And From Flash?

Jan 12, 2009

Goal: To build an Internet Mapping Site (IMS) using FlashScenario: Using Manifold GIS for the backend. It is a full scale GIS software which easily outputs data (geometry and tabular) into xml. It has built in IMS capabilities, but theWould like to build an IMS using Flash as the front end, and Manifold as backend. How would I set up something where the GUI and display were Flash, the user interacts with the Flash (Pan, Zoom, Selection, Query(SQL)), have Flash fetch that from Manifold via xml, and display the new extent, query results, etc.?

So there would need to be geometry data retrieval and display as well as tabular. For example the user should be able to use a "Zoom by Extent" feature where they draw a rectangle on the map, it returns the coordinates of the box to Manifold, Manifold returns it, etc. On the other hand they need to be able to query the datasets (simple sql queries).I hope this makes some sense. I'm a noob in many aspects to backend so I'm just trying to get a handle on whether this is possible, and what backend needs to be implemented in order to make this happen? Would you know of a possilble better method? Silverlight, etc?

View 1 Replies

ActionScript 3.0 :: Passing Var Data To Document?

Apr 28, 2010

This problem is a lot more complex than title implies.I am trying to pass public var "quote" from player class document to movieclip function and on to a 2nd gigyaSocial.as method. I can trace the var in player.as but, it disapears when I try to access it in the MovieClip.

Code:

import fl.controls.Button;
import com.player;
import com.gigyaSocial;[code]....

View 3 Replies

ActionScript 3.0 :: Passing Function As Data In A ComboBox?

Nov 14, 2009

I want a comboBox that will allow the user to select what colour palette they want the application to have.I am using a comboBox to do this and want to have a function with arguments as the data in the comboBox item.I've managed to do it and pass arguments but these are running when the comboBox is set up. I only want the function to run when the user presses the submit button. How can I prevent the function from running on set up?Here is my code:

Code:
package
{

[code].....

View 14 Replies

ActionScript 3.0 :: Passing Data From A Method Within A Class?

Jun 12, 2009

I am trying to pass an xmlList from this class, and am having some issues. The thing is, how can I call a method that listens for a result, then calls another method..

package com.ryancanulla.utils
{
import mx.rpc.events.ResultEvent;

[code].....

View 3 Replies

Media Server :: Passing Data Through Connect()?

Jan 2, 2011

I found this example of a lobby in my flash media server book. But there's a little

var nc:NetConnection;
var rtmpNow:String;
var userName:String;

[code].....

View 1 Replies

ActionScript 3.0 :: Passing Data To A Costume Component?

Apr 20, 2011

I'm very new to flex and to flash in general.  I walked trough one of the exercises in "flex in a week", specifically the MVC exercise which talks about how to seperate the view to a different component and later on send him the data as one of his fields.

I had no problems in the exercise and everything worked BUT, when I tried to do it on my own code it doesn't work.here is my relevant parts of the code: 

[Code]...

View 1 Replies

ActionScript 3.0 :: SendToURL Without Passing Data Or Variables?

Aug 18, 2011

I'm working on an interactive quiz where the user's responses will be incremented to a poll in a CMS. I have a url that automatically increments the answer choice in a poll, so I would like to use sendToURL to call the url without actually passing any data or variables. It seems to work with navigateToURL, but that opens a blank window in the browser (a complete nuisance every time you answer a quiz question).

[Code]...

View 5 Replies

Flex :: Passing Data To A Php File Under Some Condition?

Oct 28, 2009

I am using an accordian in which has three childs. Each child has some textInput elements.Now,i want to send data written in currently selected accordian's child's textInputs.I have created a function "configure" which is called when someone clicks a button. That function checks as to which child of accordian is selected. Whichever is selected, the textInputs' text of that child are stored in locally defined variables.how to pass these variable to the HTTPService i am sending at the end of function configure.

Codes:

private function configure():void
{
var selectedAlgos:Array = algosList.selectedItems;[code].....

View 1 Replies

Flash :: Passing Data Between Objects/classes?

Dec 27, 2010

So i a building a categorized menu of different foods. I have a class for "categories" (buttons) which essentially will return a string "salads", "drinks", etc. I now have another class "menuItems" for items within categories and this handles sizes such as "small", "med", "large", etc. My problem now is that when i return "salads", i want to invoke an array which contains all the elements of salads, send it to menuItems which will populate the menu. So far i have both the category objects and the menu object setup. I just cant seem to be able to send the data that the category object is returning and pass it to the menu object. Both of which are added to the stage as shown below:

If there was a way that i could say add all these classes to one class so that they can talk to each other that would be great but i dont know how to do this.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved