Click to See Complete Forum and Search --> : Flash visible in .dwt but invisible in .html
cvele
10-08-2007, 11:04 AM
I am working in Dreamweaver 8. I made a flash animation and placed it in dwt template.
When I view this template using Firefox this animation is visible. But it is absolutely invisible on every html file made from this template.
Please help!
ryanbutler
10-08-2007, 12:27 PM
Are the files required to view the Flash animation referenced correctly from the sub-files?
cvele
10-09-2007, 04:36 AM
Well, I haven't manually edited these HTML files so I guess they should have been fine.
You can download my problematic files here: http://adas.org.yu/tmp/tmp.zip
Thanx in advance!
I've had that happen before, and I believe it has to do with the linking. Are you using a relative address to link to the Flash file? If so, change it to one that puts the link path on server level first (by placing a forward-slash, then the path), like src="/images/flashfile.swf".
cvele
10-11-2007, 09:33 AM
Nope, did not work! :(
Thanx for the suggestion, though.
Any other ideas?
bama_c
10-14-2007, 11:47 PM
If, when you loaded the flash file into the .dwt, the template .dwt file is in a templates folder (i.e. "c:\websitename\templates\filename.dwt") and the .html files are in the root folder (i.e. "c:\websitename\filename.html)... then the .html file will not see the flash file because the flash files will be in the "templates" folder.
Make sure that your flash (.swf file) code that you placed in the .dwt file points to the folder that the .html file is in. If the .html file is in your root folder, then the code should read like this <param name="movie" value="filename.swf" /> Check the coding and make sure that it doesn't read <param name="movie" value="../templates/filename.swf" />
If this is not the problem, you could try making that area editable in your .dwt file and then inserting the flash file directly into the .html file. Just a thought... don't know if it will help you.
cvele
10-15-2007, 03:44 AM
Well, .DWT has this code:
<param name="movie" value="../flash/ADASbaner1.swf" />
which means it should work fine, but it does not.
But, when I placed one copy of flash file in templates folder and one in site root, so that value="ADASbaner1.swf" it turned out to be the problem solver!!
IT WORKS NOW!!!!
thanx a lot bama_C dude :D
bama_c
10-15-2007, 12:15 PM
Way to go! Glad it helped ...and just for the record, I'm a "dudette." ;)
cvele
10-19-2007, 05:30 PM
Way to go! Glad it helped ...and just for the record, I'm a "dudette." ;)
:D ok, in that case thanx "dudette"! :)
and BTW, is there a way to address a site root directly? Maybe something like ".../" :)
I mean, "../" goes one level up but is there a string that represents the root level, so no matter if you're in "/something/something_else/tmp/" or just in "/something" you still address the root level?
bama_c
10-22-2007, 01:49 PM
Generally, the root folder has no dots or slashes. For example, if you wanted to point to a file called filename.swf located in the root folder, you would code it as "filename.swf". If the file is in another folder, then you would code it as "../foldername/filename.swf"
HTH