Summary

 < Day Day Up > 

When you understand it, programming in Flash is pretty easy. The hard part is organizing the job at hand that is, deciding what you have to do and when you have to do it. When you know what you need to do, it's almost routine to execute it. When you have a good handle on targeting, variables, and properties, you'll be unstoppable.

As a warm-up in this hour, we explored draggable clips extensively. You actually made the start of a pretty sophisticated interaction.

This hour also covered two significant programming concepts: variables and properties. Variables store data while a movie plays. You can change variables, watch them change (in dynamic text blocks), let the user change them (via input text blocks), and ascertain their values any time by simply referring to them in a script. You have learned how to set and get properties of clip instances. Setting built-in properties such as _x, _y, and _alpha will have immediate and visual effects on clip instances. You have learned the object property syntax for referring to or changing properties of specific clips.

     < Day Day Up > 


    Sams Teach Yourself Macromedia Flash 8 in 24 Hours
    Sams Teach Yourself Macromedia Flash 8 in 24 Hours
    ISBN: 0672327546
    EAN: 2147483647
    Year: 2006
    Pages: 235

    Similar book on Amazon

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net