Flash Player 6 (6.0 79.0).
Flash MX 2004.
scrollPaneInstance.contentPath
Property; a string that indicates an absolute or relative URL of the SWF or JPEG file to load into the scroll pane. A relative path must be relative to the SWF file that loads the content.
If you load content using a relative URL, the loaded content must be relative to the location of the SWF file that contains the scroll pane. For example, an application using a ScrollPane component that resides in the directory /scrollpane/nav/example.swf could load contents from the directory /scrollpane/content/flash/logo.swf by using the following contentPath property: "../content/flash/logo.swf"
The following example tells the scroll pane to display the contents of an image from the Internet:
scrollPane.contentPath ="http://imagecache2.allposters.com/images/43/033_302.jpg";
The following example tells the scroll pane to display the contents of a symbol from the library:
scrollPane.contentPath ="movieClip_Name";
The following example tells the scroll pane to display the contents of the local file logo.swf:
scrollPane.contentPath ="logo.swf";
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/mx2004/main_7_2/00002772.html
Comments
Zokbari said on Oct 15, 2004 at 11:03 AM :