How to show scroll text in Corona sdk -
i need show text large height simulator screen. text showed throw:
local detailscreentextdescripcion = display.newtext("descripcion", 0, 0, (display.contentwidth*2) ,0 , native.systemfont, 12)
the large not limited on visible field because value 0, don't know how can see rest of text disappears @ bottom of screen.
thanks
you can write function scroll/move text right left. , can add functionality it. ex: ontextclick "resume scrolling"/"stop scrolling".
local function scrolltext(text) transition.to( text, { time=3000, alpha=0, x=-(textwidth - display.contentwidth),} ) end
Comments
Post a Comment