Ok,
So, I work for the NPS, and they have an outdated CMS. I have no rights to upload an .html file, or edit one that the CMS makes.
SO, I am forced to use their little deal to display my .swf files.
Problem:
I made an eHike in as3 Flash CS4. It has two scenes, the first scene is the preload, second is splash content and ehike content. The problem is I cant get the preloader to display in IE. I have all actionscript content exported to the second frame, as talked about here:
http://www.senocular.com/flash/tutorials/faq/#preloaderstart
and it works fine in firefox…
GRRRR…
I have tried many different ways to load the preloader… Here is what I’m currently using…
there is a simple text field for the percentage, and a simple 100 frame animation. preloader_mc
var preLoaderPercent:Number = 0;
addEventListener(Event.ENTER_FRAME, loadComplete);
function loadComplete(e:Event):void {
if (this.loaderInfo.bytesLoaded == this.loaderInfo.bytesTotal) {
removeEventListener(Event.ENTER_FRAME, loadComplete);
this.loaderInfo.removeEventListener(Event.COMPLETE, loadComplete);
this.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, loadProgress);
gotoAndPlay("splash", "content");
}
}//loadComplete
this.loaderInfo.addEventListener(Event.COMPLETE, loadComplete);
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress);
function loadProgress(e:ProgressEvent):void {
preLoaderPercent = e.bytesLoaded / e.bytesTotal;
load_txt.text = Math.ceil(preLoaderPercent * 100) + “%”;
var animstop:Number = Math.floor(preLoaderPercent*100);
preloader_mc.gotoAndStop(animstop);
}
this.stop();
The CMS lets you decide in the popup window if it is resizeable or not. This works in IE (stopping people from resizing), but not in firefox, people can resize it. Is there any way to disable the resize in AS3? Again, I understand that your supposed to export the .html file with these settings, but I have no permissions to upload or create new .html files.
Anyone who will help me with this - Thanks
David