Hello Victor;

I hope you'r answer.

frame (sprite property)

Syntax

sprite(whichFlashSprite).frame
the frame of sprite whichFlashSprite
Description

Sprite property; controls which frame of the current Flash movie is
displayed. The default value is 1.

This property can be tested and set.

Example

This frame script checks to see if a Flash movie has finished playing (by
checking to see if the current frame is equal to the total number of frames
in the movie). If the movie has not finished, the playback head continues to
loop in the current frame; when the movie finishes, the playback head
continues to the next frame. (This script assumes that the movie was
designed to stop on its final frame and that it has not been set for looped
playback.)

on exitFrame
        if sprite(5).frame < sprite(5).member.frameCount then
                go to the frame
        end if

end----- Original Message -----
From: "Victor Iwan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 7:44 PM
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!]
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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!]

Reply via email to