Flash file not loading.
Permalink
So, I'm just about done my fancy new C5 website, and there is ONE thing that I just cannot figure out.
I have a flash file on my page that will just not co-operate with me, and I'm going to get grey hair over it (not that I don't already have grey hair!)
The music player: It is a flash player that draws from a folder called "MP3s" using an XML file. Check it out here:www.www.blazing-media.com/strongman/test... to see it working just fine.
I used c5 to insert it. The "loading" circle just spins, but no music starts.http://www.blazing-media.com/strongman/... is my development page. If you take a look at the source, and actually follow the src, you'll see that if you open it, it works just fine. Just when it is embedded it doesn't work.
ANY help here would be so, so appreciated. Trust me, I'm going bananas here.
I took some screenshots of the source & of the FTP, you'll find those attached.
Thanks in advance!
Edit - On a separate note:
I'm using the built in slideshow block as my header image rotator (you'll see when you click my link). Where would I find "<div id=ccm-SlideshowBlock-display132"> to fix that sizing issue? Is there another workaround for it?
Thanks again.
I have a flash file on my page that will just not co-operate with me, and I'm going to get grey hair over it (not that I don't already have grey hair!)
The music player: It is a flash player that draws from a folder called "MP3s" using an XML file. Check it out here:www.www.blazing-media.com/strongman/test... to see it working just fine.
I used c5 to insert it. The "loading" circle just spins, but no music starts.http://www.blazing-media.com/strongman/... is my development page. If you take a look at the source, and actually follow the src, you'll see that if you open it, it works just fine. Just when it is embedded it doesn't work.
ANY help here would be so, so appreciated. Trust me, I'm going bananas here.
I took some screenshots of the source & of the FTP, you'll find those attached.
Thanks in advance!
Edit - On a separate note:
I'm using the built in slideshow block as my header image rotator (you'll see when you click my link). Where would I find "<div id=ccm-SlideshowBlock-display132"> to fix that sizing issue? Is there another workaround for it?
Thanks again.
Do you have any suggestions for getting the main image rotator in the right place?
For the Music Player:
Unfortunately firebug won't reveal where the flash file is trying to find the MP3 files.
I want to try and avoid going into the FLA and changing the URL's to absolute if possible, since the SWF is working when you view it by itself. Does anyone else have any other suggestions?
For the Music Player:
Unfortunately firebug won't reveal where the flash file is trying to find the MP3 files.
I want to try and avoid going into the FLA and changing the URL's to absolute if possible, since the SWF is working when you view it by itself. Does anyone else have any other suggestions?
To fix the header slideshow, you might try clicking it (while in edit mode) and using the Design option to apply some inline styles. You can also read in the Help section about how to create a custom template, which lets you customize the code which is used to display the Slideshow Block.
As for your Flash issue, the first step is seeing if you're connecting to the XML. Can you pass the XML's path as a Flash variable, or does it have to be in the same directory?
You can use the "base" parameter to fool Flash into looking for a relative-path in whatever location you specify. The Flash Embed add-on is set up for doing this, so you would upload your XML file, look up its path in its properties window, copy it, then use that to set up a base parameter when you embed your SWF. Once your SWF file is connecting to your XML file successfully, you usually can define the location to your audio files straight from the XML. The Flash Embed add-on allows you to edit your XML directly from the file manager, and includes sitemap and file manager shortcuts so you can browse to select the audio files you want to include and it will paste in the appropriate paths for you.
Anyway, hope that helps. Let me know if you have more questions
As for your Flash issue, the first step is seeing if you're connecting to the XML. Can you pass the XML's path as a Flash variable, or does it have to be in the same directory?
You can use the "base" parameter to fool Flash into looking for a relative-path in whatever location you specify. The Flash Embed add-on is set up for doing this, so you would upload your XML file, look up its path in its properties window, copy it, then use that to set up a base parameter when you embed your SWF. Once your SWF file is connecting to your XML file successfully, you usually can define the location to your audio files straight from the XML. The Flash Embed add-on allows you to edit your XML directly from the file manager, and includes sitemap and file manager shortcuts so you can browse to select the audio files you want to include and it will paste in the appropriate paths for you.
Anyway, hope that helps. Let me know if you have more questions
Well, or actually, I guess you could also consider going with the Flash Audio add-on for $15 ;)
Thanks so much for that detailed reply. I tried using the Design option but it looks like I may have a much bigger problem on my hands. Look what happens when I try to apply any type of Design option:
http://www.screencast.com/users/Methodize/folders/Default/media/580...
I just purchased the Flash Embed / XML Data add-on. It says to upload all my flash files, etc through the file manager. What about all of my .as files and maintaining my directory structures?
http://www.screencast.com/users/Methodize/folders/Default/media/580...
I just purchased the Flash Embed / XML Data add-on. It says to upload all my flash files, etc through the file manager. What about all of my .as files and maintaining my directory structures?
Looking at your source, it doesn't seem like you're passing in a path to the audio files at all. As another commenter pointed out, for flash audio players you usually need to provide the url to the swf file AND the url to the audio file that the swf should play (usually passed in via flashvars or params).
I would download the free addon called "Music" (http://www.concrete5.org/index.php?cID=9607... ) and look at the code in there to see how it does it -- the audio player you're using probably functions similarly to that audio player.
Good luck!
I would download the free addon called "Music" (http://www.concrete5.org/index.php?cID=9607... ) and look at the code in there to see how it does it -- the audio player you're using probably functions similarly to that audio player.
Good luck!
If you check out the mentioned page (www.blazing-media.com/strongman/index.php) you'll see that the music player is now working:) It was just Flash looking for the XML file in a really strange directory. I used Safari's nifty Window--> Activity tool to see that the XML file wasn't being found, which I couldn't figure out how to do in Firebug for some reason.
Anywho, instead of trying to play with the file path I just copied the XML file to where it was looking for it, and tada! It works. Probably not the best permanent solution but if the client isn't going to be touching the server it should be fine.
Anywho, instead of trying to play with the file path I just copied the XML file to where it was looking for it, and tada! It works. Probably not the best permanent solution but if the client isn't going to be touching the server it should be fine.
Try to use absolute urls for your files or use some tools like Firebug to see where flash tries to find your mp3 files