A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: loadMovie / onClipEvent(enterFrame) / FPS Issues

  1. #1
    Member
    Join Date
    Jan 2001
    Posts
    54

    loadMovie / onClipEvent(enterFrame) / FPS Issues

    I'm building a flash movie that has three levels of loadMovies happening. Movie A loads movie B, which in turn loads movie C. A and B are more or less shells containing mostly actionscript and framing elements. Movie C has a fair amount of animation happening at 19fps.

    When played by itself or loaded into B, movie C plays perfectly. However when C plays inside of B inside of A, it slows to a crawl.

    Now I'm wondering if the culprit are five movieclips in A that all contain onClipEvent(enterFrame) actions. Is this constantly looping code indeed the probably cause of the slowdown? Any way around this?

    Thanks in advance!

  2. #2
    resident azhole
    Join Date
    Jun 2001
    Location
    Atlanta, GA
    Posts
    206
    I'm pretty sure that when you load a movie into another movie, the second movie will adopt the first movie's attributes (i.e. frame rate).

    So try setting the frame rate of movie A and B to the rate you want C to play. See if that speeds it up.
    i think i can, i think i can

  3. #3
    Member
    Join Date
    Jan 2001
    Posts
    54
    Originally posted by ar2525
    So try setting the frame rate of movie A and B to the rate you want C to play. See if that speeds it up.
    All three movies are set to 19 fps, yet the slowdown is still occurring. Thanks, though.

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