Chapter 4. Drupal Images in Flash
Up to this point, we have learned how to build a Flash application using only text-based content from the Drupal CMS. Although text-based content is vital for any web application, it is the use of images that gets the attention of any person who is using your application, and that sets it apart from other applications. In this chapter we will learn how to build an image and content-rich Flash application by discussing the following topics:
Image handling in Drupal
Adding images to the Recipe content type
Creating an image container in Flash
Using ActionScript to load a Drupal image
Resizing the image to fit inside our image container
Preserving the Image ratio (scaling)
Using ImageCache to dynamically resize images for Flash
Image handling in Drupal
I have heard from many Drupal beginners that image handling in Drupal can be a frustrating process. Not because Drupal lacks the ability to handle images, but simply because that person must pick between multiple contributed...