10466Data Binding Components in Flash MXhttp://flash-db.com/Tutorials/databind/Our goal is simple: to browse a two level catalog of products (cold cuts and spanish ham). Users can select one family of products and see the details of each item in the selected catalog. Our data source is a MySQL database and we will be using PHP to access the database and output xml data to the flash application. In total there are 5 families of products and 31 products, each product has it's own imageFlash > Tips and Tutorials > BackendOct 11, 2006Jorge Solis
One of Flash 5's major flaws is its inability to dynamically grab images. For Flash to become a true solution for building web sites it needs to provide the same level of extensibility and customization offered by HTML. Until now Flash developers using Flash for their webzines or shopping carts have found the lack of this minor feature to be a big issue.
With the release of Flash MX Macromedia has answered. Flash MX uses the loadMovie method, typically used for including external Flash files, to grab an image from any URL. In this tutorial, I'll explain the loadMovie method and develop a quick flash application that can dynamically show an image.
The loadMovie method can be called from any movie clip object including the root. This method takes two parameters URL and the optional variables parameter. The URL parameter provides a valid web address to any JPEG image and the optional variables parameter provides the HTTP method (GET or POST) for sending variable to the URL.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.