Optimized swf does not fire (or capture) events

Description

A strange behavior happens when I use the following command line:

-locale en_US -strict=true -debug=false -optimize=true

to optimize the output swf of a Flex 4.1 project.
Swiz events are not fired (or captured anymore by Swiz),
if I change debug or optimize option to other values than these,
the events fire normally.

Code:

in another module I receive the event:

that line is never reached (try to put an Alert)

Environment

Windows 7, IE 8, Flash Player 10,1,102,64
Also tested with Release and Debug versions of Flash Player 10,1,85,3 and Flash Player 10,1,102,64

Status

Assignee

ChrisC

Reporter

ErnestoE

Labels

None

Affects versions

Priority

Major
Configure