ActionScript 2.0 :: LocalConnection Not Triggering Video Correct?

Jul 11, 2009

I got my LocalConnection to work, however its not triggering my video correct. Basically im clicking "topbanner_mc" in sender.swf and in receiver.swf it should trigger function "showVideo" - which it does.In function "showVideo" i'm running a NetStream .flv. The .flv never really starts to play. When I click the topbanner, it only plays the sound and shows the first frame for 1sec of the video and stops there.My code:

ActionScript Code:
//SENDER.SWF
var sender_txt = new LocalConnection();

[code].....

View 7 Replies


Similar Posts:


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

Flash :: Professional - Maximum Video Size To Keep The Video Running Correct?

Mar 28, 2011

I'm currently working on a website design. The idea is a big chromakeyed interactive video in Flash. The size of the video is 1080 (width) x 1500 (height) pixels.I've exported the video in After Effects with the standard settings for flash (File>Export>Adobe Flash Player(SWF)). Now when I import the video in Flash and preview the file, the video plays in a slower speed and it's not playing smooth at all...Is the video too big? Is there a maximum video-size to keep the video running correct in Flash? Is it something else that causes this problem..?

View 5 Replies

Media Server :: Video Complete Triggering "NetStream.Play.StreamNotFound"?

Jun 1, 2010

I'm using OSMF v.95 to handle my video playback. When my streaming videos finish, the following error is triggered:"NetStream.Play.StreamNotFound"I want to be able to re-play the videoor scrub back, but the stream is unusable after that error.I've tested  against a few different streams - here is one:

View 1 Replies

ActionScript 2.0 :: Fullscreen Video With Correct Aspect Ratio?

Jan 9, 2010

I have a video gallery and some of my videos are in 4:3 ratio and some in 16:9 ratio. I have also a fullscreen function on my video player. The problem is on a screen with 16:9 ratio which most of us have, my 4:3 video's is stretched across the screen. They don't maintain their pixel aspect ratio.

View 1 Replies

Figure Out The Correct Software To Use To Make A Video For The Front Of Our Corporate Website?

Mar 18, 2010

I'm new to flash and have been trying to figure out the correct software to use to make a video for the front of our corporate website. I want it to look like what is found on www.athenahealth.com, but can't seem to find the software the does this. Is it Adobe Flash? I haven't been able to figure out how they make it with viewer controls (elapsed time, pause, etc) and embeds seamlessly in the website (as opposed to the videos that pop up in a lightbox).

Can anyone provide any insight into the software used by Athena Health on this site?

View 5 Replies

ActionScript 2.0 :: Xml - Scrub Back Through The Video To Any Point The Correct Subtitle Appears

May 8, 2008

i want it so that if you scrub back through the video to any point, the correct subtitle appears. I'm thinking something like...

[Code]...

View 1 Replies

Flash :: Finding The Correct Scale Value Within A Scaled Object To Maintain The Aspect Ratio Of A Video

Jan 20, 2010

I have a video inside of another movieclip. When I go full screen, I scale up the outer movieclip to fit the screen. So that OuterMovieClip.width is equal to screenWidth etc. How do I maintain the aspect ratio on my video so it does not get distorted? Whats the proper math for that?

View 1 Replies

ActionScript 3.0 :: Get The Depths Of All The Blocks To Be At The Correct Levels At The Correct Times

Dec 30, 2009

I'm trying to get the depths of all the blocks to be at the correct levels at the correct times so that the 3d effect is maintained. I've tried many things, but have had little success. All the instances of the blocks are stored in an array, but since it's adding them in accordance with when they're added to the stage, it doesn't help me locate them to swap depths. Is there a way to arrange them by location on the board?

View 4 Replies

LocalConnection In Mac Browsers

Feb 21, 2008

I have a relatively simple localConnection between three swfs: one swf is an image gallery; another swf controls the playback of the image gallery; and the third displays xml-driven captions from the image gallery.Everything works flawlessly in a PC environment, on all browsers, using AS 2, flash player 9. But when I test in a mac environment, the captions will display on load, but it will no longer show if you refresh the page; only a cache clear and refresh will bring it back, but the same issue will happen again. The navigation doesn't work at all, ever (though the swf is loaded and visible).

View 4 Replies

Flash :: LocalConnection And DOM

Nov 29, 2009

I have a Flash object on my site, which has this code:

this.ld = new LocalConnection();
this.ld.allowDomain("*");
ExternalInterface.call("alert", this.ld.domain);

It alerts my domain successfully. However, what I want is to access the HTML DOM through this using LocalConnection and not ExternalInterface directly.

View 1 Replies

ActionScript 3.0 :: LocalConnection - Communicate From One SWF To Another

Apr 23, 2009

I'm having a little issue with LocalConnection - trying to communicate from one SWF to another. From my main SWF I've loaded an external SWF of same dimensions ( effectively replacing the main SWF). What I wanted was then to re-load the main SWF, but rather than have the main SWF play from the start, I wanted to go to a specific frame instead (I used a frame label called "myMarker"). Thought LocalConnection was the way to go to achieve this. Gave it a shot and it all works well locally BUT when uploaded to server it doesn't work, but throws the following error:-

[Code]..

View 1 Replies

ActionScript 3.0 :: LocalConnection Limitations?

Feb 12, 2009

limits to number of SWFs that can establish local connection on MAC? The architecture is: One Manager ("server") and N number of other SWFs that communicate with the manager.When I embed more than 8 SWFs (manager + more than 7 dependents) and attempt to establish connection between them - only first 7 dependent swfs are capable to communicate with the manager on MAC (both Safary and FF). The rest are ignored. It doesn't seem to be an issue on PC where I went up to 20 and it worked (with some quirks of course). Is it a native behavior on MAC?

I did not check if number of connections is at stake (as opposed to number of swfs). There are 14 connections all together when 7 dependents are involved.

View 1 Replies

ActionScript 1/2 :: Alternative To LocalConnection?

Sep 23, 2009

I'm having huge bug issues with LocalConnection that nobody seems to be able to find errors in my code/files. So... I'm looking for an alternative. I need a main swf file to load an external swf including the ability to have it move from one frame to another. If this isn't a possibility, I can also just have the main swf hide/reveal a div or just an image in the html.

View 9 Replies

Actionscript 3 :: LocalConnection Var Into URLRequest?

Jun 29, 2011

i use LocalConnection between two swf in the same page.What i'm trying to do is to use a String sent from one swf to the other, as variable into my URLRequest...So i can trace "myVar" into the function chemin, but i didn't find how to use it into URLRequest

swf that receive the var :

var lc:LocalConnection=new LocalConnection();
lc.client=this;
lc.connect("callBig");[code]....

View 2 Replies

ActionScript 3.0 :: Using LocalConnection To Communicate?

Aug 19, 2010

I need dozens of AS2 Flash swfs I wrote to communicate with an AS3 swf. My code below is on the "wrapper" AS3 swf, which loads the lesson1_activity3.swf AS2 swf. This is then further nested into an Adobe Captivate-generated swf (that's what the rdcmndNextSlide method is for).

This configuration works the first time you see the wrapper/child swf together, but if you navigate back to the slide, the child swf doesn't load. I'm guessing that Captivate has all the objects still stored in memory, so it thinks I'm trying to declare var again, which I can't do. Is that it? Does anyone see the issue with my code that would make it work the first time the wrapper is loaded, but not subsequent times?

[Code]...

View 0 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 2.0 :: 2 .swf To Communicate (Localconnection)

Jan 2, 2007

i've got 2 different .swf files on a html page, with 1 of e .swf being e menu and the other being the content_mc. I've been researching on localconnection but did not manage to find out how i could get e menu to send command to the content_mc to load the respective content upon being clicked (for example, when user click "services" in the menu, content_mc.swf will automatically be updated with the services content.

View 6 Replies

ActionScript 3.0 :: BitmapData Through Localconnection?

Feb 17, 2009

how i can pass a bitmap data through a local connection in as3.0 and get it on the other end intact ?

View 3 Replies

ActionScript 3.0 :: Using LocalConnection And The Localhost?

Aug 17, 2009

I have had some success using LocalConnection between SWFs.I can have a connection function between a preloader SWF and its child, and another connection work between two SWFs present on the same webpage......most of the time.

If I run my SWFs in a webpage from my localhost (ie my local testing PC) a particular LocalConnection will fail about 50% of the time. If the same SWFs are run on a remote server (ie the inernet) the LocalConnection works 100% of the time.SWF 'A' is sending to SWF 'B'Bizarrely, the LocalConnection going the other way, from SWF 'B' to SWF 'A' works 100%.

All the other LocalConnections I have used all work 100% of the time.I have tried adding a listener to the eventStatus which reports when the connection fails.I have also tried allowDomain(), although Im not sure it is neccessary since all the SWFs are hosted from the same domain anyway.Why should a LocalConnection behave differently depending on where the SWFs are hosted?

View 1 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

Actionscripts :: Wrappers For The LocalConnection For C# Or Java?

Jun 19, 2009

I want to communicate with the LocalConnection framework of Flash via C#/Java/C++. My search for already implemented wrappers was not as successfull as I wish ;). There exist several servers (like FluorineFx) which support binding of C# objects to the LocalConnection. The problem is I am not looking for a server but only for a simple (marshalling of strings is enough) wrapper. After reading the AMF specification that implementing my own wrapper might take some time ;) which leads to my question: Does anybody knows a simple wrapper (C#/Java/C++) for the LocalConnection framework?

View 2 Replies

Flash :: Passing Array Through LocalConnection?

Jan 11, 2010

I was wondering is it possible to pass an array through the localConnection in flash? My local connects connect my flash application with the javascript and passes variables between them.

View 1 Replies

Flex :: LocalConnection Passing By Value Or Reference?

Apr 8, 2011

When using LocalConnection that have two SWFs talking back and forth to each other. Are objects passed by value or reference?

View 2 Replies

Flash :: Communicate Between Two SWF Using LocalConnection Methode?

May 6, 2011

How can i communicate btn two SWF using LocalConnection methode (flash8)

View 1 Replies

ActionScript 3.0 :: Resend Data With LocalConnection?

Jul 28, 2009

Is it possible to resend a value to an swf? Meaning, that when the value changes the listening swf will change its value too?

I have successfully made a LocalConnection between two swf using permadi's class (url...).[code]...

View 0 Replies

ActionScript 2.0 :: LocalConnection() With Multiple Swf Files?

Jul 13, 2006

'm having trouble getting more than 1 swf to recieve a message from another swf file using localConnection() I have 2 instances of the same swf file loaded into different divs under different div ID's on a web page. I was then trying to get a different swf file, using localConnection to send a true/false command (determined via button rollover) to the other 2 swf instances, which would then simultaneously react to the message sent.However, at the moment, the first instance of the swf to be loaded into the web page is the only one that reacts the localConnection message being sent.

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 Between AIR & HTTPS Fails?

Mar 3, 2011

What is curious is that it works properly for HTTP, so at a basic level all the things that are necessary to make anything work seem to be in place. I don't believe now that crossdomain.xml is an issue because 1) it worked fine without one with HTTP and 2) from tailing policyfiles.txt, calls are never made to the xml file in either scenario. The wrapper html file allows networking.

The error received is SecurityError: Error #2000: No active security context.

Given that it works in HTTP, should this be as simple as adding the following:

receiverLC.allowInsecureDomain("localhost");

where receiverLC is the localConnection object in the swf, to make this work for HTTPS?

View 1 Replies







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