RE: [flexcoders] Realtime Panel position sync?

2006-11-07 Thread Evan Gifford
Behalf Of Michael Schmalle Sent: Monday, November 06, 2006 4:51 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Realtime Panel position sync?   Hi Even, I think what is happening is you are seeing the startDrag() method interacting with the player's x and y properties o

Re: [flexcoders] Realtime Panel position sync?

2006-11-06 Thread Michael Schmalle
Hi Even,I think what is happening is you are seeing the startDrag() method interacting with the player's x and y properties of the DisplayObject.Whereas the UIComponent is bound by xChanged event, the player does not dispatch an event. The only reason you are even getting the panel to move with

[flexcoders] Realtime Panel position sync?

2006-11-06 Thread Evan Gifford
Hey guys,   I’d like to sync the positions of two …. Panels, let’s say, while one of the two is being actively dragged.     Here is the ghetto way of doing it (or is it?)   Private syncInterval:Object = setInterval(syncWindowPosition,20);   Private function syncWindowPosition():v