Starling with Flash Professional CS6?
hi - quick question somone knows.
can use starling flash cs6 professional, or need use flash builder?
i have animation ios developed flash professional , audio goes out of sync on ipad. recommended trying starling , struggling. have found loads of downloads, no fla downloads demonstrate it.
you can use starling cs6, i've done testing it, not more. know works fine in cs6. should need download classes , follow of examples. here's barebones example initialize starling , show stats monitor:
document class:
package
{
import flash.display.movieclip;
import flash.display.sprite;
import starling.core.starling;
public class starlingtest extends movieclip
{
private var starling:starling;
public function starlingtest()
{
starling = new starling(game, stage);
starling.start();
starling.showstats = true;
}
}
}
and need game class:
package
{
import flash.display.bitmapdata;
import starling.display.sprite;
import starling.events.enterframeevent;
import starling.text.textfield;
import starling.display.image;
import starling.textures.texture;
import com.greensock.tweenmax;
import flash.events.* ;
public class game extends sprite
{
private var textfield:textfield;
public function game()
{
addeventlistener(enterframeevent.enter_frame, update);
}
private function update(e:enterframeevent):void
{
}
}
}
i took out code inside update added sprites stage... should @ least starling , running you.
More discussions in ActionScript 3
adobe
Comments
Post a Comment