[screenweaver] Wiki Update

john grden neoriley at gmail.com
Thu Sep 1 18:30:30 PDT 2005


also, if you have someting in frame0 to initialize first (say, a component), 
it's probably getting hijacked.

with Xray, we load it externally, but we have to call a static method to 
initialize the connections, where as in the FLash IDE, it's all dependent on 
the onLoad event firing and all is good.

So, one way of getting around this was to create the orignal SWF in the 
FLash IDE with the xray component already in frame0, then is the -keep 
argument with MTASC - and bingo, that worked.

My point is, if your orignal main.swf is not first compiled in the IDE with 
whatever you need to have initialized in Frame0, you'll have to call in your 
entry point main class probably.

hth,

On 9/1/05, Muzak <p.ginneberge at telenet.be> wrote:
> 
> When creating an swf with MTASC it looks for a static main method in your 
> main class.
> Using Eclipse, you have to define your main (root) class in the .flashout 
> settings.
> 
> What that actually does is add a "-main MainClass.as" argument to the 
> arguments list for MTASC.
> 
> Now I'm not sure if this is what Romain is looking for but that's what 
> came to mind here.
> 
> regards,
> Muzak
> 
> 
> ----- Original Message -----
> From: "Thomas Wester" <thomas at secondstory.com>
> To: <screenweaver at osflash.org>
> Sent: Friday, September 02, 2005 12:42 AM
> Subject: RE: [screenweaver] Wiki Update
> 
> 
> Can somebody check if this happens:
> 1. To movies where MTASC injects the AS
> 2. To movies where MTASC creates a code only the swf
> 
> Thanks,
> -Thomas
> 
> -----Original Message-----
> From: screenweaver-bounces at osflash.org
> [mailto:screenweaver-bounces at osflash.org] On Behalf Of Muzak
> Sent: Thursday, September 01, 2005 3:40 PM
> To: screenweaver at osflash.org
> Subject: Re: [screenweaver] Wiki Update
> 
> I'm no expert when it comes to MTASC, but I do know you need a static
> main method to get things going.
> Just thinking out loud though ;-)
> 
> regards,
> Muzak
> 
> 
> 
> 
> _______________________________________________
> screenweaver mailing list
> screenweaver at osflash.org
> http://osflash.org/mailman/listinfo/screenweaver_osflash.org
> 



-- 
John Grden - Blitz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/screenweaver_osflash.org/attachments/20050901/69a98d7e/attachment.htm


More information about the screenweaver mailing list