dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: counting frames in an external movie

  1. #1
    Member
    Join Date
    Jun 2005
    Location
    dallas, tx
    Posts
    54

    counting frames in an external movie

    i'm wanting to load in an external swf into my flash project and have page numbers for each frame. is there a way to count the frames in actionscript on a movie that's been loaded externally?

  2. #2
    half as fun, double the price senocular's Avatar
    Join Date
    Feb 2002
    Location
    San Francisco, CA (USA)
    Posts
    4,361
    just check its totalFrames.

    From the loader instance, it would be MovieClip(loader.content).totalFrames

  3. #3
    Member
    Join Date
    Jun 2005
    Location
    dallas, tx
    Posts
    54
    yup that's what i needed. seeing how simple it was i almost feel stupid for asking.

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