ActionScript 3.0 :: Control User's Computer Performance?

Oct 8, 2009

I've made a Flash project which uses a lot of animations based on Actionscript, and I've checked that in old computers those animations have a low framerate.So in order to optimize it, I thought to disable some of them depending on the capabilities of the user's computer, but the only thing I've found which could be useful is the property System.totalMemory

Is there any way to calculate the user's CPU performance in order to act in consequence?In these cases, would it be useful to replace some vector graphics with bitmaps? If I'm not wrong it would make use of more memory but would lower CPU charge, wouldn't it?

View 4 Replies


Similar Posts:


Professional :: Performance Difference Of A Flash File Between Computer And Cd?

Mar 20, 2012

I am working on this cd-rom and have just reached testing stage for part 1 (of 5).  There are lots of interactive activities, video and animations.  For the activities, I dont know if I am just too tired but there seems to be items which are visible on my .swf on my computer that sometimes are visible and sometimes are not visible on the cd-rom, also in testing yesterday there sere some activities that seemed to not be working correctly (Althought they perform fine on the desktop version, on a reset of the cd-rom they then seemed to work.  Is there anything that I need to take into account for the code being read off a CD to make it more bullet proof?  I am stressing out a bit at the Unknown factor- I cannot continue to produce this resource if I cannot guarantee how it will perform in real life?

View 5 Replies

Access To The Camera And/or Microphone Available On User Computer?

Sep 29, 2009

I am developing an application running in Flash Player. The applicatiosn requestes access to the camera and/or microphone available on user computer.Is there a way in the application I prevent users from seeing this question? i.e. without having user to change his/her Adobe Flash Player setting?

View 1 Replies

ActionScript 3.0 :: Loading A File From User's Computer?

Nov 10, 2009

In my Flash application, I would like a user to be able to import a picture from their hard drive. Basically, the app allows the user to customize an object. One of the steps of customization should be to add an image of their choice.
 
Is there a way  in Flash to allow the user to pick a file from their hard drive, which is then read into memory and made accessible to an application? I would like to take the data and upload it to a server to store it for future sessions.

View 3 Replies

ActionScript 3.0 :: Get The Screen Resolution Of The User's Computer?

Oct 26, 2011

way to get the screen resolution of the user's computer by using any action script code.

View 2 Replies

ActionScript 3.0 :: Record Sound From A User's Computer?

Apr 5, 2011

I am looking for a way to record sound from a user's computer, then save the sound as a wav/mp3/swf/etc on a server.

View 1 Replies

ActionScript 2.0 :: Testing CPU Speed Of User Computer

May 19, 2005

I've been searching for quite a while now on a few different sites for information on testing the cpu speed of users computers. I've done this search before about a month ago and remember fidning something about this. Problem is, now I can't seem to find anything. The reason I need to know is because I have an MC on my stage which is using actionscript to animate but on older computers with slow cpu's all the animation slows down terribly. I would like to be able to test cpu speed and redirect to a different page based on cpu speed.

View 1 Replies

ActionScript 3.0 :: Control Web Cam That Is Connected To Another Computer In LAN Using It?

Jun 3, 2009

Can i control a web cam that is connected to another computer in a LAN using AS3?

View 3 Replies

Test The Performance Of A User's PC In/for Flash?

Apr 8, 2010

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.

View 2 Replies

ActionScript 3.0 :: Save A Jpg Of Dynamically Loaded Swf's To The User's Computer

Oct 13, 2010

I want to save a jpg of dynamically loaded swf's to the user's computer. Everything works great, except the loaded swf's don't appear in the jpg (everything on the stage renders fine). Any thoughts?

[Code]...

View 3 Replies

ActionScript 3.0 :: Determine User Machine Performance?

Feb 20, 2009

I'm thinking of varying content in my app depending on user machine performance.
Is there any good standard methods? Like a mini-benchmark-test first thing in the app. I guess you could measure both the time of a function (quick but true?) or framrate of some drawing.

View 14 Replies

ActionScript 2.0 :: [CS3] Load External Png/jpg Chosen By User From Local Computer

Feb 7, 2009

how to allow the user to upload some image of his/her choice from his/her local computer, plus adding some control on size and dimension limit.

I've seen this performed for instance in webs where they sell sunglasses. The movie allows you to upload your own picture of yourself so that you can virtually try them on.

View 2 Replies

ActionScript 2.0 :: Prevent User From Opening Multiple Instances On The Same Computer?

Jun 28, 2009

On the site [URL] there is a .swf that prevents users from opening multiple instances of the site at the same time on the same computer. If you open the site, and try to open it a second time in another window, it won't load. You can't open the site again until the first window is closed. How did they implement this?

From my analysis it is NOT:

1. Cookies - The block still takes place if you try opening it in IE and also try opening it in Firefox simultaneously.

2. Flash Cookies - The block still takes place if I disable flash cookies.

3. IP Based Block - You are not blocked if you open the site on two separate computers with the same outbound IP address. From my analysis, their server does not assist in the block at all.

It seems as if their .swf is creating some kind of global system-wide object that can be detected in other instances of the application on the same machine. How did they implement this?

View 2 Replies

ActionScript 3.0 :: Prevent User From Opening Multiple Instances On The Same Computer?

Jun 28, 2009

On the site oldnavyweekly.com there is a .swf that prevents users from opening multiple instances of the site at the same time on the same computer. If you open the site, and try to open it a second time in another window, it won't load. You can't open the site again until the first window is closed. How did they implement this? From my analysis it is NOT:1. Cookies - The block still takes place if you try opening it in IE and also try opening it in Firefox simultaneously.2. Flash Cookies - The block still takes place if I disable flash cookies.3. IP Based Block - You are not blocked if you open the site on two separate computers with the same outbound IP address. From my analysis, their server does not assist in the block at all. It seems as if their .swf is creating some kind of global system-wide object that can be detected in other instances of the application on the same machine. How did they implement this? 

View 3 Replies

Flash :: Sifr 2.0.7 Only Working When Font Is Installed On User's Computer?

Apr 1, 2010

I am using sifr 2.0.7 and here's the deal. The sifr is working (I can see it in the DOM) however, the font is wrong.It doesn't pick up my swf font (DIN) unless you have it installed on your computer?The css font style is: HelveticaNeue which is what the sifr seems to render if you don't have DIN installed.I see it on my computer but my friend see DIN.

View 1 Replies

Flex - Adobe AIR Program Can To Index All Images On A User's Computer?

Jun 7, 2010

What is the fastest way for a Adobe AIR program program to index all images on a users' computer? Using Open Source ActionScript-3, MXML Libs and classes.

Fastest - Same pc configuration, different time (seconds) To index - get a list of absolute links (like c://bla-bla/file ) and save them into file (index.txt) All images (like JPEGs, PNGs)

View 1 Replies

ActionScript 2.0 :: Load External Png/jpg/gif Chosen By User From Local Computer?

Feb 7, 2009

I'd like to know how to allow the user to upload some image of his/her choice from his/her local computer, plus adding some control on size and dimension limits, and to check that the file to be uploaded is actually a JPG/PNG/GIF and not another else.

I've seen this performed for instance in webs where they sell sunglasses. The movie allows you to upload your own picture of yourself so that you can virtually try them on.

View 6 Replies

ActionScript 2.0 :: Detecting Through Flash Browser Version On User's Computer?

Aug 9, 2004

Is it possible to detect, through flash, browser version on a user�s computer?

View 1 Replies

ActionScript 3.0 :: Time Delay - Saving Pictures To User Computer On Button Click?

Jul 9, 2011

This is code i used for saving pictures to user computer on button click:


Code:
// Create a new instance of the FileReference class to work with.
var myfileReference:FileReference = new FileReference();[code].....

View 0 Replies

Media Server :: Transfer Flash 8 Programs From Old Computer To New Computer?

Nov 14, 2011

I got a new computer several days ago and it doesn't have Flash 8 or Higher. how to transfer Flash 8 programs from my old computer to my new computer? where to find free downloads of Flash 8 or higher?

View 1 Replies

ActionScript 3.0 :: Computer Vs Computer Pong Game

Apr 2, 2009

I'm not really good with AS3 yet so maybe somebody can help meI found a pong game tutorial and it works fine.[code]Now I want that two computers play against eachother.So no player input only two computer that play.I tried a lot with the script but it doesn't work.

View 3 Replies

ActionScript 3.0 :: Pong Game Computer Vs Computer

Apr 14, 2009

I have a problem... I found a tutorial making a pong game... I want to make some changes but I tried everything but it wont work Here is some code:

[Code]....

View 2 Replies

Performance :: Performance - Hold MouseDown To Increase Speed/power?

Sep 12, 2011

this is what i'm trying to accomplish; With a click on a movieclip (cannon_mc)a shot is being fired (ball_mc)

The longer mouse is down, the speed of wich the ball is fired with should increase.My question to you is;

What is the most efficient way to accomplish this? With a timer or something like this;

[Code]...

View 2 Replies

Performance :: Optimization - Improving Performance With Large #'s Of Objects

Jan 11, 2011

I'm devloping some library classes for flocking/steering behaviours on large numbers of objects (2000+). I'm finding that at < 500 instances, performance is reasonable. As the numbers increase, framerate bogs down.

I've seen remarkable performance with libraries such as Flint or Box2D with ridiculous #'s of particles / objects, so it should be possible to optimize / refactor my code to be a bit better.

I'm aware of the basic optimizations, such as bitwise operations and optimized for loops. Are there any more fundamental approaches I should be considering? For example, currently each instance is a vector-based MovieClip. Would working with BitmapData be more efficient?

View 1 Replies

Performance :: Flex - Using Nested ViewStacks Cause Performance To Decrease?

Nov 4, 2011

Will I take a big hit in performance using nested ViewStacks? Should I strive to handle all navigation in one ViewStack and push children manually or will the affected performance be negligible?

eg.
<viewstack>
<tabnavigator />
<tabnavigator />
<tabnavigator />
</viewstack>

View 2 Replies

Performance :: Improve Flex Performance For Invisible Views?

Mar 19, 2012

We have a medium size Flex 3.6 application that contains around 20 different page views (managed via a single lazy ViewStack) each having multiple components. Most use custom renderers.All model data is loaded at startup and changes to model instances are communicated via binding and/or collection change events.Once the user has viewed each page at least once, all page views are instantiated and happily listen to update events.Which in effect means that each time a model instance changes, all interested views receive that event and compute derived data or trigger item-renderers.I have tested and confirmed this behaviour in a proof-of-concept application. Even when setting a list to being invisible, it still listens to collection change events and invalidates any renderer affected.What would you do?

View 1 Replies

Professional :: User Input To Control Animations?

Oct 25, 2011

I have an idea for a simple game/program and not sure if Flash is the way to go.After reading many articles I've come to the conclusion that if I wanna make my idea a reality then I need to do it myself but not sure where to start.Before spending the money on buying cs 5.5 want to make sure it can do what I need.So my question is can you have users input data that would then control your animations? 
For a simple example:I want a user to be able to input a number then depending on the number a certain animation sequence would occur.So say a user inputs the number 10 then my animation would walk over to a pile of say apples and pick up 10 apples.  If they input 5 the animation would pick up 5 apples etc...So my idea has nothing to do with apples but revolves around the user inputting numerical data which would then control what the animations do. 

View 3 Replies

Allow User To Type A TAB Character In A Flex TextInput Control?

Dec 29, 2009

I want to modify the Flex 3 TextInput control to accept a tab character as valid input (The app allows the user to enter an arbitrary delimiter string for file output formatting, and tab is a common use case). However, clearly in the default implementation the tab key changes the form focus away from the selected control.

View 1 Replies

ActionScript 2.0 :: Pause Moving MovieClip Without User Control?

Mar 30, 2006

I have a mc on the stage - a strand of photos moving from left to right, like a filmstrip. I need each photo to come to center and pause for, say 7-10 seconds (no user control). I can get the filmstrip to move left to right (but only once and only controlling the time from start to end)... But can I script it such that the clip will pause where I want it to and for however long I need it to? And then move again from the new point, to the next new point? I'm having no luck. I could motion tween, but want to keep it more compact (and more simple)... I'm working in flash 8 but publishing for 5...

View 1 Replies

ActionScript 3.0 :: Make User Control The Result Of Wheel Of Fortune

Jun 5, 2009

I have a wheel of fortune application.Say,it has 18 segments or pie slices. This is how I have done for rotation

[Code]....

- I know if I make my rotation angle vary by 20 degress ,I can make it stop on desired pie segment.
- For instance if I have to make stop on 18 slice,I have to do rotation by 20 degrees.
- What I want is that user puts some value say 10, then my application have to stop on 10 slice and it follows above logic.
- I am bit confused on how to implement this with my above logic.
- Further ,the number of segment can vary and I do want to make a logic that works for any number of segments i.e. user can control on which rotation to stop.

View 4 Replies







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