Issue Details (XML | Word | Printable)

Key: FDT-1038
Type: Bug Bug
Status: Closed Closed
Priority: Major Major
Assignee: FDT Team
Reporter: tom chiverton
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
FDT

FDT thows 'unexpected Token' errors when an ActionScript file is included in an MXML file

Created: 12/Jul/10 02:19 PM   Updated: 06/Jul/12 02:26 PM
Component/s: MXML
Affects Version/s: 4.0 Milestone 3
Fix Version/s: None
Security Level: public

Time Tracking:
Not Specified

Environment: Eclipser Helios on Linux
Issue Links:
Duplicate
 


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.