as an aside, if you ever want to add overlaid sprites to an away3d view
using the same coordinates seen in the view3d sprite, you can use the view3d
foreground property - which contains a sprite always added to the top level
of the contained view3d children

Rob

On Tue, May 18, 2010 at 2:40 PM, Fabrice3D <[email protected]> wrote:

> I've already answered this question not 2 days ago.
> also added that this is As3 general question...
>
> read flash doc on display.bitmap();
>
> Fabrice
>
> On May 18, 2010, at 3:28 PM, toshmosh wrote:
>
> > 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?
>
>


-- 
Rob Bateman
Flash Development & Consultancy

[email protected]
www.infiniteturtles.co.uk
www.away3d.com

Reply via email to