ActionScript 3.0 :: Microsecond Resolution For Benchmark?
Sep 4, 2009Is there a way to find how long a function takes to execute beyond 1ms resolution:
time1 = getTimer();
//Do something
time2 = getTimer();
totalTime = time2 - time1;
Is there a way to find how long a function takes to execute beyond 1ms resolution:
time1 = getTimer();
//Do something
time2 = getTimer();
totalTime = time2 - time1;
How can i benchmark a website ? i want to define how many user can i handle simultaneously. I don't think that matters but the site is a Flex application that consumes some services provided by tomcat's servlet
View 2 RepliesI want to know is there anyway to invisible title bar for a AS3 project? and how to force program to use fix resolution and change monitor resolution to what we want?
View 1 RepliesI performed a benchmark test memory consumption by three DisplayObjects - MovieClip, Sprite, and Shape.
Below are results and method used. I just wanted to create instances. Test with adding instnaces to display list showed a slight difference in terms of memory consumption.
Observations: Sprite uses from 16 to 22% with average 18% less memory than MoviClip.
Shape uses from 42 to 55% with average of 46% less memory than MovieClip.
Shape uses from 32 to 42% with average of 35% less memory than Sprite.
[Code]...
We're on the way to buy a 1 CPU license for FMES4 and I'm looking if anyone can provide real world benchmarks. We will use a Intel X5680 CPU with dual Port 10Ge NIC and we're wondering how much concurrent p2p RTMFP Session the server will be able to handle.
If a p2p RTMFP Session can not be created we want fallback to another server instance with the cheaper FMIS4 on it, is this the right way to handle this?
I have researched this and found lots of information but I am fairly new to actionscript and scripting in general. Here is what I am trying to do. I am working on a site that is already setup and ready to go. What I am creating is a very basic 15 second flash intro/flyer that will show up and eventually redirect to the main site. Like I said this is a very basic flash with basic tweening however my main issue is that we want this one picture to fill up the entire browser window without getting cut off no matter what resolution. I don't care how it is accomplished whether it is actionscript, java,
View 5 RepliesI'm having problems with image resolution...I'm using .png files, and the color/reso looks great in the flash file, but when I play the swf, the resolution gets all pixelated.
View 1 RepliesI am working with some images in my flash file which I would like to have at a high resolution (approx 1280X1024 px or even higher) so that they look good when they take up a full screen, and also when I zoom IN on them.
However, when I import them into flash at this size, they look TERRIBLE when zoomed OUT (eg. to 15%). They look fine in photoshop at this size.
How did they make that border to wrap around any resolution? make my images from my XML gallery to not become pixelated when it loads in full-screen.
View 3 RepliesI'm going to be creating a Flash presentation that will run on a flatscreen TV at a trade show. I'm not certain what resolution to set up my Flash movie to. The TV is a widescreen Panasonic 42" TH42PH10BK with 1024 x 768 pixels, however when I set my animation to those values it looks 'squarer' than the TV. It looks like I need to set up the animation to a different resolution, but I don't know which!
View 4 Repliesmy problem is related to website resolution problem i develop a drop down menu from a software "flash menu lab". Then i embed it on a web page, it correctly show in 1024*768. but when i go to high resolution it does not move width automatically it show menu similar to 1024*768 i hope you got my problem...! remember i fixed width to 100% but it is not working...! this is my code
[Code]...
I'd like to know where to look for documentation on how to make elements that adjust to the site resolution, or what this technique is called.
Like in here (the floating clip on the left upper corner, there is a menu divided into 2 parts like float:left and :right (like I would make this in css))
[URL]
Basically I'd need a menu always aligned to the bottom-center of the page that won't change the size, but the background always stretched proportionally to the width of the page upon resizing.
what would be the right resolution and format to create a flash as a tv commercial?
View 13 RepliesI have published my Flash site to the web server but I notice that it doesn't display correctly in smaller resolutions (I think the smallest it looks best in is 1024 x 768)... the bottom keeps getting cut off when viewed in any small resolution. I figure this is something that can be corrected in the HTML file so if someone can show me what exactly I need to put into that file, that would be great. My site is here if you need to reference it:[URL]..
View 17 RepliesIm trying to get my application to run in full screen, I've tried a variaty of scripts and all of them work, yes the app does open up in full screen but there are always white edges on the left and right, which are outside of the stage.
Is there any way to get rid of them, either use a differet bit of code or possible can AS, change the resolution of the screen to the req. and change it back on close?
The code that i've tried:
------
import flash.display.StageDisplayState;
stage.displayState = StageDisplayState.FULL_SCREEN;
[code].....
We have alredy made a game at 1024x768 (iPhone2 max resolution) and it runs ok, maybe with a little hiccup here and there. But we really want to make a more complex game next time, and performance is a big concern.What resolution (in pixels) should we use for an iPad/iPhone game? does it have an actual impact on overall performance?
View 1 RepliesI've made a small app that captures and displays the camera feed. But the problem i'm having is that the app only displays a fraction of what the camera is showing (top left part of the corner), is there a way to shrink the resolution in Flash CS5 so that the app can show the full picture?
View 3 RepliesI have flash video files to display on to website.The flv files are in 1024*768 size.But , when i am displaying the flv on website with 960*720,the video quality is not good.
How can we handle the video sizes on webpage?
How to detect the Monitor current resolution in flex.
View 2 RepliesCan I Save Swf As Gif Format With the Same resolution and speed ?
View 4 RepliesIt looks like that anytime I upload an image, it gets my screen's DPI and not its original resolution.I want to get the initial dpi of the image.Is this feasible?
View 5 RepliesI hav two swf movies with resolution 420px by 200px and 780px by 450px. I want to compile them as a presentation in an autorun cd in fullscreen mode.
View 0 RepliesI am making a new site. I am using a looped video on the background but what I want the background flv movie to be resized on all the resolutions how can i make it fixed?
View 4 Replies[URL] it opens a fullscreen popup... I have a widescreen laptop and it works perfect, the organization of everything is just in the right place and everything - so I thought it would be cropped in a 1024 x 768 resolution... so I change my resolution to 1024 x 768 and ... surprise!! it is perfect once again! the organization of the web, text and even some images (in the photograph section) fixes itself depending on the resolution, no need for a different swf file in a different html page, the same one fixes everything.
so I know everything is probably loaded in different swfs, in the html the swf is set to expand to fully fill the page and expand 100%... but how about the main swf?... what's its real size and how come it loads the other movies in a different location depending resolution - the elements move by themselves if the expansion of the swf change?
how do you get actionscript to scale an swf so that its size is an equivalent ratio to the users computers screen resolution.i didnt really think flash and html worked like that.thought it was best to design with the size of users screen resolution inmind as well as boarders of whatever it is ur building
View 5 RepliesOk this is more of a math issue than an AS issue, but in flash player 10 you can have an area of less than 16777215 pixels in order to make a BitmapData. The problem is I have an image bigger than this and for some reason I can't logically develop an equation that will take an image bigger than the resolution and scale it down so it's right under it in, and was curious if anyone has done this before.
Example: if i was trying to get something under 5,000 pixels and I had an image 300x60 that is a resolution of 18,000 what multiplier would i use on the height and width of the image so it stays the same aspect ratio and stays under 5,000 pixels.
anyone know what type of script use in this website to manage screen resolutions automatically [URL]
View 2 Repliesanyone know what type of script use in this website to manage screen resolutions automatically [URL]
View 1 Replieshow can I set rezolution of my flash site that is fit to viewer's screen. [URL]
View 4 RepliesI am trying to figure out how to detect screen resolution through Flash.For example i want to move a "movieclip" to a specific point if the height of the screen resolution is smaller than 768.
Actionscript:
if(screen.height < 768){
movieclip._y = 200;
}
I think i should use this property but i don't know how to implement it!
trace(System.capabilities.screenResolutionY);