Loading onclip events in a loaded movie

Ok here it is. I’m very new to flash, and need your guys help. I have a timeline, with an instance iDropZone. I am loading an SWF into that instance. The .swf that i’m loading has an OnClip (MouseUp) event in its Action script. Which i use to open a new browser window when the clip is clicked. When I run the swf by itself it works fine, but when I load it into my main movie, the blank window opens even if I click outside of the iDropZone. I understand that it has to do with the path to target. But Flash gives me an error when i do _root.iDropZone.OnClipEvent…
Any ideas on how to work this out?

Thanks
Boris

well … the [color=red]mouseDown[/color] and [color=red]mouseUp[/color] events checks whenever the mouse is up or down in the whole movie … no matter where the action is if your press or release the mouse the action is executed

use [color=red]press[/color] and [color=red]release[/color] handlers instead

also note that if you’re using those handlers from the timeline it’s a little different. example

if you place the actions in some movie clip or button you use
[color=red]on (release) {
}[/color]

if you place the actions in the timeline you use
[color=red]instanceName.onRelease = function {
}[/color]

which also explains why you got the error …

hope it helps :slight_smile: