Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Guest
Nov 17, 2015 Nov 17, 2015

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.

Untitled.png

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);

}

}

TOPICS
ActionScript
205
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 17, 2015 Nov 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Nov 17, 2015 Nov 17, 2015
LATEST

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..

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines