Have Two Swf Files On Same Html Page That Can Communicate To Each Other?

Jun 5, 2009

Was just wondering if its possible to have a two swf files on the same html page that can communicate to each other.

I have one movie that asks a series of question and what I'd like to happen is for those results to be shown in the 2nd swf. Sounds simple, which means it probably isnt

View 8 Replies


Similar Posts:


ActionScript 3.0 :: Controlling Sound Of Separate Html Files Within Same Html Page

Sep 11, 2010

I need to allow users to preview audio files for purchasing. I have CF pages that return records form a SQL database. Each record contains the same swf file however, each swf file points to a different mp3 for previews of different audio examples. So far, everything is working fine. My problem is that I need to be able to stop the sound from one swf when I click to play a second swf .The only solutions I see in Flash forums deal with loaded swf files. These are not loaded files they are separate files within a page. The question is: How do control one swf from another swf in the same page.The following items have not worked: soundChannel.stop();,soundMixer.stopAll()

View 2 Replies

Flash :: Professional - Put Files On Your HTML Page?

Sep 7, 2011

i saw source codes of a [URL],i downloaded all swf files and linked them to my page but i cant view the pre-loader and my page just typically loads. i downloaded: swfobjects.js, swfaddress.js and Blade.swf. i used

[Code]....

View 13 Replies

Professional :: FLV With The Support SWF Files And HTML Page?

Mar 27, 2012

If someone provides me the FLV with the support SWF files and HTML page (so that the movie is embeded on the HTML page with the skin controls)...and I need to rename the movie from what they sent it as...will I also need the native FLA? Do I simply rename the HTML page to the desired link name for brand consistency on my website, will that solve the problem without needing the FLA?

View 2 Replies

ActionScript 3.0 :: Use One Html Page To Load Multiple Swf Files?

Apr 7, 2011

I'm trying to use one html page to load multiple swf files and I can't figure out the correct code to do it.Basically, each main page in my navigation is a separate swf.I need the swf files to be able to load seamlessly over one another.

View 9 Replies

ActionScript 2.0 :: Controlling Different Flash Files On The Same Html Page?

Jul 22, 2005

I have two separte flash files on the same html page... I want to be able to click a button in one flash file that affects the timeline in a separte flash file on the same page. Is this possible?

View 3 Replies

Professional :: SWF, HTML Files Only Work When Absolute Path Is Entered Not On Index Page?

Jan 24, 2011

I have a strange problem: When I type the absolute URL to my SWF file it works fine; however, only the background image appears when the SWF is embedded in the home page.

View 3 Replies

ActionScript 2.0 :: Can 2 Swfs On The Same Page Communicate With Each Other Directly

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

StageWebViewBridge Load And Communicate With Online Page

Dec 9, 2011

Has anyone been successful in using StageWebViewBridge to load and communicate with an online web page? [URL]. The documentation and examples offered are all configured around working with local files (which work successfully) and although the instruction to 'include the StageWebViewBridge.js' file within the loaded html page sounds very straight forward, sadly it doesn't seem to work.

For anyone wanting to replicate my test I have uploaded the files here: [URL]. I'm basically loading the 'ExampleCallBackFuncions.html' file from a web server. I've included the StageWebViewBridge.js file like so...
<script type="text/javascript" src="StageWebViewBridge.js"></script>

When I test the movie I get the correct setup output messages
_serializeObject =>___onDomReady
_serializeObject =>___getFilePaths
_serializeObject =>___onDeviceReady
_serializeObject =>fnCalledFromJS

And the html page appears in the viewport. But on pressing the button which should send a message to Actionscript I get the following error messages:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at es.xperiments.media::StageWebViewBridgeExternal/parseCallBack()
[/Users/G5TowerIntel/Desktop/maptest/es/xperiments/media/StageWebViewBridgeExternal.as:88]
at es.xperiments.media::StageWebViewBridge/onLocationChange()
[/Users/G5TowerIntel/Desktop/maptest/es/xperiments/media/StageWebViewBridge.as:236]
My goal is to send a message back to ActionScript from the html page.

View 2 Replies

ActionScript 3.0 :: Communicate With Page Class That's Not Loaded Yet?

Mar 6, 2011

I have an app with a setup page that requires the user to select a scenario for a quiz. Their choice determines the content that's loaded next.

With as2 I would have used a global variable to indicate the users choice but of course that's not longer an option, and I don't think I can send an event because the next page isn't loaded yet.

So how do I communicate with a class belonging to a dynamically loaded swf that isn't loaded yet?

View 1 Replies

ActionScript 2.0 :: Communicate Between Two Separate .swf Files?

May 23, 2003

and what i would like yo know is how / if i can communicate between two separate .swf files.. what i want to do is this : i have a soundplayer.. and when i go to a defrente html page (that changes only in the iframe , menu is in another iframe) i want the sound player to play another song! so i need somewhere to put a variable and let the sounplayer read that variable so he knows what song he needs to play

View 4 Replies

Javascript :: Html - Communicate Between Flex?

Feb 20, 2012

I have a windowed Flex application (AIR) that uses an HTML file for the UI, but I have some Flex code that needs to be executed when the page is loaded.I have imported the HTML interface into the app using the < mx:HTML /> tag. The communicate between javascript and flex, but only if you are using an external HTML file in a browser, and not in a windowed app.

View 2 Replies

Media Server :: Unable To Stream SMIL Files Unless The Html Page, Swf File And The Smil Ffile?

May 20, 2010

When I place the .swf, smil and http files on the FMS server the SMIL stream test sample works fine
But When I move the files to my web server I get Connection error. This is the same issue discussed in [URL].. I added a 'base' variable but it did not work for me. The SMIL file has the correct path to the sample files and FMS server <meta base="rtmp://200.200.200.23/vod/" />

I am able to stream files from my html file on my webserver not the FMS server by pointing to the FMS server at rtmp://200.200.200.23/vod/mp4:sample1_1500kbps.f4v Is this a domain security setting? If so, where do I change it? If not How do I get FMS to stream SMIL files without installing a webserver with FMS?

View 1 Replies

IDE :: Preload One Html Page / Once It's Loaded Into Cache Automatically Jump To Page With Big Swf?

Dec 29, 2009

I have a flash header for an html site that is about a megabyte and obviously needs a preloader. Unfortunately it won't work to have the preloader loading at the top while the rest of the html below is visible — it will end up looking like the top navigation is cut off, as the top 10 pixels of the nav bar is actually in the swf header (fully loaded it will look contiguous)Is there a way to preload it in one html page and then once it's loaded into the cache automatically jump to the page with the big swf?

View 1 Replies

Flash :: Program An Html Page To Move To A New Web Page On User's Clicking An Item Of An Embedded Movie?

Nov 21, 2011

Let me ask how to program an html page to move to a new web page on user's clicking an item of an embedded flash movie? But , in detail, I actually want to do a little different thing. I want that the parent html page remains there ,instead I want a child html frame has a new page after user's clicking the list item of the embedded flash movie.

View 2 Replies

Professional :: Preloading An HTML / Flash Page On PREVIOUS Page

Jul 1, 2010

I have a site where all the pages have a common SWF embedded at the top (Nav and banner), but the rest of the page is HTML.Everything is working fine, but I'm finding the 'independence' between the HTML and Flash is making for some sloppy transitions from page to page.I was expecting the SWF to be delayed, at least for the first page visit(and I have a preload routine inside the swf to make it's delay and appearance a bit more visually pleasant), but was surprised to sometimes find the SWF appearing and playing while the HTML content was delayed (resulting in a SWF floating in black).What I'm wondering is if there's a way I can do some sort of preload on my index page.BUT, not the standard one that I'm sure everyone would suggest (like the javascript image 'preload', or the newer 'css visibility' preload trick). The problem with the standard one is that it doesn't check to see if everything is loaded.What I'm after is a routine on my index page that invisibly loads some of the elements from my inner pages (common swf, maybe some of the images) and WAITS until it's done before moving to the inner pages (displaying the company logo and/or a load status in the meantime).Many people would suggest a preloader inside the common SWF on my inner pages (which I have), but the problem with that on its own is that it doesn't stop the HTML from displaying.

I'm trying to figure out a way to do a preloader (like those in a SWF, which loops until everything is loaded) that controls both the SWF AND the HTML.Recently, I found that you can use one swf to preload another, which would be a potential solution, as I could make an SWF on the index page whose sole purpose is to load (invisibly) the common SWF, displaying the load status and then loading an inner html page once it's done.Problem is, I have bee having trouble finding the coding for that, as most searches for preloaders end up being about standard preloaders, where it's monitoring the same SWF that the code is on, as opposed to controlling a second, external SWF.Can someone point me to or provide me with the proper coding/procedure for a preloader that controlls a second external swf or give me a better solution?
 one?

View 1 Replies

Making A New Page Popout From An Existing Html Page

Sep 9, 2009

I want to build function on my site where I click on the link, and a new page (background opacity maybe at like 50%)  - which consists of a video in the center and a link or two - floats on top of the already existing html page. I've seen this done a few times and I think it's a really cool function.

View 1 Replies

ActionScript 2.0 :: Make A .swf Placed Onto A Html Page Be As Wide As The Page?

Oct 11, 2006

I've been trying to recreate the effect on this page [URL] change the height of the page and notice how it's content moves.

how you make a .swf placed onto a html page be as wide as the page, and let the flash file know how wide it is being displayed so the content does not stretch out

View 1 Replies

ActionScript 2.0 :: Passing HTML Form And Hidden Variables From Flash To Html Page

Dec 3, 2003

I have a html/flash site now, [URL]. i access email from my site itself by giving the userid and pwd text box which i copied from the actual website hosting my email access. i copied the entire <form...></form> tag to my page and thus was able to put the name and pwd in my home page only and access the email in a separate window. now i have redesigned my webpage using only flash. i would like to know how i can implement the same using flash. as i have not much experience using action scripting i am a bit stuck about how you pass the hidden form variables. the below is the the exact form syntax:

[Code]...

View 1 Replies

ActionScript 2.0 :: Flash + HTML + Variables - Go To The Home.html Page An Animation Will Play From Start And Then Stop At The End Of It

Feb 25, 2010

when you go to the home.html page an animation will play from start and then stop at the end of it. However, for all other pages i.e contact.html aboutus.html we need the animation to skip to the end straight away and not to play the whole animation through. I was thinking this would be controlled by a variable or some kind of external text file ect. Basically in the first frame the actionscript needs to basically say

"if this html page is aboutus.html then go to the last frame and stop" and with the index page it would say "if this html page is index.html then keep playing"

View 2 Replies

Html :: Set Link Of Another Html Page On Flash File

Mar 11, 2011

I want to set link of another html page on flash file.

View 1 Replies

Flash :: Html - SWF Object Rendering At The Html Page

Jun 19, 2011

I would like to ask when swf object rendering at the html page? Is it rendered only it's visible? If swf at the page bottom that is not visible, will swf be rendered when I scroll down? The problem is that swf object raises some events when it's rendered and I would like to force rendering even if swf object is not visible.

View 1 Replies

Html :: Load Html Page Into Flex Textarea?

Jun 2, 2009

I would like to show some textcontent from a website in a textarea box in flex.

<?xml version="1.0" encoding="utf-8"?>
import mx.managers.PopUpManager;
import mx.core.Application;

[code].....

View 3 Replies

Html :: Works When Tested In Flash, But Not On Html Page?

Feb 29, 2012

I am trying to create an ad for a website. When someone clicks on the ad, it is supposed to redirect them to a website, and register the click with google analytics.I have done this with the following script:

import flash.external.ExternalInterface;
movieClip_3.addEventListener(MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void {

[code].....

View 2 Replies

ActionScript 3.0 :: Load HTML Page Without Html Tags?

Jan 16, 2010

I was wondering if flash can load html document, the way browser displays it.

View 1 Replies

Html :: Flash - Rendering Swf Files In Html With/Without Swfobject?

Feb 7, 2011

Without including swfobject.js can only swf files be loaded through html.And if so is there a common tag for all the browsers.

<object id="myMovieName" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="movie.swf" name="movie">
<param value="high" name="quality">
<param value="#FFFFFF" name="bgcolor">

[code]...

View 2 Replies

ActionScript 2.0 :: CS3 Variables Between Two Swf Files On Same Page?

Mar 14, 2009

Lemme explain, I got 2 SWFs loading of the same page.On SWF2 I'm trying to receive a var from SWF1, and I'm trying to make it only by flash/as without any javascript help nor LocalConnection(will explain later on why it doesn't fit).A sample of what I've made so far can be found here:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

[code].....

View 10 Replies

IDE :: Preload Home Page With .SWF & .PNG Files

Mar 13, 2009

I am having trouble preloading my .swf files. Can anyone tell me how to create a "index" Page that says page loading while all of my .swf & .png files upload?

View 2 Replies

ActionScript 3.0 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

Jan 26, 2009

i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,

function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....

View 0 Replies

CS3 Redirect An Flv To Another Html Page

Jul 29, 2009

i'm an motion-graphics designer, who had experience with flash only this was 8 year's ago. I'm not a programmer so I allways had people around me who could do the flash things. So I absolutely have no idea how it works.

Now i'm making a website, with an swf which play's an flv. The flv can be paused etc. now is my question, after the flv is played I want this to redirect to for example index2.html where are a couple of links. and from that page you can go to the next.

I've seen on the web a lot of reactions about this question, people say use the playerdiy.com. but that's not gonna work for me now.. Because i have set the design up this way (picture in swf which say's ichap etc, with a black solid where the video is been played).

Playerdiy does what i want's but i wanna have my swf design what I used here: [URL] this is with playerdiy: [URL]

View 5 Replies







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