new popMenu() needs "()" because it's an exported class object in your
library

make sure you say

addChild(popUpMenu);

Somewhere after you said

addChild(view); //<< that's your view3D

let me know!

-Pete

On Mon, Apr 6, 2009 at 4:32 PM, caydieu <thai...@gmail.com> wrote:

>
> thanks for the quick responses.
> I'm using what Peter has suggested, my mc is in the library with an
> export name of "popMenu"
> and here's my code for adding it to the scene,
> var popUpMenu = new popMenu();
> addChild(popUpMenu);
>
> This does not have any render errors but it does not show popMenu
> why is popMenu being called with "()" like it's a function? Or am I
> suppose to create a function that would load it first?
> If that's what I have to do, how would I go about it because using
> loader and load doesn't work, please explain.
>
> Is "hud" no longer a valid class?
> Thanks
>
> On Apr 6, 3:40 pm, Fabrice <fabric...@gmail.com> wrote:
> > if you mean adding an mc on top, just addChild it AFTER you addChild
> > the view
> > or swap its depth.
> > If you mean adding an mc into the 3d world, then MovieClipSprite is
> > indeed the way to go.
> >
> > Fabrice
> >
> > On Apr 6, 2009, at 9:02 PM, caydieu wrote:
> >
> >
> >
> > > Hi guys,
> > > This is prolly a noob question but I'm trying to add a 2D movie clip
> > > on top of my 3D render but to no avail. Could someone write up a quick
> > > example of how to load a movie clip and have it displayed on the
> > > stage. I tried using hud, load, movieClipSprite, but I guess I've been
> > > doing it wrong. Please help, and thank you in advance.
>



-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to