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?
Thanks,
Allen

<?xml version="1.0" encoding="utf-8"?>
<js:View xmlns:fx="http://ns.adobe.com/mxml/2009";
          xmlns:js="library://ns.apache.org/flexjs/basic"
  xmlns:ns="library://ns.apache.org/flexjs/svg>
<js:HContainer
<fx:Script>
<![CDATA[
import com.iwobanas.core.ISearchable;

[Bindable]
public var target:ISearchable;

]]>
</fx:Script>
<js:Label text="Search:" />
<js:TextInput id="searchInput"
change="{target.find(searchInput.text)}"
backgroundColor="{!target.searchString || target.found ? 0xffffff:0xff0000}"
enter="{target.findNext()}"
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" />
</js:HContainer>
</js:View

-----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 HTML+JS

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?

Thanks,
Allen


________________________________

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 interdite.


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.

Reply via email to