Hello everyone. Thanks in advance for any help. Im trying to create a PopUp window that displays a dynamically loaded jpeg within a scrollpane. I have tried using the following code to accomplish this:
[AS]
import mx.managers.PopUpManager
import mx.containers.Window
var myTW = PopUpManager.createPopUp(_root, Window, true, {contentPath:"full_pic",closeButton: true, title:mypath});
myTW.setSize(310,310);
[/AS]
The PopUp window works correctly. However, I am having trouble getting an image to be dynamically loaded. “full_pic” is a movie clip in the library that contains a scrollpane component with instance name “pic”. I have already checked the export for actionscript checkbox within the movie clip’s linkage parameters and given it the name “full_pic.”
My question is how to dynamically set the contentPath within the “pic” scrollpane of the “full_pic” movie clip thats in the library.
Thanks again for any help.
Jonathan