[transform-swf-updates] Status report for week ending July 16th
Brought to you by:
smackay
From: News on r. b. a. p. f. T. S. f. J. <tra...@li...> - 2010-07-19 08:21:45
|
Progress This Week: Most of the work this week was on refactoring (and improving Translate SWF). There are a couple of changes to Transform as a result: API Changes Removed the following convenience methods from EventHandler since they were used temporarily in the upgrade of Translate SWF to version 3: public static Set<Event> getMovieClipEvents(final int code) { public static Set<Event> getButtonEvents(final int code) { Planned Changes: Ticket #154. Change EventHandler to be an Action. EventHandler is currently treated as a basic datatype - it implements SWFEncodeable, Copyable<Action>. To avoid having to cast every object returned by the new version of the Translate Actionscript compiler EventHandler will be changed to implement Action (which is also an implementation of SWFEncodeable, Copyable<Action>). That allows the objects returned by ASCompiler to be a List of Actions rather than a list of Object. Adding EventHandlers to DefineButton2 or Place2 or Place3 will still require a cast but since the number of handlers is typically very small the performance cost (and effort to write the code) is negligable. See, https://sourceforge.net/apps/trac/transform-swf/ticket/154 Regards, Stuart -- Flagstone Software Ltd. |