{"issue":{"created_at":"2011-11-30T16:52:23Z","state":"open","updated_at":"2011-12-01T01:45:13Z","comments":1,"user":{"gravatar_id":"e98b4076d438067564eb7c9e6ec38456","id":1109492,"url":"https://api.github.com/users/matse4","avatar_url":"https://secure.gravatar.com/avatar/e98b4076d438067564eb7c9e6ec38456?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"matse4"},"body":"As I see it,, it is possible to change some settings of actions on the Fly.\r\n\r\nfor example:\r\n\r\n```as\r\npublic function ScaleByLifeGlobal(startScale:Number,endScale:Number) \r\n{\r\n\tpriority = 3;\r\n\t_startScale = startScale;\r\n\t_endScale = endScale;\r\n\t_delta = _endScale - _startScale;\r\n}\r\n```\r\n\r\nstartScale and _delta  are only used @ setRenderState() and there it only sets it to an const.\r\n\r\n```as\r\noverride public function setRenderState(stage3DProxy : Stage3DProxy, pass : MaterialPassBase, renderable : IRenderable) : void\r\n{\r\n\tvar context : Context3D = stage3DProxy._context3D;\r\n\tcontext.setProgramConstantsFromVector(Context3DProgramType.VERTEX, scaleByLifeConst.index, Vector.<Number>([_startScale,_delta,0,0]));\r\n}\r\n```\r\n\r\nshouldn't it be possible to change them? Or is there an reason why you don't allow that?\r\n\r\ncheers Matse\r\n\r\nPS: wuhuu Syntax highlighting ;)","assignee":null,"id":2404176,"labels":[],"number":3,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"change settings of actions after creation","html_url":"https://github.com/liaocheng/away3d-particles-system/issues/3","closed_at":null,"url":"https://api.github.com/repos/liaocheng/away3d-particles-system/issues/3","milestone":null},"action":"created","comment":{"created_at":"2011-12-01T01:45:13Z","updated_at":"2011-12-01T01:45:13Z","user":{"gravatar_id":"1b418e7b41aa7de09cf3334ad3fced83","id":958492,"url":"https://api.github.com/users/liaocheng","avatar_url":"https://secure.gravatar.com/avatar/1b418e7b41aa7de09cf3334ad3fced83?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"liaocheng"},"body":"Please refer to https://github.com/liaocheng/away3d-particles-system/wiki/global-and-local-action .\r\nFor example,a particle's speed is 5 m/s,now time is 10,so it distance is 50m.If we change the speed to 10m/s,it distance will jump to 100m.","id":2969690,"url":"https://api.github.com/repos/liaocheng/away3d-particles-system/issues/comments/2969690"}}