embedding asset in flex at compile time
hi
is possible embed assets images, videos in flex using <mx:script>? aware of embed meta tag of actionscript
[embed(source="imagename.jpg")]
[bindable]
public var imgcls:class;
this method needs source name mentioned source parameter.but in case image paths read file image embeded depends upon string read file(xml file) , embed tag cannot use directly.
is there way use embed tag source parameter initialized variable like
[embed(source=some variable)]
[bindable]
public var imgcls:class;
is there way embed them @ compile time after reading file ?
regards
hi oberoit,
it possible embed assets @ compile time only...that means images static, locally compiled , embedded application swf itself.
but if want load xml file has various image urls , embed them dynamically , not possible loading xml run time operations , done
after application compiled , cannot embed runtime...since embed works @ compile time...
hope got point..
thanks,
bhasker
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment