Flash :: Packet Loss Test Like In Ping Test From Flash Technologies?
Feb 22, 2012Does any one have a idea about how to do a packet loss test like in ping test from flash technologies (Flash or Flex)?
View 1 RepliesDoes any one have a idea about how to do a packet loss test like in ping test from flash technologies (Flash or Flex)?
View 1 RepliesHow I can calculate packet loss from Flex.
View 1 RepliesHow I can calculate packet loss from Flex.
View 1 Repliesi have a movie that has worked fine in past during Html test but ive been doing some dubugging using the flash test latly and it runs fine here but when i go back and try to test in Html mode no errors come just the movie never fully starts (starts up about as much as if there was an error).
View 5 RepliesSo we're trying to come up with a way to automatically assess the "quality" of streams published to an FMS. So far, I've come down to 3 different statistics:
* Round-trip ping time to client (using the Client.ping() method and Client.getStats().ping_rtt.
* A home-grown jitter calculation that compares the deviation between wallclock and media time for an inbound stream, e.g., I get N+/-M seconds of media over a period of N seconds of wallclock time. How big is M on average? (uses Stream.time and Date.getTime()).
* How much packet loss are we getting?
For this third metric, I have the client sending up period reports containing tuples of <media_time, cum_bytes_sent>, where media_time is provided by NetStream.time and cum_bytes_sent is provided by NetStreamInfo.byteCount. I'm then comparing these samples to a similar set of samples obtained on the server via Stream.time and Client.getStats().bytes_in. Unfortunately, these two data sources do not seem to be measuring exactly the same thing. While they are close to each other, the received bandwidth (e.g., measured by the server) always seems to exceed the sent bandwidth (measured by the client) by a small amount (e.g., 0.5% to 2%) on a clean network.
The goal of this whole exercise is to enable to server to automatically detect when a client is having problems (either network or local CPU). Among other things, this will trigger us to tell the client to try sending a lower-bitrate stream.
So, my questions:
* Is there a method for me to reliably calculate (or obtain) a packet loss factor? With something like RTP, I could simply look for holes in sequence numbers, but I don't see any APIs that would give me that sort of information via FMS (our inbound streams are usually RTMFP).
* If there isn't a way for me to get a clean packet loss factor, is there another quality metric I should be looking at?
I'm trying to test a custom Flex 4 skinnable component, using the FlexUnit UIImpersonator class. If I run my tests from a FlashBuilder Spark only project everything works fine. If I try to test from a project with the mx component set on the classpath I get a "getElementIndex not available in non Flex 4 projects" error.Can I unit test spark components in FlexUnits visual test environment while still having the mx component set on the classpath?
UIImpersonator delegates it's method calls to a "testEnvironment".The implementation used for this "testEnvironment" is decided by the VisualTest EnvironmentBuilder class and the FlexEnvironmentBuilder class. If the FlexEnvironmentBuilder class can find the "mx.core.Container" on the classpath it returns a MX environment, else a Spark environment. Only the spark environment has valid implementations for Flex 4 relevant method calls on the UIImpersonator - like the addElement method.
My buttons only work when I click on them on the stage while having the "enable simple buttons" option on. They do not work if I try to "test movie," "test scene" and publish it to a SWF. Nothing responds whenever I am in these modes. I am using Adobe Flash Professional CS5 Actionscript 2.0.
This is the code that I put in for the buttons:
[Code].....
I have two scenes in my flash file and in scene 1, first button takes you to frame 2 where movie clip is -works
on (release) {
gotoAndStop("scene1",2);
}
second button takes you to frame 3
but on scene 2 that performs same function as scene 1, the first button
on(press){
gotoAndStop("scene2",2);
}
instead of going to frame 2 goes to frame 3. and the second button goes correctly to frame 3.that happens when i test scene! when i test movie all buttons work properly.
In FlexUnit 1 it is possible to access the name of the currently-running test using the TestCase.getName() method because all tests subclass TestCase. In FlexUnit 4, however, there's no base class for tests; the tests are identified by annotations. So, how can I replicate the getName() functionality in FlexUnit 4?
View 2 Repliesi used cs4 for around a week, and it hasnt crashed once until today and today it crashed because of a actionscript error when i tried to test it....so i fixed the error and tried to test it again.it doesnt work everytime i try testing or publish now, it just crashes no crash report, just disappear from the screen.
View 1 RepliesI have flash as part of the adobe suite but am yet to have a real go at it. If I was to buy a third party flash banner say with a size of 100x250 and wanted to add text to it so it would then be 100x350, is this an easy process?
View 1 RepliesI've been using flash for a long time. I know some stuff, but not enough for what I am trying to do. Basically, I am making a little car minigame of a car in a city. This is my engine on the car:
onClipEvent(load){
speed =0 ;
} onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
speed += 0.4;
} if (Key.isDown(Key.DOWN)) {
speed -= 0.1;
[Code] .....
I am fine with all of it but the collisions, as the car will only bounce when the registration point of the car collides with 'wall', so it looks all funny and that and the car goes into any thing collable half way then bounces back, and occasionally gets stuck in the wall. Reall annoying. Ive tried fixing it but whenever I remove the hittest parts the car wont even move or turn. How to get the wall collides with the car (27.7 x 13) and not the registration. I need a strong engine which works with curves as well, and requires me just putting the code into the car, but if I have to put it into the walls/frame i suppose its okay, but theres no way im going through every single building and that.
Also, it would be cool if:
-An engine where when reversing the steering is reversed (like irl)
-The car doesnt bounce backwards when driving at a wall at an angle, but slides against it (like irl).
If you hover your mouse on the top edge or bottom edge of the button, the animation will just keep playing.
How do I make the text, the hit area for my buttons?
I am creating a 4 frame application demo which stops on the first frame and lets the user navigate to other frames using buttons. I've done something very similar before and didn't have this problem. Now with this new project I've created the pages in photoshop and imported them onto the stage. The dimensions are 1024/768 px. When I go to Control -> Test Movie -> In Flash professional. The window pops up very small , but the page looks nomal size so i get the top left portion of the design. Then when i expand the window, instead of seeing the rest of the design the desing floats to the bottom right as I pull the window open leaving all this white space around the top and left margins.
View 2 RepliesI'm running Flash CS5 on a Mac (yes I've got Adobe running). However, when I press Cmd and Rtn I get the followng error message: "Error opening URL [URL] how I can run movies in Flash?
View 20 Repliesflashwatir appears to be dead.is there anyway I can interact with objects in flash apps ?ike clicking button and such from a gui-less linux server ?likeflashapp.button.click("flash button")puts flashapp.button.text # returns the text label of flash button
View 2 RepliesI am looking for a "test your webcam" flash movie like this one that is free and OK to use in a closed environment.
I need the camera testing only, no server side processing of the video stream. It is thought as a small online tool for a client.
Is there a way to test Flash ActionScript scripts without having Flash installed and running them inside a swf?
View 3 RepliesI have a website that has a SWF embbeded on it with SWFObject. This SWF file has 1,5 MB. I would like to test if website (Lightppd) will be alive if 600 users per hour will try to open it. It will be approx. 900 MB / hour of transfer.
So I have 2 questions in one:
1) Does ab (Apache Bench) test handle SWFObject and gets SWF file while testing too?
2) If 1) is false how to load test my website with SWF file embedded properly?
I'm a developer on nice space MMO using Flash. On new PCs performance is quite good, but some features shouldn't be enabled on older PCs because the framerate drops to shit if we do. Flash wasn't made for this, but hey, pushing boundaries is fun.
An example is fullscreen mode. Of course every user can manually enable it, but "advertising" it to a user with and oldie PC would be a bad idea - but for the Alienware crowd it would be dumb not to.
So I want to find out how "capable" a user's PC is to decide if I should enable or disable some features for him.
I have created an iPad app using Flash cs5.5, how do I test on my iPad, I do have the developer cert and license.
View 1 RepliesI'm trying to test my Air 3.0 application for iOS in Flash Professional CS5.5.But since I use the Air 3.0 SDK I can't open my file in the Device Central and opening the file with the normal Flash Player will not track the touch events.Any ideas how to test an application for ios on a desktop?
View 1 RepliesThe first test of any movie, after opening the Flash program (CS5 Pro) will work as expected. However, every test after thereafter will ignore the ActionScript completely and play on a continuos loop. After attempting to debug one of these instances, Flash gives me the error that the movie cannot be debugged because the .SWF contains no ActionScript.(I've tested several movies, with AS as basic as a single stop command and nothing else. I've tested the files on another machine. I've reinstalled Flash. Closing Flash and opening it again provides one more "fresh" test that works as expected. Finally this has not always been the case, the program was working fine for a few months (so I don't think the install CD is corrupt).
View 1 Repliesi'm trying to create a kind of test with multiple aswers like this:
i'm portuguese..................true/false;
i have 21ears old...............true/false;
etc...
and a result btn that shows the points.something like 3points for every right question
I'm making a little test game... In the game a rectangle moves from left to right and I want it so that if it hits the little circle you move around with the arrow keys that it will subtract from the lives variable I made. Then once the rectangle goes off the screen at the right I have it duplicate and start again with the previous rectangle at a random y position again on the left side...
The first "parent?" clips when they collide with the MC you control correctly subract from the lives variable but all the duplicated MC's do not work with the collision thingy. Any ideas on how I could go about setting it up so the parent MC and its duplicates all subtract from the lives variable when it collides with the user controlled MC?
i can only test my game once. once i close it, the test won't start until i reopen the entire flash application.
View 4 RepliesIs there a better way than in Flash? It would be a test of 50 multiple-choice and true-false questions, which would follow 300-400 PowerPoint slides. The slides could be jpg's loaded via xml or even put right into the fla/swf. The slides could also be on another part of the site and just the test would be in Flash.
View 2 Repliesi can find and cant get this to send a email.here is the code i have:
Flash/AS3:
stop();
submit_btn.addEventListener(MouseEvent.CLICK, sendInfo);
var emailfrom:String = "someone@somewhere.com";var emailto:String = "someone@somewhere.com";var emailsubject:String = "test
[code]....
Nothing happens when i hit the send button can anyone tell why.... I just got off phone with web host provider and they do support asp and i do have the correct SMTP
I created a graphic on one layer in my timeline in FLASH CS4 and then added a new layer above it with text to create a zoom out effect. When I click Control>Play the movie plays fine with the text zooming out as it is supposed to but when I click Control>Test Movie the movie shows white with the text constantly visible and the graphic flickering on (visible) and off (not visible) so fast that it's barely visible.
View 3 RepliesI have been working on my final project for class all week. Suddenly tonight once I have finally worked through so many bugs in transfering things into the thing, I can't get the "Test Movie" option to work to view anything. I even tried to view just the scene. It keeps making these flashes and then basically stays where it's at
View 2 Replies