Gabriel,
Its a very easy thing to do using 2d sprites
just make a movieclip instance, _mc, and pass it to the
MovieClipSprite Class like this
//if you need some mouse interaction...
_mc.addEventListener(MouseEvent.MOUSE_DOWN, dosomething);
// declare the instance
var mymarker: MovieClipSprite = new MovieClipSprite(_mc, {scaling:2,
rescale:true, align:"center"});
// show
view.scene.addChild(mymarker);
notice the new "align" property... if you want no align for custom
purposes, just {align:"none"}
For the BBC project I'm using a bit more complex pointers, dynamically
generated.
but it come basically to this:
make a ObjectContainer3D, add your 3D and 2D. Drive the container.
Fabrice
On Apr 3, 2009, at 2:10 PM, gabe wrote:
i need to display a placemark (an icon and a text directly on top of
it) over a location in 3d space. i figured out i could use a textbox
for the text, which is wrapped into a sprite; however, the text should
be right on top of the icon, and the origin of the whole thing should
be at the bottom. i am not a flash guru, i merely work with
papervision using FlashDevelop. The question is whether the placemarks
provided in aforementioned demo were made programmatically (and how)
or were they somehow clicked together in a flash (flex?) ide.
cheers,
gabriel