PDA

View Full Version : imported video into flash


fodder
05-29-2006, 12:47 PM
i have done that and then trtied putting the swf on a webpage and nothing shows up apart from a black box where the video should be.

the swf works when i play it on my pc but when i try putting it in a browser it doesnt...

i used this code:


<div id="videoswf" style="width: 352px; height: 240px"></div>

<script type="text/javascript">
var fo = new FlashObject("music/5thvid.swf", "animationName", "352", "240", "8", "#000000");
fo.addParam("allowScriptAccess", "sameDomain");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("loop", "false");
fo.write("videoswf");
</script

fodder
05-29-2006, 02:33 PM
ive found that it just doesnt work in firefox....

domedia
05-29-2006, 03:07 PM
Make sure music/5thvid.swf is actually on the server.

fodder
05-29-2006, 04:35 PM
didnt host it properly..... but there doesnt seem to be the play button, etc on the bottom of it:

http://www.tkne.co.uk/videoswebsite.html