Re: flex / as3 question

2009-07-29 Thread Michael Grant
Any luck weegs? On Tue, Jul 28, 2009 at 1:10 PM, Ras Tafari wrote: > > ill try tonight... thanks amigo! > > tw > > On Tue, Jul 28, 2009 at 11:13 AM, Michael Grant wrote: > > > > As an aside, I don't know exactly what your intention is but once the > first > > line is drawn the code only updates

Re: flex / as3 question

2009-07-28 Thread Ras Tafari
ill try tonight... thanks amigo! tw On Tue, Jul 28, 2009 at 11:13 AM, Michael Grant wrote: > > As an aside, I don't know exactly what your intention is but once the first > line is drawn the code only updates the second position. So each subsequent > time you click it draws a line from the origi

Re: flex / as3 question

2009-07-28 Thread Michael Grant
Weegs try this: *Weegs.mxml* http://www.adobe.com/2006/mxml"; layout="absolute" xmlns:animation="*"> *MyCanvas.as* // ActionScript file package { import flash.display.Shape; import flash.display.Sprite; import flash.events.MouseEvent; import mx.containers.Canvas; import mx.core.UICo

Re: flex / as3 question

2009-07-28 Thread Michael Grant
As an aside, I don't know exactly what your intention is but once the first line is drawn the code only updates the second position. So each subsequent time you click it draws a line from the original firstClick location to the new secondClick location. If you are looking to have it update so that

Re: flex / as3 question

2009-07-27 Thread Michael Grant
At first glance I would ask why you are passing the mouse event at all since you aren't using it in clickTracker. On Mon, Jul 27, 2009 at 10:04 PM, Tony wrote: > > > > > > i basically want to grab the first and second click and draw a line > from the first click

flex / as3 question

2009-07-27 Thread Tony
i basically want to grab the first and second click and draw a line from the first click to the second click. and im a total newb with this shit... anyone know what im doing wrong? this is the error im getting: 1067: Implicit coercion of a value of type Class