home *** CD-ROM | disk | FTP | other *** search
- function checkGoodUrl(myUrl)
- {
- if(_url.substr(0,myUrl.length) == myUrl)
- {
- return 1;
- }
- return 0;
- }
- LinkBuyMe = "http://www.arcadetown.com/order/choosemethod.asp?gameid=blox";
- LinkMoreGames = "http://www.arcadetown.com/index.asp?gameid=blox";
- HiScoreEnabled = 1;
- HiScoreSaveURL = "http://www.arcadetown.com/blox/hs.asp";
- HiScoreOpenURL = "http://www.arcadetown.com/scripts/show_hiscore.asp?gameid=blox";
- RegisteredVersion = 0;
- EnableEscSkipLevel = 0;
- var isGoodUrl = 1;
- if(_root.RegisteredVersion == 1)
- {
- if(checkGoodUrl("http://") == 1)
- {
- if(checkGoodUrl("http://www.arcadetown.com") == 1 || checkGoodUrl("http://arcadetown.com") == 1 || checkGoodUrl("http://www.freewebgames.com") == 1 || checkGoodUrl("http://freewebgames.com") == 1)
- {
- isGoodUrl = 1;
- }
- else
- {
- isGoodUrl = 0;
- }
- }
- }
- if(isGoodUrl == 1)
- {
- if(_framesloaded >= _totalframes)
- {
- gotoAndPlay(3);
- stop();
- }
- else
- {
- ProgressBar._xscale = int(getBytesLoaded() / getBytesTotal() * 100);
- }
- }
- else
- {
- ProgressBar._xscale = 0;
- }
-