 	import flash.events.IOErrorEvent;
 	import flash.system.ApplicationDomain;
 	import flash.system.LoaderContext;	
+	import flash.utils.getDefinitionByName;
 
 	public class ImageResource extends AbstractResource
 	{

						m_httpStatus = new HTTPStatus(200, m_url);
						onData(true);
					}, false, 0, true);
				}
				else
				{
					log('w no Assets class found in default package, ' + 
						'unable to use "attach://" protocol!');
					onData(false);
				}
				return;
			}
			

			// asset from library
			if (m_url.indexOf('attach://') == 0)
			{
				var symbolId:String = m_url.split('//')[1];
				m_attachMode = true;
	            try
	            {
	                var symbolClass : Class = getDefinitionByName(symbolId) as Class;
					m_resource = new symbolClass() as DisplayObject;
					m_resource.addEventListener(Event.COMPLETE, 
						function(event : Event) : void
