local c=Sprite.new() stage:addChild(c) c:setPosition(100,100) local sa = [[M191.5,110.5v322h334v-322H191.5z M219.5,136.5h106v115h-106V136.5z M288,387.5 c-27.338,0-49.5-21.49-49.5-48s22.162-48,49.5-48s49.5,21.49,49.5,48S315.338,387.5,288,387.5z M496.5,417.5h-113v-282h113V417.5z]] a=Path2D.new() a:setSvgPath(sa) --Set the path from a SVG path description a:setLineThickness(5) -- Outline width a:setFillColor(0xFFFF80,0.7) --Fill color a:setLineColor(0x404000) --Line color a:setAnchorPosition(100,100) c:addChild(a) --Animate container local mc = MovieClip.new{ {1, 100, c, {scale = {0.5,2,"inOutSine"}}}, {101, 200, c, {scale = {2,0.5,"inOutSine"}}}, } mc:setGotoAction(200,1) c.mc=mc