ActionScript Warning 1090: Migration issue: The onRelease event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( ‘click’, callback_handler).

AS3 Warning: 1090: Migration issue: The onRelease event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0.  You must first register this handler for the event using addEventListener ( ‘click’, callback_handler).

AS3 Warning 1090 Description:

So the other day I opened some AS2 files that I use for teaching Flash Arrays at UVU.  I changed a few things in the file and tested my movie.  That is when Warning 1090 popped up and I realized that I had missed a few things.  AS3 Warning1090 is the most comprehensive and complete error message that I have ever encountered in Flash or Flex.  Not only does it give a really clear description but it tells you how to solve the issue.  Kudos Flash programmers/writers.  Jen DeHaan  if this is you – Nice Job!

P.S.  This will also happen with onEnterFrame, onPress, onMouseMove, etc…  I have only included one example here but it applies to all cases.

Flex / Flash Error #1090 Fix:

Do exactly what the message says use an event listener instead of the onRelease event that was common in AS2.

Bad Code:

joinArray_btn.onRelease = function () {
//Do Something
}

Good Code:

joinArray_btn.addEventListener(MouseEvent.CLICK, joinArray);

function joinArray() {
//Do Something
}

Related Errors:

AS3 Warning 1058

This should help you resolve Flex / Flash Warning #1090

Thanks and as always Happy Flashing

Curtis J. Morley

Warning: 1058: Migration issue: The property _root is no longer supported. This property has been removed. The closest equivalent is the Stage, which serves as the root of the ActionScript 3.0 display list..

Warning: 1058: Migration issue: The property _root is no longer supported.  This property has been removed. The closest equivalent is the Stage, which serves as the root of the ActionScript 3.0 display list..

AS3 Warning 1058 Description:

So the other day I opened some AS2 files that I had used for teaching Flash Arrays at UVU.  I changed a few things in the file and tested my movie.  That is when Warning 1058 popped up and I realized that I had missed a few things.  AS3 Warning1058 is one of the most comprehensive and complete error message that I have ever encountered in Flash or Flex.  Not only does it give a really clear description but it tells you how to solve the issue.  Kudos Flash programmers/writers.  Jen DeHaan  if this is you – Nice Job!

P.S.  This AS3 Warning will appear with all properties that use the leading underscore such as _x, _y, _width, _rotation, _alpha, etc…  I have only included one example here but it applies to all cases.

Flex / Flash Error #1058 Fix:

Do exactly what the message says remove the underscore or int he case of the _root property target it reltively with the “this” keyword or replace _root with Stage.

Bad Code:

_root.tenantsList = myTenantsArray.join(delimiter_txt.text);

Good Code:

Stage.tenantsList = myTenantsArray.join(delimiter_txt.text);

or

root.tenantsList = myTenantsArray.join(delimiter_txt.text);

or

this.tenantsList = myTenantsArray.join(delimiter_txt.text);

Related Errors:

AS3 Warning 1090

This should help you resolve Flex / Flash Warning #1058

Thanks and as always Happy Flashing

Curtis J. Morley

Updated info on ActionScript 3 Warning #3590

Updated info on AS3 Warning #3590

I added some data to ActionScript Warning #3590

Go check it out.  For anyone transitioning from AS2 to AS3 this will be very helpful.

Happy Flashing,

Curtis J. Morley

ActionScript Warning #1100

Warning: 1100: Assignment within conditional.  Did you mean == instead of =?

Description:
AS3 warning 1100 is Adobe watching out for you and helping you out.  Flash/Flex let’s you know that you are assigning a variable while at the same time evaluating to see if it is true.  This AS3 warning is quite easy to understand and well written.

Fix:
To solve Flex/Flash Warning 1100 all you need to do is add another ” = ” sign inside your conditional making 2 == rather than just one.

Bad Code 1:

if (topFive[i]=“one”) {

Good Code 1:

if (topFive[i]==”one”) {

Note: This is not ActionScript Error #1100.  Click this link to find AS3 Error #1100.
This should help you resolve Flash / Flex Warning #1100

Thanks and as always Happy Flashing

Curtis J. Morley