Take a look at the parsley-starling library that uses Parsley for use with Starling.
It is based on a modified version of Parsley , which is less dependent on the Flash API.
After the libraries are linked, you add StarlingViewManagerDecorator when creating the Context:
ContextBuilder.newSetup() .services() .viewManager() .addDecorator(StarlingViewManagerDecorator, _starling) .newBuilder() .config(XmlConfig.forFile("config.xml")) .build();
after that use the StarlingConfigure class for Starling DisplayObject so that it is controlled:
import feathers.controls.Screen public class NewsView extends Screen { public function NewsView() { super(); StarlingConfigure.view(this).execute(); } }
source share