Your SlideShare is downloading. ×
Build Applications Faster with SWCs
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Build Applications Faster with SWCs

1,266
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,266
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Build Applications Faster with SWCs Chris Black
  • 2. Overview
    • Asset overview
    • 3. Beyond the button
    • 4. Examples
    • Summary
  • 7. What's an Asset?
    • An image, animation or graphical element used in creating an application.
    • 8. Examples:
      • JPEG, PNG, GIF
      • 9. Vector art
      • 10. SWF animation or interactive components
  • 11. How are they used?
    • Designs are created in Photoshop, Illustrator and Fireworks
    • 12. Flash IDE and Flash Catalyst (coming soon) for asset production
    • 13. Flash Builder 4 (Flex Builder 3), and Flash Develop for coding
  • 14. Why are they Important?
    • Flash CS4 + Code = BAD
    • 15. Flash Builder
      • Flex Framework great for existing components (buttons, grids, drop downs...)
      • 16. Time consuming for new components
      • 17. ActionScript only projects + Flash IDE = AWESOME
      • 18. Use the right tool for the job
  • 19. Types of Assets
    • Loaded Assets
      • Small initial footprint
      • 20. Many loading stages
      • 21. Larger apps and dynamic content
    • Embedded Assets
      • Larger footprint
      • 22. Single loading stage
      • 23. Smaller apps and core content
  • 24. Beyond the Button http://www.ammap.com http://www.greensock.com/
  • 25. Images in SWCs
    • Compress transparent PNGs
    • 26. Simplify code
    • 27. Quickly change global compression
    • 28. Harder to version control
  • 29. Slide Show
    • Imagine a slide show with cross fading images, XML configuration and a loading indicator.
    • 30. How many lines of code would this take?*
  • 31. Slide Show Pro
  • 32. Slide Show Pro Live Demo
  • 33. Component Advantages
    • Use components built for Flash
    • 34. Quick and easy
    • 35. Code completion
    Slide Show Pro
  • 36. Snowboard Demo
  • 37. Snowboard Demo Constructor Parse Board Art
  • 38. Snowboard Demo Snowboard
  • 39. Snowboard Advantages
  • 43. Things to Watch Out For
    • Class conflicts
      • Font conflicts can cause major headaches
      • 44. Don't duplicate class definitions between SWC and Flash Builder
    • Asset organization
      • Break down folders and Flash files
      • 45. Think ahead
  • 46. Types of Assets
  • 47. SWCs
    • Advantages
    • Disadvantages
      • Larger file size
      • 54. Hard to debug
  • 55. Embedded SWF
    • Advantages
    • Disadvantages
      • Larger file size
      • 60. Timeline code is not executed
      • 61. No code completion
      • 62. More code
      • 63. Requires two frames*
  • 64. Embedded SWF Live Demo
  • 65. Loaded SWF
    • Advantages
      • Smaller app footprint
      • 66. Vector art
      • 67. 9-slice scaling
      • 68. PNGs are compressed
      • 69. Visual placement
      • 70. Timeline code executed*
    • Disadvantages
      • More code
      • 71. No linkage support!
      • 72. No code completion
  • 73. Images
    • Advantages
      • Version control
      • 74. Flash not required
    • Disadvantages
  • 78. Flex Module
    • Advantages
      • Smaller initial footprint
      • 79. Code completion
      • 80. Encapsulate code and assets
    • Disadvantages
      • Requires Flex
      • 81. Must still embed assets with another method
  • 82. Summary
    • SWCs are great
    • 83. Use the right tool for the job
    • 84. Think ahead
  • 85. Resources