Mark,
The sswf.sf.net and gnash sites look very promising.
The responses from you and JG are really appreciated.
Thank you.
John


----- Original Message ----- 
From: "Mark Winterhalder" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Sunday, August 06, 2006 5:26 PM
Subject: Re: [Flashcoders] SWF decoding


> John,
>
> maybe have a look at <swfmill.org> or
> <http://www.gnu.org/software/gnash/>. They're both GPL, so depending
> on what you want to do this might be an issue, but there are some
> others out there that maybe offer the code for licensing (the number
> of swfmill contributors is small, so it might be possible, too, if you
> ask).
>
> Oh, and there's <sswf.sf.net>, I don't know the license, but it should
> be worth checking out and has links to other projects.
>
> HTH,
> Mark
>
>
>
> On 8/6/06, John McCormack <[EMAIL PROTECTED]> wrote:
> >
> > John,
> > Thanks for that suggestion. That was a fascinating journey. The closest
I got was p-code. The code below shows what I am after, it's from the first
release in 1998 (freely available from MM). After reading the bytes and
decoding them they may give you a run of pixels of a certain colour, or
something similar.
> >
> >
> > U32 CInputScript::GetBits (S32 n)  // Get n bits from the stream.
> > {
> >     U32 v = 0;
> >
> >     for (;;)  {
> >         S32 s = n - m_bitPos;
> >         if (s > 0)  {   // Consume the entire buffer
> >             v |= m_bitBuf << s;
> >             n -= m_bitPos;
> >
> >             // Get the next buffer
> >             m_bitBuf = GetByte();
> >             m_bitPos = 8;
> >         }
> >         else  {  // Consume a portion of the buffer
> > ...
> >
> > John
> >
> > ----- Original Message -----
> > From: "John Grden" <[EMAIL PROTECTED]>
> > To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
> > Sent: Sunday, August 06, 2006 1:26 PM
> > Subject: Re: [Flashcoders] SWF decoding
> >
> >
> > > www.buraks.com/asv
> > >
> > > maybe actionscript viewer might help?
> > >
> > > On 8/6/06, John McCormack <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I joined recently. It's been really interesting reading your posts.
Thank
> > > > you for that.
> > > >
> > > > I would like to use C/C++ to decode SWF files into bitmaps. That way
I can
> > > > author in Flash and decode within my own programs. Adobe haven't
responded
> > > > at all to my request for the SDK.
> > > >
> > > > When the first SDK came out Macromedia were happy to give me access
to it,
> > > > with files such as swfparse.cpp etc. Perhaps some of the tags can
still be
> > > > decoded the same way. Can anyone suggest a way forward?
> > > >
> > > > John
> > > >
> > > > McCormack
> > > > _______________________________________________
> > > > Flashcoders@chattyfig.figleaf.com
> > > > To change your subscription options or search the archive:
> > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > >
> > > > Brought to you by Fig Leaf Software
> > > > Premier Authorized Adobe Consulting and Training
> > > > http://www.figleaf.com
> > > > http://training.figleaf.com
> > > >
> > >
> > >
> > >
> > > --
> > > John Grden
> > > _______________________________________________
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com
> > > http://training.figleaf.com
> > >
> > _______________________________________________
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to