[LEFT]hello there, I have made a little flash with music player.
my problem is, when I load each page on my site the music start fro, the begging.
I understand that I need to use the SharedObject method.
I read about it and I’m don’t understanding what should I do… or how to work with this method…
some one can help me…
I just need to save my current length of the song by sherdobject.
this is my code
var my_sound:Sound = new Sound();
my_sound.loadSound("sound.mp3", true);
my_sound.setVolume(70);
skip_sound = SharedObject.getLocal("userData");
if (skip_sound.data.skip) {
//some statements skipping
variableName = skip_sound.data.variableName;
my_sound.start(variableName);
}
this.onEnterFrame = function(){
skip_sound.data.variableName= my_sound.position;
intro_so.flush();
}
[/LEFT]