Hi all,
Just a quick question, if i am using sound/music in a flash movie and i would like to create an instance for it then play it in actionscript, how would i go about getting the size of that sound file?
Here is the code i used, btw the sound file has a linkage name of ‘tune’
musik = new Sound(this);
musik.attachSound("tune");
musik.start();
varsize = musik.getBytesTotal();
A dynamic text field is placed in the doc to show the value of varsize but when the movie loads, it shows as undefined!
Can anyone shed some light on this?
Thanks in advance.