-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sure.  Piece of cake.  You just use CFCONTENT, then make CF spit out
the text you need for the ASX:

<cfsetting EnableCFOutputOnly="yes">
<cfcontent type="video/x-ms-asf"><cfoutput><ASX VERSION="3.0">
    <TITLE>ASX Title</TITLE>
        <COPYRIGHT>(C) #DateFormat(Now(), "yyyy")# Your Site
Here</COPYRIGHT>
        <ABSTRACT>Description</ABSTRACT>
    <cfloop query="Whatever"><ENTRY><REF HREF ="#VideoURL#"
/></ENTRY></cfloop>
</ASX></cfoutput><cfabort>

Note:  There can't be any spaces, new lines, etc. between the start
of the <Cfcontent...> tag and the end of the <ASX ....> tag.  Any
space sent out to the client there will cause the client to not
recognize the file as an ASX.

Hope that helps.

Best regards,
Zac Bedell

> -----Original Message-----
> From: Chuck Hergenroeder [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 08, 2000 2:06 PM
> To: [EMAIL PROTECTED]
> Subject: Create a ASX file from CF Form
> 
> 
> Has anyone or does anyone know if it is possible to create an 
> ASX file (MS Streaming media redirect file) dynamically 
> through a CF form.
> 
> What I am trying to do is pull a list of ASF files from a 
> database. Display the list with checkboxes. The user will 
> select the file(s) they want to view. Then an ASX file will 
> be created depending on which files they selected. 
> 
> I'm kinda new to CF so I'm not sure if you can do this. If 
> there is an easier way to do this please let me know.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
Comment: Please use PGP!!!

iQA/AwUBOZBUIgraVoMWBwRBEQJL3QCgg7BIjyRBLZ8K1MR1K61AUao6DeMAnjk0
hsZQPz0pYMXotVZcvt2tJHHp
=KMQe
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to