Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

wtf actionscript

Name: Anonymous 2008-05-26 20:18

hey guys, I'm coding something up in flash. The following is part of a method I wrote in a class to create an empty clip on the timeline and attaches some clips to it.
_parent.createEmptyMovieClip("clip" + ident,_parent.getNextHighestDepth());
_parent["clip"+ident]._x=100;
_parent["clip"+ident]._y=100;
_parent["clip"+ident].attachMovie("LinkageID0", "thing0",_parent["clip"+ident].getNextHighestDepth(), {_x:0,_y:0});
_parent["arrow"+ident].attachMovie(LinkageID1", "thing1",_parent["clip"+ident].getNextHighestDepth(), {_x:40,_y:0});
The two clips appear on the screen in the corner, properly spaced from each other. I can trace and get their coord within the "clip"+ident MovieClip, however when I trace the coords for "clip"+ident I get undefined. wtf?

Name: Anonymous 2008-05-26 20:35

Hmm... I think it would be best to start reading SICP.  It helps alot with this sort of problem.

Name: guriin 2008-05-26 22:20

flash developer != programmer

Name: Anonymous 2008-05-27 6:34

>>3
Go back to /dev/null

Name: Anonymous 2011-02-04 13:00

Don't change these.
Name: Email:
Entire Thread Thread List