Return to Starling Playback Library

fps?

Questions related to Starling playback library should be asked here.

fps?

Postby artem fedorov » August 13th, 2014, 2:03 am

я сделал простейшую анимацию во flash cs выставил 60fps затем сконвертировал в вашем плеере все правильно отобразилось а в приложении все равно 24fps хотя по дефолту я поставил 60
[SWF(width="960",height="640",frameRate="60")]
User avatar
artem fedorov
 
Posts: 1
Joined: August 13th, 2014, 1:14 am

Re: fps?

Postby Ivan Shaban » August 23rd, 2014, 12:09 am

При создании GafMovieClip'а надо задавать индивидуальный фреймрейт, по умолчанию видимо стоит 24, поведение аналогично старлинговскому мувиклипу.
User avatar
Ivan Shaban
 
Posts: 9
Joined: April 1st, 2014, 2:02 am

Re: fps?

Postby Ivan Avdeenko » August 26th, 2014, 2:10 am

You need to set FPS of your animation in the Flash IDE. See the image below:
Image

Another way you can set fps property of GAFMovieClip or pass it in a constructor:
Code: Select all
var mc: GAFMovieClip = new GAFMovieClip(timeline, "", 60);
User avatar
Ivan Avdeenko
 
Posts: 30
Joined: June 6th, 2014, 12:22 am

Return to Starling Playback Library

Who is online

Users browsing this forum: No registered users and 2 guests