JavaScript API
 

 



JavaScript API Description:

A Texture module is used to represent a loaded image which in turn will be applied to a surface. The actual mapping is controlled using a SurfaceTexture module. The string property "URLString" controls the source of the image file, and another property "cached" controls whether the image is cached locally.
 
When a Movie file is used as a Texture, it also is enabled with the methods and properties of Start(), Stop(), Rewind(), Loop, and Volume.

Example Description:

For this example, the Control Panel has numerous additional controls for sizing and wrapping the movie dynamically on the surface. Adjusting the controls and observe the affect on the loaded movie.

 
 

 
Copyright ©2002 Adobe Systems Incorporated. All rights reserved.