Ilike to have an enent that can execute an other event with an name that is stored as an variable.
This way it is possible to make an toggle button without the help of girder, and with the feature to set an image wich i requested before it will be realy awsome. I explain:
- Code: Select all
event 1: album_play
cmd1:music:album play
cmd2:save to variable
information:album_add
variable:togglebutton1
cmd3:button set image
ID:togglebutton1
Image:albumadd.jpg
event 2: album_add
cmd1:music:album add
cmd2:save to variable
information:album_open
variable:togglebutton1
cmd3:button set image
ID:togglebutton1
Image:albumopen.jpg
event 3: album_open
cmd1:music:album open
cmd2:save to variable
information:album_play
variable:togglebutton1
cmd3:button set image
ID:togglebutton1
Image:albumplay.jpg
event 4: toggle button1
cmd:execute event
event:variable>togglebutton1
I hope myrequest is clear and not that hard to implement.
thanks.