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

FLASH PRO CC - FRAME RATE ISSUES :(

New Here ,
Jan 05, 2014 Jan 05, 2014

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

24.3K
Translate
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

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.

Translate
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

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

Translate
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
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);

}

}

Translate
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