ActionScript 2.0 :: Send Variables Btw. Two SWFs In One Domain?

Aug 21, 2005

How can I send var a from swf 1.swf to 2.swf?

View 2 Replies


Similar Posts:


ActionScript 2.0 :: How To Send Variables Between 2 Externally Loaded SWFs

Sep 17, 2007

I have 2 movies 1 loaded and 1 not loaded. How do I send variables from the loaded 1 to the not loaded one when it loads?

View 7 Replies

ActionScript 3.0 :: Secure SWFs In Same Domain Name?

Jan 25, 2010

I want to secure and to load two SWFs files from the same domain, does anyone have any examples and methods applying with allowDomain() that can be used to allow the SWFs to communicate and share data and functions.

ex: www.example.com
main.swf
about.swf (child)
contact.swf (child)
...

Most articles that I found it's based on cross-domain which is not what I want.

View 1 Replies

ActionScript 2.0 :: Send List Of Variables From Php To Flash And Send Back Random Selection To Php?

Nov 16, 2010

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 2 Replies

ActionScript 2.0 :: Send List Of Variables From Php To Flash And Send Back A Random Selection To Php?

Nov 16, 2010

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 Replies

ActionScript 2.0 :: Hosting SWFs On A Separate Domain?

May 19, 2010

I have an issue that is nearly identical to the poster of this thread, but this post is from 2007 and I think things might have changed since then.

To sum it up: I have a website with HTML files on Server A, and SWFs on Server B.

Users navigate to playgame.html (Server A) with MainMovie.swf (Server B) embedded in it.

MainMovie.swf is supposed to load a number of SWFs (from Server B) throughout. As far as I know they all need to be called with an absolute path, because a relative path will construct the path through the URL of the browser page which is still on Server A. Am I on the right path so far?

My MainMovie.swf literally calls hundreds of SWFs in hundreds of places and setting them all to absolute paths would take forever.

What other options do I have so that it all works on a remote server with relative URLs? MainMovie.swf is in a remote sandbox and can supposedly access files within its own domain, but it's the relative URLs that are killing me.

One solution I could think of is to load an html frame from Server B within playgame.html on Server A, and embed the SWF in there....

View 1 Replies

ActionScript 3.0 :: Sandboxing SWFs Loaded From The Same Domain

Jan 31, 2010

I'm building a Flash arcade system that people can deploy to their own websites, which loads its Flash content into a security sandbox. Basically, I'm interested in finding a way to prevent a loaded SWF from accessing the stage.

As you know, once an object in a loaded SWF has access to the stage, it can use event listeners to secure itself to the display list, circumvent Loader.unloadAndStop(), and potentially conduct malicious activities such as key logging. I'm looking to prevent that.

Flash automatically puts SWFs in a sandbox when they're loaded in a domain or subdomain that is different from the parent SWF's. However, the market I'm targeting with this arcade system will probably not have a clear grasp of these concepts, and it's very likely that they will load a SWF into the arcade from the same domain, and that SWF can be malicious. Therefore I'm trying to sandbox content loaded from the same domain as the loader SWF.

View 5 Replies

ActionScript 3.0 :: Loading Cross Domain Asset SWFs

Jun 2, 2011

Yet another irritating technical issue, it's the first time I've tried loading assets from another server and it's not working.

Apparently having the loader context check policy file does nothing with SWFs, I've tried with and without, no difference.

I've tried Security.allowDomain("*"); and loading a crossdomain.xml file where the assets are located, and no joy. Every time I try it, I just get an error trying to load a class (that works fine from local SWFs).

I'm compiling from CS5 with access network selected. Also tried with Flex, same thing.

View 3 Replies

Flash AS1/AS2 : Send A Simple SOAP Message To A Web Service On Another Domain?

Feb 16, 2010

Is there a way to send a simple SOAP message to a web service on another domain, while not caring about the response (this is simply a small data push) in an old flash app?

View 1 Replies

Possible For Flash Widget To Send POST Request To An External Domain?

Jan 13, 2011

is it possible for flash widge on site a.com to send POST request to b.com ?If so, couldn't this be quite dangerous ? A user would be performing POST to an unknown host

View 1 Replies

ActionScript 2.0 :: Defining Variables - Unique To Load SWFs Instead Of Declaring All The Variables

Mar 21, 2012

I have an empty SWF that's sole purpose is to call loadMovieNum and start the project. Each loaded movie has a few variables defined within them - unique to those loaded SWFs. Instead of declaring all the variables in each SWF can I declare all of them in one place, in the first frame of the empty loader it all starts from? I'm thinking I can then declare a variable which each loaded movie can increment as needed for me.

View 2 Replies

ActionScript 2.0 :: SendAndLoad Variables That Are On Another Domain?

Jul 24, 2006

I have one questio: How can i sendAndLoad variables that are on another domain.I have a mail form in flash...and i'm using sendAndLoad property, here it's my script:

Code:
sender.onRelease = function () {
//senderLoad.theName = nume.text;
senderLoad.kind_txt = Kind;

[code]....

But i don't get the variables back and no mail was send!

View 4 Replies

ActionScript 1/2 :: Load SWF In Other Domain And Access Its Functions / Variables

Dec 8, 2009

I need to load a swf in other domain and call its functions and access its variables, in the same domain I can load it and access its functions successfully, but in different domains no.

View 3 Replies

ActionScript 2.0 :: Any Way To Access Global Variables Cross Domain?

Apr 6, 2005

Is there or is there not possible to access _global variables between domains? On [URL] I have index.html and index.swf. Index.swf then loads main.swf from [URL]. In index.swf I have a _global variable that i want main to use. When calling for it all I get is undefined. The only way to access it is if I call for it using _parent or _root.

I have allowed the domains to communicate using
System.security.allowDomain("[URL]");
System.security.allowDomain("[URL]");
I have also put a crossdomain policy file on both servers..

View 7 Replies

ActionScript 2.0 :: System Security - Post Variables Directly On Domain

Dec 8, 2002

How to post variables to another domain. The other domain is a free cgi-bin service. So I cannot upload a shim movie there. That is, I need to post variables directly to a cgi script on the domain. Is it possible to do so?

View 5 Replies

ActionScript 3.0 :: Tracking .swfs Or .flvs - Send An Email When Video Is Played?

Feb 1, 2010

I would like to track when a .swf or preferably a .flv video has been accessed or played.  Is there action script I can enter in the .swf or .flv to send an email when video is played?

View 24 Replies

ActionScript 3.0 :: Post The Code For A Working Cross-domain Securityfile That Allows Access Only From The Same Domain?

Jun 1, 2010

post the code for a working cross-domain securityfile that allows access only from the same domain as all the flashfiles and xml files are in?used to be easy in as2 but i think i dont know what i need to know about it in as3..

View 3 Replies

Media Server :: Videos Start Immediately In Domain, 20+ Sec Delay Outside Domain

Apr 23, 2009

We are running FMS3 on Windows 2003 Server. Videos stream and play fine when inside our domain, but outside the domain the videos take anywhere from 20 or more seconds before playing.
 
After analizing the connections it was determined that the player is randomly trying to access ports until it gets to the one that works, but this is ONLY happening from people trying to view videos from outside our domain.

View 14 Replies

ActionScript 3.0 :: Send Variables From This To Php?

Oct 19, 2009

Does anyone know how to send variables from actionscript to php?

View 11 Replies

ActionScript 3.0 :: How To Send Variables To PHP

Feb 15, 2011

I desperately need to send variables from AS3 to PHP. I have been searching and trying for days to work it out but nothing seems to work. I have a swf which will be used for quotes, each part asks things like size, colour and other options. It has a summary part at the end that shows everything that has been added. I want to send these variables with there values to a PHP page to send an email. I can work out the PHP bit and I have tried several things to get the variables sent to the PHP but nothing seems to work. I want to send the variables to php when the submit button is clicked, it goes to the test PHP page which should then print the variables but it is blank.

Here is the code I have at the moment:
ActionScript Code:
btnSubmit1.addEventListener(
MouseEvent.MOUSE_UP,
function(evt:MouseEvent):void {
PHPSendData()
var myData:URLRequest = new URLRequest("test.php")
try {
navigateToURL(myData, "_self")
} catch (e:Error) {
[Code] .....

I'm new to AS3 so not too sure about anything but I'm not even sure if I need the loader bit or the function doComplete but I have tried it with and without and it doesn't make a difference.

View 5 Replies

Actionscript 3 :: Way To Send Variables To Asp?

Aug 16, 2010

Im trying to make an swf send a phone-number to a specific asp-fil on the press of a button.But since I'm an as3 rookie I have no idea where this code is going wrong (PLEASE HELP):[code]

View 2 Replies

ActionScript 3.0 :: Send Variables To JSP

Jan 28, 2009

I know when I was connecting to my database in my last project I used PHP, however I need to use JSP for this project and I can't find any info on google, it just seems to be flash remoting with PHP.

View 1 Replies

ActionScript 2.0 :: Send Variables To Asp?

Apr 5, 2006

how can i send variables to asp... that's all i want.

this is what i have...getURL("webform1.aspx?id=1&status=I",0, "GET");

but everything this gets send to asp... it also loads a new browser... i would like to continue with my flash movie from section 1 to section 2 and just send 2 variables to asp to let them know that i have finish section 1... that's all.

View 5 Replies

ActionScript 2.0 :: Send Variables To Php?

Jan 25, 2009

I have written the following to call in a text file via php and evaluate the contents for duplicates. If there are dupes, it identifies and removes them and resaves as a new array to send back and overwrite the current php. It identifies the dupes perfectly and assembles the new array as well. Unfortunately, it's not sending the new contents (myLV) to the php in my sendAndLoad.

I suspect that part of my problem is that it's all encased in the onLoad function which is embedded in another function, but I cannot get the initial variables to load from the php any other way.

Here's my AS:

function upDate() {
var playerData:LoadVars = new LoadVars();
playerData.onLoad = function() {
var currentNames:String = this.blog;

[Code]....

View 3 Replies

Actionscript :: Moving A Web Application From One Domain To A New Domain Flash/Php/MySql?

Jun 3, 2011

I have moved a web application from old domain to new domain. I cannot get Flash to engage. I have changed the domain in flash_images.php file to the new domain. I have a flash_box.swf file and I have a js file these are the only flash components that I see--old domain is e.g. www.example.com new domain is [URL]..I am not a flash developer, how do I get flash to work on the new domain?

View 3 Replies

ActionScript 3.0 :: Passing Variables Between SWFs?

Sep 14, 2009

I have one swf where I modify parameters of a circle using tweenlite and variables input by the user and I want to load that swf into another swf which has a boarder that I want to change according to the circle color. I got the circleChange swf to load using a uiLoader component but passing the variables for the color has become difficult and I'm a bit lost.

I tried using shared objects and kept getting the "cannot create shared object" error. I can either pass a variable or pass the inputTxtBox of the user defined color but don't know how to do either.

View 2 Replies

ActionScript 1/2 :: Send Variables To Another Frame?

Feb 18, 2010

Well, I made a login page with flash and php. So I was wondering how can I make it so that I can send variables to another frame.
 
Like I have a button, when you press it, it connects to the database, and it checks your login. Then it gets all the variables. So how can I get the variables for every page on my flash project?
 
The only way I can think of now, is setting a dynamic text to the variable..

View 3 Replies

ActionScript 3.0 :: Send Two Seperate Variables?

May 2, 2010

Just a quick question.  I transfer one variable from php to as3 using

<param name="FlashVars" value="myVar=<?php echo $_POST['name'] ?>" />
 
How can I send two seperate variables?  I know I can use & in the middle of that code, and pass another value, but this will place both values into the variable myVar.  Can I just do a new one underneath like
 
<param name="FlashVars" value="myVar=<?php echo $_POST['name'] ?>" />
<param name="FlashVars" value="myVar1=<?php echo $_POST['pass'] ?>" />

View 7 Replies

Actionscript 3.0 :: POST / Send Variables To PHP

Mar 29, 2012

I am trying to send some variables from my actionscript 3.0 to PHP file.. but if i am using POST method I am getting an error instead if I use GET method it is working fine but then there comes the security issue. All my variables are displayed in URL which I dont want to happen. This is my code:

[Code]...

View 1 Replies

ActionScript 2.0 :: Load And Send Variables To PHP?

Apr 20, 2010

I need to retrieve data from a text file, sort it with a new added score, and then turn the whole data back into a string and save it back into the text file.

I have worked on mini .swf files and php files, and I can seperately:

- retrieve data from a text file to Flash

- do the sorting in Flash from a string coming from a text file

- send a string to a php file and save it on a text file

But I cannot seem to do the three at the same time! Here is my [code]...

View 0 Replies







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