PDA

View Full Version : Flash works in Dreamweaver, but not on Web Browsers (IE,FF)


jjm82
10-30-09, 12:35 PM
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','160','heigh t','15','title','sjm','src','sjm','quality','high' ,'pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','scal e','noborder','movie','sjm' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="160" height="15" title="sjm">
<param name="movie" value="sjm.swf">
<param name="quality" value="high"><param name="SCALE" value="noborder">
<embed src="sjm.swf" width="160" height="15" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" scale="noborder"></embed>
</object></noscript></td>
Above is the code. I made a non working small button size flash that slowly fades and out and in type. First I couldn't figure out how to work it in table but after researching so hard I made it to work but I still dont know how...

Now! It works in Dreamweaver!(YAY!!) I can play and stop and see the movie. BUT!! when I uploaded it to the server, it doesnt work. I dont see it at all. that place is completely empty. when I click and drag the cursor there, there is no selection nothing.
I saw the source and it is clearly there but no flash.

PLEASE HELP!!! Im a newbie here...


J

tpoynton
10-30-09, 02:59 PM
try opening the html file locally with your browser instead of dreamweaver; it sounds like the movie was not uploaded.

provide a link to your page if that doesnt help

jjm82
10-30-09, 09:50 PM
Well, I did try to load from the file locally but that doesnt work either.

my web address is

http://www.seokjunmin.com

jjm82
10-30-09, 09:54 PM
oh i tried it again this time and it works locally. It works if I just double click on index.html file but it doesnt work when I upload it using with dreamweaver.
I even uploaded original flash file too. It is there but I dont know why it doesnt work...

Autoload
10-30-09, 11:09 PM
Link please...

Croc Hunter
10-31-09, 01:30 AM
It's the way you're embedding it, FF & sometimes IE8 don't like <embed> tags. The file is there ok; http://www.seokjunmin.com/sjm.swf So let's just strip out the Dreamweaver proprietory rubbish code and get back to cross browser friendly basics.

In code view delete all that AC_FL rubbish -- everything between the <td> ... </td> tags.

Replace it with this code;
<object
type="application/x-shockwave-flash"
data="http://www.seokjunmin.com/sjm.swf"
width="160"
height="15">
<param
name="movie"
value="http://www.seokjunmin.com/sjm.swf" />
</object>

jjm82
10-31-09, 08:22 PM
thanks man it worked exactly how I wanted. Actually, I also wanted to have the background transparent and couldnt figure out for hours and found online that I had to add another

param name="wmode"
value=transparent

something like that manually because from flash, it didn't set up how I wanted to be...

Anyway, thanks croc! if you keep help me out whenever I need, I will give you a nice X-mas present!!!!!!! WOAH~ lol

thanks again I appreciate your help!

Hope to speaking to you again~



Sincerely

noob

Croc Hunter
10-31-09, 11:20 PM
You can add any param you need. You might be better off to use opaque.<param name="wmode" value="opaque" />
It's faster and uses less resources to do much the same thing as transparent.