FlashJS
FlashJS copied to clipboard
Implement <asset/> tag
<asset/> tag accept "id" attribute with assetID, then determines URL of this asset in needed scale and then inserts it to page as tag. Also <asset/> tag have to forward all of it`s attributes to tag it produces, so <asset id='logo' width='100%'/> will produce <img src='./assets/2/logo.png' width='100%'/>
For image asset it will produce <img> tag. For audio asset - <audio> tag. For animation asset - <img> animated with css animation technique.