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