 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
kyle
Joined: 07 Aug 2007 Posts: 6
|
Posted: Thu Sep 06, 2007 7:48 pm inserting flash file into dreamweaver cs3 |
|
|
|
I am using dreamweaver to insert a flash file....but its not working. It seems like it should be so easy...just insert/media/flash...All my links appear to be correct. I have all the files saved in my site... and if I use flash to publish the slideshow in html it works...but it doenst seem to be doing anything in dreamweaver..Here is what I am testing with..what am I doing wrong???
| Code: |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ATV slideshow</title>
</head><body>
<script src="../scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
AC_SW_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,1,1,0','width','32','height','32','src','flash/slide_dragon_nytro_raptor.fla','pluginspage','http://www.adobe.com/shockwave/download/' ); //end AC code
</script><noscript><object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,1,1,0" width="32" height="32">
<param name="src" value="../flash/slide_dragon_nytro_raptor.fla" />
<embed src="../flash/slide_dragon_nytro_raptor.fla" pluginspage="http://www.adobe.com/shockwave/download/" width="32" height="32"></embed>
</object>
</noscript>
</body>
</html>
|
|
|
sticks464
Joined: 31 Dec 2006 Posts: 1122
|
Posted: Thu Sep 06, 2007 8:12 pm |
|
|
|
The only thing I see is changing the path to the fla
| Code: |
| 'flash/slide_dragon_nytro_raptor.fla' |
to
| Code: |
| '../flash/slide_dragon_nytro_raptor.fla' |
Or copy the code from the flash generated html file and paste it into dreamweaver in code view. But you still have to make sure the paths are correct to the folder where the fla is stored. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8269 Location: Castle Rock CO USA
|
Posted: Fri Sep 07, 2007 7:01 am |
|
|
|
Usually the file is a SWF file. The FLA file is a source file. Try exporting your Flash file to SWF first and then embedding it into HTML
_________________
Corey
Toll Free Fax Numbers | Yahoo Merchant Account |
|
kyle
Joined: 07 Aug 2007 Posts: 6
|
Posted: Fri Sep 07, 2007 12:13 pm |
|
|
|
the ATV slideshow doc is in my root folder and the flash doc is in a flash folder in the root so the flash/slide link should be correct......I think anyway...I am not sure why i have a .fla but I also had the .swf and tried with both and it just doesnt seem to be loading. I used dreamweaver to check the links and it says there ok????
| Code: |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','170','height','300','title','atvslide','src','flash/slide_dragon_nytro_raptor','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flash/slide_dragon_nytro_raptor' ); //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="170" height="300" title="atvslide">
<param name="movie" value="flash/slide_dragon_nytro_raptor.swf" />
<param name="quality" value="high" />
<embed src="flash/slide_dragon_nytro_raptor.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="170" height="300"></embed>
</object></noscript>
</body>
</html>
|
|
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8269 Location: Castle Rock CO USA
|
Posted: Sat Sep 08, 2007 9:14 am |
|
|
|
Do you have an URL to verify? Also make sure that if you are on a *NIX server, that the file name are in lower case since *NIX server are case sensitive while Windows servers are not.
_________________
Corey
Toll Free Fax Numbers | Merchant Accounts | Microsoft Expressions |
|
kyle
Joined: 07 Aug 2007 Posts: 6
|
|
kyle
Joined: 07 Aug 2007 Posts: 6
|
Posted: Sat Sep 08, 2007 5:39 pm |
|
|
|
so not sure why this made a difference but I saved the file directly into the root folder (before I saved it in my docs and copy/pasted it into my root) and published it and its working...on both my .com and .ca site..
weird... |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8269 Location: Castle Rock CO USA
|
Posted: Sun Sep 09, 2007 5:04 am |
|
|
|
From the code
| Code: |
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','170','height','300','title','atv_slideshow','src','../flash/slide_dragon_nytro_raptor','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','../flash/slide_dragon_nytro_raptor' ); //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="170" height="300" title="atv_slideshow">
<param name="movie" value="../flash/slide_dragon_nytro_raptor.swf" />
<param name="quality" value="high" />
<embed src="../flash/slide_dragon_nytro_raptor.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="170" height="300"></embed>
</object></noscript> |
It goes up one folder and then over to the flash folder
_________________
Corey
Toll Free Fax Numbers | Mile High Merchant Accounts |
|
robynkirwan31
Joined: 29 Jan 2008 Posts: 2
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|