It's ok folks. Since it was URGENT to me, i tried a lot, to fix that error & finally got succeeded.
About 1 of the answer i've got for this question, it's not the problem with very small scaling of MovieClip, because i just replaced that statement by a trace( ); statement, so that i must get noticed about events' dispatch. Even then it wasn't working.
As i've fixed that bug, i came to know one thing. After we load MovieClip ( any DisplayObject too) using Loader class, if we just assign the loaded content to another existing instance, we can just display them, but there's no way to make them dispacth MouseEvent or even KeyboardEvent..
To do so, i just made the loaded content as child for myMov instance. Then everything worked as i expected.
I mean, i replaced the following code
function loadswf(e:Event):void {
myMov=e.target.content; myMov.scaleX*=125/myMov.width;
myMov.scaleY*=125/myMov.height;
myMov.x=0;
myMov.y=0;
addChild(myMov);
myMov.addEventListener(MouseEvent.CLICK,clickListener);
}
by,
function loadswf(e:Event):void {
myMov.addChild(e.target.content);
myMov.scaleX*=125/myMov.width;
myMov.scaleY*=125/myMov.height;
myMov.x=0;
myMov.y=0;
addChild(myMov);
myMov.addEventListener(MouseEvent.CLICK,clickListener);
}
That's it.
Anyways THANKS a Lot for your responces & i hope this result would help someone else too.
For any disscussions about ActionScript 3.0, please visit my new blog http://se7encodes.blogspot.com/