View Single Post
Old 03-29-2012, 07:54 PM   PM User | #2
adaminaudio
New Coder

 
Join Date: Jan 2012
Location: Columbus, Ohio, U.S.A
Posts: 41
Thanks: 0
Thanked 8 Times in 8 Posts
adaminaudio is an unknown quantity at this point
you have this bit in your window.mxml code:

<mx:Image source="{selectedImage}"/>



but you probably need to set that property when you pop the window open:
Code:
private function launchPopUp(e:MouseEvent):void {
				if(images.selectedImage){
					var win : Window = new Window();
win.selectedImage = images.selectedImage;  //set it here...
					PopUpManager.addPopUp(win,this,true);
					PopUpManager.centerPopUp(win);
			}
adaminaudio is offline   Reply With Quote