if you have a class that have this event, you just addchild to stage,
then init the view3d
if you use external swf's, if you want to do something like
"addchild(myloadedswfwithview3d)", just make sure the swf is compiled
with similar code
if the swf holds 3d assets, just make your view, once added to stage
fire your view3d, parse your swf and add your assets to view3d.
again, I have no idea how puremvc works, but I do not see why this
should be a problem.
if this framework doesn't allow basic stuffs like this, then use
another one or make it smarter by just adding a few lines to the code
where views are addchilded.
Fabrice
On Oct 23, 2009, at 10:44 AM, Makc wrote:
On Fri, Oct 23, 2009 at 11:05 AM, Fabrice3D <[email protected]>
wrote:
I dunno pureMVC in practice,
but there must be a way to add an addedToStage event before declare
a View3D
instance.
I guess what he is saying is that the reason for View3D to even
attempt to access the stage is invalid. For example, if your 3d stuff
is in loaded swf, which is not allowed to access stage at all - what
are you going to do then?