Hi!

If you are targetting the main projector window, then you will need to
specify the target beforee making the call.

on MouseUp me
    tell the stage
        OpenObject
    end tell
end

Regards,
Anand Ravi

----- Original Message -----
From: "Matt Wells" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2003 9:07 PM
Subject: <lingo-l> Accessing a Fuction from a MIAW


> I am having a problem accessing a function from a MIAW.
>
> This is what I'm calling from the MIAW:
>
> on mouseUp me
>   OpenObject
> end
>
> This is the function in the main projector:
>
> on OpenObject me
>   Alert "Working"
> end
>
>
> It works when calling from the main projector movie but when I try to
> call to it from the MIAW I receive ("Handler not defined" #OpenObject)
>
> Shouldn't it find the function across MIAWs?
>
> [To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
for learning and helping with programming Lingo.  Thanks!]
>
>



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to