[color=red]function carga6 (o:Event):void
{
contenedor.load(new URLRequest(\"peliflex.swf\\\"));
addChildAt(contenedor,4);
contenedor.x = -100
contenedor.y= 94
}
botonsis.addEventListener(MouseEvent.CLICK,carga6)[/color]
de esta manera carog la peli de flex el primer error que me sale al publicar flash es el siguiente:
[color=blue][RPC Fault faultString=\\\"HTTP request error\\\" faultCode=\\\"Server.Error.Request\\\" faultDetail=\\\"Error: [IOErrorEvent type=\\\"ioError\\\" bubbles=false cancelable=false eventPhase=2 text=\\\"Error #2032: Stream Error. URL: file:///ibi/catalogoPregunta?clave=consultar_xml\\\"]. URL: /ibi/catalogoPregunta?clave=consultar_xml\\\"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at ::DirectHTTPMessageResponder/errorHandler()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
[RPC Fault faultString=\\\"HTTP request error\\\" faultCode=\\\"Server.Error.Request\\\" faultDetail=\\\"Error: [IOErrorEvent type=\\\"ioError\\\" bubbles=false cancelable=false eventPhase=2 text=\\\"Error #2032: Stream Error. URL: file:///ibi/rangoCash?clave=consultar_xml\\\"]. URL: /ibi/rangoCash?clave=consultar_xml\\\"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at ::DirectHTTPMessageResponder/errorHandler()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()[/color]
y el segundo error que me marca al darle click a otro boton para que me cargue otra pelicula swf simple es el siguiente:
[color=brown]TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::HistoryManagerImpl/::calcCRC()
at mx.managers::HistoryManagerImpl$iinit()
at mx.managers::HistoryManagerImpl$/getInstance()
at mx.core::Singleton$/getInstance()
at mx.managers::HistoryManager$/get ::impl()
at mx.managers::HistoryManager$/unregister()
at mx.containers::ViewStack/::systemManager_removedHandler()
at flash.display::Loader/flash.display:Loader::_load()
at flash.display::Loader/load()
at home_fla::MainTimeline/carga4()[/color]
espero me puean ayudar muchas gracias
