Results 1 to 15 of 77
Thread: Flash Limits
-
March 5th, 2003, 06:15 AM #1
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]
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)
BitmapData:
-max total pixels FP10: 16,777,215 (2^24 - 1) (see here)
-max dimensions FP9: 2880 x 2880px
[ABC] (ActionScript bytecode)
-max unique bytecode instructions for the VM: 256
-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)
==============================================
suggestions welcome and will be added to this list
-
March 10th, 2003, 02:56 PM #2
nice, nice....waiting for more...
-
March 10th, 2003, 03:38 PM #323Senior Member
postsminimum _alpha or change in _alpha: approx 0.4
since _alpha is stored in 256 shades from 0-100.
100/256=0.390625
if you set alpha to .3 it will round off to 0. if you continue adding .3 to it, it will continue to round off to 0 and never change. if you add .4 to it, it will gradually go up.
-
March 12th, 2003, 01:13 AM #4
nice info guys. Some things I was really interested in knowing here. Thanks.
-
March 13th, 2003, 01:45 PM #5
you cant import an image less then 5x5 i think...
i tried 1x1 and it wouldnt let me
-
March 13th, 2003, 02:20 PM #6Flash 5 could do 1x1... in Win 9.x. heh. I based a whole contest on that way back when, though some people couldnt import the gif and those running 2000+, Flash crashed when selecting the image in the libraryOriginally posted by theworldinside
you cant import an image less then 5x5 i think...
i tried 1x1 and it wouldnt let me
good one
Ill say 5x5 now until someone confirms otherwise.
-
March 14th, 2003, 01:34 PM #7
What about size limits in an mc with scrollpane component?
I tried to paste a five page text block into an mc with the component attached and it would not take it all, could do something like three pages okay. Weird?!?eLearning?!? check out http://forum.elearningprovider.org
-
March 15th, 2003, 04:21 PM #8
Wow this is quite nice - shall I add link this post sen as a quick link under Flash MX basics?
Cheers!
Kirupa
-
March 16th, 2003, 08:02 AM #9
-
March 17th, 2003, 08:42 PM #10
hey kirupa! I think u should add this post to the basic link in flash mx, good and insteresting idea!
djazz
-
March 22nd, 2003, 09: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; March 22nd, 2003 at 09:51 AM.
-
March 22nd, 2003, 09:22 AM #12
-
March 22nd, 2003, 09:47 AM #13
indeed, bu if i would resize it to smaller one?? it would be like 0o. and smaller until it disappears...
crazy...
-
March 25th, 2003, 11:16 PM #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>
-
March 26th, 2003, 04:28 AM #15
its not like you should never increment by small values

http://www.macromedia.com/support/fl...doff_error.htm



Reply With Quote


Bookmarks