Jeremy wrote/ schreef:

> I have a card that is full of buttons. I was wondering if there
> is any script (apart from a repeat script), that could return
> if a certain btn was within any of the other buttons, and if so
> return the name of that button?
> 
> I tried using the repeat script, but this is a very slow thing
> to do, as it needs to be done at least once a second. I tried
> an intersect(cd btn a, any btn). But that appears to just test
> any random button..
I don't exactly get your goal, and maybe I will, when I see your script.

But it appears that you have a moving button, so I think this has only to be
checked when the button moves, so maybe you can do some intelligent things
with that info.

Can you send me your card/ stack offlist?

> Oh, and about my last post, i have not worked with quicktime
> before, so can anyone give me a script that plays midi's through
> quicktime?
What do you mean (I didn't read you last post)? Playing a MIDI file in MC?
That's done by setting the fileName property of a player to the path to the
MIDI file, and then start the player.

When you've made a player object (with the projector icon in the tools
palette):
  answer file "Choose MIDI File:"
  if it is empty then exit to top
  set the fileName of player "MyPlayer" to it
  start player "MyPlayer"

Or something like it. If you want, you can hide the player object (it'll
still work).

> Thanks again for all your help.
Well, let's hope this helps.

Regards,
Sjoerd


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to