Do I have to build all royale repo or is it possible to build only
tourdeflexmodules ?
Here is the output :
PS
D:\dev\royale-emulation-works\github\royale-asjs\examples\mxroyale\tourdeflexmodules>
ant
Buildfile:
D:\dev\royale-emulation-works\github\royale-asjs\examples\mxroyale\tourdeflexmodules\build.xml
[taskdef] Could not load definitions from resource flexTasks.tasks.
It could not be found.
compile-shell:
BUILD FAILED
D:\dev\royale-emulation-works\github\royale-asjs\examples\mxroyale\tourdeflexmodules\build.xml:158:
The following error occurred while executing this line:
D:\dev\royale-emulation-works\github\royale-asjs\examples\mxroyale\tourdeflexmodules\build.xml:116:
Problem: failed to create task or type mxmlc
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Thanks,
Serkan
28.12.2018 03:35 tarihinde Alex Harui yazdı:
The basic process is to debug into the components and propose fixes
for them. It is probably wise to check
examples/mxroyale/tourdeflexexamples to see if the component is
functioning at all. I thought that Form/FormItem was displaying
something. It can help you figure out where to debug.
-Alex
*From: *Serkan Taş <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Thursday, December 27, 2018 at 12:32 PM
*To: *"[email protected]" <[email protected]>
*Subject: *Re: Work on Emulation
Hi,
For the beginning of my project, I am now working on problems with the
emulated components :)
How should I continue for the emulated components ?
Components : mx.containers.From and mx.containers.FromItem
Problem :
·Layout is not rendered as expected.
·FormItem labels are not displayed
·FormItem child text is not correctly rendered
Test source :
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C2049dcaa8c5c407bbc0308d66c3a70c4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636815395597232822&sdata=ygHY%2Ft1ysNLQ8vGI9OOePuAAOn%2BPTOBtqz02zvvKzB0%3D&reserved=0>
xmlns:s="library://ns.apache.org/royale/spark"
xmlns:mx="library://ns.apache.org/royale/mx"
xmlns:comps="com.likya.pinara.comps.*"
width="100%">
<fx:Metadata>
[ResourceBundle("messages")]
</fx:Metadata>
<fx:Script>
<![CDATA[
[Bindable]
private var trIcon:Class;
[Bindable]
private var enIcon:Class;
private function changeLocale(locale:String):void {
}
protected function
button_clickHandler(event:MouseEvent):void {
}
]]>
</fx:Script>
<fx:Declarations>
</fx:Declarations>
<s:Panel
horizontalCenter="0"
verticalCenter="0"
id="loginPanel"
width="288"
height="179"
chromeColor="#E2E5E7"
title="{resourceManager.getString('messages', 'loginTitle')}"
>
<mx:Button y="-27" right="30" width="20"
click="changeLocale('tr_TR')" icon="{trIcon}" toolTip="Türkçe"/>
<mx:Button y="-27" right="5" width="20"
click="changeLocale('en_US')" icon="{enIcon}" toolTip="English"/>
<mx:Form width="288"><!-- defaultButton="{button}" -->
<mx:FormItem paddingTop="20"
label="{resourceManager.getString('messages', 'userName')}">
<s:TextInput id="userName" />
</mx:FormItem>
<mx:FormItem x="29" y="74"
label="{resourceManager.getString('messages', 'password')}">
<s:TextInput id="password" displayAsPassword="true"/>
</mx:FormItem>
<mx:FormItem paddingLeft="63">
<s:Button id="button" width="64"
label="{resourceManager.getString('messages', 'login')}"
click="button_clickHandler(event)"/>
</mx:FormItem>
</mx:Form>
</s:Panel>
</s:Application>
View :
cid:[email protected]
Original in flex :
cid:[email protected]
Not : Images are not included in test source, should be disregarded,
Thanks,
Serkan