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:

<fx:Script>
        <![CDATA[
            private var foo:Number = 10 as Number;
        ]]>
    </fx:Script>

HTH,

-Alex

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>
></js:Application>*
>
>
>
>-----
>Regards,
>Prashant
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/FlexJS-Cross-Compilation-Is
>sue-tp12586p12591.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message