FlashJS icon indicating copy to clipboard operation
FlashJS copied to clipboard

Implement <asset/> tag

Open PixelsCommander opened this issue 12 years ago • 0 comments

<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.

PixelsCommander avatar Mar 14 '13 17:03 PixelsCommander