How can I get a single view in my PureMVC app to use Starling with it's own mediator and communicate with the rest of the application?
The rest of the application will NOT be using starling.
From my research so far, it looks like starling can only be activated on the main "Document class" of a swf?
Ok, so I figured out how to do this. A few things you need to know.
Starling.current.rootYou can create your starling instance just about anywhere if you have a reference to stage. So your mediator can look something like
The important part is waiting for the
Event.ROOT_CREATEDevent before setting the viewComponent to your Starling rootClass.Starling.current.stageor acccess to the nativeStage usingStarling.current.nativeStageThis is useful for listening to events outside of the StarlingContainer context.Once you have set up your mediator in this way, you can treat your starling viewComponent just like any other viewComponent, send notifications etc.
Many thanks to the Starling forums.