  | | | precise control over function execution | precise control over function execution 2004-02-20 - By Adams, Matt
Back 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. 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?</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=535491015-20022004></SPAN></FONT> </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>
|
|
 |