flexShape.model = flexModel;
or
objectHandles.registerComponent( flexShape.model, flexShape,handles,true);
-Marc
--
You received this message because you are subscribed to the Google Groups "Flex ObjectHandles" group.
To post to this group, send email to object...@googlegroups.com.
To unsubscribe from this group, send email to objecthandle...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/objecthandles?hl=en.
var p:photo = new photo;
var dataModel:SimpleDataModel = new SimpleDataModel;
dataModel.x = e.@objectx;
dataModel.y = e.@objecty;
dataModel.width = e.@objectwidth;
dataModel.height = e.@objectheight;
dataModel.rotation = e.@objectrotation
p.model = dataModel; (in my photo class i have a model object and a oh (objecthandles) object
p.oh.registerComponent(dataModel, p, hd);
etc
Also i added a custom event to clear the handles that were active when you click on a photo object.
Hope this helps!
Maurice