Skip to content

Commit

Permalink
Framescripts are now stored in frameData.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjuxax authored and jgranick committed Jul 19, 2017
1 parent c37b05e commit c947db5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openfl/display/MovieClip.hx
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ class MovieClip extends Sprite #if openfl_dynamic implements Dynamic<DisplayObje

}

var program = parser.parseString (frame.scriptSource);
var program = parser.parseString (frameData.scriptSource);
var interp = new Interp ();
interp.variables.set ("this", this);

Expand All @@ -441,7 +441,7 @@ class MovieClip extends Sprite #if openfl_dynamic implements Dynamic<DisplayObje

#elseif js

var script = untyped __js__('eval({0})', "(function(){" + frame.scriptSource + "})");
var script = untyped __js__('eval({0})', "(function(){" + frameData.scriptSource + "})");
var wrapper = function () {

try {
Expand Down

0 comments on commit c947db5

Please sign in to comment.