rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: Rico on April 26, 2007, 07:19:32 PM

Title: how to use swf files in a template ?
Post by: Rico on April 26, 2007, 07:19:32 PM
:
Guys

Using pictures in hfs templates is no prob at all but
how about flash animations in the swf file format ?

Can't figure it out.
This is what I did :

hfs.exe is inside c:\server\
swf file is inside c\swf\

I added the swf folder to the virtual file system

I put my code between
<link rel="shortcut icon" href="favicon.ico" />

and

</head>  of the standard template

but nothing comes up.

What am i doing wrong ?

I use this code :


<div id="layer1" style="width:200px; height:200px; position:absolute; left:306px; top:20px; z-index:1;">
    <p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0" width="200" height="25">
    <param name="movie" value="file:///C|/hfs/swf/LINE_007.SWF">
    <param name="play" value="true">
    <param name="loop" value="true">
    <param name="quality" value="high">
    <embed src="file:///C|/hfs/swf/LINE_007.SWF" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="200" height="25"></embed>
    </object></p>
</div>


Thanks in advance
Rico




Title: Re: how to use swf files in a template ?
Post by: rejetto on April 26, 2007, 07:39:53 PM
you must put it after <body>
Title: Reply on : how to use swf files in a template ?
Post by: Rico on April 26, 2007, 08:05:14 PM
:
Thanks so much rejetto, its working now !

I got confused because FireFox accepted the code between
<link rel="shortcut icon" href="favicon.ico" />
and
</head>

but putting it after <body> like you said
now its working for IE as well

Thanks again

Greetings
Rico


Title: Re: how to use swf files in a template ?
Post by: Wasserfloh on April 26, 2007, 08:30:26 PM
<embed src="file:///C|/hfs/swf/LINE_007.SWF" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="200" height="25"></embed>

The URL is not correct. Your Flash does not lie in C:\HFS\swf\LINE_007.SWF and also File: on the left of can only you locally on your computer something begin.