ActionScript 2.0 :: Communication Between Multiple SWFs On A Page?
Jul 12, 2005
I basically need to set up an interface in an html page with 3 different swfs in different spots of a table that need to communicate with eachother (basic stuff like going to certain frames within the targeted swf when a button is pressed, etc).
I'm pretty sure i've seen it done, but i can't seem to figure out what kind of approach i need to take. I'm guessing its going to take some javascript, but i'm not sure.
View 14 Replies
Similar Posts:
Mar 6, 2009
I have a page that can be seen here: [URL]
As you should be able to see, it seems as though the Flash file on the left is causing the one on the right to reload upon final loading. The one on the right will reload itself once the one on the left finishes loading.
I have tested the flash files by themselves and both load only once when loaded by themselves. It seems as though one is causing the other to re-load which is just mind boggling to me.
View 2 Replies
Nov 24, 2010
Is it common to have issues when there are more than one Recording SWF on an html page?I have 4 SWFs on a page, each with the capability to record, They all use the same FMS application but record and playback different FLV files.Could there be an issue with the NC being shared and then causing grief?
View 2 Replies
Feb 3, 2011
I'm trying to post multiple .swf objects into one html page. The first .swf object plays fine, but the second one does not load. My page is [URL]
Dreamweaver tells me that swfobject.registerObject does not exist, or something like that, but I see this code being used elsewhere. I have swfobject.js in my main folder, too.
View 18 Replies
Jul 30, 2008
I basically have multiple identical swfs on a html page, each containing an mp3. I need it so that when you play one.. it stops any others that are playing, to prevent the audio from overlapping and creating a mess.
I've tried using 'local Connection' which almost worked.. but just didn't seem to be well suited to this sort of thing.
View 9 Replies
Jul 26, 2010
I have tried this and it doesn't seem to work. In the example below the movie on the right (boy in the hat) is embedded using this procedure but the two on the left (paws moving on order button and dog animation) had to be installed using Dreamweaver's swf installation methodology. and, consequently the dog animation does not show up in Explorer 8 and some other browsers.
[URL]
View 3 Replies
Jul 10, 2002
Looking for thoughts and ideas on establishing communication between isolated SWFs residing in a single HTML page. Need to place multiple SWFs in a single HTML page and was wondering if there was some way to send commands from one of the movies to the other wihtout reloading the page. (would prefer not to reload the page and all the components and have the page "blink" - go blank before loading new and cached data) Unfortunately cannot build this as a single flash object with multiple MCs.. must be multiple SWFs.
Have an idea or two on how to set this up with HTML framesets and loading subpages ( a cheat certainly and far less than elegant) but would prefer not to deal with the heartache that would entail - especially since areas of the page would still "blink" on loading.
View 2 Replies
Dec 11, 2007
I have the following scenario: one swf has a series of buttons that send play commands to 10 other swfs in the same html page (no frames). After some googling I found out swf to swf communication is done via LocalConnection. ( [URL]
a) every example I found is passing text strings from one swf to the other (what is written in the form field in transmitter swf 1 is echoed at receiver swf 2. I don't want to pass text, just want transmitter swf 1 send a play action to receiver swf2 that is waiting stuck at a stop action. What is the syntax for this?
b) all examples also have one swf sending to only one other. how do I differentiate which one of my 10 receiving swfs actually performs the above play action?
View 3 Replies
Jan 26, 2010
I have a main swf that embeds another swf. I want to be able to tell the embed swf to do something.
Main.swf
[AS]
//Creates new image loader
var imageLoader:Loader;
//Holder variable for the image to load
[code].....
View 1 Replies
Mar 18, 2009
I want to ' import ' or ' download ' some SWF file into my main-swf file. I then want them to do a lot of communication back and forth. The best would be if I could just call functions from the new SWF file from my main-swf file, or the other way around. Do I use the loader class? And do I use the .parent.parent thing? Or is there a better solution?
View 3 Replies
Mar 6, 2012
I have some software developed where I have setup good communcation between some VB software and flash software. Communication is done locally via socket connection. I was hoping I could do the same except with two swfs. Who acts as the host? do I need a host?
[Code]....
View 1 Replies
Apr 7, 2009
I am currently in the process of developing an application with Flash/AS3. I have worked a lot with AS3 (FlashDevelop) before so I am rather familiar with it, however, since I won't be the one designing (nor the only one for that matter), and because it isn't a one day job, it is important to be able to get some structure in the project. So that we can have a "core" of AS3 that loads SWF-files and then does the interaction with the loaded SWFs, like providing information for fields and submitting the data, etc.
However, I've searched and I can't find any good up-to-date information on how to actually take care of the communication with the loaded SWFs. I found a lot of tutorials on it, but every single one ended up simply not working or being "depreciated" by the compiler because they were built for earlier versions of AS2/AS3 or Flash. (I found this promishing guide: [URL].. but that too ended up being depreciated) The only working piece of information I've found is LocalConnection, but it is really not well-suited for this, and from what I can tell a very complicated way to go about things.
So my question is how does one go about implementing the communication between AS3 and the loaded SWFs?
Being able to dispatch events or call functions both ways is basically what I think is necessary.Or perhaps there are better ways to go about application development with Flash?
View 3 Replies
Aug 13, 2010
I am loading multiple .swfs into multiple .swfs, but the .swf are never being properly unloaded. I thought they were unloading until I started monitoring my Page File Usage and seeing it increase everytime I loaded another external swf.
In using this function to load my content, what would be the proper way/function to unload the content?
[Code]...
View 2 Replies
Jun 3, 2010
I need to call a javascript function in an aspx page from flash. Is it possible? Also I need to pass an argument to the js function in aspx page. How this can be achieved?
View 3 Replies
Nov 3, 2011
I have an invisible movie clip I want to go to the NEXT page, as it goes to that page, I want it to essentially remove itself (page1.swf). e.g. page1.swf (contains fancy.swf - [AS2], 4 images, several invisible MCs with code) has an invisible MC + on click = remove page1.swf.
To be clear, this does work. It goes to page2.swf and page2.swf goes to page1.swf as it should. The issue is that if the user repeatedly does this (just 2 or 3 times) the fancy.swf becomes impossible to control and Flash (CS5) crashes. I think this is due to the fact it's not unloading the entire thing, it's only unloading fancy.swf on click (I hope). So underneath page2.swf is page1.swf, and when the user clicks back to page1.swf, page2.swf AND page1.swf are underneath that, and so on and so forth.
[Code]...
View 9 Replies
Jun 3, 2011
need to create a simple application that will essentially function as a remote slideshow broadcast service. One presenter will see the show (full screen) and will be able to proceed to the next slide, all other attendees will only see the show (no control) and will see the next slide when the presenter proceeds. I have a Flash Media Interactive Server which can be utilized.
View 1 Replies
Aug 3, 2010
I have a little Flash intro SWF i prepared and handed off to a friend who is implementing my intro animation into an HTML site.... The problem is that once the SWF (intro) finishes, there is a short gap (blank white page) before the actual HTML site loads. Is there a way around this? Is this something i need to code on my side (AS3) or is this a problem for my HTML/javascript buddy to figure out......or both.
View 3 Replies
Mar 5, 2009
Can 2 swfs on the same page communicate with each other directly? Or do you have to do something tricky like setting variables in a stored object from one swf and then constantly checking for updates to it in the other swf?
View 1 Replies
Mar 29, 2011
Basically I created a simple mp3 player, and there are multiple copies of that embedded in a page. Now when I play one, I want all the others to pause.. is it possible to do n-way localconnection? or is there a better alternative?
View 3 Replies
Jun 7, 2011
I am trying to make a web page that has multiple of the same SWF on it. I am having a problem with it being stupidly slow loading (download time is fine though). I have a 4x4 table in each cell there is a swf file embedded in an iframe. (Note: 4 X 4 table => 16 SWFS).
My AS3 code is very simple:
package
{
import flash.display.Sprite;
import flash.system.System;
[Code]....
Is there a good way to embed multiple identical swfs into a web page? Why are IE and Firefox struggling so poorly? I suspect it has to do with the fact that both IE and Firefox each only have one thread to run plugins (Flash) in. I have a similar app written in AS2 (not written by me, I just have the swf file). It is much more complex but it loads orders of magnitude faster in IE and FF. Is there a reason that AS3 pins the browser when AS2 does not? How can I embed multiple AS3 swfs into FF & IE 7 without pinning the browser? Is there a way to make an application that is more light weight?
View 5 Replies
Oct 13, 2010
As I am getting more familiar with FMS and understanding it better with the help of the wonderful contributors here on this forum, I am now curious about players.Players such as Strobe and REOPS to be specific.Are players all SWFs that are embedded in a page? I have seen some players here on the Adobe website that are stand-alone smaller windows that appear over the page. How is this done?So Strobe and REOPS...are we talking SWF code that is editable? You can see I am quite new to this. I'm on a roll, however and wish to continue understanding and learning.
View 6 Replies
Aug 25, 2011
I have to create an app for iOS from an existing Flash project. On the stage of the main flash multiple swfs are loaded dynamically . Is it possible to compile, in addition to the main file, all the other swfs too? If I load the swf in the "Included files on Setting AIR for IOS menu, they are copied as swf, making impossible to use the app on iPad.
View 3 Replies
Jan 18, 2008
Does anyone know of a way (e.g. similar to those of which allows my swf to be divided into multiple swf based on the frames? So if the swf is 10 frames long, there will be 10 SWFs, each one containing a frame.
View 2 Replies
Jun 17, 2009
I am sure that this can be done, but can't seem to find it on google or in the forums...I have two swf files that I would like to add into one web page. How do I do this?
View 2 Replies
Feb 1, 2010
I am loading in .swfs, that were exported from InDesign, using the page turn effect, into another swf that contains navigation. Would anyone know how I can make calls into the loaded swfs to trigger them to go to the next page, or report back how many pages the swfs contain? I can't seem to find any documentation on this?
View 7 Replies
Nov 20, 2009
I have a html page with a flash element. The flash element loads in an external swf. This works fine when I'm testing from the swf, but when I test from my HTML page the external swf doesn't seem to load into my main swf.
I have all my swf's in a folder called "swf". The HTML document is at the root level. In my main swf the actionscript for loading the external swf is:
[Code].....
Some how the path to the external swf gets lost. I've tried new URLRequest("soundComponent.swf"); as well. And like I said, this all works from the swf, just not when viewing from an HTML page.
View 1 Replies
Aug 8, 2006
I have a .swf file containing a navigation bar and also an animation. I was going to use getURL on the nav buttons so that a different html page would launch onRelease. The animation in the swf file that contains the nav buttons plays as soon as the swf is loaded and there's also a movie clip in the file which continues its animation even after the file has loaded and played. As each of the nav buttons are pressed and the correct html page loads, I don't want the entire swf file to reload and therefore play the entire animation again as it did on the home page, but instead I just want it to appear as though it's already loaded but I do want the separate movie clip in the swf file to continue to play. Is there any way to make this happen?
Also, I wondered what code I'd need to make the current page nav button appear in a different state to all the other buttons to make a "you are here" effect.
View 3 Replies
May 28, 2008
I am currently building a website and what i need to do is to call external swfs in an empty MC on the index page regarding which buttons of the nav you clicked on.It works, very nicely. But then i need to be able to preload another swf on the index when i click on a thumbnail.
e.g: index load the "who.swf" first. On the who.swf there are 2 thumbnail and when click it must replace the "who.swf" with contact.swf. It works but the only problem is that i cant make the preloader of the index to preload the empty MC which load all the external swf.
Is it because i am using loadMovie and not loadCLip.
View 2 Replies
Feb 6, 2010
The aim is to have quick loading times, how is this done? i've looked around and havent found any good tutorials. Obviously the site is all flash, but want the menu to be always there while content for each page is in a separate swf file...
View 1 Replies
Apr 14, 2010
I want to convert a pdf magazine into multiple swfs (one for each page), so I can use them in a page flip application. swf because then the user can soom and vector stays vector so when zoomed the quality stays the same. I can't export to swf in acrobat.
View 2 Replies