ActionScript 3.0 :: LocalConnection Doesn't Work With Layered Swfs?

Feb 17, 2009

I have a project that was done in AS2, and instead of porting it to AS3(no budget..)I created an AS3 "shell" for all new features to be loaded into, and am communicating between the as2 and as3 with localConnection. This works fine, but the problem is since I want the new content to appear to be part of the old, I need to 'float' the as3 swf over/above the as2 swf. I can do this no problem using divs and css, but as soon as I do, the localConnection fails to connect in either swf. Both the swfs function fine in this configuration, but no localConnection

View 0 Replies


Similar Posts:


ActionScript 2.0 :: Loading Dynamic Swfs Doesn't Work

Jan 16, 2006

To load a swf, I tried using the following code

[Code]...

View 2 Replies

ActionScript 2.0 :: Communication Between Swfs Using LocalConnection

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

ActionScript 3.0 :: LocalConnection --- Can Multiple Swfs Listen To One Swf

Dec 18, 2009

The question is pretty straightforward: can multiple swfs listen to one swf on the same connection channel? Here's my code:SWF A in AS3:

Code:
sendToTest.send("sendToTest", "resetForm");
SWF B in AS2:

[code].....

View 4 Replies

ActionScript 2.0 :: LocalConnection Does Not Work?

Feb 18, 2004

ere's what i'm doing and it doesn't seem to work, 1st movie, a button:

[AS]
on (press) {
function () {myLocalConnection = new LocalConnection();
myLocalConnection.send("Incoming", "onRecieve", MyID);
myLocalConnection.close();};
[/AS]

where MyID is some variable

2nd movie, 1st frame:

[AS]
myLocalConnection = new LocalConnection();
myLocalConnection.onRecieve = function(theID){
_root.test.gotoAndPlay(theID);}[code]...

now that doesn't work so i'm wondering what is wrong...

View 2 Replies

ActionScript 2.0 :: Can't Get LocalConnection To Work

Jun 5, 2006

I have 2 swf... and it just deosn't want to work, the Receiver is supposed to play a video..

Sender:

Code:
buttonsLC = new LocalConnection();
b_005.onRelease = function() {
buttonsLC.send("lcMovBtn", "methodToExcecute");

[Code].....

View 8 Replies

ActionScript 3.0 :: How Does LocalConnection Work

Dec 4, 2009

I have two SWFs happily sending messages back and forth to each other. I want to intercept those messages with a third SWF without editing the first two files at all.

View 8 Replies

Flash :: LocalConnection Between Swf Sending Delay & LocalConnection Sniffer Tool

May 6, 2011

The first one (FLEX application) sends a message on a dedicated LocalConnection to a second one (Flash application). The Flash then answers by sending a message on another dedicated LocalConnection. This message is not directly received by the FLEX and the delay is at least 30s, up to 1 or 2 minutes! It seems the issue only occurs with Flash Player >= 10 and it never occurs with Chrome.

I didn't find anything on the web concerning a similar issue nor something in Flash Player release notes. Did someone already have this kind of problem?

By the way, is there any tool that can be used to sniffer LocalConnection communications?

Additional information:

swf are located in different frames swf are embed with swfobject I tried to delay the Flash sending, I tried to create another LocalConnection dedicated to this call but I always had same result: for all calls, the FLEX method is called after the same delay. I also put a timer in FLEX to periodically log to see if there is no background process delaying the method processing but everything seems fine

View 1 Replies

ActionScript 2.0 :: Dynamic Masks - Trail Doesn't Resize And The Mask Still Doesn't Work

Oct 16, 2009

I decided to try to use setInterval for myanimation, which is just a mouse trail.However, I'm trying to get teh mouse trail to be a dynamic mask.In my previous swf this was achieved by using a holder mc with the animation inside and then using this as the mask. But this time I just canpt seem to hit on the right way to get it to work. The code I am using for the mouse trail is:

Code:
var i:Number = 0;
var myInt:Number;
var t:MovieClip;[code].....

in the function, but now the trail doesn't resize and the mask still doesn't work.

View 1 Replies

ActionScript 3.0 :: Width Doesn't Work - How To Make It Work

Apr 21, 2010

I have a button object that I need to scale to align with the variable width of an array of images.However, when I set the width in code, the button does not actually become that width. Tracing out the width gives me the correct value, but on screen.. it's off.

I've proved it to myself by scaling the same button object manually in the properties pane and visually comparing. Both of the buttons below have a width of 410.

Code:
navigatorDown_btn.width = 410;
navigatorDown_btn.x = (stage.stageWidth/2)-(navigatorDown_btn.width/2);
trace(navigatorDown_btn.width); // output: 410

View 4 Replies

ActionScript 2.0 :: Getting Transitions Between External Swfs To Work?

Jun 12, 2005

i've used an empty moveclip and loaded external swfs into it using buttons. Each of the swfs has an intro and outro and uses the transition action script from the tutorial on this website. When I navigate through the site on my computer the transitions work fine, but when I go to the actual uploaded site none of the movies load up. All of the swfs are in the same folder on the site so surely I only need the "the_name.swf" as the path.

View 1 Replies

Swfs To Load In One Html File But This Code Does Not Work?

Sep 1, 2009

I found this code to load a movie but naming the button myRequest or myLoader does not do anything?[code]....

View 21 Replies

FLV Movie Layered Over Html Webpage

Nov 14, 2009

I am looking for the code or formula to created the video person talking over/in front of an html page created in DW full screen. I know how to shoot/create the FLV Flash movie file with transparent (alpha) background. The problem is trying to get the movie to float frameless over the html file without interference to the web page. Here is an example of what I am trying to do.... [URL] sorry this girl is taken. maybe there is a tutorial on how to do this somewhere. I have been looking for a solution for a few days.

View 2 Replies

ActionScript 3.0 :: Layered Objects And Functions?

Sep 22, 2010

I have two movie clips on the stage: mcA and mcB, each have a function when rolled over:
 
mcA.addEventListener(MouseEvent.ROLL_OVER , aActivated);function aActivated (event:MouseEvent):void{     trace('mcA was rolled over');}mcB.addEventListener(MouseEvent.ROLL_OVER , bActivated);function bActivated (event:MouseEvent):void{     trace('mcB was rolled over');}
 
Under certain circumstances mcA may overlap mcB. When the cursor rolls over their intersecting area I would like both functions to launch, how do I do that? Currently, the problem is that only the object on the top will launch its function.

View 2 Replies

ActionScript 3.0 :: Syncing Up Layered Loops?

Jan 28, 2009

I'd like a page with several buttons, each starting a different loop of sound (no more than a few seconds), so that you can end up with several loops playing at once. Is it possible to force any subsequent buttons pressed to wait until the existing loops reach their start before starting it's own loop? So that when a button is pressed it's loop will sync up with what is already playing?

View 1 Replies

ActionScript 3.0 :: Swf With Mutliple Buttons To Load Child Swfs That Can't Get To Work?

Mar 26, 2009

here is the scenario..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. I found this code in someone's post and I am trying to modify it so that works for multiple buttons ...it currently works for a button loading a single swf. The name of the instance name of the buttons is the same as the name of the swf file that they load so I thought I could do something that when the button is clicked it would pass the name of the button into the URLRequest but I can't figure it out. Here is the code I am using.

////////////////////////////////// code from the actions layer
var bioloader:Loader;
var biocontainer:MovieClip;

[code]......

View 2 Replies

Swf Into Fla Doesn't Work?

Jul 23, 2009

I have a swf that is pretty complicated, you can interact with the page and go to different keyframes and it stops and/or starts depending on buttons, but I want to put it in a fla or something so I can put other swfs next to it and build it up and put several of them together as one.

I don't care about making it too complicated, I just want one interactive swf to go to the next compiled swf when that movie ends, but when I try importing it or loading it it just runs straight through without stopping or paying any attention to the scripting.

View 16 Replies

ActionScript 3.0 :: MouseOver In Layered Movie Clip

Oct 18, 2009

So i have a movie clip inside another movie clip and i want to detect when my mouse is over the internal movie clip. I have tried attaching a mouse event listener to the internal mc but that didnt work.

View 6 Replies

Convert Layered .fla Or .swf Files Into Movie Clips?

Jul 20, 2009

How can I convert layered .fla or .swf files into movie clips (not sure which to use)? I'd like to be able to use 3 of them (at reduced sizes) in one larger file. Flash - CS3.

View 2 Replies

ActionScript 1/2 :: Dynamic Layered MC Syntax For FOR Loop?

Sep 18, 2009

what I'm trying to do is access the data of several movies clips, that are inside of several other movie clips: MC1.insideMC._visible=false   (which works, but isn't dynamic) but dynamically with a FOR loop. I've tried: For(bullet=1; bullet<5; bullet++){ "MC"+bullet.insideMC1._visible=false   (this does not work) } Does anyone know the dot notation or another way to do this? 

View 13 Replies

ActionScript 2.0 :: Movie Clips On One Scene Layered On Top Of Each Other?

May 31, 2004

I have 5 movie clips on one scene layered on top of each other. One of them is the navigation which has 4 buttons. the other 4 layers are my content pages (MCs) which fade in and fade out along the timeline.

I want the buttoms to control the content pages.. when "option 1" is selected I would like the current page to start playing (where i have it fading out along its timeline) and the other page to come in!

I have no idea how to do this.... do you use IF commands?? if buttonpress etc

View 1 Replies

ActionScript 2.0 :: CS3 'if' Doesn't Work But 'else' Does

Apr 8, 2010

I am trying to more between frames using the data returned from a node n_EventID in an xml, when the node returns "1408" I want to move to frame 1 but if it returns anything else I want to move to frame 2. The part where the code moves to frame 2 seems to work perfectly but I can't seem to move to frame 1 when "1408" is returned.

xmlResultFinish = new XML();
xmlResultFinish.ignoreWhite = true
xmlResultFinish.onLoad = loadXmlResultFinish;

[code]....

View 5 Replies

Flash Doesn't Work On Some IE's?

Apr 14, 2010

I'm having a problem, where random IE's are not able to display my .swf file. All the IE's are IE8 with the latest flash pluggins and all security's are set at Medium, however some IE's get just a grey box and other's get the full flash file. What's going on? It works fine in Safari and Firefox of course, but why so much difficulty with AS3 Flash9 in IE? here is a link to the site, and it's the big image changer at the bottom of the front page.

[URL]

View 2 Replies

.swf Fullscreen Doesn't Work?

Nov 19, 2009

But my proublem is that I have a flash presentation.The defalt for moving the slide screens back and forth are left and right arrows.It works fine when tested or even the .swf fileBut then the left and right buttons don't respond when I go to fullscreen.

View 5 Replies

ActionScript 3.0 :: SWF Doesn't Work In IE

Dec 10, 2009

Is it common for AS3 apps to not work in IE? Is there a way to make them work? I have a movie clip in my library linked to a custom class Main and I have nothing on stage. Just one frame. Everything is built inside that movie clip. I add that movie clip to stage through a document class and everything works perfectly in Firefox and Chrome but when I open it in IE, it's just a blank page.

View 6 Replies

IDE :: Pop Up Doesn't Work In IE But In Safari?

Apr 12, 2007

i followed the instructions oh how to make a centered pop up window here :i'm using a mac..nd it works in Safari... but when i try to use explore to open it, the pop up window doesn't come up...why is that.......? did i do something wrong?here is my website:and please click on 'message' to see for yourself.

View 5 Replies

IDE :: Pop Up Doesn't Work In IE But In Safari

Jan 9, 2004

i followed the instructions oh how to make a centered pop up window here : [URL]

i'm using a mac... and it works in Safari... but when i try to use explore to open it, the pop up window doesn't come up..

here is my website: [URL] and please click on 'message' to see for yourself.

View 6 Replies

Professional :: Update Flash Graphics From Imported Layered PSD?

Feb 29, 2012

has the whole "roundtrip" feature been left out of Flash Professional CS5.5 when it comes to imported, layered PSD files? Is the only answered to crop down and save a single .png layer out of the orginial PSD file?

View 2 Replies

ActionScript 2.0 :: Multi - Layered Menu For Image Gallery

Apr 11, 2010

I'm trying to make a Image Gallery for my website by myself. However, although I can read ActionScript rather well, when it comes to writing it myself I tend to hit massive walls. Anyway I've looked at many tutorials and guides and all kinds of stuff but I still can't figure out how to get the coding to do what I want it to do. It isn't a bug because I can't get the foundations of the code down.

What I am envisioning is a initial main menu with several different selections (I.E. 3D models, 2D drawings, doodles, ect. ect. ect.) and when you click one it changes to that specific gallery. The way I thought to do it was using OOP to make a base GalleryEngine class and then implement it for the Main Menu and Image Galleries. I realize that I could do all this in flash but I think if I can get the framework of the code down that it will be easier to modify and switch out images and whatnot.

[Code].....

View 1 Replies

ActionScript 3.0 :: Creating Two (can Be More Or Less) Rows Of Layered MC Treated As Buttons?

Nov 11, 2009

Basically I'm creating two (can be more or less) rows of layered MC treaten as Buttons.In each MC there is a small thumbnail hidden behind a coloured layer. When roll_over the coloured layer, this alpha goes to 0(zero) and entire MC resize +10% over x and y.On roll_out the opposite occurs, everything should get to the original alpha and size.The Problem: when moving the mouse really fast over the MC's and stop suddenly over one of them it starts 'blinking'

Code:

for(var i:uint =0; i<16; i++){
var miniPnt:MovieClip=new LittlePantone();
miniPnt.x=_xc;
miniPnt.y=_yc;

[code]....

View 2 Replies







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