ActionScript 3.0 :: Send Variables Between Flash Movies On Different Machines?
Apr 7, 2009I want to send variables between flash movies on different machines. How can I go about doing something like this?
View 4 RepliesI want to send variables between flash movies on different machines. How can I go about doing something like this?
View 4 RepliesI want to communicate between flash movies on two different machines. Is this possible? Maybe with Flex? Also, can you open a windows command prompt with flash and send it commands?
View 1 RepliesI'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button.
I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.
I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button. I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.
View 6 RepliesBasically 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 Repliesis it possible to pass variables between flash movies...
i.e. if you had 2 (or more) seperate flash movies in an HTML page, can you control one with the other?
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 RepliesI have a simple banner that has three choices. A, B, and C. When a user clicks on one of the choices...I just need a counter to make note of it...in some remote file. Php I would guess.So the end result is that you could access the php file and see that choice A was clicked however many times, and choice B was clicked so many times, etc.But I am not a Php guy and don't know what syntax to use to make this happen.
View 1 RepliesI would like to send php variables to flash, how do i do this?
View 2 RepliesI saw that there are lots of ways to send info or values from flash to PHP. But is there a way to do the REVERSE? Send variables or values from a php to a flash and this same flash movie react to those values?
View 8 RepliesI have a simple banner that has three choices. A, B, and C. When a user clicks on one of the choices...I just need a counter to make note of it...in some remote file. Php
So the end result is that you could access the php file and see that choice A was clicked however many times, and choice B was clicked so many times, etc.
But I am not a Php guy and don't know what syntax to use to make this happen.
I am searching how to send variables from a php webpage to a flash animation that it will be integrated into anther webpage ... Little exmple : An user enter his name in an input in a php page then when he clicks submit button his name will be shown in a flash animation
View 2 RepliesI have a flash player embedded on page page.php?user=john using swfobject. The player calls the xml file content.php to get the results. I'm trying to get the user name from the url id. and fetch results based on that. I can get the username on page.php by doing $_GET['user'], but how can i pass that to content.php. Having read allot of articles online, i did the following,I'm embedding the flash on page.php using swfobject like this
<script type="text/javascript">
var flashvars = {user:"<?php $_GET[user] ?>"};
var so = new SWFObject("<?php echo $index->CFG['site']['url'];?>preview2.swf", "sotester",
I am new in flash actionscript... I am just starting to learn...How can I send variables from my flash project to PHP and get the resulting values back???
View 0 RepliesCan i put ACTIONSCRIPT inside a xml file and make it work inside a swf?Since is not basic, where can i learn more about xml processing instructions?Other thing....Can a php file that send variables to flash WITHOUT the swf ask for it?
View 1 RepliesI have tested the movie on ff (linux, mac, windows), ie, and safari.everything seemed to be fine. then one user tried to view it from his windows machine, and he had problems in both ff and ie.it was almost as if the flash movie was not transparent (the flash div overlays an html div.)and yes, i did set wmode to transparent.he is running xp, the newest flash, newest ff, and ie7. the other windows machines i've tested it on have the same.
View 1 RepliesI created this flash object, which preloads the file on the first frame before continuing to play, yet on slower machines it moves much slower then the 30 fps it is supposed to play at. The file is 1.2 MB in size. Using actionscript 3.
[URL]
I need to build a really simple php document and send the variables to flash, I'm following a simple tutorial where PHP document:
[Code]...
Im having a bit of trouble integrating dynamic variables pulled from a databse using an ASP script with a flash movie.
Background:
I need to send variables stored in a ms sql db to a flash movie to display several values.
The dyanmic element comes in because i am using an ID to select the values from the db e.g id1 = joe bloggs id2 = paul smith
etc
When i am hardcoding the id in the asp script the variables are sent to the flash movie no probs and they display correctly.
I am also printing the asp code on the page and that all displaying fine.
HOWEVER, the issue arises when i make the asp code dynamic and by that i mean I am using request.querystring to pull the id
from the URL - The print out of the asp code is still displaying the correct variables, BUT they are not being passed to the
flash movie at all - the placeholder is blank there isn't event an error!!.
Couple of things to note -
- if you change the id bit of the url in the dynamic script to the printed asp code changes
- THE FLASH MOVIE IS IDENTIAL in both scenarios
- all variable names have remained the same
- it is NOT a location of file issue as we have tested the dynamic code files In another folder and no joy
- we are not using any other file includes or asp code in any of the page - all other code has been stripped out
THE ISSUE WE HAVE IS THAT THE PRINTED VARIABLES ARE NOT BEING PASSED TO THE FLASH MOBIE in scenario 2 where the asp code is looking for the participant id dynamically (i.e from the URL)
I have this in AS3
var myName:String = "David";
var result:Number = ExternalInterface.call("methodInJS", myName);
trace("Result from JS call is: "+result);
[code].....
I know there were many messages posted regarding sending variables from flash to php. I wrote a small code where in I used send() method of LoadVar object, it sends the message but it reloads the php page which I do not want it to do. I tried using sendAndLoad() and here it does not send any variable at all. Below is my sample code.
PHP code: (recieve.php)
<?php
$s = "12";
$r = $_POST['name'];
[Code].....
Im trying to send variables from my HTML page to flash, in order to control the location of movie clips. This is what I have.
HTML PAGE
PHP Code:
<param name="movie" value="navi.swf?sectionheader=charts">
*I have also added the "?sectionheader=charts" to the EMBED line.
SWF/FLA
sectionheader._x = 10;
sectionheader._y = 290;
*This is set on the first frame.
The theory is that flash will read the variable and come up with something like:
charts._x = 10;
charts._y = 290;
..................but, ofcourse it doesnt!!!
I have been able to set text of textfields and event traget frame Labels in similar ways, but this will not work..
I know there were many messages posted regarding sending variables from flash to php. But I am facing a problem. I wrote a small code where in I used send() method of LoadVar object, it sends the message but it reloads the php page which I do not want it to do. I tried using sendAndLoad() and here it does not send any variable at all.[code]
View 1 RepliesI am trying to send some variables to an ASP cgi using the sendAndLoad() function in Flash. On Frame 1 of my movie I have the following code:
[Code]...
Let a qualified-user place a dot on a country map and this dot will be shown on the map. When other users come by they see dot's and those dot's trigger a image.
1 Create a map, duh
2 Use the mouse to get the coordinates (_x and _y position) onRelease will be the selected coordinates.
3 Create a preview-scene were the qualified user sees the placement of his dot.
4 If oke, a image upload scene is triggered (the selected _x and _y coordinates are hidden)
5 The qualified user selects a image on his computer.
6 Again a preview scene, now with the dot on the map and the selected image.
7 If oke the user sends the coordinates and image to the server (i will use php-files to upload the info and a mysql-db to store the info)
I am stuck with step 2. In the attach file you can see what i have so fare.The trace messages are the data i want to send to a php script. And think i must create an array in flash something like:
Code:
coords = new array();
for (i=0;i<=v;i++)[code]...
You gotta see the attach .fla to understand this. I have the values collected in "controller" movieClip.
I need to build a really simple php document and send the variables to flash,I'm following a simple tutorial where
PHP document:
PHP Code:[code]....
If in the flash I place VariableName doesn't work, if I place #VariableName doesn't work
if I place $row_rsContacts['VariableName'] doesn't work, it says, undefined, so, what am I doing wrong?
I want to create a flash program that tracks mouse and keyboard biometrics such as mouse movement speed, click rate, length of keystrokes and so forth. How can I ensure that if a user duplicates his/her actions across multiple machines with varying processor speeds I will record the same data?
View 2 RepliesI want to know how I can pass parameters between 2 swf files..
View 7 RepliesI'm trying to do a demo with a fastforward button and a rewind button that will go to the next scene and previous scene...however, due to the format that my predecessor created used...I'm stuck with alot of scenes. The navbar (ff and rewind buttons) is in a .swf file called main. The actual demo is in demo3.swf. I created a loader scene to redirect to the correct scene (when ff and rewind are hit), how to pass the variables needed from the main movie. What would be the correct syntax or steps?
View 11 RepliesI want to know how I can pass parameters between 2 swf files..
View 7 Replies