Menu

Commit [r1274]  Maximize  Restore  History

Metadata refactoring revision: removing clause that manually copied layout data from a composite media element onto its inner layout target sprite. Instead, passing the media element's layout metadata as the layout target sprite's constructor, so that both use the same instance, making sure that mutations on the instance reach the layout target sprite.

NOTE that as a result of the new metadata approach, the user can be overriding the set layoutMetadata instance on media element. When this happens, the inner layout target sprite will no longer be pointing to the correct layout metadata instance. Fixing this requires changing layoutTargetSprite to be capable of dealing with a variable layoutMetadata instance (for right now the class assumes the instance to be static, either passed in at construction time, or constructed by the class itself at that time).

evrijkom@adobe.com 2010-03-05

changed /osmf/trunk/framework/OSMF/org/osmf/elements/compositeClasses/CompositeDisplayObjectTrait.as
/osmf/trunk/framework/OSMF/org/osmf/elements/compositeClasses/CompositeDisplayObjectTrait.as Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.