Does anyone know if there are any classes that expose information about bandwidth usage? For example, I would like to know when my Flash file is really pushing the bandwidth by loading a bunch of stuff (like images), versus when its basically sitting idle.
Now I know I can get stuff like progress events from an individual load but thats not what I mean here. I want to be able to get a current level of activity for my entire movie which is currently running....not information about a particular item which is being loaded.
I am in a requirement where I need to calculate the bandwidth usage of rtmp streaming. Is there any way I can calculate the number of total bytes I have download during the rtmp streaming?
We need to record and display daily/weekly/monthly statistics on vod application usage, we are working with multiple application and need statistics for each one of them individually parameters required are bandwidth, number of connection, view time ...
I have a simple slideshow composed of 4 images repeating themselves. Basically, the movie loads the first one, increases a numeric variable, and then unloads it with remove child, and loads another one corresponding to what the numeric variable is. When the 4th image is about to go away, it resets the variable back to 1 to signify the 1st image, then loads the 1st image and the process repeats. I've attached the .fla if my explaining skills are subpar.
The code for loading the photo depending on what the variable is below. (In a previous frame, "photoload" is set as a new Loader and the numeric variable "whichphoto" is set to 1.)
Code: if (whichphoto == 1){ photoholder_mc.removeChildAt(0); photoload.load(new URLRequest('homebg01.jpg'));
[Code]....
My question is when I have flash load the 1st image for the 2nd time, does it use up more bandwidth (as if it was loading the image for the first time)? Or is the image already saved in the viewers memory once all 4 images have been loaded for the first time?
(1) An ec2 instance with an SWF on it - this SWF plays streaming video - i.e. is a video player like JWPlayer (2) A streaming video distribution set up via Cloudfront
If I stream the the video via RTMP from Cloudfront to the SWF (which is on ec2) - would I incur charges for data transfer into the server (i.e. for data being read by the SWF) and out of the server (i.e. for data being displayed by the SWF to the user) on account of streaming the video to users (assuming that data transfer into and out for the server is being charged for)?
Is there a way for flash to detect a user's bandwidth, and depending the size of bandwidth, stop loading, or continue with the load? Now that I'm thinking about it, this would probably be a javascript detection script and if the bandwidth is high, load .swf, if not load a .jpg?
We are having a little problem implementing bandwidth detection with FMS, for some reason when enable it, bandwidth consumption spikes significantly I am wondering why? and if there a white paper somewhere that would talk about how properly implement this feature.
I wrote an application in flash AS3, and when I trace from flash the total memory usage of the total application is only about 9MB, But at the same time Task Manager Shows the memory usage as 110MB. Around 100MB difference.Flash Trace Method System.totalMemory difference of the Trace from the Beginning of the application to end of the application.
a client provided a map which has been rolled out of a GIS system, hence its all vectors (AI-file for the time being). The map displays a pattern of pipelines which have to be animated depending on the flow of water through individual segments of the system. The idea is to change line width and/or color of segments after changes occurred.Online input is regularly updated numerical data that is available as a simple ascii text-file. it provides a structured dataset on the status of every pipeline segment.The resulting dynamic display is going to be used as a permanent monitoring tool.
I have some experience with FMS and Red5 development for simple online video publishing application, I am not sure if FMS is viable for my new application). Here is the requirement
1. I need record real-time video to disk file from a 8-way video-capture-card.(the card is supported by FMS). The recording procedure starts just after the system startup without any manul operation by user. In another words, I need the recording procedure start with the Windows automatically without interaction
2. If the answer to my first question is YES, then: If the FMS record videos from a 8-way video-capture-card, with 640pxX480px each way. What is the minimal requirement on the hardware? A machine with 2.0GHz CPU with 512MB, is it enough?
3. What is the best practice do you think to organization the 7x24 video record files?
I have a Flex3 application which has to be capable of uploading multiple files and monitoring each files individual progress using a label NOT a progress bar.
My problem is that a generic progress handler for the uploads has no way (that I know of) of indicating WHICH upload it is that is progressing. I know that a file name is available to check but in the case of this app the file name might be the same for multiple uploads.
My question: With a generic progress handler how does one differentiate between 2 multiple uploads with the same file name?
I am attempting to monitor the progress of an image scroller I've built and all of the images (thumbs) load separately. What would be the best way of figuring out what the total progress of the images that are loading? I was thinking it would be cool to use a generic loader and apply it to a function such as myScroller.loadImages();
i have build a flash project where most of the content externally loads in to the main movie. for each chapter i made a "Loader" component, and a "progressBar" connected to the "Loader". during building i was re checking that all is working well (test movie with "simulate download"). then, i was uploading it to my server and when i view it on "fireFox", or "Safari" , it all working. but, when trying to view it on "IE", i never see the "progressBar" and, all the Actions that relate to the "on (complete) {}" never happens.
I am attempting to make a simple class that I use to debug some of my code at runtime. I use a function in my debug class to pass a variable from another class that I want to monitor in realtime. For simplicity sake I am only passing Stings at the moment. I can pass the variable that I want successfully but I am stumpted as to how I to get my DebugClass to monitor that variable in realtime. Since the variable is being altered in another class, what would I needto do to have the debugClass monitor that variable without having to call a new function everytime the varible changes, which could be 300+ times a minute.
This is the current method I use to add the variable to my displayList:
protected function addDebugData(stringToAdd:String):void{ var debugText1:TextField = new TextField(); debugText1.border = true;
I'm trying to track the progress of a file upload in AS3, and I'm getting strange behavior. When I select a file and upload it, the progress is instantaneously 100% even if the file is 10 or more megabytes, but it's not finished. The onComplete event is fired about 30 second to a few minutes later (depending on file size) when the file has really finished uploading. I've tested this locally and on the server, the behaviour is the same. Has anyone else experienced this? Very frustrating ...
Otherwise, the file is uploading fine. The code is simple:
myFileReference.addEventListener(ProgressEvent.PROGRESS, onUploadProgress); function onUploadProgress(e:ProgressEvent) { var pctDone:Number = (e.bytesLoaded / e.bytesTotal) * 100; trace(pctDone); }
Does Flash Builder have any tool for detailed memory monitoring? When my program is run for a long time it gets slower, and I would like to identify the problem. When I press ctrl-alt-del to check my program memory it is increasing, but I am not able find which part of program is responsible for this increase.
I want to have a movieclip have its alpha tween in, when I move the mouse, and fade out when I stop it. Alas - with either an onEnterFrame or onMouseMove if the mouse is moving - it keeps repeating the tween function - how do I make it fire the tween function only once..? here's what Ive done - but its too unreliable ..
Code: var mousex:Number;var mousey:Number; var moving:Boolean = false; onEnterFrame = function()
The NativeProcess is having a big issue which would hang/sudden stop response after 1-2 mins of running. I wonder if anyone else encounter the same issue?I have tested on Windows 7 (64bit).If there any way to launch an exe and release the Nativeprocess handler from monitoring the process or other method will be appreciate.
I have a movieclip, let's call it "myMC", that is very long (5,000 frames) over the course of which many dozens of nested movieclips are added/removed as children to/from "myMC".Without reference to the nested clips, is there a way I can add a listener to myMC and listen for when an object is added/removed from it (something along the lines of Event.ADDED)?
I want to monitor a variable. Whenever the variable value changes I want to call a function. In actionscript 2 I can use "watch" but in as3 what can do ?
I just noticed a workaround something that's been annoying me for a long time. Occasionally my projects vertically line up funny if clip y-coords or heights are based on frame 1 stageHeight. I always thought it was a load-time duration or something like that, but it turns out to be bandwidth profiler (CS4 authoring). Try this on frame 1 of a new, empty project:
this.addEventListener(Event.ENTER_FRAME, this.entf); function entf(evt:Event):void{ trace(this.stage.stageHeight); }
When bandwidth profiler is on, the first frame reports -100 the real stageHeight. Now to avoid the problem I just turn off bandwidth profiler. Is it just a bug?
I'm testing HLS and HDS right now and i'm wondering how to limit users and bandwidth per virtualhost. I mean in rtmp mode there is the vhost.xml tag far max users and the Application.xml tag for Bandwidth limit, but for http connections (either live or on vod) where can i limit connections or bandwidth?
I was trying to find a bandwidth profiler in flex like there used to be one in Flash but couldn't really find one. Is there a way, that I can do bandwidth profiling of my local swf?I'm using Flex Bulider with a AS3 project.
I need a meter that shows the current bandwidth rate as a percentage. For example: The maximum bandwidth rate is 4mbps, the current bandwidth is 3mbps, so the bar would be 75% full. This bar would change dynamically as the bandwidth rate changes.
Is there anything out there that already exists like this?
I am developing a Flash application which should initially (before launching the main application) identify the internet bandwidth available on users system and display low or high bandwidth content accordingly.If the user has dialup concetion then I need to display only images else if it is broadband concetion then I need to display swf's along with the audio.
My video player has a problem performing under bad bandwidth conditions.
When i disconnect from my network halfway through playback this triggers a netstatus event with an info of "NetStream.Buffer.Empty"..
If I reconnect my network, it doesn't start streaming again..If I call netStream.resume() that triggers a "NetStream.Unpause.Notify" but the buffer never fills up and the video never plays again.
Seems like once netstream runs out of internet juice and triggers a "NetStream.Buffer.Empty" there is nothing i can do to get playback to resume again.