Skip navigation
usspeedup2
Currently Being Moderated

Flash hangs while loading pages

May 5, 2013 1:16 AM

Tags: #flash #xml #loading #hang_on_load

Hello everyone

 

Trying to figure out why it hangs up when some pages are loading.

Im not an expert with actionscript 3.0 but its ot omplicated to modify an XML web site

 

I have uploaded a video to better show you guys whats happening

 

http://youtu.be/ig6YnpwUxTc

 

using Flash CS3 the SWF file is 256 KB

uploaded the files to te server and tested.... same problem, tried with different computer... same, updated flash player.... same

tried to publish with flash CS5.5 (and when it published (preview) its fine, no problems, but when uploaded to the server and tested , same problem

when i say that it contains HTML, i mean that it contains tis code

 

 

<?xml version="1.0" encoding="utf-8" ?>

<data>

          <![CDATA[<br/><font face="Arial" size="35">КОНТАКТЫ</font><br/>Адресс:           ххххххххххххххххххххх<br/>Телефоны:          000 00 00 000, 000 00 00 000<br/>E-Mail:          <a href="mailto:address@yourdomain.com">address@yourdomain.com</a><br/><br/>Мы находимся в Станице-Луганской<br/>на развилке Рыбхоз-Станица-Луганское по новой трассе.</li></ul>

          <img src="images/katrin_map.jpg" width="490" height="342" hspace="0" vspace="0">]]>

</data>

 

If you need some more info just let me know

please help

 
Replies
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    May 5, 2013 6:28 AM   in reply to usspeedup2

    post a link to your server and indicate what needs to be clicked to see the problem.

     
    |
    Mark as:
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    May 8, 2013 7:42 AM   in reply to usspeedup2

    you app is setup to prevent a new page loading while one is already loading.  but, your app should stop loading the currently loading page and start loading the next page and should not disable its buttons.

     

    anyway, if a loading page doesn't complete download (for any reason), your app remains unresponsive unless the page is reloaded.

     

    you should fix your app to allow a download to be stopped and the next to continue.

     
    |
    Mark as:
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    May 8, 2013 11:45 AM   in reply to usspeedup2

    copy and paste the code that loads a new page.

     
    |
    Mark as:
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    May 8, 2013 10:19 PM   in reply to usspeedup2

    i don't download and correct files unless i'm hired.

     

    if you want free help, you'll need to find the loading code in your template.  it's not in your xml.  it's either attached to a movieclip timeline or in a class file.

     
    |
    Mark as:
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    May 9, 2013 6:38 AM   in reply to usspeedup2

    you need to start in com/Main.

     

    that's your document class.

     
    |
    Mark as:
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    May 9, 2013 10:44 AM   in reply to usspeedup2

    check com/scenes/SceneMenu.as to see if has click listeners for your menu items.

     
    |
    Mark as:
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    May 9, 2013 1:09 PM   in reply to usspeedup2

    that's going to take more time to properly debug.

     

    i see what looks like something helpful ( bl.addEventListener(BulkProgressEvent.COMPLETE, loadingCompleteHandler);) and i see what looks like a place where buttons are enabled    (Menu.instance.enable();) but i don't see where they're disabled so i'm not sure using  Menu.instance.enable(); will enable those buttons.

     

    you could hope for the best and try:

     

    bl.addEventListener(BulkLoader.ERROR,loadingCompleteHandler);

     

    and it might fix the problem.  but, it may just introduce more problems.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points