You're welcome, Helmut.

I forgot to mention it, but If you can run ASP.NET, parsing the swf header
shouldn't be too difficult. (I already have written some C# code to do that
for an open source project and I bet you can find other .NET OS projects
that deal with that same task).

But the again, you need ASP.NET installed on the server (maybe you already
have it if you're deploying to a Windows Server...).

Cheers
Juan Pablo Califano


2008/4/29, Helmut Granda <[EMAIL PROTECTED]>:
>
> thanks for your insight Juan.
>
> On Mon, Apr 28, 2008 at 8:34 PM, Juan Pablo Califano <
> [EMAIL PROTECTED]> wrote:
>
> > In native classic ASP (without any extra components installed in the
> > server), I'd say it's almost impossible. Maybe if the swf is
> uncompressed,
> > you can give it a shot, reading the file with a FileSystemObject -which
> is
> > meant to read text files- and using some single-byte string encoding and
> > reading the chars values with de asc() function. Ugly, but it should be
> > possible (it's not a peace of cake, though, considering the fact that
> VBS
> > doesn't even have a syntax for bit shifting, so you'd have to craft
> > some functions for that).
> >
> > But the biggest problem is, most swf's are compressed since version 6,
> and
> > except the first 8 bytes (signature + version + file_size), the rest of
> > the
> > header itself is deflated (as well as the rest of the file). As far as I
> > know, classic ASP doesn't support deflating natively, so that would be a
> > major problem -- and I'm not sure if there's some work around to that
> > limitations.
> >
> >
> > Cheers
> > Juan Palblo Califano
> >
> >
> > 2008/4/28, Helmut Granda <[EMAIL PROTECTED]>:
> > >
> > > Hi All,
> > >
> > >            I have done some extensive research in the subject and the
> > only
> > > solution I found is a ASP class some one wrote in 2001 and it is
> > outdated.
> > > Does anyone knows how to read the SWF headers with ASP? I know how to
> do
> > > it
> > > with PHP but I havent found a solution with ASP.
> > >
> > > Mainly I am trying to get width and height.
> > >
> > >            TIA
> > > _______________________________________________
> > > Flashcoders mailing list
> > > [email protected]
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > _______________________________________________
> > Flashcoders mailing list
> > [email protected]
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> ...helmut
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to