AlexLM
09-15-2007, 08:43 PM
Hi people,
I try to load the panorama in a flash.. like in my website made in flash, and it's not working..
This is my code, in as3 (the code is good):
var myLoader:Loader = new Loader();
addChild (myLoader);
var url:URLRequest = new URLRequest("room.swf");
myLoader.load (url);
var infoLoader:LoaderInfo = LoaderInfo(myLoader.contentLoaderInfo);
//-------------------------------
var intervalLoad = setInterval(getSeconds,1,myLoader);
function getSeconds(mClip){
trace(infoLoader.bytesLoaded);
trace(infoLoader.bytesTotal);
}
.. and the movie is loaded I saw it in the trace.. but the screen still white.
Can someone help me please..
I speak french as well, so if you are more comfortable in french, go for it.
Thanks!
I try to load the panorama in a flash.. like in my website made in flash, and it's not working..
This is my code, in as3 (the code is good):
var myLoader:Loader = new Loader();
addChild (myLoader);
var url:URLRequest = new URLRequest("room.swf");
myLoader.load (url);
var infoLoader:LoaderInfo = LoaderInfo(myLoader.contentLoaderInfo);
//-------------------------------
var intervalLoad = setInterval(getSeconds,1,myLoader);
function getSeconds(mClip){
trace(infoLoader.bytesLoaded);
trace(infoLoader.bytesTotal);
}
.. and the movie is loaded I saw it in the trace.. but the screen still white.
Can someone help me please..
I speak french as well, so if you are more comfortable in french, go for it.
Thanks!