|
#1
| |||
| |||
| Reading the .SWF How do you use the .swf file instead of the .html? The page needs to stretch as it is resized but I can only get it to read the .html. Is there a specific code to make it read the .swf instead? |
|
#2
| ||||
| ||||
| What exactly do you want to do? Embed a .SWF file into an HTML web page? Link directly to a .SWF file? Please elaborate... I don't understand "How do you use the .swf file instead of the .html"...
__________________ Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k http://www.jeffhoppe.com |
|
#3
| |||
| |||
| sorry for the vague question. I think I am trying to link directly to the .swf file so that the index page is the .swf instead of the html. |
|
#4
| ||||
| ||||
| Yes, you do need certain code to post a .swf (flash) file. Here's an example of the code required to post. Bear in mind this code is generated by Dreamweaver so it might not be the cleanest, best code out there; but it will work (alter size numbers to fit your flash file): <object classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="800" height="330"> <param name="movie" value="file:///filedirectoryhere/yourflashfile.swf" /> <param name="quality" value="high" /> <embed src="file:///filedirectoryhere/yourflashfile.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="330"></embed></object>
__________________ Powerpoint is not a design application |
|
#5
| ||||
| ||||
| Yep -- like Natobasso said, you gotta embed the .SWF in an HTML file -- unless you have control over the server that it's being hosted on, in which case you can simply add .swf as one of the default index page extensions to look for in the Apache config file.
__________________ Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k http://www.jeffhoppe.com |
|
#6
| ||||
| ||||
| ...And if ElDiablo's answer about default index page extensions doesn't make any sense to you, then you definitely need to embed the .swf in an HTML file. Here's a recent article on embedding media into HTML if you'd like to read a little more about the issues surrounding this.
__________________ Matt (billbaloney) 1.67GHz "October 2005" G4 Aluminum 1.5 GB RAM, OS 10.5.2 Lots of other things around Helen Marie Holford Industries |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reading Dvd | kumar | Mac OS X System & Mac Software | 0 | September 18th, 2005 11:30 AM |
| Cd/dvd Not Reading | saltar | Hardware & Peripherals | 0 | June 2nd, 2005 01:30 AM |
| bit reading instead of byte reading ... | maccatalan | Software Programming & Web Scripting | 9 | December 13th, 2002 03:51 PM |
| Reading PDF | MikeDC | Software Programming & Web Scripting | 2 | September 14th, 2002 09:32 PM |
| Reading files | mfhaque | Software Programming & Web Scripting | 3 | June 28th, 2001 02:45 PM |