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:1685 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
相关文章
Retrieve Table Name
Hit test on transparent objects?
Generating a list of Corona symbols
Walkabout - Now on App Store! (And android market)
Simple Audio RecorderSound audio coming out of earpiece, not speaker
display.CaptureScreen for e-mailing
Google Android- Anyone doing good with their market?
Background image not covering full screen
display.captureScreen and display.save adds bounding box to objects
Problems with while loop
Hit test on transparent objects?
Generating a list of Corona symbols
Walkabout - Now on App Store! (And android market)
Simple Audio RecorderSound audio coming out of earpiece, not speaker
display.CaptureScreen for e-mailing
Google Android- Anyone doing good with their market?
Background image not covering full screen
display.captureScreen and display.save adds bounding box to objects
Problems with while loop
corona forums © 2003-2011