Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
precise control over function execution

precise control over function execution

2004-02-20       - By Adams, Matt

 Back
Reply:     1     2     3     4     5     6  

I've noticed how a lot of nice Flash based sites build their page one piece
at a time or one group at a time.  For example, the main menu fades in
first.  After the main menu fades in, picture one fades in and floats to a
defined spot on the stage.  After it finishes floating, another thing will
happen and so on...  How do you control that in a scripted environment?  It
makes sense how to do it with a timeline, but I didn't know if there was a
conventional way of sequencing your Floats/Fades/etc...  I thought that
maybe defining a variable that changes at the completion of the function and
using a watch for that variable change to call the next function with an
incrementer.  This sounds kind of ugly to me, so I was hoping there was a
better way of doing this.  Anyone have any ideas?

Thanks!

- Matt


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
-- ---- ----
***National City made the following annotations
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
-- ---- ----

This communication is a confidential and proprietary business communication.
It is intended solely for the use of the designated recipient(s).  If this
communication is received in error, please contact the sender and delete this
communication.
===============================================================================
============
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">


<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=535491015-20022004>I've noticed how a
lot of nice Flash based sites build their page one piece at a time or one
group
at a time.&nbsp; For example, the main menu fades in first.&nbsp; After the
main
menu fades in, picture one fades in and floats to a defined spot on the
stage.&nbsp; After it finishes floating, another thing will happen and so
on...&nbsp; How do you control that in a scripted environment?&nbsp; It makes
sense how to do it with a timeline, but I didn't know if there was a
conventional way of sequencing your Floats/Fades/etc...&nbsp; I thought that
maybe defining a variable that changes at the completion of the function and
using a watch for that variable change to call the next function with an
incrementer.&nbsp; This sounds kind of ugly to me, so I was hoping there was a
better way of doing this.&nbsp; Anyone have any ideas?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=535491015-20022004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN
class=535491015-20022004>Thanks!</SPAN></FONT></DIV>
<P><FONT face="Courier New"><FONT size=2><SPAN class=535491015-20022004>-
</SPAN>Matt</FONT></FONT></P></BODY></HTML>

<P>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
-- ---- ---- --<br>
***National City made the following annotations<br>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
-- ---- ----<br>
<br>
This communication is a confidential and proprietary business communication.
It is intended solely for the use of the designated recipient(s).  If this
communication is received in error, please contact the sender and delete this
communication.<br>
===============================================================================
============</P>