Just a thought ... couldn't you use the URLStream class to parse the file as it's being downloaded and once you have the metadata, close the connection?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 31 July 2008 21:35 To: Flash Coders List Subject: Re: [Flashcoders] Can Flash read a pdf's metadata? Hi Michael, The PDF specification is here: http://www.adobe.com/devnet/pdf/pdf_reference.html AS3 is perfectly capable of reading it and pulling it apart via the ByteArray class, although you'd have to write the code to do that. However, you would need to load the entire PDF into the AS3 app to do so. If this is a web client application, I'd recommend doing the parsing serverside - there are a number of libraries for various server-side languages for reading PDF data. Then it doesn't matter if you're using AS2 or AS3. HTH, Ian On Thu, Jul 31, 2008 at 7:56 PM, Mendelsohn, Michael <[EMAIL PROTECTED]> wrote: > Hi list... > > Might there be any way for AS2 to read a pdf's metadata? AS3? > > Thanks, > - Michael M. > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders