It looks like you're new here. If you want to get involved, click one of these buttons!
local frames = {} local bmp for i = 1, 2 do bmp = Bitmap.new(Texture.new("images/Homepage"..i..".png", true)) bmp:setAnchorPoint(0.5, 0.5) frames[#frames+1] = bmp end --arrange frames Animated_menu_bg = MovieClip.new{ {1, 15, frames[1]}, {16, 30, frames[2]}, } --loop animation Animated_menu_bg:setGotoAction(30, 1) --start playing Animated_menu_bg:gotoAndPlay(1) Animated_menu_bg:setPosition(200,200) self:addChild(Animated_menu_bg)
Likes: Jacko
Comments
Likes: Jacko