If you use a MovieClip material, you can make it interactive.

Depending on what you are going for, you might be able to make the material for 
the object interactive, so the textfield is within the bounds of the object. 
Otherwise you could try to create something where it grabs the mouse position 
on click, and creates a new plane that is positioned in the same area. The 
plane could use a MovieClip material with a TextField in it, then you'd have to 
work out the positioning and sizing of the plane for it to make sense, and hide 
and show when appropriate.

Otherwise you might also consider going down this same road, but do the 
TextFields in a 2D layer over the top of the 3D scene. When you roll-over an 
object, show the correct tooltip, and position it at the (x, y) location of the 
mouse on the stage, not in 3D. This might be easier to develop, and depending 
on your project, might be easier to use as well.


On Thu, 28 Jan 2010 13:00:28 -0800, Darko Radiceski <[email protected]> wrote:

Hi all,

Is at all possible to place a text box for placing text on a clicked
location on a sphere? So allow the user select the location and enter some
data which will be visible on hover over? Any controls that would be able to
help us achieve that?

Thank you heaps

On Thu, Jan 28, 2010 at 4:15 PM, Kapil <[email protected]> wrote:

Renderer.CORRECT_Z_ORDER has solved the issue.
Many thanks for your help.

On Jan 28, 3:57 pm, "Joshua Granick" <[email protected]> wrote:
> Away3D has a couple different rendering modes. The more advanced modes
have better sorting, but run slower.
>
> import away3d.core.render.Renderer;
>
> view.renderer = Renderer.BASIC;
> view.renderer = Renderer.CORRECT_Z_ORDER;
> view.renderer = Renderer.INTERSECTING_OBJECTS;
>
> The default is basic, but if the objects are close together it can stack
objects incorrectly
>
 > On Wed, 27 Jan 2010 19:49:33 -0800, Kapil <[email protected]>
wrote:
> > Sorry I am beginner with away3d and flash.
> > Can you please explain what did you mean by different rendering modes?
>
> > Thanks.
>
> > On Jan 28, 2:42 pm, "Joshua Granick" <[email protected]> wrote:
> >> Have you tried different rendering modes?
>
> >> On Wed, 27 Jan 2010 19:36:04 -0800, Kapil <[email protected]>
wrote:
> >> > I am working on a panoramic sphere. I am drawing objects(small
sphere)
> >> > on the sphere where the mouse is clicked (using MouseEvent3D event).
> >> > Now, some of the objects are showing on the sphere right away but
some
> >> > don't show immediately. When I pan the sphere some of the those not
> >> > shown objects appear and some of the shown objects disappear. So,
> >> > objects are not showing all the time.
>
> >> > Any idea?



Reply via email to