Skip to main content
November 17, 2015
Question

How to get rid of these dots? They appear before the swf file starts.

  • November 17, 2015
  • 2 replies
  • 226 views

I uploaded my swf file to a server called "weebly". www.weebly.com

While the swf is loading, some dots are appearing and disappearing.

How to make a pre-loader bar that has a better view ?

I used the following codes but they do not work. The dots (points) appear first. and then the pre-loader bar appears. I need to disappear these points and I will put a pre-loader instead of them.

stop();

this.addEventListener(Event.ENTER_FRAME, loading);

function loading(e:Event):void

{

var total:Number = this.stage.loaderInfo.bytesTotal;

var loaded:Number = this.stage.loaderInfo.bytesLoaded;

bar_mc.scaleX = loaded/total;

loader_txt.text = Math.floor((loaded/total)*100)+ "%";

if (total == loaded)

{

play();

this.removeEventListener(Event.ENTER_FRAME, loading);

}

}

This topic has been closed for replies.

2 replies

Inspiring
November 17, 2015

That dots are the default flash player preloader, it will appear until the RSLs be loaded. as your prelader will not start from 0.. You can change the preloader settings from the ActionScript3 Settings window > Library path > Runtime Shared Library Settings. that will not showing the dots but also your preloader will not start from 0..

if your file is bigger than 1 Mb then it's better to create another swf file including the loading code to preload your main swf file as external..

Ned Murphy
Legend
November 17, 2015

If you did not create the thing with the dots then it is likely that the site itself provides that feature.  Check with that site and see if there is a way to turn off that feature.