CommitteeEnt
12-07-2007, 06:27 PM
Whusts up guys, Im gonna just get straight to the point...We run a entertainment comany and i just put up our web-site..I got the template from templatemonster or some site like that and I have couple of questions
...here is my site http://www.committeeentertainment.com
1) How do I make the sound work when I add the flash site to dreamweaver..it works when i test the movie in macromedia flash but does not read it on dreamweaver...do i need to add the song to the server? and than how do i still have it play from there?
here is the script from flash--->
var numtrack = 1;
var maxTracks = 3;
my_sound = new Sound();
my_sound.loadSound("music/track1.mp3", false);
//
my_sound.onLoad = function(ok) {
if (ok) {
clearInterval(interval);
this.start();
tf_txt.text = "TRACK"+numtrack;
}
};
function loader(sound) {
var gbl = sound.getBytesLoaded();
var gbt = sound.getBytesTotal();
tf_txt.text = int(gbl/gbt*100)+"%";
}
my_sound.onSoundComplete = function() {
my_sound.start();
};
interval = setInterval(loader, 100, my_sound);
//
// player controls
btnNext.onRelease = function() {
numtrack++;
if (numtrack == maxTracks+1) {
numtrack = 1;
}
my_sound.loadSound("music/track"+numtrack+".mp3", false);
interval = setInterval(loader, 100, my_sound);
trace(numtrack);
};
btnPrev.onRelease = function() {
numtrack--;
if (numtrack == 0) {
numtrack = 3;
}
my_sound.loadSound("music/track"+numtrack+".mp3", false);
interval = setInterval(loader, 100, my_sound);
trace(numtrack);
};
btnStop.onRelease = function() {
my_sound.stop();
};
btnPlay.onRelease = function() {
my_sound.stop();
my_sound.start();
};
my_sound.start();
2) 2nd question is....
how do I do the same thing as above but with video..when i import the video inot the flash site on macromedia and then test the movie it works..but when I save it as *.swf and add it to dreamweaver it doesnt read it...?
3)Do I need a PHP to make the contact form send the email to me...if yes...how do I go about that
THANKS SO MUCH FOR TAKING YOUR TIME TO READ THIS..ALSO IF YOU CAN CRITIQUE THE SITE FOR ME AND TELL ME WHAT I CAN ADD OR TAKE OUT PLEASE DO!!!!! THANKS SO MUCH!!!!!!
...here is my site http://www.committeeentertainment.com
1) How do I make the sound work when I add the flash site to dreamweaver..it works when i test the movie in macromedia flash but does not read it on dreamweaver...do i need to add the song to the server? and than how do i still have it play from there?
here is the script from flash--->
var numtrack = 1;
var maxTracks = 3;
my_sound = new Sound();
my_sound.loadSound("music/track1.mp3", false);
//
my_sound.onLoad = function(ok) {
if (ok) {
clearInterval(interval);
this.start();
tf_txt.text = "TRACK"+numtrack;
}
};
function loader(sound) {
var gbl = sound.getBytesLoaded();
var gbt = sound.getBytesTotal();
tf_txt.text = int(gbl/gbt*100)+"%";
}
my_sound.onSoundComplete = function() {
my_sound.start();
};
interval = setInterval(loader, 100, my_sound);
//
// player controls
btnNext.onRelease = function() {
numtrack++;
if (numtrack == maxTracks+1) {
numtrack = 1;
}
my_sound.loadSound("music/track"+numtrack+".mp3", false);
interval = setInterval(loader, 100, my_sound);
trace(numtrack);
};
btnPrev.onRelease = function() {
numtrack--;
if (numtrack == 0) {
numtrack = 3;
}
my_sound.loadSound("music/track"+numtrack+".mp3", false);
interval = setInterval(loader, 100, my_sound);
trace(numtrack);
};
btnStop.onRelease = function() {
my_sound.stop();
};
btnPlay.onRelease = function() {
my_sound.stop();
my_sound.start();
};
my_sound.start();
2) 2nd question is....
how do I do the same thing as above but with video..when i import the video inot the flash site on macromedia and then test the movie it works..but when I save it as *.swf and add it to dreamweaver it doesnt read it...?
3)Do I need a PHP to make the contact form send the email to me...if yes...how do I go about that
THANKS SO MUCH FOR TAKING YOUR TIME TO READ THIS..ALSO IF YOU CAN CRITIQUE THE SITE FOR ME AND TELL ME WHAT I CAN ADD OR TAKE OUT PLEASE DO!!!!! THANKS SO MUCH!!!!!!