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:1682 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
相关文章
Is anybody noticing a memory leak when using the ICE library? (load/save module)
Alert/Notification help
Darkant GUI for Corona SDK
Does director clean EVERYTHING?
Flurry AppCircle SDK Integration
Adding physics body problem
13,000,000 Corona SDK based apps out in the wild.
Quick Question
Updating new features in the api documents
Custom fonts do not work on the device
Alert/Notification help
Darkant GUI for Corona SDK
Does director clean EVERYTHING?
Flurry AppCircle SDK Integration
Adding physics body problem
13,000,000 Corona SDK based apps out in the wild.
Quick Question
Updating new features in the api documents
Custom fonts do not work on the device
corona forums © 2003-2011