/ Published in: ActionScript 3

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public class SpriteWrapper extends UIComponent { public function SpriteWrapper(s:Sprite) { super(); explicitHeight = s.height; explicitWidth = s.width; addChild(s); } }
Comments
