Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued Products: Article Manager 1:
Image Upload for .swf files?

 

 


simonlilly
User

Jul 9, 2002, 6:41 AM

Post #1 of 4 (2580 views)
Shortcut
Image Upload for .swf files? Can't Post

Just wondered why AM doesn't appear to support .swf files as an image type. I've added them to the supported image list and made sure the maximum pixel size is less than the .swf canvas but it just displays a small square!

Any ideas?

http://www.meridiantv.com/artman/publish/article_247.shtml

The .swf should be below the story on the left-hand side.

Cheers,

Simon
---
Simon Lilly
Web Bloke
www.meridiantv.com
---


chris
Staff


Jul 9, 2002, 11:58 AM

Post #2 of 4 (2562 views)
Shortcut
Re: [simonlilly] Image Upload for .swf files? [In reply to] Can't Post

Hi Simon,

Article Manager puts URLs to images in <img> tags by default, and unfortunately browsers won't display Flash files without some special code. However, there is certainly a work-around!

The HTML code to display a Flash file inside a page is:


Code
 <object    
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0"

width="100"
height="100">
<param name="movie" value="***image1:url***">
<param name="wmode" VALUE="transparent">
<param name="quality" value="high">
<param name="loop" value="false">

<embed
src="***image1:url***"
quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash"
loop="false"
width="100"
height="100">
</embed>

</object>

You can copy-and-paste this HTML directly into your article's "summary" or "content" field. You'll need to change both Image Placeholders (***image1:url***) to reflect the correct image number for your uploaded .swf file. Also, Article Manager lacks the ability to determine the height and width of a Flash file, so you'll need to manually change both sets of height and width parameters. More information on the <object> and <embed> tags is available on Macromedia's page here:

http://www.macromedia.com/support/flash/ts/documents/tn4150.html

I'll make a note in Article Manager's feature request list to look into supporting Flash files by default.
Chris


(This post was edited by Chris on Jul 10, 2002, 9:48 AM)


simonlilly
User

Jul 10, 2002, 2:10 AM

Post #3 of 4 (2550 views)
Shortcut
Re: [Chris] Image Upload for .swf files? [In reply to] Can't Post

Thanks for that it seems to work but the article ends after that. Where as the article template should have some footer text

Here's the link to the example page, with the .swf file at the foot of the page:

http://www.meridiantv.com/artman/publish/article_247.shtml

Regards,

Simon
---
Simon Lilly
Web Bloke
www.meridiantv.com
---


chris
Staff


Jul 10, 2002, 9:52 AM

Post #4 of 4 (2540 views)
Shortcut
Re: [simonlilly] Image Upload for .swf files? [In reply to] Can't Post

Sorry about that!

I neglected the closing </object> tag, which is supposed to come after the <embed>...</embed> container tag. I've updated my post above, in case anyone else stumbles across this thread.

I've tried out a copy of your page locally, and adding the closing tag fixes the page.
Chris

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4