So the solution has to be to avoid modal dialogs. You could do that by
creating your own dialog stack and storing it as a substack in your main
stack. You'd fill the text field with the appropriate response and set
the button labels to whatever you want. Then display it as modeless:
modeless
If you need them to play seamlessly from one file to the next, that
would be the biggest trick. I would start out by having your
program get the size (in time) of the file it is going to play first
and have a send command create another player and start it at the
estimated end time.
Yes it
Wow, your long version looks like a pain to implement. I came into this
thread late so forgive me if this has already been suggested, but have you
tried using 'on playStopped' to string your sounds together. Here's a little
code I just wrote a few minutes ago to do this.
global soundCount
global
On 3/21/02 10:20 AM, Shari [EMAIL PROTECTED] wrote:
snip
I really miss being able to do that, but that's a sacrifice to go
cross platform. I don't look forward to taking 1000 images (in a
project I've already begun where the images are/were finished),
porting them to Photoshop, and then
Software
Email: [EMAIL PROTECTED]
Web site: http://www.sonsothunder.com/
- Original Message -
From: Shari [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 20, 2002 9:41 PM
Subject: Re: Temporary picts
So the solution has to be to avoid modal dialogs. You could do
Yates, Glen wrote:
Wow, your long version looks like a pain to implement. I came into this
thread late so forgive me if this has already been suggested, but have you
tried using 'on playStopped' to string your sounds together.
I forgot all about playstopped. I think I like your suggestion
Try this (watch out for line wraps):
Will try it and let you know
--
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard
/
- Original Message -
From: Shari [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 21, 2002 12:03 PM
Subject: Re: Temporary picts
If all you need to do is to convert those 1000 images from some current
format to gif/jpg, you could do it a lot more quickly by batch processing
them
On Thursday, March 21, 2002, at 10:21 AM, Ken Ray wrote:
Shari,
GraphicConverter will work on PICT resources in a stack, so you don't
need
to worry about that aspect of the batch conversion. Setting the
transparency, however, is another matter...
The transparency can be handled as well
Cool! I'll update my copy right away... :-)
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web site: http://www.sonsothunder.com/
- Original Message -
From: Mark Talluto [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 21, 2002 12:42 PM
Subject: Re: Temporary
Wow, thanks! It's been a while since i've been called a dreamboat. :-)
As to your question, yes if a playstopped handler is in the current
execution chain, then it will get called anytime a sound (or for that matter
a video) stops playing. And, yes setting a global when you played a sound
that
If so, you could try using send in commands to trigger the handler
repeatedly. The handler could check to see if the sound was done and
if so, start the next one.
After an hour of playing with various forms of the send command, I
gave up and went back to the long, klutzy version.
Unfortunately
I'm not sure why you couldn't do it the HyperCard way, as long as your
sounds are in MC-compatible formats (which it sounds like they are --
.wav is fine.) I've had good luck with the ordinary play command (no
player object, just regular old play snd.wav), using sounds that were
imported into the
Shari wrote:
If so, you could try using send in commands to trigger the handler
repeatedly. The handler could check to see if the sound was done and
if so, start the next one.
After an hour of playing with various forms of the send command, I
gave up and went back to the long, klutzy
So the solution has to be to avoid modal dialogs. You could do that by
creating your own dialog stack and storing it as a substack in your main
stack. You'd fill the text field with the appropriate response and set
the button labels to whatever you want. Then display it as modeless:
modeless
Shari wrote:
Though I'm wondering how other projects will fare. Remembering a
piece of code in Pork Barrel, where I have several soundchannels
playing at the same time, each in a repeat loop, while a whole series
of visuals and images do things on the screen, while at the same time
other
Of course, another option is just to combine all the sounds using a
sound editing program and save the result as a single sound file. Then
you have the illusion of multiple sounds but you only have to play one.
I use the same sounds in several pieces of code, but not in the same
order/format.
On Wednesday, March 20, 2002, at 10:29 AM, Shari wrote:
Of course, another option is just to combine all the sounds using a
sound editing program and save the result as a single sound file. Then
you have the illusion of multiple sounds but you only have to play one.
I use the same sounds
This is what I would do. Set up all of your sounds and music in one
file. Put a one second delay in between all the sounds. Then you
write down the order in which all the sounds are laid out. Know the
timing of each sound and you can have QT play from 10 seconds into
the file up to 15
On Wednesday, March 20, 2002, at 06:33 PM, Shari wrote:
This is what I would do. Set up all of your sounds and music in one
file. Put a one second delay in between all the sounds. Then you
write down the order in which all the sounds are laid out. Know the
timing of each sound and
if you are importing custom icons from HC,
they will wind up in their own Stack BackGround.
Go to Edit BackGrounds and click on HC Icons in
the Stack Backgrounds window right below the Card
Groups window.
No, haven't imported anything. But I will be updating several
programs soon that were
--- Shari [EMAIL PROTECTED] wrote:
...which ones I can port to MC without losing
any
of the goodies, and without
spending a lot of time with the transition.
MC cannot easily handle some of
the things HC does with graphics and sounds...
i thought (hoped) MC was a super script of HC
that
...which ones I can port to MC without losing
any
of the goodies, and without
spending a lot of time with the transition.
MC cannot easily handle some of
the things HC does with graphics and sounds...
i thought (hoped) MC was a super script of HC
that did everything faster better in
Shari wrote:
The goal was to play a succession of sounds, while a simple
information dialog box opened. This was actually called by a menu
choice, so it needed to run on every card. I tried putting a player
on just one card and calling to it, but it didn't play unless that
card was open.
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 19, 2002 7:10 AM
Subject: Re: Temporary picts
if you are importing custom icons from HC,
they will wind up in their own Stack BackGround.
Go to Edit BackGrounds and click on HC Icons in
the Stack Backgrounds window right below
if you are importing custom icons from HC,
they will wind up in their own Stack BackGround.
Go to Edit BackGrounds and click on HC Icons in
the Stack Backgrounds window right below the Card
Groups window.
--- Scott Rossi [EMAIL PROTECTED] wrote:
On Monday, March 18, 2002, at 04:43 AM,
26 matches
Mail list logo