Hi,
I have problem and i am not sure if its a bug or if i am doing something wrong.
I am making a game that incorporates my album music in it and i want to show the current playing track time.
So i made a text object to display the current track time like this:
set text to:
int((audio.PlaybackTime(nowPlaying)/60))&":"&int((audio.PlaybackTime(nowPlaying)%60))
nowPlaying is a global number var that i set according to the current playing track.
if i play track1, i use "1" as a tag and update this var to 1.
my problem is when i press on stuff in the game that plays audio(with a different tag) while a music track is still playing and i do not update or change nowPlaying (still set on 1) in that event, the text box shows me the time of the 2nd audio that is playing, instead of continue showing the playbacktime of track1.
anyone got any ideas?