Go Back   kirupaForum > Flash > Best of Kirupa.com

Reply
 
Thread Tools Display Modes
Old 03-05-2003, 07:15 AM   #1
senocular
If you can read this, I'm
 
senocular's Avatar
Location San Francisco, CA (USA)

Posts 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

__________________
senocular is offline   Reply With Quote

Sponsored Links (Guests Only) - Register | Need Help?
 

Old 03-10-2003, 03:56 PM   #2
Coolian
MaNIaC
 
Coolian's Avatar
nice, nice....waiting for more...
Coolian is offline   Reply With Quote
Old 03-10-2003, 04:38 PM   #3
bit-101
Senior Member
Location one block from the Atlantic Ocean

Posts 23
minimum _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.
bit-101 is offline   Reply With Quote
Old 03-12-2003, 02:13 AM   #4
upuaut
Amber's last scion
 
upuaut's Avatar
nice info guys. Some things I was really interested in knowing here. Thanks.
upuaut is offline   Reply With Quote
Old 03-13-2003, 02:45 PM   #5
theworldinside
Junior Member
 
theworldinside's Avatar
you cant import an image less then 5x5 i think...

i tried 1x1 and it wouldnt let me
theworldinside is offline   Reply With Quote
Old 03-13-2003, 03:20 PM   #6
senocular
If you can read this, I'm
 
senocular's Avatar
Location San Francisco, CA (USA)

Posts 17,266
Quote:
Originally posted by theworldinside
you cant import an image less then 5x5 i think...

i tried 1x1 and it wouldnt let me
Flash 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 library

good one Ill say 5x5 now until someone confirms otherwise.

__________________
senocular is offline   Reply With Quote
Old 03-14-2003, 02:34 PM   #7
subquark
thinking inside the box
 
subquark's Avatar
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
subquark is offline   Reply With Quote
Old 03-15-2003, 05:21 PM   #8
kirupa
kirupa.com
 
kirupa's Avatar
Location A tiny and soft place in Redmond, WA

Posts 14,511
Wow this is quite nice - shall I add link this post sen as a quick link under Flash MX basics?

Cheers!
Kirupa

__________________

Great, now even Kirupa is { facebooking | twittering }
kirupa is offline   Reply With Quote
Old 03-16-2003, 09:02 AM   #9
senocular
If you can read this, I'm
 
senocular's Avatar
Location San Francisco, CA (USA)

Posts 17,266
hmmm I dont know... I dont think Ive ever come across any of these issues in first learning Flash - so I dont know how concerned youd need to be with them when in your 'basics' phase of learning. Interesting enough otherwise though

__________________
senocular is offline   Reply With Quote
Old 03-17-2003, 09:42 PM   #10
djazz
Junior Member
 
djazz's Avatar
hey kirupa! I think u should add this post to the basic link in flash mx, good and insteresting idea!

__________________
djazz
djazz is offline   Reply With Quote
Old 03-22-2003, 10:19 AM   #11
fluid_0ne
Banned
 
fluid_0ne's Avatar
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..
fluid_0ne is offline   Reply With Quote
Old 03-22-2003, 10:22 AM   #12
senocular
If you can read this, I'm
 
senocular's Avatar
Location San Francisco, CA (USA)

Posts 17,266
you can do that at runtime with attachMovie. You cant do it in Flash because it would cause an infinite loop of a movieclip containing itself... containing itself... containing itself... which wouldnt (and isnt) really possible for flash to concieve

__________________
senocular is offline   Reply With Quote
Old 03-22-2003, 10:47 AM   #13
fluid_0ne
Banned
 
fluid_0ne's Avatar
indeed, bu if i would resize it to smaller one?? it would be like 0o. and smaller until it disappears...
crazy...
fluid_0ne is offline   Reply With Quote
Old 03-26-2003, 12:16 AM   #14
sinfiniti
For rent...
 
sinfiniti's Avatar
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>
sinfiniti is offline   Reply With Quote
Old 03-26-2003, 05:28 AM   #15
senocular
If you can read this, I'm
 
senocular's Avatar
Location San Francisco, CA (USA)

Posts 17,266
its not like you should never increment by small values


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

__________________
senocular is offline   Reply With Quote
Reply

Tags
flash limits, limits


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:22 PM.

SUPPORTERS:

kirupa.com's fast and reliable hosting provided by Media Temple. flash components
Creative web apps. Make your own free flash banners and photo slideshows.
Check out the great, high-quality flash extensions. Buy or sell stock flash, video, audio and fonts for as little as 50 cents at FlashDen.

Flash Transition Effects

Flash Effect Tutorials

Digicrafts Components
Flash effects. Art without coding. Upload, publish, deliver. Secure hosting for your professional or academic video, presentations & more. Screencast.com
Streamsolutions Content Delivery Networks Flipping Book - page flip flash component.
Flash-Gallery.com - Get your flash photo gallery (flash component or swf gallery Learn how to advertise on kirupa.com
 

cdn
content delivery network (cdn)

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Copyright 2010 - kirupa.com Copyright 2010 - kirupa.com