dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Changing frame rate

Threaded View

  1. #1
    Member
    Join Date
    Nov 2001
    Posts
    82

    Changing frame rate

    I know this issue was already discussed many times (setInterval, streaming sound etc), but I bumped into this code in the AS help about changing the frame rate of a document while playing:


    ------------------------------------------------------------------
    document.frameRate
    Availability
    Flash MX 2004.

    Usage
    document.frameRate

    Description
    Property; a float value that specifies the number of frames displayed per second when the SWF file plays; the default is 12. This is the same functionality as setting the frame rate in the Document properties dialog box (Modify > Document).

    Example
    The following example sets the frame rate to 25.5 frames per second:

    fl.getDocumentDOM().frameRate = 25.5;
    ------------------------------------------------------------------


    Anyone can explain how this should work ??

    Thnx.
    Last edited by asafmilo; 08-15-2004 at 06:44 PM.
    --=={asaf}==--

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