ok, if they are arbitrary, then you cannot add the code for the LocalConnection object into the AVM1 swf, so this is what I was thinking would workL
you create a AVM1 swf that has LocalConnection code. Not sure about the pro's and con's of single vs multiple connections, but I would have one for sending to the AVM1 movie and one for sending messages back. This LocalConnection code would interpret a list of actions you define, e.g.: "loadMovie" - takes movie path to load, sends back "loadDone" message, or loadError "gotoAndStop" takes a frame and issues a gotoAndStop(frame) on the loaded movie "gotoAndPlay" takes a frame and issues a gotoAndPlay(frame) on the loaded movie you get the idea. You might want to use a more arbitrary call, so you don;t have to define everything in this AVM1 loaded movie, e.g., if you passed an action and a list of parameters, this AS2 code could execute it: loadedMovie[action].apply( loadedMovie, paramsArray) Like I said, I have not done this yet since I have not needed it, but seems like it should work. Be interested to know if it does Regards, Hudson On Nov 12, 2007 11:37 PM, Joel Poloney <[EMAIL PROTECTED]> wrote: > That's interesting that Adobe doesn't formerly announce a data size limit > like that. Is that a data size limit per transaction? What would happen if I > tried to send an image over the LocalConnection? would this fail if the > image was larger than 32k? > > I would be loading arbitrary AVM1 swfs in the following manner (from the > first post in this thread): > > > > I've been trying to use swfmill to generate a movie in which I can access > the specific frames (eg: gotoAndStop(2) for frame 2) in AS3. But, I haven't > been successful yet. Is this possible? For example, I want to create a movie > with 10 frames, and on each frame there's an image, text, etc. > > I already have existing swf files (more than I would be willing to manually > add code to) and I am looking to make this process automated. So, the > wrapper idea would be favorable. Actually, being able to compile into AVM2 > would be most favorable... but this LocalConnection wrapper/hack works too I > suppose :) > > > On Nov 12, 2007 8:03 PM, Hudson Ansley <[EMAIL PROTECTED]> wrote: > > the data size limit was from experience, not sure of the exact number. > > Are you loading arbitrary AVM1 swfs or could you recompile them with > > some added code? > > > > > _______________________________________________ > swfmill mailing list > swfmill@osflash.org > http://osflash.org/mailman/listinfo/swfmill_osflash.org > > _______________________________________________ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org