Flex :: Streaming Timing Out?

Oct 28, 2009

I have a Flex GUI which is using AMF Streaming to BlazeDS on WebLogic 9.2. As the AMF Streaming uses long polling, it keeps the connection open for extended periods of time.

WebLogic has a max thread timeout of 600 seconds. WebLogic throws an error and times out the thread if it has been alive for longer than the timeout. This causes my GUI to lose its connection and hang.

I could change the default setting in WebLogic (StruckThreadMaxTime) but this would obviously negatively effect legitimately stuck threads.

View 2 Replies


Similar Posts:


Flex :: Tools For Profiling AS3 - Timing Functions To Find Bottlenecks?

Apr 17, 2011

I'm working with Flashpunk to make games using Flex and FlashDevelop (highly recommended, amazing lib and IDE). Since performance varies so much from system to system, I want to find where slowdowns are occurring and only fix those bits. Flashdevelop has a built in tool called Profiler, but it only shows the number of objects and the memory they are using, not the execution time. Grant Skinner wrote a great tool called PerformanceTest, but it seems suited to writing very specific optimization comparisons, not automatically profiling your code.

What I'm trying to find is a tool that will automatically analyze the program while it's running and tell me which functions are taking the longest to execute. I've heard that CS5 has this built in, but I'm wondering if there are any alternatives.

View 3 Replies

Actionscript :: Implement Adobe HTTP Streaming Spec Without Using Their Streaming Server

Dec 14, 2010

As of Flash 10.1, they have added the ability to add bytes into the NetStream object via the appendBytes method URL...The main reason for this addition is that Adobe is finally supporting HTTP streaming of video. This is great, but it seems that you need to use the Adobe Media Streaming Server (URL...) to create the correct video chunks from your existing video to allow for smooth streaming.I have tried to do a hacked version of HTTP streaming in the past where I swap out the NetStream objects (URL...), but there is always a momentary pause between the chunks. With the new appendBytes, I tried to do a quick mock up with the two sections of video from the preceding site, but even then, the skip still remains.Does anyone know how the two consecutive .FLV files needs to be formated in order for the appendBytes method on the NetStream object to create a nice smooth video without a noticeable skip between the segments?

View 6 Replies

Flash :: Streaming Large Files (streaming Media Server)

Jul 2, 2009

We are streaming a one hour F4V from streaming media server 3.5.2 and for some reason it is seeing our one hour video as being 10 hours long. We have tons of other videos and never ran into this problem in any of the other files. This is the only file that exceeds one hour. This occurs in the default player from the streaming server.

View 1 Replies

Flex :: Scheduled Media Streaming?

Sep 27, 2010

I have a video that needs to be delivered through streaming, but all viewers need to be synchronized at the same time regardless of when they started the video. If the video starts streaming at 7:00 and someone visits the page at 7:05, they should see the footage at 7:05 and onwards

View 1 Replies

Flex :: Swf Streaming Audio Player

Oct 23, 2010

i am New to flex.Can any one point me to a small piece of mxml code which plays audio files(mp3,wav.....) also which has the capabilities to pause, play, stop.... the audio file. Also this file would be embedded in a html file later on..

View 1 Replies

Flex :: Streaming Video From YouTube

Apr 12, 2011

Is it possible to use the VideoPlayer or VideoDisplay components in Flex 4 to stream a video from YouTube rather than just use the custom YouTube player? How? I want to serve a video inside a banner.

View 1 Replies

Flex :: Secured Streaming Of Flv Files?

May 13, 2011

I want to play a flv file over http using a custom player in flex. The video content has to be made secure due to piracy reasons. Our idea is to encrypt the byte array of the flv files and decrypt it in the player using NetStream class in Flex.The problem is that Netstream class requires the complete byte array to be appended using appendBytes() but th size of the file is huge so its not a valid approach.

View 1 Replies

ActionScript 3.0 :: Streaming Mp3 Using Mms Network Streaming Protocol?

Jan 8, 2009

Is it possible to stream mp3 files from mms url's like this? [URL]

It throws an error when i try the way i use to load mp3 files (it works with other mp3s):

var sndObject:Sound= new Sound();
var reqObject:URLRequest=new URLRequest("mms://example.streamsvr.com/example.mp3");
sndObject.load(reqObject);

[Code]....

View 1 Replies

ActionScript 2.0 :: Timing When Using OnLoad And XML?

Oct 28, 2009

I am loading an XML file and when I run a trace inside the onLoad event the results show.When I put the same trace outside that event, the trace returns undefined because it runs before the XML is Loaded.I don't know how to assign the results of the XML to a variable being used outside the XML unless I call that through another event.For example. I want to preload some images if the user has been to the movie before. I call XML which has the image array. But I can't tap into that array because my function is outside the XML Load event and my function is not tied to an event.

View 2 Replies

Audio Timing In .fla Files

Jun 27, 2009

I'm making a flash movie and I have all of the audio timed out right in the .fla, but when i hold Ctrl+Enter to play the .swf, the audio is not timed right. I haven't expoted the video yet so I'm hoping that the file will be fine when exported.In the file attached, (it is unfinished) the audio, "You talkin' to me?" should happen after the camera has already finished panning up to the man's head. Instead, the audio plays while the camera is panning upward.

View 3 Replies

Find Timing In Audio?

Sep 10, 2011

How to find starting and ending time of each word in the audio

View 4 Replies

ActionScript 3.0 :: Timing Through An Array?

Jul 18, 2009

I have two boxes on the stage and on a button click I want box 1 to change colour then once that has changed the other changes colour using tweener class, at the moment box 1 and two change together?

Code:
import flash.events.Event;
var oneArray:Array = new Array("0x99CC00", "0x99CC99", "0x99CC00");
var boxArray:Array = new Array();

[code]....

View 2 Replies

ActionScript 3.0 :: Timing Frames Per Second?

Oct 23, 2009

As you don't know when as3 will actually do a draw, how do you time the draw? Basically I have my logic seperate, and can time it. I wish to time the render also. Then I can adjust how many frames I render per second but always run the logic at full speed (I assume that's 50fps if flash is set for that). Meaning of course the game runs the same speed on any platform, but the draw only happens when there is time i.e. less time more jerky but game speed the same.

View 0 Replies

ActionScript 2.0 :: Add Timing To This Code?

Jan 24, 2007

In the tutorial named "How to load random movies" it loads random movies when the page refreshes. I want to modify the code to load random movies 5 seconds at a time.This is the code from the tutorial, how can i add the property I wanted.

Code:
filename = ["circular.swf", "vibration.swf", "random_movement.swf"]; path = "http://www.kirupa.com/developer/actionscript/animation/"; i = filename.length; k = Math.floor(Math.random()*i); loadMovie(path+filename[k], movieTarget);

View 3 Replies

Flash :: Flex: ComputeSpectrum With Streaming Media?

Jan 18, 2010

I have a Flex3 app I wrote and I'm streaming audio over RTMP from a Red5 server. I'd love to be able to use SoundMixer.computeSpectrum(), but the spectrum data is all zeros. In one location, Adobe writes that SoundMixer.computeSpectrum() does not work with RTMP data:

"For media loaded from RTMP sources, you cannot use the BitmapData.draw() and SoundMixer.computeSpectrum() methods to extract run-time graphics and sound data." [URL] Clear enough. Except, there's the actual documentation for computeSpectrum(): "In addition, this method cannot be used to extract data from RTMP streams, even when it is called by content that reside in the same domain as the RTMP server. [...] This method is supported over RTMP in Flash Player 9.0.115.0 and later and in Adobe AIR."

View 4 Replies

Flex :: Possible To Record Video Without Streaming To A Server?

Aug 26, 2010

I want to give my users the ability to record a video from WebCam (maximum 60 seconds) so the file should be big with proper quality settings.Do you know of a way to record it in memory (as Flash running in browser can't access file System) and then send it to server to save the file? I have build a functionality to capture a photo with Webcam and send it to the server but not sure about Video.(I prefer not to stream to Red5/FMS or similar as it's more relaible to keep things contained in the Flash file in my opinion) plus I had issues with quality of recording with Red5

View 1 Replies

Progressive Streaming Flv Video Files Using Php And Flex

May 17, 2011

I have been trying to use the example from xmoov.com to fetch only a part of video, as explained in the blog:URL...The code works fine for the video link they have, but when i change the link to a video file on my server, I get null object error for onMetaData( e:MetadataEvent ) function on the line "Alert.show(e.info.keyframes.filepositions.toString());" [code]

View 1 Replies

Actionscript :: Streaming Video Using VideoDisplay In Flex?

Nov 30, 2011

i use this tag:

<mx:VideoDisplay id="myVid" bottom="0" width="100%" height="100%" live="true" autoPlay="true" source="http://localhost:5080/oflaDemo/{myvideo}"/>

but the only thing i get is the sound of the video and not the video itself,

View 1 Replies

Actionscript 3 :: Red5 Streaming Connection To Flex?

Feb 7, 2012

I installed red5 successfully, but when I try to connect to red5 to stream a video, the connection fails. If I use netstreaming(null), it works, but when I use red5, it doesn't.

[Code]...

View 1 Replies

ActionScript 3.0 :: Timing Animations Not Working?

Jul 20, 2009

I have two movieclips on stage (red_mc and blue_mc). I'm attempting to have blue_mc fade in first, then when it's finished, I'd like red_mc to fade in. Why is the following code not working? ....

import fl.transitions.*;
import fl.transitions.easing.*;
function doBlue(e:TweenEvent = null):void {

[code]....

In another file, I have four movie clips: blue_mc, yellow_mc, green_mc and violet_mc. The idea is to make blue "invisible" to reveal yellow and back with keyboard command. And switch from green to violet and back with keyboard command. Problem is, one keyboard press switches both blue to yellow AND green to violet. I'd like it to happen sequentially ... meaning first keypress switches blue to yellow only. Next keypress switches the green to yellow only and so forth.

Subquestion for #2: the way it's set up now, it requires a keypress to switch BACK from the second color to the first. Ideally, I'd like to put it on a timer so that one keypress, turns blue to yellow, waits 5 seconds and resets back to blue. Next keypress, switches green to violet, waits 5 seconds and resets back to green.

// shows blue and hides yellow, switches at key_down
yellow_mc.visible=false;
stage.addEventListener(KeyboardEvent.KEY_DOWN, hideShowBlueYellowKeys);

[code]....

View 3 Replies

ActionScript 1/2 :: Want To Set Timing On Frame Rotation?

Mar 30, 2009

I am still pretty new to Flash, but I do understand mostlyhow things work. Basically, I have 5 banners (each in a named frameof their own) in a banner rotation SWF and I want to make themrotate continually through all 5 banners without using the timelineto do so. How would I use setInterval to force them to rotate, sayevery 3-5 seconds? Or, what command would I need to make them do

View 6 Replies

ActionScript 3.0 :: Control Timing In Timeline

Feb 17, 2009

in the old version of flash, there was an option in the property inspector where one could have assigned ie. 8 seconds to a keyframe (esp. text) so one could read the let's say 3 sentences before the next set of sentences came on the stage. i swear there was an option for this in flash 8. can anyone tell me how to control the timing in flashcs4 in between frames? i know how to make the very last frame stop( ); in actionscript 3.

View 2 Replies

Change Timing Of A Flash Movie?

Oct 17, 2009

I am as new as a flash newbie can be and I was editing a template for a flash intro.  My company wants to use a different soundtrack for the intro which would necessitate changing the timing of the intro.  What I mean is that I want certain scenes to display slightly longer than they are now.

View 2 Replies

ActionScript 3.0 :: URLLoader Event Timing?

Jan 13, 2012

I'm having an issue getting URLLoader to work the way I want. I basically need to pull information from xml files, parse that information into objects, and then work with said objects afterwards.Here's pseudocode for my current implementation (which does not work)

var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, loadXML);
xmlLoader.load(new URLRequest("xml1.xml"));

[code]....

View 8 Replies

Professional :: Timing Text And Sound.?

Mar 5, 2012

I have file with a button that plays a sound. When the sound is played the words are highlighed as the narrator says the words, like in a children's book:

[Code]...

View 1 Replies

Actionscript 3 :: Timing Accuracy In Flash?

Sep 13, 2010

Does anyone know how accurate flash timing is and its ability to identify the client monitor's refresh rate? I need to be able to calculate time durations with up to 10 milliseconds accuracy of response time. Also if it is off, is there a way to possibly calibrate the response based on monitor refresh rate and action to make sure the value is as close to precise as possible? Any info would be great! Even better would be some examples of existing benchmark test.

Update:I've found this post which is helpful but wanted to see if anyone else has anything else to add on the subject.[URL]..

View 2 Replies

ActionScript 2.0 :: Timing For Text As Well As Images?

Sep 22, 2005

I was using the following script adapted from a post i found on this site and realized I needed to delay the showing of my dynamic, XML based HTML rendered text untill after the picture had faded.

text and image arive....text changes images fades out new image fades in.

you see the new text which doesnt match the previous image.....

How can i trigger the text to appear (alpha?) when the new picture is at a certain alpha say 50%?

pasted below is the script - have tried everything I can think of (which i admit is not probably enough).

delay = 4000;
function loadXML(loaded) {
if (loaded) {

[Code]...

View 3 Replies

ActionScript 2.0 :: Dynamic Loading Swf After Swf + Timing

Apr 22, 2006

I'm having a few problems with loading swf after swf. I want one swf to load after another has loaded and so on... Down a long chain until everything is loaded. I know this code doesn't work... But it shows you what I'm trying to do. Should I use listeners to achieve this? Because _root.theMC.onLoad = function(){-Do Stuff-} doesn't seem to work at all...

[Code]...

View 1 Replies

ActionScript 2.0 :: Timing Delay In Flash MX?

Jun 12, 2003

i have a little Query. iv looked on the past forum posts but the solution i found did'nt work "for me".I was wondering how to delay an action with actioniscript i.e. press wait 10seconds then perform action/function i have a crude way but i it calls for animating in the time line and i want to do as little of that as possible

View 5 Replies







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