Importing Flash Pro library symbols from Starling class
Very new to Starling. I have succesfully created a project and seen some great performance when scrolling the pages in the online comicbook I'm making.
However, I need to place interactive, invisible hotspots on top of my comicbook pages. Placing these hotspots via code would be quite cumbersome - it would be much better to design these interactive layers in Flash Pro so I can drag/drop their exact placement. The structure I want is:
NORMAL STAGE LAYER -> Interactive hotspots
on top of
STAGE3D LAYER -> Comicbook pages
I'm aware that the hotspot layers won't run on the GPU, only the pages underneath. But I'd like to try it out anyway.
However, once I've created the hotspot layers in Flash Pro and given them linkage names, I can't figure out how to import them onto the comicbook pages. This is obviously because they are flash.display.movieclips and the Starling class that tries to import them expects Starling movieclips.
Is there any workaround for this? Either a way to be able to refer to both types of movieclips from the same class (preferably) - or a way to create two classes that add the pages and the hotspots respectively. Code examples would be great.
