03-05-2003, 07:15 AM
|
#1
|
|
If you can read this, I'm
|

 |
San Francisco, CA (USA) |
|
 |
17,266 |
|
|
Flash Limits
I think its a good idea to set some known limits to Flash - things which are good to be aware of for future reference and if not, something to just be impressed or enamored with
here are some things Ive jotted down recently. Ill add more as I think of them
==============================================
Flash limits
[DOCUMENT]
size:
- width: 1 to 2880
- height: 1 to 2880
drawing extents within:
- width: -720 to document width + 720
- height: -720 to document height + 720
- grid spacing: 7.2 to 288
- frame rate: .01 to 120
- frames: 16000
- layers: 16000
- movieclip instances: 16000
- loaded movies (in levels): 16000
[MOVIECLIP]
drawing extents within:
- width: -720 to 720
- height: -720 to 720 (1440x1440)
- _xscale/_yscale values: ~ 3276800
- _alpha values: 256
- _alpha steps: ~ .4 (don't increment _alpha below that value)
- _x/_y steps: .05 (don't increment _x/_y below that value)
- _rotation: -180 to 180 (you can set it to values beyond these but will revert to a value in that range)
- _rotation steps: .1 (_rotation wont be seen in increments below that value)
- attached clips before drastic attachMovie speed drop: ~ 800-1000 (common in grid creation; creating new clips to attach groups of clips, like each row, to will reduce the slowdown)
[TEXT]
- characters in a textfield: ~63000 (?)
- rotation of dynamic or input textfields w/o embedded fonts or static w/ device fonts: 0 (no rotation)
- max size of POST data (loadVars and XML Objects etc): around 64k
- characters for URLs set in Character panel: 127
[SCRIPTING]
depths:
- depths of existence: -16384 to 2130690045
(createEmptyMovieClip can surpass these values in creation but not always accurate
max reliable: 2147483647, min reliable: -2147483648)
- removable depths: 0 to 1048575
- recursive function call levels: 256
- loop calls: processor dependant, 15 or 20 seconds until timeout
[MISC]
- Flash Player zoom: 2000%
- line thickness (Flash authoring): .1 to 10
- line thickness (AS): 0 to 256 (increments of 1; 0 is hairline)
- size of imported bitmap: 5x5 minimum
- shape hints: 0 to 26
- blending: up to 24 layers per pixel
[AVM2]
- max unique bytecode instructions for the VM: 256
datatype limits:
- uint: 0 to 4,294,967,295 (2^32 - 1)
- int: -2,147,483,648 (-2^31) to 2,147,483,647 (2^31 - 1)
- String size: 1,073,741,823 bytes (2^30 - 1) (hard to quantify a character length in a multibyte charset)
- function max parameters: 1,073,741,823 (2^30 - 1)
- class implements interface max: 1,073,741,823 (2^30 - 1)
BitmapData:
- max total pixels FP10: 16,777,215 (2^24 - 1) ( see here)
- max dimensions FP9: 2880 x 2880px
==============================================
suggestions welcome and will be added to this list 
__________________

|
|
|
03-17-2003, 09:42 PM
|
#10
|
|
|
hey kirupa! I think u should add this post to the basic link in flash mx, good and insteresting idea!
__________________
djazz
|
|
|
03-22-2003, 10:19 AM
|
#11
|
|
|
Movie Clip can't be content of itself on flash's workspace sen (try to put symbol1 into symbol1)... tried to put it in with every idea i got...
Last edited by fluid_0ne; 03-22-2003 at 10:51 AM..
|
|
|
03-26-2003, 12:16 AM
|
#14
|
|
|
actually, you should never increment a number by anything smaller than 0.5 - there is a bug in the flash player!!
i don't know the number of iterations, because it's different for different numbers (any floating point number with values smaller than 0.5 after the integer).
try this in flash 5 or MX:
nCount = 0;
for (var ii = 0; ii<100; ii++) {
trace(nCount += 0.4);
}
the values in the output window will end in 999999.
for some of you math/physics people out there who need accurate floating point numbers watch out for this.

jeremy
__________________
<a href="http://www.jeremydecker.com" target="_blank">new home is here</a>
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 08:22 PM.
|
|