-
Load Sound working locally but not in browser
I have a site that loads a movie with a music player in it. The file works fine when I test it in flash but when I play it in explorer it loads all 15 tracks one on top of the other.
I'm using quite a few variables to get this to work and I have a feeling that they are somehow getting screwed up by the browser. Is there a way I can see the variables in the browser the way I can in the test movie function or the debugger?
-
You could add a dynamic textfield for testing purposes, and display whatever variable. When you're done, delete it or move it off-stage. Could be usefull again!
-
I tried that and again when I test locally the variables are there but when I drag it to explorer they don't appear
-
Well... Do you at least have a link?
Hard to say what might be happening on your little info!
-
Yup
but turn down your volume it a little scary!
http://www.disco30.com/test/
click on the tracks button in the top right corner and pick a song.
It's really being weird. There are two dynamic text boxes to the left of each song button that when tested locally show the position and duration of the external mp3 that should be playing. But even the default text i have typed in doesn't appear.
Most of the code in my player is based around the position and duration values of each sound file.
I'm assuming that those are getting screwed up so my code is going to %#$@
I really appreciate the help... Tell me if there is anything else you need.
-
Using soundObject on this? Have you seperately named each soundObject?
-
I have an array at the begining of the file which holds the name and location of all my sound files.
Using that array I generate the menu by duplicating a movie clip of my button.
The problem is i want the file to recognize that the song clip is finished and move to the next one so I am using the duration and position values in a loop that constantly check if the two values are equal. when they are it is supposed to return the button to it's off state and play the next song in the list. But for some reason in explorer it is either not finding the duration and position info that it needs or for some reason it is reading those two values as equal right away and starting the next song on top of the first one.
I'm really stumped by this... It took me three days to get this to work but I was only testing in flash and not in the browser. I finally got it to work perfectly in flash and when I drop it onto the browser it does that!
-
Well, if you upload your .fla(s) to your server and provide a link to download them from there, I can have a look at it(them) tonight... But no promises, I could get this going in 10 minutes! I haven't really worked with sound players!
-
I think I may be on to something. I'm going to give myself an hour with this to see if what i think it is pans out.
If not I will post another thread and upload the files then.
Thank you sooooooo much!!!!
If I fiigure it out I will get back to you
THX
-
-
His tutorial on sound objects right here on flash kit is how I learned to use them.
Working for a music company it has come in VERY handy
-
-
Didn't update your test site though did you?
-
gimme a minute
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|