I am trying to load by tapping a button once and then unloading it by tapping the button for a second time.
So far I have been able to load the file but have no idea how to unload it with the second tap.
Any help would be great, I am a Corona beginner!
menuButn = display.newImage( “NewImages/menuButton.png”, 25, 25)
function openMenuBar (event, self)
local openList = require(“menuBar”)
end
menuButn:addEventListener(“tap”, openMenuBar)
[import]uid: 155889 topic_id: 31309 reply_id: 331309[/import]