Hi, how can i delete the UI button?
The code nameOfButton:removeSelf() doesn't works properly.
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
remove button
myButton:removeSelf()
myButton = nil
Should work, UNLESS you have some other variable referencing that object somewhere else in your code.
it seems doesen't work for me, i should remove all object when i press some a button
Here i have the sample code, can you help me?
http://cl.ly/1f36451v0q230W2O3R2n
views:1684 update:2011/10/6 9:28:12
热门文章
GameCenter LeaderBoards and Achievements Enabled Through OpenFeint
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
相关文章
Load screen and loaders on Android
SDK Proxy Access
native.newVideo() are listeners working yet?
Native Game Center Tutorial
Clear All Lines
Slots From The Crypt: PROMO CODES
In App Purchases - Universal Binary - What Devices? - Nook?
iPad SDK?
Install failed on Kindle Fire
Mask help, need to change touch area
SDK Proxy Access
native.newVideo() are listeners working yet?
Native Game Center Tutorial
Clear All Lines
Slots From The Crypt: PROMO CODES
In App Purchases - Universal Binary - What Devices? - Nook?
iPad SDK?
Install failed on Kindle Fire
Mask help, need to change touch area
corona forums © 2003-2011