">'); win.document.writeln(''); win.document.writeln(''); }
 

The Indefinite Article.

Thursday, July 28, 2005

Learning Flash - Part 2









Today I coded my first if...else statment. I'll admit i had to look at the structure of it again, but i created my own 'var' (another first) and put it to work. i am pretty happy. if you follow the address to the source folder on chairjockey, you can get the flash file and see the code. most of it (with the exception of the initial menu alpha setting to zero) is on the menu button.

One thing i notice is that the 'bounce-in' effect doesn't appear on the first click of the button - only on the second and after...

UPDATE:Can anyone figure out how to embed this flash into my post? is it possible?

1 Comments:

  • Embedding: I typically make flash export a web page with the swf, upload the swf to somewhere, change the swf references in the html to wherever the swf is hosted and plug the html in whatever page needs it.

    Along with if conditional logic, keep in mind switch. If you start stringing together a bunch of elseif statements, then it may be time to use switch.

    By Blogger Adolph, at 4:43 PM  

Post a Comment

<< Home