• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

FLASH PRO CC - FRAME RATE ISSUES :(

New Here ,
Jan 05, 2014 Jan 05, 2014

Copy link to clipboard

Copied

In Adobe Flash Professional CC, how do you change the frame rate for different segments of the animation, instead of changing the frame rate for the whole animation?

I would really appreciate the help

Views

24.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2014 Jan 05, 2014

Copy link to clipboard

Copied

use a timer to call a timer listener function that repeatedly executes nextFrame() applied to your movieclip.

p.s. you need to set the main apps framerate to be, at least, the fastest needed framerate.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 05, 2014 Jan 05, 2014

Copy link to clipboard

Copied

Sorry, I'm completely new to Flash so I didn't really understand any of that.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2014 Jan 05, 2014

Copy link to clipboard

Copied

LATEST

just call startplayF and pass the movieclip, frame rate, start frame and end frame.

function startplayF(mc:MovieClip,framerate:int,startFrame:int,endFrame:int):void{

mc.startframe=startFrame;

mc.endframe=endFrame;

mc.gotoAndStop(startFrame);

mc.interval=setInterval(playF,1000/framerate,mc);

}

function playF(mc:MovieClip):void{

if(mc.endframe>mc.startframe){

mc.nextFrame();

} else {

mc.prevFrame();

}

if(mc.currentFrame==mc.endframe){

clearInterval(mc.interval);

}

}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines