Flasher Archive

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


Subject: RE: FLASH: FLASH please help
From: Grant Davies
Date: Tue, 24 Oct 2000 02:55:55 +0100

I recently wrote a generic timer movie for this but basically you can do the
following


Create your movie and in frame one create the following actionscript

stop();

// initialize variables
startTime = getTimer();
waitTime = 10000; // 10000 milliseconds = 10 seconds

Now create another frame label it "checkTime" and put the following
actionscript in that frame

timeNow = getTimer();

if (timeNow >= startTime + (waitTime)
{
// we hit the timeout!
gotoAndPlay("frameThatLoadsTheURL");
}


Now for performance reasons, (we want the movie to breathe a bit so we don't
kill the CPU by playing one frame that executes an if statement [note: if
you don't understand why I do this ask]) create another frame later in the
movie (maybe one frame ahead or two) that has the action

gotoAndPlay("checkTime");

and finally put your code to load your URL in a frame labelled

gotoAndPlay("frameThatLoadsTheURL");


Let me know if you have problems

Grant Davies
b l u e t u b e p r o d u c t i o n s
http://www.bluetube.com

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of
Intensepixataol [dot] com
Sent: Monday, October 23, 2000 8:45 PM
To: flasheratchinwag [dot] com
Subject: Re: FLASH: FLASH please help


Hi Guys
How would you set a movie to stop for let's say 10 seconds and then go to
another url(10 seconds giving the audience the time to read the type)
Please be explicit in your suggestions
Thanks All

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Re: how to set getTimer ?????, tomasz

Replies
  Re: FLASH: FLASH please help, Intensepix

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