{"action":"created","issue":{"url":"https://api.github.com/repos/pdelia/away3d/issues/161","labels_url":"https://api.github.com/repos/pdelia/away3d/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/pdelia/away3d/issues/161/comments","events_url":"https://api.github.com/repos/pdelia/away3d/issues/161/events","html_url":"https://github.com/pdelia/away3d/issues/161","id":85703620,"number":161,"title":"setPlaySequences() - won't loop last","user":{"login":"pdelia","id":12096091,"avatar_url":"https://avatars.githubusercontent.com/u/12096091?v=3","gravatar_id":"","url":"https://api.github.com/users/pdelia","html_url":"https://github.com/pdelia","followers_url":"https://api.github.com/users/pdelia/followers","following_url":"https://api.github.com/users/pdelia/following{/other_user}","gists_url":"https://api.github.com/users/pdelia/gists{/gist_id}","starred_url":"https://api.github.com/users/pdelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdelia/subscriptions","organizations_url":"https://api.github.com/users/pdelia/orgs","repos_url":"https://api.github.com/users/pdelia/repos","events_url":"https://api.github.com/users/pdelia/events{/privacy}","received_events_url":"https://api.github.com/users/pdelia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pdelia/away3d/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/pdelia/away3d/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/pdelia/away3d/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-06T05:39:32Z","updated_at":"2015-06-06T05:39:34Z","closed_at":null,"body":"#5 Issue by __GoogleCodeExporter__, created on: 2015-04-24T07:50:59Z\n\n```\n// model is a parsed MD2 with animations\n// only one listener - mousedown - is added\n\nmodel.play( new AnimationSequence(\"stand\", true, true, 6) ); // loops fine\nmodel.addOnMouseDown( onModelMouseDown );\n\nprivate function onModelMouseDown( event:MouseEvent3D ):void {\n  var m:Mesh = (event.object as Mesh);\n  m.setPlaySequences( [\n    new AnimationSequence(\"taunt\", true, false, 6),\n    new AnimationSequence(\"stand\", true, false, 6)\n  ], true );\n}\n// that will play \"taunt\", then \"stand\" as expected but \"stand\" won't loop.\n\n// using Away3D SVN trunk, Vista32, FlexBuilder3\n\n```\n\nOriginal issue reported on code.google.com by `kishalmi@gmail.com` on 4 Jun 2008 at 11:13"},"comment":{"url":"https://api.github.com/repos/pdelia/away3d/issues/comments/109532194","html_url":"https://github.com/pdelia/away3d/issues/161#issuecomment-109532194","issue_url":"https://api.github.com/repos/pdelia/away3d/issues/161","id":109532194,"user":{"login":"pdelia","id":12096091,"avatar_url":"https://avatars.githubusercontent.com/u/12096091?v=3","gravatar_id":"","url":"https://api.github.com/users/pdelia","html_url":"https://github.com/pdelia","followers_url":"https://api.github.com/users/pdelia/followers","following_url":"https://api.github.com/users/pdelia/following{/other_user}","gists_url":"https://api.github.com/users/pdelia/gists{/gist_id}","starred_url":"https://api.github.com/users/pdelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdelia/subscriptions","organizations_url":"https://api.github.com/users/pdelia/orgs","repos_url":"https://api.github.com/users/pdelia/repos","events_url":"https://api.github.com/users/pdelia/events{/privacy}","received_events_url":"https://api.github.com/users/pdelia/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T05:39:34Z","updated_at":"2015-06-06T05:39:34Z","body":"Comment by __GoogleCodeExporter__, created on: 2015-04-24T07:51:00Z\n\n```\nobj.setPlaySequences([a,b,c,d], true); will loop last AnimationSequence\nobj.setPlaySequences([a,b,c,d], false); will not loop last AnimationSequence\n```\n\nOriginal comment by `fabric...@gmail.com` on 7 Jun 2008 at 11:55\n* Changed state: **fixed**"}}