Ah - see, I don't want a mouse event in this sprite -- i just want it
automatically passed to a lower channel sprite that has a mouse event
(like it would if i attached a similar sprite by dragging on the stage
or score).
If, in authoring, you have in sprite 1 a box w/ a mouse Enter handle
that says put "hey, where'd the fax machine go" then in sprite 2 place a
circle that completely covers sprite 1 w/ just the handler exit frame
that says put "it's in the field getting stomped on to really fine
music" when you hit play, in the message window you'd see the exitFrame
message in sprite 2 a whole bunch of times, and as you roll over the
combo, you'd see sprite 1's message (if in fact you roll over sprite 1's
rectangle). That's exactly the functionality i want via
scriptInstanceList, and it doesn't seem to be avail.
Thanks though,
Evan
brian wrote:
>>aScript = script("aTest").new(x)
>>sprite(x).scriptInstanceList.add(aScript)
>>
>>
>>then aTest has only
>>
>>on new me, aNumber
>> put aNumber
>> return me
>>end
>>
>>on exitFrame
>> put "i have exitFrame Func"
>>end
>>
>>now when I do this, i get no passing of mouse events. It's like setting
>>the scriptInstance list fills in the mouseEnter methods if they aren't
>>there....Any ideas?
>>
>>
>
>
> No where in this code do you make reference to a mouse event. try having a
> mouse event and then see if you lose mouse functionality.
>
> that would be my first suggestion.
>
>
> Brian Douglas (:ub)
> ============================================================================
>
>
>
> [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!]
>
>
--
...............................................................................................................
m u t a n t
m e d i a > solutions for success
Evan Adelman | 917.916.7378 | 598 Broadway NY NY 10012
[EMAIL PROTECTED] | www.mutantmedia.com
[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!]