[screenweaver] MTASC issues resolved

Edwin van Rijkom swos at vanrijkom.org
Sun Sep 4 03:18:13 PDT 2005


I've updated the SW Flash API to fix the MTASC issues:

MTASC invokes its "main" routine from an exported movie clip, with the 
method invokation placed in an initMovieClip block.

Since the API code was in a regular ActionScript tag (DoAction), the 
MTASC code was executed before the API code was loaded. By now embedding 
the API code in a similar fashion, the problem is solved. Please refer 
to \misc\samples\mtasc.as and mtasc.txt (in the SVN trunk) for a small 
testing routine.

For thinks to work, don't forget that you'll need to check-out the new 
api.swf file: 
https://secure.sourcesecure.co.uk/trac/osflash/screenweaver/browser/three/trunk/src/actionscript%20api/api.swf
and that, in order to use the new API, you should run your test-project 
with the /sw3debug option:
https://secure.sourcesecure.co.uk/trac/osflash/screenweaver/wiki/SwThree/UsingTheDebugFlag

Cheers,
Edwin




More information about the screenweaver mailing list