Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 831489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:12:45+00:00 2026-05-15T04:12:45+00:00

I’ve got an Adobe Flash 10 program that freezes in certain cases, however only

  • 0

I’ve got an Adobe Flash 10 program that freezes in certain cases, however only when running under a release version of the flash player. With the debug version, the application works fine.

What are the best approaches to debugging such issues? I considered installing the release player on my computer and trying to set some kind of non-graphical method of output up (I guess there’s some way to write a log file or similar?), however I see no way to have both the release and debug versions installed anyway 🙁 .

EDIT: Ok I managed to replace my version of flash player with the release version, and no freeze…so what I know so far is:

Flash:     Debug   Release
Vista 32:  works   works
XP PRO 32: works*  freeze
  • I gave them the debug players I had to test this

Hmm, seeming less and less like an error in my code and more like a bug in the player (10.0.45.2 in all cases)… At the very least id like to see the callstack at the point it freezes. Is there some way to do that without requiring them to install various bits and pieces, e.g. by letting flash write out a log.txt or something with a “trace” like function I can insert in the code in question?

EDIT2: I just gave the swf to another person with XP 32bit, same results 🙁

EDIT3:
Ok, through extensive use of flash.external.ExternalInterface.call(“alert”, “…”); I managed to find the exact line causing the problem (I also improved exception handling code so rather than freeze it told me there was an “unhandled” exception). The problem now is what on earth is flashes problem with this with the release player on some machines…

particles.push(p);

Which causes a TypeError #1034 on said platforms. Particles is a Vector.<Particle>, p is a Particle. I tested with getQualifiedClassName and got:

getQualifiedClassName(p) = ::Particle
getQualifiedClassName(particles) = __AS3__.vec::Vector.<::Particle>

Any ideas why this is a problem and what to do to make it work?

EDIT4:

Ok I seem to have solved this. The Particle class is just a simple internal class located after the package {…} in the action script file using it. I moved this into its own file (particle.as) and made it a proper public class in my package, and problem solved.

Maybe its a flash bug or maybe I missed the memo about not using internal classes in vectors or something, although if that’s the case I would have expected something or other (either at compile time or with debug runtimes) to disallow it explicitly, e.g. some error on the “private var particles:Vector.<Particle>;” line. If I get a chance I guess I’ll take a look at contacting the Adobe flash team concerning this or something.

Thanks for help giving debugging tips which I guess is more along the original questions lines 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T04:12:46+00:00Added an answer on May 15, 2026 at 4:12 am

    Judging by when the freeze occurs, try to pinpoint some possibilities for what the offending code may be, and use De MonsterDebugger to check variables etc.

    EDIT:
    I’m pretty certain that the actual call stack is only available to you in the debug versions of the Flash Player / AIR. Still, it may be useful in the debug player to trace the stack from within the handler for the button to see if anything is out of place:

    var err:Error = new Error(“An Error”);
    trace(err.getStackTrace());
    

    FYI the getStackTrace method is only available in the debug player, so there is no way to write it to a log.txt in production.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I want to count how many characters a certain string has in PHP, but
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I want use html5's new tag to play a wav file (currently only supported
I am doing a simple coin flipping experiment for class that involves flipping a
I would like to run a str_replace or preg_replace which looks for certain words

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.