A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: limit of amount of AS per frame??

  1. #1
    Senior Member
    Join Date
    Jun 2001
    Posts
    290

    limit of amount of AS per frame??

    I was wondering if there is a limit of how much actionScripting there is on a single frame...what I mean is in terms of lines/amount of code stored on a single frame.....say if for a game one would have all his AS on one single frame....



    thanks,

    paul.

  2. #2
    I tried... dbarbarian's Avatar
    Join Date
    Aug 2003
    Location
    Berkeley, California, USA
    Posts
    678
    I think that the limit is something like 64kb per frame. I ran inro this problem in my game, but all you have to do is split the code into two frames. When I say frame, I mean one single frame on one layer, so you can have 5 layers each with 64 kb of code. I'm not sure if the number was 64 kb, but its somewhere around there.

  3. #3
    Senior Member
    Join Date
    Jun 2001
    Posts
    290
    thanks dbarbarian!

    I think that's what I heard before......as far as the layers go, you mean you can have five layers w/ code on them, on the same frame?? or five frames w/ code on different layers, each?

    paul.

  4. #4
    I tried... dbarbarian's Avatar
    Join Date
    Aug 2003
    Location
    Berkeley, California, USA
    Posts
    678
    5 layers on the same frame all with 64 kb of code each.

  5. #5
    Senior Member
    Join Date
    Jun 2001
    Posts
    290
    I see,

    thanks much

    paul.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center