Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function removeTextBox()
- textBox:removeSelf()
- textBox=nil
- scrollView.y = 200
- scrollView:removeSelf()
- for i=1, 200 do
- print (" DELETED ScrollView ")
- end
- end
- textBox = display.newText( ( rosetta:getString (whatToSay) ), 4, 0, 280 , 0, "QuadratSerial", 16)
- textBox:setTextColor( 220, 220, 220, 255 )
- local widget = require "widget"
- scrollView = widget.newScrollView{ height=130, maskFile="TextMask.png", bgColor = {20,20,35,255} }
- scrollView.isHitTestMasked = true
- scrollView:insert(textBox)
- scrollView.y = 280
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement