Ok im doing a rough draft of a site (very rough so excuse layout colors all still experimental etc)
Main thing is though my mp3 player , it is aseperate movie which loads into the main one with this code.
[AS]Mysound = new Sound();
_root.button1.onPress = function() {
Mysound.loadSound(“I_Used_To_Write_Songs.mp3”, false);
Mysound.start(0);
};
_root.button2.onPress = function() {
Mysound.loadSound(“Slavedriver.mp3”, false);
Mysound.start(0);
};
_root.button3.onPress = function() {
Mysound.loadSound(“Time_To_Buy_A_Futon.mp3”, false);
Mysound.start(0);
};
stop();[/AS]
problem is it works fine when i test the main movie on my computer but when i post the site to my server
http://www.freewebs.com/faroutonline/tests/Rake.html
the buttons cease to work WHY???
Please help someone
Changing all of ‘_root’ to ‘this’ might work???
you did embed the mp3s into your MC (I dont know how you can possibly not do this but…who knows?)
cant believe i didnt change the _root. path ok thanks man will try it properly!!
:esmirk:
Still doesnt work and i cant understand why??
When i open the html page from the files on my computer its fine all works but when uploaded the buttons dont seem to work??
I think it may be a loading problem!!
how can i create a preloader to display for sound which is loaded dynamically…
any ideas…