image
image

Go Back   macosx.com > Design, Media, Programming & Scripting > Design & Media

Reply
 
Thread Tools
  #1  
Old July 20th, 2006, 09:25 AM
Making Design taste good
 
Join Date: Jan 2006
Location: NYC
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
macjones is on a distinguished road
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?
Reply With Quote
  #2  
Old July 20th, 2006, 10:22 AM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 10,283
Thanks: 3
Thanked 109 Times in 101 Posts
ElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the rough
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
Reply With Quote
  #3  
Old July 20th, 2006, 10:54 AM
Making Design taste good
 
Join Date: Jan 2006
Location: NYC
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
macjones is on a distinguished road
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.
Reply With Quote
  #4  
Old July 20th, 2006, 02:26 PM
Natobasso's Avatar
Tech-Bot 5000
 
Join Date: Jul 2002
Location: Yo' Mama's House
Posts: 2,974
Thanks: 1
Thanked 3 Times in 3 Posts
Natobasso is on a distinguished road
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
Reply With Quote
  #5  
Old July 20th, 2006, 02:34 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 10,283
Thanks: 3
Thanked 109 Times in 101 Posts
ElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the rough
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
Reply With Quote
  #6  
Old July 20th, 2006, 03:01 PM
billbaloney's Avatar
House pianist
 
Join Date: Oct 2000
Location: Brooklyn, NY
Posts: 509
Thanks: 0
Thanked 0 Times in 0 Posts
billbaloney is on a distinguished road
...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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

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


All times are GMT -5. The time now is 04:20 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.