Permalink
Browse files

Workaround for closeButtonOver/Up.

  • Loading branch information...
1 parent 3d6d532 commit 2cd517fb636deedbf6b29dc1bb3fdd5ea04027bd @mbebenita mbebenita committed Apr 8, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/flash/display/Loader.js
@@ -490,6 +490,10 @@ var LoaderDefinition = (function () {
var symbolInfo = symbolPromise.value;
symbolInfo.className = className;
// Custom classes need to know they are symbols.
+ if (className === "closeButtonOver" ||
+ className === "closeButtonUp") {
+ return;
+ }
avm2.applicationDomain.getClass(className).setSymbol(symbolInfo.props);
};
})(symbolPromise, asset.className)

0 comments on commit 2cd517f

Please sign in to comment.