I have a news ticker that I modelled after the kirupa tutorial that was given:
When I run it on my local machine it works just fine the way I expect it to. However when I put it on my website, it does not work at all. I have another flash file (.swf) on my webpage which is just a simple countdown timer and that works just fine so I don’t think this problem has anything to do with MIME types.
Here is the code I used to embed the .swf file onto my website:
var so = new SWFObject(“http://428the.calvin.hostingrails.com/XMLParser/sports_ticker1.swf”, “headerAnimation”, “390”, “180”, “0”, “#FFFFFF”);
so.addParam("quality", "high"); so.addParam("wmode", "transparent"); so.write("swfHeader"); </script>
This code is taken from kirupas source code.
I originally had used this code:
<object width=“550” height=“50”>
<param name=“movie” value=“sports_ticker1.swf”>
<param name=“wmode” value=“transparent”>
<embed src="…/XMLParser/sports_ticker1.swf" width=“550” height=“50” wmode=“transparent”>
Neither of these worked. I just have no idea what I am doing wrong. I don’t know if there is something I should be coding differently in my actionscript. I am very new to AS programming. Any ideas on how to get the .swf file to appear on my website would be great.
Thank you so much for any help. Take care.