flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: FlexJS: Cross Compilation Issue
Date Sun, 24 Apr 2016 06:41:30 GMT
Ah yes, that's a bug.  If your code is simple enough to not require the
Language class, it doesn't get imported and things go bad.  Please file a
bug.  It looks like JIRA may be up again.

As a workaround, you can add a simple variable that forces the inclusion
of the Language class such as:

            private var foo:Number = 10 as Number;



On 4/23/16, 11:00 AM, "PKumar" <prashakumar@gmail.com> wrote:

>I am using FlexJS0.6.0 and below is code that I have written.
>*<?xml version="1.0" encoding="utf-8"?>
><js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>				xmlns:js="library://ns.apache.org/flexjs/basic">
>	<js:valuesImpl>
>		<js:SimpleCSSValuesImpl />
>	</js:valuesImpl>
>	<js:initialView>
>		<js:ViewBase width="100%" height="100%">
>			<js:Image source="assets/Penguins.jpg" width="100%" height="100%" />		
>		</js:ViewBase>
>	</js:initialView>
>View this message in context:
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

View raw message