 					this.freeExternal(texture);
 			}
 			
+			if(_content2!=null)
+			{
+				_content2.dispose();
+				_content2 = null;
+			}
+			
 			this._contentItem = null;
 		}
 		

		
		public function get content(): Node {
			return this._content;
		}
		
		protected function loadContent(): void {

					MovieClip(this._content).boundsRect = new Rectangle(0,0,this._contentSourceWidth,this._contentSourceHeight);
					this.updateLayout();
				}
				else if(_contentItem.type==PackageItemType.Component)
				{
					var obj:GObject = UIPackage.createObjectFromURL(itemURL);
					if(!obj)
						setErrorState();
					else if(!(obj is GComponent))
					{
						obj.dispose();
						setErrorState();
					}
					else
					{
						_content2 = obj.asCom;
						this._displayObject.addChild(_content2.displayObject);
						_contentSourceWidth = _contentItem.width;
						_contentSourceHeight = _contentItem.height;
						updateLayout();
					}
				}
				else
					this.setErrorState();
			}
