A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Something That Returns Frames

  1. #1
    strandedgenius.com
    Join Date
    Apr 2005
    Location
    Toronto
    Posts
    187

    Something That Returns Frames

    Is there an actionscript that will return the frame a movieclip is on while it's playing? I'm basically trying to make a timer with minutes and seconds. I got the music on the timeline.
    JScarlip,
    That Was Nice!

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    Normally you would load mp3 files dynamically and use the built in functions for time and such ( all about Flash and MP3 http://www.kennybellew.com/tutorial/ ).

    But to get the framenumber you use... _currentframe ....for instance......

    whatFrame=movieClipName._currentframe;

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    strandedgenius.com
    Join Date
    Apr 2005
    Location
    Toronto
    Posts
    187
    I don't think I'm at that level yet, plus I already made my whole website the way it is.
    JScarlip,
    That Was Nice!

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