It seems to be no longer supported. A similar question was asked here:
ASC2.0 and frame meta tag
The new solution is as follows:
You need to manually add compiler arguments for the -frame data.
However, in order for this to work out, you need to tweak the project a bit compared to the [Frame] metadata technique.
Before (when using the old [Frame] metadata method) you had to specify your main class as the Document class (which then compile and redirect the main entry point to the assigned Preloader class).
Now using ASC2.0 instead, set the Preloader class as the Document class .
Here are a few things you should configure:
- Your Preloader class should extend the Movieclip subclass.
(This allows your main content to be embedded in Frame # 2) - Assign the class "Preloader.as" (or, nevertheless, you named it) as the class Document.
- Put this Extra compiler argument :
-frame=AnyFrameLabelYouWant,YourMainClass - Also add the SWF version with this Extra compiler argument :
-swf-version=18 (although I think 17 will work with ASC2.0 ...) - Make sure you use the ASC2.0 SDK compiler in your IDE!
NOTE Now that Iām thinking about this, you can probably enter /** @mxmlc */ JavaDoc comments to give instructions to the compiler, but I have not tried this yet. This can be a workaround due to the lack of metadata support in the ASC2.0 compiler. (edit: I tried this once, and this function only works with the "Build" toolbar button in FlashDevelop, which only compiles the current focused file)
source share