Loading assets with the new ProLoader class


show more Loading assets with the new ProLoader class provides you with in-depth training on Web. Taught by Todd Perkins as part of the Flash Professional CS5.5 New Features show less
please wait ...

Loading assets with the new ProLoader class

The Loader class can be used to load external SWF files. But problems can occur when you use it to load a SWF that contains TLF text fields. To overcome this, Flash now has the ProLoader class. The great thing about the ProLoader class is that it's added to the Code Snippets panel. So you can see how it works without having to look it up in the documentation. I'll open the Code Snippets panel and then find the Load and Unload actions and expand that folder.

I can double-click the Click to Load/Unload SWF, or Image action. So I double-click that and it says, This action requires an object to be selected on Stage. So I select the movie clip of the kid on the stage and I'll go back to the Code Snippets panel and double-click, Click to Load/Unload SWF, or Image. And here's the code, so let's take a look at it. So you note that it's pretty much the same as using a Loader class except for its called ProLoader.

You can look at the differences in Flash documentation, but if ...

Loading assets with the new ProLoader class
Video duration: 1m 54s 45m 47s Intermediate

Viewers:

Loading assets with the new ProLoader class provides you with in-depth training on Web. Taught by Todd Perkins as part of the Flash Professional CS5.5 New Features

Subject:
Web
Software:
Flash Professional
Author:
please wait ...