ActionScript 3.0 :: Local Connection Between 2 Child Swfs?

Aug 5, 2011

When I try loading 2 swfs that use a local connection to communicate I get this error

ActionScript Code:
SecurityError: Error #2070: Security sandbox violation: caller file:///C:/Users/Siggy2xc/Adobe Flash Builder 4.5/Mass Media CG/bin-debug/swf/controlPanels/animation/Test.swf cannot access Stage owned by app:/Mass_Media_CG.swf.

[Code].....

How can I allow the 2 swfs using a local connection to communicate?

View 0 Replies


Similar Posts:


ActionScript 2.0 :: Create A Local Connection Between Two Swfs?

Jan 29, 2009

In AS2, and creating a local connection between two swfs, what do the commands "comeBack" and "section" do?What's there place in the process?[code]...

View 1 Replies

ActionScript 2.0 :: Local Connection - 2 Swfs Sending / Receiving Same Variable?

Feb 11, 2007

All of the tutorials I have found re: local connections seem to outline 1 swf sending info & the other swf receiving. Is it possible to have two swfs using exactly the same action script for their variables to effect each other? I've got two swfs with 2 different sets of buttons who react the same way on roll over. Once a button is selected it remains highlighted. I want to know if I can have a button in swf 1 highlighted but un-highlight when a button in swf 2 is selected?

View 3 Replies

ActionScript 3.0 :: Run Function From Child SWF Without Local Connection?

Sep 20, 2010

We're loading a AS2 SWF into a AS3 Container. Then we want the AS2 SWF to run a function in the AS3 container...Is this possible without a local connection?

View 2 Replies

ActionScript 2.0 :: Use Local Connection To Control Child Movieclips Across 2 Apps?

Feb 22, 2012

What I'm trying to achieve is a basic theatre Box Office application, to show the public the location of the seats that they have bought.

I've got 2 flash apps. One on the clerk side which takes the seats in a csv format and then uses local connection to send the data. [code]...

View 1 Replies

ActionScript 3.0 :: Multiple Buttons To Open Child Swfs Then Be Able To Close The Child From Within The Child?

Mar 25, 2009

I have a picture on the stage that has multiple items that have hotspots/links over them that should open a child swf on top of the background and show details about the items. then have a button in the child swf itself that removes the child from over the background so the user can click on another item etc.I found this code in someone's post and I am trying to modify it so that works for multiple swf files...it currently works for a single swf.I wan to pass the name of the button in front of the .swf in the URLRequest to have the same name as the instance name of the referring button. But I can't figure it out. Here is the code I am using on the stage

View 2 Replies

ActionScript 2.0 :: Access Local Swfs Using Remote Swfs?

Jan 5, 2010

Is it possible to access local swfs using a remote swf

View 1 Replies

CS3 Local Connection To Control External Swf

Nov 10, 2009

I want to create the following: Suppose I have 2 swfs open in an HTML doc. The first sfw has 3 buttons: red, green, blue. When I hover over these buttons, I want the words "red", "green", "blue" to appear respectively in the second swf.

I found out that I can use "local connection" to to this, but it's too advanced for me.

View 1 Replies

ActionScript 2.0 :: Flash8 Local Connection On Mac

Dec 29, 2010

Basically, I need some help from mac users. I've made a portfolio site at: URL... and I'm using the 'Local Connection' function for communication between the thumbnail menus and the displayed images.However, I discovered that this wasn't working on macs... and after some digging, I found out that I should add the statement:[code]So, I added this, but I have no way to test whether it's now working or not as I don't have access to a mac. Is it right?

View 3 Replies

ActionScript 1/2 :: Local Connection Limit?

Oct 12, 2010

i have a very complex object, i wanted to pass on the object from AS2 to AS3 through Local connection. Looks like it doesnt accept more than 40k. Right now i am splitting the object and merging from AS3. i knew this is not so efficient enough. Is there any way i can share the object without splitting or any efficient way to achieve this.

View 3 Replies

ActionScript 3.0 :: Connect To Same Local Connection More Than Once?

Feb 27, 2010

Is it possible to connect to the same Local Connection more than once?

What if I have a Flash signature with same flash movie on the page 3 times and I click on the button on the first movie. Can the other 2 movies do the same action the first movie is doing?

I thought thats what LocalConnection was for but when the second movie tries to LocalConnection.connect it says the connection is already connected.

View 3 Replies

ActionScript 2.0 :: Rollover Buttons On Local Connection

Jan 30, 2009

I am really getting stuck with the 'Local Connection' action script vibe. All the tutorials show adding text from one swf and it appearing in another, but to this day i still cannot find a way of rolling over a button and it triggering the rollover on a button in anther swf.

My theory is that if it is possible to add text to another swf...surely connecting buttons is possible..

View 4 Replies

ActionScript 1/2 :: Call A Function Using Local Connection?

Feb 2, 2010

I have 3 Flash banners on 1 page that run through a synched animation together. At the end of the animation, there is a replay button in each of the 3 banners. I want the replay button when clicked in any of the banners to call a replay function in all 3 banners. Is there any easy way to do this? Using localconnection?
 
The banners are already using a local connection for the syching of the animation, if that helps.

View 3 Replies

ActionScript 1/2 :: Local Connection Between Text And Scrollbars?

Feb 2, 2012

I am using 2 swf movies to comminicate text like in the following example[URL]it all works well, accept, the text  dosn't scroll up in the recieving movie. How would i make it do that?

View 1 Replies

ActionScript 3.0 :: Check To See Local Connection Is Open?

Jan 10, 2009

I need to check to see if the connection is already open, and if so, remove it so I can reconnect (sending a new variable on the new connection).[code]...

View 9 Replies

ActionScript 3.0 :: Pass Arguments Through Local Connection?

Nov 22, 2010

I want to be able to pass the mouse click / evt with local connection[code]...

View 1 Replies

ActionScript 2.0 :: Local Connection Across HTML Pages?

Oct 9, 2006

I have three swf's using local connection to communicate. Basically a top and bottom navigation communicating with a main module. All this works fine and looks a little like this:

Top_Nav:
[AS]
Actions.LINKFunction = function(){
outgoing_lc = new LocalConnection();

[code]....

As I mentioned this all works fine. Where I am having trouble is that there is one link that takes the user to an eCommerce area of the site that lacks the main module. It only has the top and bottom navigation. So the navigation is basically broken once the user heads to this area. By putting a getURL into the top nav function I can easily get back to index.html, but I can't figure out how to send the functions once the page has loaded. Basically looking for a way for the functions to execute after the new html page has loaded. So the user hit's the LINK button, the page index.html is loaded along with the three swf's and instead on the default movie's loading in the main-module, the functions in the main module corresponding to LINK are run.

View 1 Replies

ActionScript 2.0 :: Local Connection - Use Localhost <-> Webdomain?

Mar 24, 2007

Ive used local connection before, it always comes up as a bit fishy, but the best reulst i got was following the emaple in the help file, but it only works when the files are online, and i need the receiving/listening SWF to be online..and the sending should be able to work both from localhost and a domain,

[Code]...

The following example sends a string to the previous SWF file and displays a status message about whether the local connection was able to connect to the file. A TextInput component called name_ti, a TextArea instance called status_ta and a Button instance called send_button are used to display content

[Code]...

LocalConnection objects can communicate only among SWF files that are running on the same client computer, but they can be running in different applications--for example, a SWF file running in a browser and a SWF file running in a projector.

View 4 Replies

ActionScript 3.0 :: Flash Local Connection Incorporating Into A Mp3 Player

Mar 22, 2010

I have an mp3 player(AS3) loads in external mp3. I am trying to attach the flash local connection script to the mp3 script so that I can have the mp3 pop up in a smaller browser and it be controlled by the main homepage.

here is an example, [URL] select track 4, you will see it starts playing but also another small window pops up but its behind the main browser. this is then controlled with a 'Stop' and 'Play' function on the main home page.

thats what I am trying to create:

ok;
 
I have an example working for the flash local connection where you can drag a ball and it also moves in the smaller pop up window, see here: [URL]
 
So I have that working and I have the mp3 working, but I need to put both togther and cross over the flash local connection script and incorporate into the mp3 script.

What is the best way for me to send script information, I don't want to flood the thread with AS. You can download the flash lconnection files and the mp3 player from here!
 
[URL]

View 7 Replies

ActionScript 3.0 :: Create Connection With SQL Lite Local Database (AIR)?

Jan 4, 2012

I have got Flash CS5 and i create AIR desktop application. I would like to create and edit sql lite local air database. I know i should use SQLStatement and sqlConnection. Could someone give me any advice about doing that. Maybe some tutorial or something what let me to do that.

I don`t know should i create that database sql lite file earlier and include it to air project or should i create that database in dynamic way by as3? How can i get and edit data from this database? How can i save that local database if it included in air project (i would like to that database file would be inside of air project)?

View 4 Replies

Flex :: Sending A File Between AIR Applications Using Local Connection?

Feb 2, 2011

How do i send a text file between air applications using local connection?Sender AIR

private var conn:LocalConnection;
public function init():void
{

[code]......

View 2 Replies

Flash :: Check Internet Connection Running Local Swf

Jun 7, 2011

I am creating a local app that is going to be a swf file. Is there anyway to check if the user has internet while they are using my app. I tried this, it works great if testing the movie from flash, however, It does not work when running the swf file independently. I'm guessing this is because it is strictly intended for air app.[code]...

View 3 Replies

ActionScript 3.0 :: Using A Local Connection To Share Data Between 2 Apps?

Jun 23, 2011

I am using a local connection to share data between 2 apps. The receiver has a function that runs every time new data is sent. I need to run another function every time that function runs, how can i do this?

View 2 Replies

ActionScript 3.0 :: Local Connection To Swf Loaded On Native Window?

Aug 7, 2011

I have 2 swfs loaded that use a local connection to communicate, they work fine when loaded on the same window but when I load them on separate windows it gives me the following error.

ActionScript Code:
Main Thread (Suspended: SecurityError: Error #2070: Security sandbox violation: caller file:///C:%5CUsers%5CSiggy2xc%5CAdobe%20Flash%20Builder%204.5%5CMass%20Media%20CG%5Cbin-debug%5Cswf%5Canimation%5CTest.swfcontrol cannot access Stage owned by app:/Mass_Media_CG.swf.)

View 0 Replies

ActionScript 2.0 :: Database - Make A Local Connection To The XML File

Jan 4, 2008

I want to make an offline desktop app. that stores my company's customers and their data in an XML file, just like a database. so that I'm able to load, edit (create new customers, add to their data) and save it into the XML file which is stored locally. i then want to make a Local Connection to the XML file somehow, so that others in the company can do the same from their PC.. Can anybody tell me if this is possible at all? (making a flash app that writes XML files to any location on a PC that only has network.. edit XML files through Local connection function in flash).

View 3 Replies

ActionScript 2.0 :: Local Connection Control HTTP Overlap?

Feb 4, 2008

I have an Web based flash games and what I need to do is "I need to restrict the login browser to make one PC can run one login at a time".

Let say,While the player is using the games , then if he open another browser and want to play at the same time.The game cannot permit to play the game at the same time on this same pc.

So can I use to control that by using Local Connection?

View 4 Replies

ActionScript 2.0 :: Local Connection Does Not Always Work - Alternatives Or Fixes?

Jul 16, 2008

I have an swf that needs to communicate with another. It just needs to pass 1 variable (a number) to the other. And the receiving swf will then act according to the number.

However, I noticed when I sometimes refresh the page, localConnection does not always work. When I'm clicking the sending swf, the receiving swf does not act...at all. As if nothing happened.

Is it a HTML problem? Ive selected Flash Player 7 for swfobject's parameters. Anyone have any solutions or possible alternatives to doing this?

Like I said, I just need to give the receiving swf ONE variable. And I dont want the sending one to write to a PHP file and receiving one to always load that PHP file for updates...thats not nifty enough.

View 1 Replies

ActionScript 3.0 :: AVM2 -> AVM1 Communication Bug With Local Connection?

Feb 22, 2010

I am creating a local connection to play an as2 movie, which works.... the first timehah.Observe the link below:http://isokon.net/clientPost/scripts/AVM2_to_AVM1.swf(test the above file by playing the banner, then killing it, then loading a new one and attempting the play method again...)I've tried closing the connection before reusing it, but it says the connection is not open... traces a successful send each time.here is the link to the abstracted FLA: http://isokon.net/clientPost/scripts/AVMCommBug.zip

HTML Code:
var bannerContainer : Sprite = new Sprite();
var connectID : LocalConnection;

[code].....

View 1 Replies

ActionScript 3.0 :: Flash Local Connection Incorporating Into Mp3 Player

Mar 22, 2010

I need to put togther regarding flash local connection? I have an mp3 player(AS3) loads in external mp3. I am trying to attach the flash local connection script to the mp3 script so that I can have the mp3 pop up in a smaller browser and it be controlled by the main homepage.

[Code]...

View 1 Replies

ActionScript 2.0 :: Showed Transfer Text Fields Local Connection?

Oct 1, 2002

here explain how to use local connection. the explanation on Macromedia was very useful as it only showed how to transfer text fields. How do i send a variable from one movie in one html file to another movie in another html file.

View 4 Replies







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