fix bug in startup
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/494abd0e Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/494abd0e Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/494abd0e Branch: refs/heads/develop Commit: 494abd0e5b8c50d42339029ab5d39972af3fa975 Parents: c5d6d12 Author: Alex Harui <[email protected]> Authored: Wed Oct 29 10:23:55 2014 -0700 Committer: Alex Harui <[email protected]> Committed: Wed Oct 29 11:15:43 2014 -0700 ---------------------------------------------------------------------- .../as/projects/FlexJSJX/src/org/apache/flex/effects/Move.as | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/494abd0e/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Move.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Move.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Move.as index 2464be8..74cf73c 100644 --- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Move.as +++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Move.as @@ -157,6 +157,9 @@ public class Move extends Tween implements IDocument if (isNaN(xFrom)) xStart = actualTarget.x; + else + xStart = xFrom; + if (isNaN(xBy)) { if (isNaN(xTo)) @@ -167,6 +170,8 @@ public class Move extends Tween implements IDocument if (isNaN(yFrom)) yStart = actualTarget.y; + else + yStart = yFrom; if (isNaN(yBy)) { if (isNaN(yTo))
