Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Count frames
From: Flash list
Date: Fri, 26 May 2000 18:33:00 +0100


Hi,
I have an action script that
allows it to count the total number of frames in a movie which then tell
targets a
certain action when the movie stops playing.I did not create this a friend
came in to help so I'm still not sure how it works.

The code looks as fallows
If
(getProperty("episode1mask",_currentFrame)=getProperty("episode1mask",_totalFrames))
Stop
Begin Tell Target ("/shademask")
Go to and Play ("fadeback")
End Tell Target
Else
Set Variable: "submovieFrame" =
getProperty("episode1mask",_currentFrame)
Go to and Play ("loopframe")
End If

I understand the basics of what is going on but I keep having trouble making
this
script work consistantly. Sometimes it works at other times it dose not,
usually it
dose not work. If any one knows exactly whats going on in the script that
would really help. What does the set variable part
actually do ? Also is there a place that this script should go that will
make it work
consistently. If I move those frames that the script is on from left to
right it really
messes things up. Do you know any resources that I could look into to maybe
figure
out another way to do frame counting that would make this work more
consistently?
Is this possible to do with the call function?

thanks again I someone can help me some time for this,
cheers,
Nathalie


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
World Animation Celebration - Big Internet Animation Pow Wow Discount Offer

Register before May 25 mention flasher and save 25%!! www.wacfest.com

Be discovered, get a job or have your web series picked up. A big talent search for Shockwave
and Flash animators is happening May 30-June 4 in Hollywood. Featuring Rob Burgess, Matt
Groening, Brad Bird and more. www.wacfest.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]