This content has been marked as final. Show 6 replies
what does drawing a line (presumably using the actionscript drawing api) have to do with a hitTest?
yeah using drawing api function and HitTest
1) what i have did is
// statement it call the function to drawn using api
use an onDragOver handler, in addition to your hitTest to initiate your function that uses the drawing api.
it's working fine but first if we click the "my_btn" and move the mouse it working fine
But Actaully if i click outside the movieclip "my_btn" and drag inside the mouse to the movieclip it's not working fine
then use a mouseDown handler to initiate a loop that checks for a positive hitTest with your movieclip. terminate the loop on mouseup. make sure you don't call your drawing function twice when your movieclip is clicked.
I am facing a new Problem in my code i.e on dragout function is working fine if place the code and movie clip inh seprate fla file but in my code it consist of soo many movieclip
_root.panels_mc.frontView.frontView_ForeLegs_R.onDragOut = function()
it produce the Trace function when i hitted the movieclip..... and i'm using the hittest function as seprate Function
i do't where i did my blundered mistake
can u tell me where i did my blundered mistake .it cracking my mind....