logo       

Re: Accessing frames in AS3: msg#00033

Subject: Re: Accessing frames in AS3
Here's a link to the updated swf's without compression: http://joel.poloney.com/newswfs.zip.

-- Joel

On Nov 13, 2007 7:36 PM, Mark Winterhalder < mark13-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
OK, here's a hexdump of the first 16B of flash9.swf. flash8.swf, apart
from the version byte, is identical:

43 57 53 09 00 01 00 00  78 9c 4b 60 50 3b c0 60

Here's the same after the swf2xml2swf cycle:

43 57 53 09 00 01 00 00  78 da 4b 60 50 3b c0 60

So, there is a difference. The problem is, I have forgotten that it
would have to be an uncompressed SWF. Could you do another without
compression, please?

Mark



On Nov 13, 2007 11:34 PM, Joel Poloney <jpoloney-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
> Here's the url to a zip file that contains an eclipse Flex 2 project:
> http://joel.poloney.com/SWFMill.zip (I wasn't sure if I could attach it to
> the mailing list, so I put it on my own site).
>
> It's pretty simple. There are 2 flash files: flash8.swf and flash9.swf.
> These have been compiled in Flash 8/AS2 and Flash 9/AS3 respectively (via
> Flash CS3). These movie file are both 4 frame movies (I made a square and
> colored it differently in each frame). You can go ahead and run a
> swf2xml/xml2swf on the flash9.swf and modify the SWFMill.mxml file
> accordingly. You will want to uncomment out the movie.gotoAndStop line too.
> When you run this as a Flex application, it'll complain about the AVM
> versions when you using the flash8.swf and the swf2xml/xml2swf version of
> flash9.swf (flash9.swf works fine, though).
>
> I think that swfmill is compiling this into Flash 9, but with AS2 and not
> AS3 (which is required for Flex). pdf2swf also ran into a similar problem a
> few months ago. You can see that thread here:
> http://www.mail-archive.com/swftools-common-qX2TKyscuCcdnm+yROfE0A@xxxxxxxxxxxxxxxx/msg01107.html.
>
> In the meantime, I'm going to try to create this LocalConnection wrapper to
> communicate between AS2 and AS3 movies. And, I'd love to help out with the
> documentation of this. At least I could provide some good documentation on
> this specific problem :)
>
> -- Joel
>
>
>
> On Nov 13, 2007 1:22 PM, Mark Winterhalder < mark13-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
> > If a SWF that gets imported as AVM2 gets imported as AVM1 after an
> > xml2swf/swf2xml round/trip, then there is indeed something going
> > wrong. If you can provide a very, very simple SWF where that happens,
> > I'll see if I can find the problem looking at a hexdump when I find
> > the time, so somebody can fix it.
> >
> > Regarding your previous mail, there are two different XML dialects.
> > Swfmill works with swfml-ll ("low level") internally, it's what
> > swf2xml gives you, essentially an XML representation of the SWF tags.
> > swfml-s ("simple") is the one most people use, but it's actually just
> > a built-in standard xslt stylesheet that gets transformed to swfml-ll.
> >
> > As far as documentation is concerned, there is some, but not as much
> > as one could hope for. Ideally questions answered here would go
> > straight to the wiki -- you're welcome to help.
> >
> > Mark
> >
>
>
> _______________________________________________
> swfmill mailing list
> swfmill-AOfRjkeVuXpAfugRpC6u6w@xxxxxxxxxxxxxxxx
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>

_______________________________________________
swfmill mailing list
swfmill-AOfRjkeVuXpAfugRpC6u6w@xxxxxxxxxxxxxxxx
http://osflash.org/mailman/listinfo/swfmill_osflash.org

_______________________________________________
swfmill mailing list
swfmill-AOfRjkeVuXpAfugRpC6u6w@xxxxxxxxxxxxxxxx
http://osflash.org/mailman/listinfo/swfmill_osflash.org
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe