Skip to main content
Inspiring
July 28, 2011
Question

cfpresentation

  • July 28, 2011
  • 1 reply
  • 667 views

I have the ppt and i want it to use the cfpresentation but dont know how to do it.  i've been looking some example from web and don't understand about it because some used .flv, some used swf, jpg, ect.  i have no idea what those for.  I found this example to converts a PowerPoint presentation to an Adobe Connect presentation but don't really understand the code where there have the video1.flv? why it needs .flv or swf or jpg for?

<cfpresentation
    title="my presentation"
    directory="#expandPath('.')#"
    overwrite=true>
    <cfpresentationslide
        src="#expandPath('.')#/test.ppt"
        slides="1">
    </cfpresentationslide>
    <cfpresentationslide
        duration="4"
        video="video1.flv">
            Sample slide
    </cfpresentationslide>
</cfpresentation>

please help

thanks

This topic has been closed for replies.

1 reply

josh_adams1
Participating Frequently
July 28, 2011

It's not clear to me what you're trying to do.  Are you trying to use <cfpresentation> to create a ppt file?  Or are you trying to use <cfpresentation> to convert a ppt file to something you can put online (either HTML or Flash)?

Have you checked out these documentation links?

  • http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WS08731025-2134-4bc8-A7CF-4751AF3628BC.html
  • http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7910.html

Josh

josh_adams1
Participating Frequently
July 28, 2011

You might also want to check out my blog post on my demo app Presentastic:  http://blog.joshuaadams.com/index.cfm/2009/10/5/Presentastic-Working-with-PowerPoint-files-in-ColdFusion-9.

Josh