I'm trying to create a control that receives a dataProvider (which is 
an ArrayCollection of Objects) and draws these objects as Sprites on 
screen (the object contains x and y property (coordinate) of the 
Sprite).

My question is: when moving the object with mouse, how can it's new 
position automatically be propagated to the dataProvider? 

I want to accomplish that my Sprites behave like DataGrid items: when 
changing it's properties (x and y), i'd like the objects in 
dataProvider to be updated with (x,y) data.

Thanks in advance!

Danko

Reply via email to