I'm having a problem with Flex Builder 2 when an unintended
never-ending loop occurs, FB2 never bails. When I do something like:

function go()
{
go();
}

in Flash, the SWF is stopped and a 256 level error message is
displayed. When I do this in FB2 I have to quit FB2, otherwise it runs
forever trying to display a number of error messages in the Console
window.

In ActionScript Compiler settings for the project I have de-selected
Generate HTML wrapper file, since this won't be used for a web project
anyhow. The problem is that there seems to be no way of killing the
Flash Player (that hasn't yet started?). When I select Generate HTML
wrapper file, I see the browser trying to open and can kill it, in
which case FB2 returns just fine.

In Flash this is simple - the player bails. In FB2 there doesn't seem
to be a failsafe.

The same goes for a process that takes longer than 15 seconds. Instead
of displaying the script timeout message after 15 seconds and killing
the process if I choose to do so, the script timeout message only
appears AFTER the process has completed ... asking if I want to
continue, even though it's done.

While this is teaching me to triple-check everything to make sure
loops are exiting properly, I'm only human, most days :)

Btw, I'm trying this in an ActionScript project, not a Flex project.

Has anyone else seen this or is it just my install?

-- 

Derek Vadneau

Reply via email to