lingo-l Passing {} to a swf sprite

2006-02-17 Thread Mendelsohn, Michael
Hi list... The following line of lingo works, but the params object gets ignored: sprite(2)._root.attachMovie(clip, clip, 50, {_x:40, _y:85}) The clip MC shows up at point(0,0). Could this be some wacky syntax issue I'm missing? Thanks, - Michael M. [To remove yourself from this list, or

Re: lingo-l Passing {} to a swf sprite

2006-02-17 Thread Valentin Schmidt
hi michael, try (untested code!): obj = sprite(2).newObject(Object) obj._x = 40 obj._y = 85 sprite(2)._root.attachMovie(clip, clip, 50, obj) cheers, valentin Mendelsohn, Michael wrote: Hi list... The following line of lingo works, but the params object gets ignored:

Re: lingo-l Passing {} to a swf sprite

2006-02-17 Thread Fumio Nonaka
Also, you could do the following: _mc = sprite(2)._root.attachMovie(clip, clip, 50) _mc._x = 40 _mc._y = 85 _ Valentin Schmidt wrote: try (untested code!): obj = sprite(2).newObject(Object) obj._x = 40 obj._y = 85 sprite(2)._root.attachMovie(clip, clip, 50, obj) Good luck, Fumio Nonaka