 				if (cmd is IResource && IResource(cmd).url().indexOf("attach://") == 0)
 				{
 					cmd.execute();
+					m_numCommandsExecuted++;
+					m_numResourcesToLoad--;
+					m_pendingCommands.splice(i, 1);
+					//Some attached resources finish loading immediately, while others take a frame
+					if (IResource(cmd).didFinishLoading())
+					{
+						m_numResourcesLoaded++;
+						continue;
+					}
+					registerListenersForAsynchronousCommand(IAsynchronousCommand(cmd));
+					m_currentCommands.push(cmd);
 				}
 			}
 			super.execute();

		}
		
		/**
		* Adds a resource to the queue. If the resource uses the <code>attach://</code> protcol
		* it is executed immediately if the <code>ResourceLoader</code> is already running.
		* 
		* @param cmd The resource to add to the queue

			if (m_isExecuting && cmd.url().indexOf("attach://") == 0)
			{
				cmd.execute();
				m_numCommandsExecuted++;
				//Some attached resources finish loading immediately, while others take a frame
				if (!IResource(cmd).didFinishLoading())
				{
					registerListenersForAsynchronousCommand(IAsynchronousCommand(cmd));
					return;
				}
				m_numResourcesLoaded++;
				m_currentCommands.push(cmd);
				m_numBytesLoaded += cmd.bytesTotal();
				return;
			}
