my pop-up menu MC has a text field in it that I want to change its
value dynamically.
popUpMenu.textfield = "text"; //gave me Error #1034: Type Coercion
failed: cannot convert "Intelligence" to flash.text.TextField.
popUpMenu.popMenu.textfield = "text" //doesn't work as well
how do I call/change value of a child mc or texfield of a mc in my
scene? Thank you


On Apr 6, 4:54 pm, caydieu <thai...@gmail.com> wrote:
> ok, so apparently my mc was too small and was positioned beyond the
> stage view. :P
> Thanks a lot guys, that really helped, I'm still very new at away3d
> and I'm used to AS2.0. I hope to learn a lot more from you all.
>
> On Apr 6, 4:42 pm, Peter Kapelyan <flashn...@gmail.com> wrote:
>
> > 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