Howdy all -
Having a bit of a problem w/ setting a sprite's scriptInstanceList. I 
want the new sprite to have a bit of exitFrame functionality, but no 
mouse functionality so that sprites under it act under their own 
control. Typically I've done this just by not including mouse behaviors. 
So, anyway, I guess it would be quicker to show w/ code:


behavior creating the new sprite where x is the next empty channel

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?


Evan


stacey wrote:

> hahhah- thanks Warren!!
> I am currently trying to use buddy api- but for whatever reason, i can't get
> it to recognize that combo - or even control or alt keys- I am using
> controlDown...putting the focus on the stage...
> 
> any suggestions? This should be stupidly easy- but now its stupidly
> stumping.
> 
> thanks again!
> s
> 
> 
>>On Tuesday, August 20, 2002, at 12:11 PM, stacey wrote:
>>
>>
>>>is it possible to disable the good - ole crtl alt delete command? any
>>>suggestions on how to do it?
>>>
>>I seem to recall there are Xtras that can -- Buddy API might be one, in
>>fact -- you can hit the list at http://www.updatestage.com/products and
>>see if anything looks promising.
>>
>>
>>>Not sure why someone would want to do this- but
>>>all the same...
>>>
>>The Vulcan nerve pinch isn't just for bailing frozen apps. It can also
>>be used to bypass splash type lockouts, which is not always desirable.
>>Think of a kiosk with an unprotected desktop that has just had its
>>program force quit by a thirteen year old with anger issues.
>>
>>
>>Warren Ockrassa | http://www.nightwares.com/
>>Director help | Free files | Sample chapters | Freelance | Consulting
>>Author | Director 8.5 Shockwave Studio: A Beginner's Guide
>>Published by Osborne/McGraw-Hill
>>http://shop.osborne.com/cgi-bin/osborne/0072195622.html
>>
>>[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!]
> 
> 


-- 

...............................................................................................................

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!]

Reply via email to