flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com.INVALID>
Subject Re: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS
Date Sat, 08 Jul 2017 05:18:34 GMT
Hi Allen,

You might want to try the Express components by changing:




Then the components should have more APIs built-in.

If you hit a null pointer exception, please post the stack trace so we can
try to see what the cause was.

You may need to grab the source for ISearchable and include it in your
project so it gets cross-compiled, or build a FlexJS SWC from the
ISearchable source.

Good luck,

On 7/7/17, 12:48 PM, "Allen YANG" <allen.yang@raritan.com> wrote:

>Hi Team:
>I was trying to compile a SearchBox.mxml file in VS Code + Maven, after
>the compiler ran for 5 minutes (typically only takes a few seconds) the
>compiler hit a null pointer exception.  I don't know why but I guess it
>has something to do with
>import com.iwobanas.core.ISearchable;
>The reason for me to compile this MXML file is that I need to convert it
>from Flex 3 to FlexJS, I tried to use HContainer to replace HBox.  Could
>anyone take a look at my MXML file and advise how I can make it compile?
><?xml version="1.0" encoding="utf-8"?>
>          xmlns:js="library://ns.apache.org/flexjs/basic"
>  xmlns:ns="library://ns.apache.org/flexjs/svg>
>import com.iwobanas.core.ISearchable;
>public var target:ISearchable;
><js:Label text="Search:" />
><js:TextInput id="searchInput"
>backgroundColor="{!target.searchString || target.found ?
>toolTip="Live search" width="207"/>
><js:Button id="previousButton" enabled="{target.searchString != null}"
>label="&lt;" click="{target.findPrevious()}" toolTip="Previous" />
><js:Button id="nextButton" enabled="{target.searchString != null}"
>label="&gt;" click="{target.findNext()}" toolTip="Next" />
>-----Original Message-----
>From: Allen YANG
>Sent: Friday, July 07, 2017 2:51 PM
>To: 'dev@flex.apache.org'
>Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to
>Hi Yishay,
>I played further with your demo_for_presentation example, I realized that
>the source file panelview.as in src/beads is probably not used because I
>could remove it and rebuild without affecting the build and run.  Could
>you tell me what that file is for?
>Ce message, ainsi que tous les fichiers joints à ce message, peuvent
>contenir des informations sensibles et/ ou confidentielles ne devant pas
>être divulguées. Si vous n'êtes pas le destinataire de ce message (ou que
>vous recevez ce message par erreur), nous vous remercions de le notifier
>immédiatement à son expéditeur, et de détruire ce message. Toute copie,
>divulgation, modification, utilisation ou diffusion, non autorisée,
>directe ou indirecte, de tout ou partie de ce message, est strictement
>This e-mail, and any document attached hereby, may contain confidential
>and/or privileged information. If you are not the intended recipient (or
>have received this e-mail in error) please notify the sender immediately
>and destroy this e-mail. Any unauthorized, direct or indirect, copying,
>disclosure, distribution or other use of the material or parts thereof is
>strictly forbidden.

View raw message