RE: Temporary picts

2002-03-21 Thread Yates, Glen
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 yo

Re: Temporary picts

2002-03-21 Thread Ken Ray
, 2002 12:42 PM Subject: Re: Temporary picts > > 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 conversio

Re: Temporary picts

2002-03-21 Thread Mark Talluto
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

RE: Temporary picts

2002-03-21 Thread Shari
It worked! It worked! It worked! It worked! YOU ARE A DREAMBOAT! (big huge happy grin) Question: As playstopped will get called when other sounds are played in other handlers, won't it be calling PlayMySounds other times, too? Presumably the number in soundCount would prevent anything fro

Re: Temporary picts

2002-03-21 Thread Ken Ray
r.com/ - 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

Re: Repeating sounds [was Re: Temporary picts]

2002-03-21 Thread Shari
>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

Re: Temporary picts

2002-03-21 Thread Shari
>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 in GraphicConverter. Just a thought... They are currently pict resources in a Hypercard stack. They aren't anywhere as separate files on dis

RE: Temporary picts

2002-03-21 Thread Shari
Glen, The trouble I encountered was that the sounds are in conjunction with either an "answer" dialog or a stack that opens instead of the "answer" dialog to impart information while the sounds are playing. Both "answer someInfo" and opening a stack messed up the works, preventing the sounds

Re: Temporary picts

2002-03-21 Thread Mark Talluto
On Thursday, March 21, 2002, at 07:20 AM, Shari 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,

Re: Temporary picts

2002-03-21 Thread J. Landman Gay
"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 sugg

Re: Temporary picts

2002-03-21 Thread Ken Ray
ot; line with the variable - it may need to be quoted, or executed with a "do", but it should work and reduce the number of lines of code to 22... Just a thought... Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web site: http://www.sonsothunder.com/ - Original Message ---

Repeating sounds [was Re: Temporary picts]

2002-03-21 Thread J. Landman Gay
Shari wrote: > > >>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 displa

Re: Temporary picts

2002-03-21 Thread David Tremmel
On 3/21/02 10:20 AM, "Shari" <[EMAIL PROTECTED]> wrote: > 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 the

RE: Temporary picts

2002-03-21 Thread Yates, Glen
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

Re: Temporary picts

2002-03-21 Thread Shari
>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. > >

Re: Temporary picts

2002-03-21 Thread Shari
>>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: >> >>

Re: Temporary picts

2002-03-20 Thread Mark Talluto
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

Re: Temporary picts

2002-03-20 Thread Shari
>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

Re: Temporary picts

2002-03-20 Thread Mark Talluto
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 s

Re: Temporary picts

2002-03-20 Thread J. Landman Gay
Shari wrote: > I got so excited when this discovery opened up to me, my fella didn't > know what to do with me, I was up here hooting and hollering and all > revved up. He had to come see what the fuss was about :-) Heh. That's kind of what happened to me last night when I finally got my mt sc

Re: Temporary picts

2002-03-20 Thread Shari
>good idea. MC marketing can handle the idea that >you have to do some extra coding, but if sound & >graphics are lacking some people will go for >something like Director or Max first. > >i am hoping for a one stop authoring tool. Erik, Me too, and I did choose Metacard for it. I am very frustr

Re: Temporary picts

2002-03-20 Thread Shari
>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.

Re: Temporary picts

2002-03-20 Thread J. Landman Gay
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 > oth

Re: Temporary picts

2002-03-20 Thread Shari
>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: > > mode

Re: Temporary picts

2002-03-20 Thread J. Landman Gay
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 l

Re: Temporary picts

2002-03-20 Thread Shari
>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

Re: Temporary picts

2002-03-20 Thread Shari
>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. Unfor

Re: Temporary picts

2002-03-19 Thread Ken Ray
Shari" <[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

Re: Temporary picts

2002-03-19 Thread J. Landman Gay
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 op

Re: Temporary picts

2002-03-19 Thread Shari
> > ...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 fas

Re: Temporary picts

2002-03-19 Thread erik hansen
--- 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

Re: Temporary picts

2002-03-19 Thread Shari
>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

Re: Temporary picts

2002-03-18 Thread erik hansen
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 A

Re: Temporary picts

2002-03-18 Thread Scott Rossi
On Monday, March 18, 2002, at 04:43 AM, Shari wrote: > If I wanted to show a temporary graphic in Hypercard, I'd use addColor > colorPict. > > I could use this to create 50 duplicate images of a graphic, moving > across the screen randomly, leaving a trail of graphics behind. Without > needi