Jonathan,
I don't know if this will help, but I use an 'on cuePassed' handler
for detecting cue points:
on exitFrame
go the frame
end
on cuePassed me, channelID, cuePointNumber, cuePointName
if cuePointName = "myCuePointName" then
--whatever you want to do
end if
end
Of course, you can test on the other parameters as well.
Tom
At 5:29 AM -0800 1/24/01, Jonathan wrote:
>Is there another way of detecting a cue point as the one I am using will not
>let me exit the origional action triggered by the method I am using now?
>
>
>if voidP(pNewCount) then
> pNewCount=5
> whichDir="+"
> end if
>end enterFrame
>
>
>on exitFrame
>
> if (isPastCuePoint(sound 1,"click01"))then
> case whichDir of
> "+":
> pNewCount=pNewCount+5
> if pNewCount=100 then
> whichDir="-"
> end if
> "-":
> pNewCount=pNewCount-5
> if pNewCount=1 then
> whichDir="+"
> end if
> end case
> put pNewCount into member"meterloc"
> sprite(2).blend=pNewCount
> end if
> go to the frame
>end exitFrame
--
Tom Jacobs
InterVision
www.intervisionmedia.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]