yes but then i have the name and i cannot move the name right?

the variable activeObject is type Object3D and if i go with
activeObject = myObject.name it is an error cause of changing the
type.
maybe activeObject has to be an other type?! But i want to move it
must be Object3D? I dont know :(

On 22 Jul., 09:40, Darcey Lloyd <[email protected]> wrote:
> Already showed you how to get the object in my first post with the name.
>
> On 22 Jul 2010 06:27, "le_unam" <[email protected]> wrote:
>
> hey thank you for your reply, but the keyboardevents are no
> problem ... i got them ... my problem is how get my object by clicking
> on it to move.
>
> so i`ve got a variable activeObject and by clicking on any object i
> want to set activeObject = "anyObject" and  want to be able to move it
> by keyboard. the mouseevent3d only gives me the position of the
> clicked object. but i need the object himself :-/
>
> On 21 Jul., 21:09, Darcey Lloyd <[email protected]> wrote:> More of a 
> question for basic AS3,...
> > AS3 Language ref for keycode can be found here:
>
> http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/e...
>
>
>
> > <http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/e...>
> > D
>
> > On 21 July 2010 14:21, le_unam <[email protected]> wrote:
>
> > > well i was a little fast ^^
>
> >...

Reply via email to