             js_api_inited = true;
         }
 
-        protected function _trigger(cb:String, data:Object) : void {
-            if (!_hola_managed)
+        protected function _trigger(cb : String, data : Object) : void {
+            if (!_hola_managed && !_self_load)
             {
                 // XXX arik: need ZErr.throw
                 ZErr.log('invalid trigger');

            }
        }

        protected function resourceLoadingError() : void {
            delete reqs[_req_id];
            dispatchEvent(new IOErrorEvent(IOErrorEvent.IO_ERROR));
        }

        protected function resourceLoadingSuccess() : void {
            delete reqs[_req_id];
            dispatchEvent(new Event(Event.COMPLETE));
        }
    }

 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.hola {
    import flash.events.*;
    import flash.external.ExternalInterface;
    import flash.net.URLRequest;
    import flash.net.URLStream;
    import flash.net.URLRequestHeader;
    import flash.net.URLRequestMethod;
    import flash.utils.ByteArray;
    import flash.utils.getTimer;
    import flash.utils.Timer;
