Page 1 of 6 123 ... LastLast
Results 1 to 15 of 77

Thread: Flash Limits

  1. #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

  2. #2
    nice, nice....waiting for more...

  3. #3
    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.

  4. #4
    nice info guys. Some things I was really interested in knowing here. Thanks.

  5. #5
    you cant import an image less then 5x5 i think...

    i tried 1x1 and it wouldnt let me

  6. #6
    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.

  7. #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

  8. #8
    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 }

  9. #9
    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

  10. #10
    hey kirupa! I think u should add this post to the basic link in flash mx, good and insteresting idea!
    djazz

  11. #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.

  12. #12
    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

  13. #13
    indeed, bu if i would resize it to smaller one?? it would be like 0o. and smaller until it disappears...
    crazy...

  14. #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>

  15. #15
    its not like you should never increment by small values


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

Page 1 of 6 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012