An error marker is given on the 'import' line of the .as file. The Flex SDK is fine with this programming pattern.
Description
HorizontalSliderAxis.mxml:
<?xml version="1.0" encoding="utf-8"?><mx:HBox paddingLeft="35"xmlns:mx="http://www.adobe.com/2006/mxml"><mx:Script >
include "HorizontalSliderAxisSupport.as";
]]>
</mx:Script></mx:HBox>
HorizontalSliderAxisSupport.as:
import mx.effects.Tween;
private var thumbWidth:Number=2;
An error marker is given on the 'import' line of the .as file. The Flex SDK is fine with this programming pattern.
FDT Team added a comment - 04/Jul/12 08:14 PM Hey Tom,
The include imperative is not supported by FDT's parser.
There are no plans to implement this because of the effort involved (which is basically rewriting most of the parser).
I suggest wrapping in :
/*FDT_IGNORE*/
// ignore code goes here
/*FDT_IGNORE*/
To have FDT ignore referenced code.
You'll still be able to compile your applications even with the parser errors.
The include imperative is not supported by FDT's parser.
There are no plans to implement this because of the effort involved (which is basically rewriting most of the parser).
I suggest wrapping in :
/*FDT_IGNORE*/ // ignore code goes here /*FDT_IGNORE*/To have FDT ignore referenced code.
You'll still be able to compile your applications even with the parser errors.