try :

property flashSprite

on beginSprite me
        flashSprite = <put number of your flash sprite here>
        flashSpriteTotalFrames = sprite(flashSprite).member.framecount
end

on exitframe me
        if (sprite(flashSprite).frame = flashSpriteTotalFrames) then
                go the frame + 1
        else
                go the frame -- assuming that you want to wait for it...?
        end if
end


HTH 

Leon

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Victor Iwan
> Sent: 16 July 2001 17:45
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> Detecting Flash
> 
> 
> Hello !
> 
> I wonder if there any basic detection in lingo when flash movie is
> playing the last frame.
> 
> I'm playing flash movie (animation only) in frame 1 with frame behavior
> 'go to the frame'...and now I want to detect that if the flash movie is
> finish go to the frame + 1, any idea ?
> 
> How about controling flash's frame and scenes in Lingo ? Any web
> resources or book suggestion ?
> 
> Victor
> 
> 
> [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!]
> 

[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!]

Reply via email to