10472Dynamically Loading Images with Flash MXhttp://www.jasonmperry.com/articles/dynamicImage.aspxOne 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.Flash > Tips and Tutorials > BackendOct 11, 2006
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.