Image Selection Help Needed
Hi
i am trying to select my inline graphic after it is added to textflow.
using filerefrence once image is loaded and following funcion is to handle this
function imageLoadComplete(e:Event):void {
imgLdr.contentLoaderInfo.removeEventListener(Event.COMPLETE,imageLoadComplete);
var mc:MovieClip = new MovieClip();
mc.addChild(imgLdr.content);
mc.addEventListener(MouseEvent.CLICK,imageClicked);
EditManager(textFlow.interactionManager).insertInlineGraphic(mc,100,100);
textFlow.flowComposer.updateAllContainers();
}
when i click on image event is called. after click i passed this image to resize handler and here is to resize this. but it handles image only if cursor is at side of the image or image is selected in a way that it is highlighted. other wise modifyinlinegraphic is not working for me if i pass my movieclip refrence.
Please help i have spen more than 10 hrs to figure out this problem
Thanks
