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

Flash / AS3 slide viewer that worked perfectly for years, now crashes live. Why?

New Here ,
Aug 26, 2013 Aug 26, 2013

After four days of this I'm giving up and asking for help. I have an Actionscript 3 / Flash slide viewer, originally from FlashDen that has worked perfectly for about five years. It STILL works perfectly locally, but I take it live and it freezes and crashes. I know AS3 and I've been through all the classes and got rid of all errors and even the pernickety 'please embed all fonts' output messages. Same problem. It works perfectly locally and it just freezes and goes crap live.  This is obviously a Flash Player 11 issue but I'm totally stumped. There's dozens of images and XML associated with the FLA and the AS3 classes, so I've just added page links, and links to the live swf, in case anyone can find that useful.

This is the original from FlashDen, untouched, just loaded up:

http://www.ksqdesign.com/pgu/PhotoGallery.html

Even the untouched, fresh off the counter version now crashes live, BUT works perfectly locally. Why?

This is my edited version for a client that WORKED PERFECTLY for five years but is now hopeless:

http://www.ksqdesign.com/jansregencystoneiframe.html

http://www.ksqdesign.com/janshfiveiframe.html

The second link uses an HTML5 shell but that makes no difference either.

The thing to note is this app worked perfectly up until a year ago. So it's some kind of FP 11 / security / AS3 clash on the live side that just has me totally stumped.

Very grateful for any light you can shine. Many thanks.

NT

TOPICS
ActionScript
867
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

correct answers 1 Correct answer

Community Expert , Aug 26, 2013 Aug 26, 2013

there's a drawPie() function that's timing out:

Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.

    at com.design.ksq::PiePreloader/drawPie()

    at com.design.ksq::PiePreloader/onEnterFrame()

Translate
Community Expert ,
Aug 26, 2013 Aug 26, 2013

there's a drawPie() function that's timing out:

Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.

    at com.design.ksq::PiePreloader/drawPie()

    at com.design.ksq::PiePreloader/onEnterFrame()

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
New Here ,
Aug 26, 2013 Aug 26, 2013

I tried disabling the PiePreloader class by unlinking it from it's movie clip. Once again, the app worked perfectly locally and crashed live. How do you debug live? Thanks.

NT

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
Community Expert ,
Aug 26, 2013 Aug 26, 2013

remove your flash player (http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html) and install the flash debug player (http://www.adobe.com/support/flashplayer/downloads.html).

i also use firefox and the firebug plug-in.

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
New Here ,
Aug 27, 2013 Aug 27, 2013

Kglad

Thank you VERY much for pointing me in the right direction. I installed FlashPlayer Debugger, plus the FlashDebug assistant in Firebug, and it led me to several errors in an AS3 class associated with the PiePreloader class. Have had to disable the preloader but at least the app is now once again working perfectly live, and I'll code up a pre-loader replacement.

All working perfectly here again:

http://www.ksqdesign.com/jansregencystoneiframe.html

which is the iframe construct for the client's site here:

http://www.regencystone.co.nz/

I think the cause of the crashing (which will be interesting to eraidicate, so I can get the pie pre-loader running again) is that there was some AS2 coding somewhere in the original set of class files that FlashPlayer 11 will no longer tolerate live. I worked for too long in an agency that had no respect for Flash coding and only used Flash for mickey mouse timeline animations and banners. It's so good to be getting back to old GOOD habits thanks to developers like yourself pointing me back to the right ways of doing things. Many thanks again! I love it when things work, ha ha!!

NT

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
Community Expert ,
Aug 27, 2013 Aug 27, 2013
LATEST

you're welcome.

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