but looked at your code, you might think of double checking after initializing,
if (cd) then...
if (Ready(cd)) then ...
else
status(cd)
Also you could see if it plays by directly targeting the track, using SetPosition(cd, 12, 0, 42, 0)
this because of difference beetween cd's formatering; files...
all you need is there: http://www.penworks.com/xtras/cdpro/docs.cgi
Fabrice On Saturday, March 8, 2003, at 11:10 PM, Fletcher Moore wrote:
Well, I did something slightly more drastic: I made a new movie with
absolutely nothing but the CD handlers. The problem still occurs, but
somewhat erratically. Sometimes it appears, sometimes not. It seems to be
particularly an issue when I let the track play for a few seconds.
Here's the movie:
http://www.saltydogdesign.com/cd/testCD.html
And if anyone wants to verify my code, here's the source:
http://www.saltydogdesign.com/cd/testCD.dir
I have a suspicion that my hardware is at fault, but not sure. If anyone
wants to pop a CD in their machine and give it a shot, I'd love the feedback
(of course, you need the CDPro xtra installed on yer machine).
f
From: Fabrice Closier <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Sat, 8 Mar 2003 21:07:24 +0100 To: [EMAIL PROTECTED] Subject: Re: <lingo-l> another CDPro question
i would first play with those to see what happens, just to test the handler, but without using the flash sprite global cd set isNotplaying =Stopped(cd) //return true when CD is stopped set isPlaying =Playing(cd) //return true when CD is playing
if(isPlaying) then stop(cd)....etc if everything's going wel, i would then look at the sprite flash handler...
Fabrice
On Saturday, March 8, 2003, at 08:23 PM, Fletcher Moore wrote:
Ok, I'm using CDPro in a Shockwave movie. On my production machine (Mac, OS9.2.2), whenever I play a CD, the whole system becomes very unresponsive (I don't know if it happens on other machines yet). I have a stop button, for example, which, when pressed, takes almost 10 seconds to respond.
I know it doesn't have to be this way, because my client has Shockwave
movies that use CDPro and work fine. Unfortunately they don't have the
source files.
This will be packaged as a projector for those users that want it that
way,
but the projector will have to be installed -- this is not an enhanced
CD
issue, and doesn't involve the CD head trying to read two places at
once.
The function calls are simple: the stop button, for example, sets a Flash sprite to a particular frame, then calls Stop(cd). Nothing fancy. The Flash sprite has a short function, but again, nothing fancy. It works fine without the CD function.
Any thoughts? If I can't get it to work properly, I'm in hot water -- the project requires fairly close synchronization with the CD.
Thanks, Fletch
[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!]
[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!]
