Announcement

Collapse
No announcement yet.

Adding flash presentation to products.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Adding flash presentation to products.

    A small number of products that i will be selling have .swf presentations which i would like to give the customer the oppertunaty to view these.

    The extended info option is perfect as pops up a seperate window but the only way i can do it now is to edit the popup-page html once it is on the site and then overwrite it with the flash object inserted. However once i perform an update from within actinic it uploads the old page and thus overwrites my presentation.

    Any ideas ?

    #2
    Use a custom property to include a flash filename into the template.

    Go to 'Advanced | Custom Properties' and create a new custom property called, say, 'Flash'.

    Then go to 'Design | Options | Layouts' and click 'Edit' next to the 'Default Extended Info Page Layout' field. Save it as 'Act_ExtendedInfoFlash.html'.

    Now locate NETQUOTEVAR:INFOTEXT within the template and add in your code for the flash movie - replacing the filename of the movie with 'CUSTOMVAR:FLASH'. e.g.:

    Code:
    <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="160" height="160">
            <param name="movie" value="CUSTOMVAR:FLASH">
            <param name="quality" value="high">
            <embed src="CUSTOMVAR:FLASH" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="160" height="160"></embed></object>
    Now just select this template in the 'Layout' field in 'Extended Info' tabs for the products that you want flash movie for. Then enter the name of your flash file within the 'Properties' tab of the product. Make sure you select 'Is File Name' so the file gets uploaded.

    Comment

    Working...
    X