and how can i assign a particular picture to movie clip or sprite.Can
you give me an example please?

On May 18, 3:45 pm, savagelook <[email protected]> wrote:
> Yeah, add your heads up display (HUD) items directly to the main
> application sprite that contains your view3D.  A sprite or movieclip
> would work.  This would show your hero's health as a MovieClip, which
> you would have to create before this, in the top right corner of the
> application with 10 pixels of padding, assuming that "this" is your
> main application sprite:
>
> myHealthMovieClip.x = this.width - myHealthMovieClip.width - 10;
> myHealthMovieClip.y = 10;
> this.addChild(view);
> this.addChild(myHealthMovieClip);
>
> On May 18, 8:08 am, Fabrice3D <[email protected]> wrote:
>
> > If you mean how it must look like or how it will work: its up to you.
>
> > but if you mean that the class "health" as Movieclip should be displayed as 
> > overlay above the 3d scenery.
> > simply addChild your "health" class/mc after you have added the view3D. If 
> > you add it befofre, it will be there, but underneath it.
>
> > Fabrice
>
> > On May 18, 2010, at 12:35 PM, Vesselin Russinov wrote:
>
> > > hi all! i think the subject wasn't good enough but i don't know how to
> > > explain it.
> > > So, i want to make 3d game where my hero will have some health and
> > > maybe mana or some kind of that, but i don't know how to make the
> > > health to be visible all the time at my top right corner. could u help
> > > me with this?

Reply via email to