maxelcat
Technical User
- Oct 19, 2006
- 79
I am using studio 8. I am wanting to insert a .swf file into a section of a webpage index.html using DW8.
I place the .swf into the root folder, where the index.html file is.
I use the common-tasks->flash and select the .swf file. A gray placeholder appears. When I press run all is fine. When I use F12 to preview all is fine.
However if I then attempt to run the file from a my local apache server I get errors messages. The page loads fine as before, but the flash swf is simply not there.
The site has run totally fine before.
I can make the swf file work by cutting and pasting the html that flash generates when you do a preview. This all works fine, but when I try to opent he file in DW8 I am told that it contains tags that some browsers wont interpret correctly.
I am at a bit of a loss to know how best to put a .swf into a webpage really.
Any advice please?
Perhpas this isn't a DW8 issure but a server issue? Or a flash one???
"I love deadlines - I love the noise they make as they go wishing past" (not mine of course, but very ture...0
I place the .swf into the root folder, where the index.html file is.
I use the common-tasks->flash and select the .swf file. A gray placeholder appears. When I press run all is fine. When I use F12 to preview all is fine.
However if I then attempt to run the file from a my local apache server I get errors messages. The page loads fine as before, but the flash swf is simply not there.
The site has run totally fine before.
I can make the swf file work by cutting and pasting the html that flash generates when you do a preview. This all works fine, but when I try to opent he file in DW8 I am told that it contains tags that some browsers wont interpret correctly.
I am at a bit of a loss to know how best to put a .swf into a webpage really.
Any advice please?
Perhpas this isn't a DW8 issure but a server issue? Or a flash one???
Code:
<div id="left_col">
<!--this is the noticeboard section here-->
<script type="text/javascript">
AC_FL_RunContent( 'codebase','[URL unfurl="true"]http://download.macromedia.com/pub/shockwave/[/URL]
cabs/flash/swflash.cab#version=7,0,19,0','width','220',
'height','140','title','fred','src','flash/teacher_advert',
'quality','high','pluginspage',
'[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer','movie',[/URL]
'flash/teacher_advert' ); //end AC code
</script><noscript><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="[URL unfurl="true"]http://download.macromedia.com/pub/shockwave/cabs/[/URL]
flash/swflash.cab#version=7,0,19,0" width="220" height="140" title="fred">
<param name="movie" value="flash/teacher_advert.swf" />
<param name="quality" value="high" />
<embed src="flash/teacher_advert.swf" quality="high" pluginspage="[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer"[/URL] type="application/x-shockwave-flash" width="220" height="140"></embed>
</object>
</noscript></div>
<div id="center_col"><p>We are passionate Web and Graphic Design Specilist based in North London and North Hampshire.</p>
<p> At Maxelcat we love our work, what we do and are ravenous for more. We have a depth of experience in web design, web development, branding.......etc
"I love deadlines - I love the noise they make as they go wishing past" (not mine of course, but very ture...0