One more thing:
1.-
<mx:RemoteObject id="roLogin" channelSet="{parentApplication.amfChannelSet}"
showBusyCursor="true"
destination="shmUserSetupBO_General" fault="fn_HandleFault(event);"
result="fn_roLoginRH(event);"/>
As I said before we are not using *channelSet* (I didn't get it to work,
but didn't dedicate much time since was not critical): just use *endPoint +
destination*
2.- *Please check examples in our repo to see how MX RO is used*, and
transform yours to that and try
good luck
El mar., 13 nov. 2018 a las 13:47, Carlos Rovira (<[email protected]>)
escribió:
> Hi Alina,
>
> my recomendation is that you start with a very basic AMF call to test
> communications. Maybe adding some simple getString method that sends a
> String and retrieves the string modified would be enough, so you can figure
> what's could be wrong. I can confirm you that MX RO is working and we're
> migrating a Flex App that relays on AMD MX RO for 97% of server calls.
> Still finding some little issues on the way to fix, but it's working
>
>
>
>
> El mar., 13 nov. 2018 a las 11:44, Alina Kazi (<[email protected]>)
> escribió:
>
>> Hi Carlos,
>>
>> We have added to channel :
>> <enable-small-messages>false</enable-small-messages> in services-config.xml
>> file
>> But still our Royale Application is unable to call java side method.
>>
>> Thank,
>> Alina Kazi
>> -----Original Message-----
>> From: Carlos Rovira [mailto:[email protected]]
>> Sent: Tuesday, November 13, 2018 3:12 PM
>> To: [email protected]
>> Subject: Re: Getting An Emulation Component To Run
>>
>> Hi Alina,
>>
>> can you confirm that you turned off small messages in BlazeDS ?
>> thanks
>>
>>
>> El mar., 13 nov. 2018 a las 8:28, Alina Kazi (<[email protected]>)
>> escribió:
>>
>> > Hi Alex,
>> >
>> > We are not getting any error on browser console.
>> > I have set breakpoints on my java side code. Method I am calling from
>> > Royale Application is not called on Java Side.
>> > I sent you configuration files. Please look into them. Will they work
>> same
>> > as Flex-Java Application Communication.
>> > If those files are OK. Then what could be the reason that our Royale
>> > Application is unable to call java side methods ?
>> >
>> > Thanks,
>> > Alina
>> >
>> > -----Original Message-----
>> > From: Alex Harui [mailto:[email protected]]
>> > Sent: Tuesday, November 13, 2018 12:19 PM
>> > To: [email protected]
>> > Subject: Re: Getting An Emulation Component To Run
>> >
>> > Are there any errors in the browser console?
>> >
>> > If not, set breakpoints and debug into it and/or use a network monitor
>> to
>> > see if anything is being sent or received. RemoteObject has Operations
>> > that eventually call NetConnection.
>> >
>> > HTH,
>> > -Alex
>> >
>> > On 11/12/18, 10:54 PM, "Alina Kazi" <[email protected]> wrote:
>> >
>> > Hi
>> > Our Apache Royale Application has been compiled successfully. Java
>> > side Application is running as before on Tomcat Server.
>> > Our Application shows initial screen on browser i.e. Login Screen
>> > using http://localhost:8080/SHMA/index.html . When we click on
>> > LoginButton,On click event we call a server side method using
>> > mx:remoteobject .
>> > Following are the configuration details :
>> > We are using these configuration files for Royale - Java
>> Communication
>> > :
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Falinakazi%2FconfigFiles&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519969668&sdata=%2BYpSl8YrGutxw928MPYFtgYT%2BjydqsDcPLr3p8cDTAA%3D&reserved=0
>> > We want to call our Java side methods using mx:RemoteObject in our
>> > Royale Application.
>> > We have provided Destination property as shmUserSetupBO_General.
>> > shmUserSetupBO_General destination is defined in remoting-config.xml
>> > file.
>> >
>> > <mx:RemoteObject id="roLogin"
>> > channelSet="{parentApplication.amfChannelSet}" showBusyCursor="true"
>> > destination="shmUserSetupBO_General"
>> fault="fn_HandleFault(event);"
>> > result="fn_roLoginRH(event);"/>
>> >
>> > Our Royale Application is unable to communicate with server side
>> code.
>> > We have tried it using endpoint property as well but still no
>> response
>> > from server side Java Application.
>> > endpoint = "http://localhost:8080/messagebroker/websocket-amf"
>> >
>> >
>> > Thanks in Advance,
>> > Alina Kazi
>> >
>> > -----Original Message-----
>> > From: Carlos Rovira [mailto:[email protected]]
>> > Sent: Wednesday, November 07, 2018 6:07 PM
>> > To: [email protected]
>> > Subject: Re: Getting An Emulation Component To Run
>> >
>> > Hi Alina,
>> >
>> > I'm using mx:RemoteObject for my app so some thoughts:
>> >
>> > * To make mx:RemoteObject work you only need to specify
>> "destination"
>> > and
>> > "endpoint"
>> > * avoid "source" since is a deprecated property that exposes your
>> java
>> > backend, that was maintained only for compatibility with very old
>> AMF
>> > implementations
>> > * I think latest time I tried channelSet I couldn't make it work,
>> but I
>> > couldn't dedicate too much time, so it could be worth to see if now
>> > works
>> > with latest changes
>> > * for the rest since proxy is working in RO you can call remote
>> > methods in
>> > java in the exact same way you did in flex.
>> > * just remember set small messages off in BlazeDS, since we still
>> > doesn't
>> > support it
>> >
>> > IOW, you can work today with RO without issue just turning off small
>> > messages and setting destination and endpoint. If you can try to
>> test
>> > channelset, please report your findings
>> >
>> > thanks
>> >
>> >
>> > El mié., 7 nov. 2018 a las 8:59, Alina Kazi (<[email protected]>)
>> > escribió:
>> >
>> > > Hi Alex
>> > >
>> > > For MX:RemoteObject :
>> > > We have created an Example :
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Falinakazi%2FExamples%2Ftree%2Fmaster%2FHelloWorld&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519969668&sdata=VsYOBm4iT%2Fc7cfqrKGRpOIjISxHuyL8gvkUXK0Qvcqw%3D&reserved=0
>> > > Our Welcome.mxml file in Example uses mx:RemoteObject this way :
>> > >
>> > > <mx:RemoteObject id="roLogin"
>> > > channelSet="{parentApplication.amfChannelSet}"
>> showBusyCursor="true"
>> > >
>> > > destination="shmUserSetupBO_General"
>> fault="fn_HandleFault(event);"
>> > >
>> > > result="fn_roLoginRH(event);"/>
>> > >
>> > > We have a remoting-config.xml file in Java\web\WEB-INF\conf
>> > > <destination id="shmUserSetupBO_General">
>> > > <properties>
>> > >
>> > > <source>com.shm.BO.SEC.shmUserSetupBO_General</source>
>> > > </properties>
>> > > </destination>
>> > >
>> > > Our Java Application contains a class :
>> > > com.shm.BO.SEC.shmUserSetupBO_General
>> > > It contains a method :
>> > > public String f_sendMail (String aLoginName){...............
>> > return str;
>> > > }
>> > >
>> > > I am calling that method using remoteObject from Apache Royale
>> > Application.
>> > > roLogin.f_sendMail(loginName.text);
>> > >
>> > > Will it work using functionality available in Apache Royale SDK or
>> > Do I
>> > > have to make changes in my front end Application (Royale) to work
>> ?
>> > > Example is available here:
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Falinakazi%2FExamples%2Ftree%2Fmaster%2FHelloWorld&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519969668&sdata=VsYOBm4iT%2Fc7cfqrKGRpOIjISxHuyL8gvkUXK0Qvcqw%3D&reserved=0
>> > >
>> > >
>> > > Thanks in Advance,
>> > > Alina kazi
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: Alina Kazi [mailto:[email protected]]
>> > > Sent: Wednesday, November 07, 2018 10:49 AM
>> > > To: [email protected]
>> > > Subject: RE: Getting An Emulation Component To Run
>> > >
>> > > Hi Alex,
>> > >
>> > > Mx:ModuleLoader is compiled successfully now I can see mx:Module
>> on
>> > output
>> > > screen.
>> > > Now I will work on remote object.
>> > >
>> > > -Thanks,
>> > > Alina Kazi
>> > >
>> > > -----Original Message-----
>> > > From: Alex Harui [mailto:[email protected]]
>> > > Sent: Tuesday, November 06, 2018 10:38 AM
>> > > To: [email protected]
>> > > Subject: Re: Getting An Emulation Component To Run
>> > >
>> > > Hi Alina,
>> > >
>> > > I cannot work with .RAR files. Plus dropbox won't display MXML
>> > files.
>> > >
>> > > Examples/mxroyale/tourdeflexmodules is using mx:ModuleLoader. It
>> is
>> > > better to compare what it is doing instead of what Basic
>> > UIModuleLoader is
>> > > doing.
>> > >
>> > > Thanks,
>> > > -Alex
>> > >
>> > > On 11/5/18, 4:16 AM, "Alina Kazi" <[email protected]> wrote:
>> > >
>> > > Hi Alex,
>> > >
>> > > You have created an Example in royale/ModuleExample
>> > > Contains two files in different projects : MainApp.mxml and
>> > Module.mxml
>> > > MainApp uses UIModuleLoader and it loads the modules with
>> > moduleName &
>> > > modulePath properties.
>> > >
>> > > UIModuleLoader extends UIBase
>> > > In MXRoyale, ModuleLoader extends VBox extends Box extends
>> > Container
>> > > extends UIComponent extends UIBase
>> > >
>> > > UIModule extends Group extends GroupBase extends UIBase
>> > > In MXRoyale, Module extends Container extends UIComponent
>> extends
>> > > UIBase
>> > >
>> > > We have compare all files , functionality is copied from
>> Basic ->
>> > > MXRoyale , default.css is also copied.
>> > > We have checked default.css for Basic's Group, GroupBase
>> > > We have checked default.css for MXRoyale's Container
>> > >
>> > > Still my Example do not compile for MX Module before and after
>> > > changes.
>> > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Ftxbccb5ofblmnr9%2FModuleExampleMX.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519969668&sdata=bZp5kN0jR8tkA3WMX8Yv3N%2F4LOszheWsXRPadWFZOGw%3D&reserved=0
>> > >
>> > > We are using url = "modules/Module.swf" instead of modulePath
>> =
>> > > "modules" and moduleName = "Module"
>> > >
>> > > We have seen functionality again and again after comparison we
>> > have
>> > > copied missing src from Basic -> MXRoyale
>> > > Please compile this example with output for us or Guide us.
>> > >
>> > > Thanks in Advance,
>> > > Alina Kazi
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: Alina Kazi [mailto:[email protected]]
>> > > Sent: Thursday, November 01, 2018 10:07 AM
>> > > To: [email protected]
>> > > Subject: RE: Getting An Emulation Component To Run
>> > >
>> > > Hi Alex,
>> > >
>> > > When I tried after mapping BorderContainer to MX Container
>> with
>> > the
>> > > lookupOnly="true" in the spark-royale-manifest.xml, It worked for
>> me.
>> > >
>> > > Thanks,
>> > > Alina
>> > >
>> > > -----Original Message-----
>> > > From: Alex Harui [mailto:[email protected]]
>> > > Sent: Tuesday, October 30, 2018 9:48 PM
>> > > To: [email protected]
>> > > Subject: Re: Getting An Emulation Component To Run
>> > >
>> > > I think you can ignore that error unless you see other errors
>> in
>> > the
>> > > browser console related to it.
>> > >
>> > > Did you check the browser console for errors when it came up
>> > blank?
>> > > Or step into the code to see whether the new code is being called?
>> > And
>> > > compare to how MX Container works? These are strategies and
>> skills
>> > that
>> > > will be helpful as a developer.
>> > >
>> > > If your code doesn't require that BorderContainer is a
>> > > SkinnableContainer, you could try mapping BorderContainer to MX
>> > Container
>> > > with the lookup-"true" in the spark-royale-manifest.xml
>> > >
>> > > -Alex
>> > >
>> > > On 10/30/18, 4:52 AM, "Alina Kazi" <[email protected]>
>> wrote:
>> > >
>> > > Hi Alex,
>> > >
>> > > 1. You may have to copy other CSS from MX Container's or
>> > Spark
>> > > Group's base classes and put all of it in the BorderContainer
>> > selector.
>> > > MX Container extends UIComponent , So I copied only MX
>> > Container's
>> > > CSS in BorderContainer selector.
>> > >
>> > > 2. It would have been more helpful to see what you had put
>> > in the
>> > > defaults.css file, and also, since the compile was successful
>> > >
>> > > What I have copied in default.css:
>> > >
>> > > BorderContainer
>> > > {
>> > >
>> > > IBeadView:
>> > > ClassReference("org.apache.royale.html.beads.ContainerView");
>> > > IBeadLayout:
>> > >
>> ClassReference("org.apache.royale.html.beads.layouts.BasicLayout");
>> > > IViewport:
>> > >
>> >
>> ClassReference("org.apache.royale.html.supportClasses.ScrollingViewport");
>> > > IViewportModel:
>> > >
>> ClassReference("org.apache.royale.html.beads.models.ViewportModel");
>> > >
>> > > }
>> > >
>> > > In @media -royale-swf
>> > > BorderContainer
>> > > {
>> > > IBackgroundBead:
>> > >
>> ClassReference("org.apache.royale.html.beads.SolidBackgroundBead");
>> > > IBorderBead:
>> > >
>> ClassReference("org.apache.royale.html.beads.SingleLineBorderBead");
>> > > IContentView:
>> > >
>> >
>> ClassReference("org.apache.royale.html.supportClasses.ContainerContentArea");
>> > > }
>> > > 3. I think you will need to copy code from MX Container
>> into
>> > > SkinnableContainer, especially the MXMLDataInterpreter code.
>> > >
>> > > Now, I have copy code from MX Container into
>> > SkinnableContainer,
>> > > MXMLDataInterpreter code and copied other code step by step that
>> was
>> > > related to Bead.
>> > >
>> > >
>> > >
>> > > Output is blank as before, following are the links shared
>> > earlier :
>> > > While compiling the ControlsExample
>> > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FppOz&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519979673&sdata=2KBOCUoHIdAyoviandQZ9EwPgU4hzpxOCfQpHVbOGWc%3D&reserved=0
>> > > Output has 1 Error & 1 warning and Build Successfully,
>> > console is :
>> > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F5YMM&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519979673&sdata=YnXId1mAWdFNq7t%2BBZT%2FazboqvX5aylN3HUj1KPu4Rc%3D&reserved=0
>> > >
>> > >
>> > > Thanks in Advance,
>> > > Alina Kazi
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: Alex Harui [mailto:[email protected]]
>> > > Sent: Tuesday, October 30, 2018 1:54 PM
>> > > To: [email protected]
>> > > Subject: Re: Getting An Emulation Component To Run
>> > >
>> > > Hi Alina,
>> > >
>> > > You may have to copy other CSS from MX Container's or
>> Spark
>> > > Group's base classes and put all of it in the BorderContainer
>> > selector.
>> > >
>> > > If all rules are royale-specific, like IBeadModel, then
>> they
>> > won't
>> > > be listed in the output css but should be in the main .JS file.
>> > >
>> > > It would have been more helpful to see what you had put in
>> > the
>> > > defaults.css file, and also, since the compile was successful,
>> > whether
>> > > there were any errors at run time.
>> > >
>> > > I looked briefly at BorderContainer and
>> SkinnableContainer.
>> > I
>> > > think you will need to copy code from MX Container into
>> > SkinnableContainer,
>> > > especially the MXMLDataInterpreter code
>> > >
>> > > I have to stop working for tonight.
>> > >
>> > > HTH,
>> > > -Alex
>> > >
>> > > On 10/30/18, 12:54 AM, "Alina Kazi" <[email protected]>
>> > wrote:
>> > >
>> > > Hi Alex,
>> > >
>> > > 1. I would think that BorderContainer could use the
>> same
>> > beads
>> > > as MX Container, or even Spark Group.
>> > > I have tried both MX Container / Spark Group Beads
>> > > Case(A) I have copied MX Container from file
>> > (defaults.css
>> > > in MXRoyale/src/main/resource) to (defaults.css in
>> > > SparkRoyale/src/main/resource) renamed Container to
>> BorderContainer
>> > in
>> > > (defaults.css in SparkRoyale/src/main/resource).
>> > > Case(B) I have copied Spark GroupBase from file
>> > > (defaults.css in SparkRoyale /src/main/resource) to (defaults.css
>> in
>> > > SparkRoyale/src/main/resource) renamed copied word GroupBase to
>> > > BorderContainer in (defaults.css in
>> SparkRoyale/src/main/resource).
>> > >
>> > >
>> > > 2. Not having BorderContainer in the output CSS is
>> > unexpected
>> > > if you are using it in the MXML
>> > >
>> > > In Both Cases A and B the output default.css file for
>> > > ControlsExample contains
>> > > .BorderContainer {
>> > > }
>> > >
>> > > In Both Cases A and B output default.css file for
>> > > SparkRoyale.swc contains
>> > > Whatever I copied to (defaults.css in
>> > > SparkRoyale/src/main/resource) for BorderContainer.
>> > >
>> > > 3. that you are using the same namespace prefix as
>> other
>> > > components that are working
>> > > Yes I am using same namespace prefix as other
>> components
>> > that
>> > > are working
>> > >
>> > >
>> > >
>> > > [1] ControlsExample File :
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FppOz&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519979673&sdata=2KBOCUoHIdAyoviandQZ9EwPgU4hzpxOCfQpHVbOGWc%3D&reserved=0
>> > > [2] SparkRoyale.swc console output :
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FrsqI&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519979673&sdata=%2B2PHTZF45DHi1qoiMgrynFRAgVR6FmndtWTowls5Z0s%3D&reserved=0
>> > > ( Case B :When GroupBase default.css is copied for
>> BorderContainer)
>> > > [3] ControlsExample console output :
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FXY7o&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519979673&sdata=HVtdskAQrh096gmztl9kJTq%2FLx%2Bj5KfQTQ0bJqudvbk%3D&reserved=0
>> > > ( Case B :When GroupBase default.css is copied for
>> BorderContainer)
>> > > [4] SparkRoyale.swc console output :
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fsm8M&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519979673&sdata=UPIdQ%2BQJBQ3OzI4DoipHIfRAfAPPI9%2BZeO%2BZ0sJalNE%3D&reserved=0
>> > > ( Case A :When Container default.css is copied for
>> BorderContainer)
>> > > [5] ControlsExample console output :
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F5YMM&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519979673&sdata=YnXId1mAWdFNq7t%2BBZT%2FazboqvX5aylN3HUj1KPu4Rc%3D&reserved=0
>> > > ( Case A :When Container default.css is copied for
>> BorderContainer)
>> > >
>> > > Yes the output from compiling the SparkRoyale SWC does
>> > not
>> > > contain any warnings about BorderContainer, and the SWC builds
>> > successfully
>> > > and is being copied into the right places
>> > > I have checked by unzipping the SWC and checked the
>> > > defaults.css and JS files
>> > >
>> > > Thanks,
>> > > Alina Kazi
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: Alex Harui [mailto:[email protected]]
>> > > Sent: Monday, October 29, 2018 9:14 PM
>> > > To: [email protected]
>> > > Subject: Re: Getting An Emulation Component To Run
>> > >
>> > > Hi Alina,
>> > >
>> > > Again, it is important to be efficient in
>> > communication. Just
>> > > telling me the ModuleLoader does not load a module does not let me
>> > help
>> > > you. You should try to remember past emails we had and report on
>> > what you
>> > > tried from those past emails. For example, do you get any
>> warnings
>> > or
>> > > errors in the console? Did you verify that the files are where
>> they
>> > should
>> > > be? Did you step through how TourDeFlexModules loads a module and
>> > compare
>> > > to your application?
>> > >
>> > > For BorderContainer, and really, any UI widget in the
>> > Royale
>> > > emulation components, an important thing to understand is that
>> they
>> > are, so
>> > > far, all based on UIBase, since UIComponent extends UIBase and
>> all UI
>> > > widgets extend UIComponent. That means that the CSS must load
>> model
>> > and
>> > > view beads and often controller and/or layout and other beads. So
>> > first
>> > > thing is to understand by examining source and output whether
>> there
>> > are
>> > > such beads for BorderContainer. I would think that
>> BorderContainer
>> > could
>> > > use the same beads as MX Container, or even Spark Group.
>> > >
>> > > I don't think we've implemented spark skins in
>> > SparkRoyale
>> > > yet, so any skinClass is going to get ignored right now.
>> > >
>> > > Not having BorderContainer in the output CSS is
>> > unexpected if
>> > > you are using it in the MXML. So I would double check that you
>> have
>> > added
>> > > BorderContainer to the correct CSS file (defaults.css in
>> > > SparkRoyale/src/main/resource) and that you are using the same
>> > namespace
>> > > prefix as other components that are working, and that the output
>> from
>> > > compiling the SparkRoyale SWC does not contain any warnings about
>> > > BorderContainer, and the SWC builds successfully and is being
>> copied
>> > into
>> > > the right places. SWC files are really ZIP files so you can
>> always
>> > unzip
>> > > the SWC and examine the defaults.css and JS files.
>> > >
>> > > HTH,
>> > > -Alex
>> > > On 10/29/18, 4:11 AM, "Alina Kazi" <
>> [email protected]>
>> > > wrote:
>> > >
>> > > Hi Alex,
>> > >
>> > > Please answer for the following issues :
>> > > 1. Issue (MX ModuleLoader) :
>> > > We need similar working as in TourdeFlexModules
>> > Example :
>> > >
>> > >
>> >
>> D:\apache-royale-0.9.3-bin-js-swf\royale-asjs\examples\mxroyale\tourdeflexmodules\src\spark\components\VideoPlayerModuleLoader.mxml
>> > > ModuleLoader url property does not load Module.
>> > >
>> > > 2. Issue (Spark BorderContainer) :
>> > > If we use s:BorderContainer all controls inside
>> Spark
>> > > BorderContainer are not shown in output.
>> > > How it will be shown in output. Do I need to add
>> > something
>> > > in default.css for BorderContainer
>> > > We have added
>> > > BorderContainer
>> > > {
>> > > backgroundColor: #FFFFFF;
>> > > borderStyle : "solid";
>> > > cornerRadius: 0;
>> > > skinClass:
>> > > ClassReference("spark.skins.spark.BorderContainerSkin");
>> > > } in SparkRoyale default.css but still output is
>> > empty.
>> > > All other files applications.mxml and
>> > shmApplication.as
>> > > are same as before
>> > > [1] AppView_ERP.mxml
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FY2ne&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519979673&sdata=EJCjn4BKhznt2idSOKhGKnlh06MitNB9BSgbeoZMtuk%3D&reserved=0
>> > >
>> > >
>> > > Thanks,
>> > > Alina Kazi
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: Alina Kazi [mailto:[email protected]]
>> > > Sent: Monday, October 29, 2018 12:03 PM
>> > > To: [email protected]
>> > > Subject: RE: Getting An Emulation Component To Run
>> > >
>> > > Thanks a lot Alex. It works.
>> > >
>> > > -Alina
>> > >
>> > > -----Original Message-----
>> > > From: Alex Harui [mailto:[email protected]
>> ]
>> > > Sent: Monday, October 29, 2018 12:03 PM
>> > > To: [email protected]
>> > > Subject: Re: Getting An Emulation Component To Run
>> > >
>> > > Hi Alina,
>> > >
>> > > Add the following metadata to your
>> > shmApplication.as It
>> > > should go before the "public class". Check mx.core.Application to
>> > see how
>> > > it is placed in that file.
>> > >
>> > > [Frame(factoryClass="mx.managers.SystemManager")]
>> > >
>> > > This should result in an
>> > > applications_mx_managers_SystemManager.js file in the bin/js-debug
>> > folder,
>> > > and the index.html should try to instantiate that file which
>> should
>> > then
>> > > launch everything else.
>> > >
>> > > HTH,
>> > > -Alex
>> > >
>> > >
>> > > On 10/28/18, 11:54 PM, "Alina Kazi" <
>> > [email protected]>
>> > > wrote:
>> > >
>> > > Hi Alex,
>> > >
>> > > Files in the bin/js-debug folder
>> > > Files :
>> > > AppView_ERP.js
>> > > applications.css
>> > > applications.js
>> > > index.html
>> > > Namespace.js
>> > > QName.js
>> > > shmApplication.js
>> > > XML.js
>> > > XMLList.js
>> > >
>> > > Folders :
>> > > library
>> > > mx
>> > > org
>> > >
>> > > Thanks,
>> > > Alina Kazi
>> > >
>> > > -----Original Message-----
>> > > From: Alex Harui [mailto:
>> > [email protected]]
>> > > Sent: Monday, October 29, 2018 11:48 AM
>> > > To: [email protected]
>> > > Subject: Re: Getting An Emulation Component To
>> > Run
>> > >
>> > > Hi Alina,
>> > >
>> > > When you use shmApplication, what files end up
>> > in the
>> > > bin/js-debug folder (the subfolders don't matter right now).
>> > >
>> > > Thanks,
>> > > -Alex
>> > >
>> > > On 10/28/18, 11:40 PM, "Alina Kazi" <
>> > > [email protected]> wrote:
>> > >
>> > > Hi Alex,
>> > > Yes, I am running the js-debug version.
>> If I
>> > do
>> > > similar working in mx:Application tag it works but when I do it
>> with
>> > custom
>> > > shmApplication control that extends mx.core.Application it does
>> not
>> > show
>> > > anything in output.
>> > >
>> > > My file applications.mxml starts with tag
>> > > <cc:shmApplication>
>> > > And shmApplication.as extends
>> > mx.core.Application.
>> > > I am adding namespace xmlns:cc="*"
>> > >
>> > > [1] applications.mxml
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOpDT&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519979673&sdata=xL7Ot%2BKANul8Lso6j%2BT5syJRM%2BdjJfy0WHV36RMt2L4%3D&reserved=0
>> > > [2] shmApplication.as
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FPz6p&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519979673&sdata=1hgcxcGmYw59WZOJiXhds71RlI%2BjqQwb5iDCQ0D8B84%3D&reserved=0
>> > > [3] AppView_ERP.mxml
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FRLcA&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519989677&sdata=XwdVRE4ucCN0nnBoQPxJE9SdNDKQxBEeyvRo41kj8V0%3D&reserved=0
>> > >
>> > > All files are placed on same path.
>> > >
>> > > When I replace applications.mxml opening
>> and
>> > > closing tag <cc:shmApplication> tag to <mx:Application>
>> > > It shows both Button and Label in output.
>> > But I
>> > > need to use shmApplication.
>> > >
>> > > Again these are not my actual source
>> files .
>> > It's
>> > > just a scenario we need . So, I create a separate example for
>> that.
>> > >
>> > > Thanks,
>> > > Alina Kazi
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: Alex Harui [mailto:
>> > [email protected]]
>> > >
>> > > Sent: Monday, October 29, 2018 11:02 AM
>> > > To: [email protected]
>> > > Subject: Re: Getting An Emulation
>> Component
>> > To Run
>> > >
>> > > Hi Alina,
>> > >
>> > > Are you running the version in js-debug?
>> It
>> > > should show something in the console. Also look at the DOM tree
>> and
>> > see
>> > > what HTML elements have been created, if any.
>> > >
>> > > -Alex
>> > >
>> > > On 10/28/18, 10:28 PM, "Alina Kazi" <
>> > > [email protected]> wrote:
>> > >
>> > > Hi Piotr,
>> > >
>> > > Application is compiled Successfully
>> but
>> > > nothing shows in output in the Web Browser Console when running my
>> > > application.
>> > >
>> > > Thanks,
>> > > Alina
>> > >
>> > > -----Original Message-----
>> > > From: Piotr Zarzycki [mailto:
>> > > [email protected]]
>> > > Sent: Friday, October 26, 2018 7:09 PM
>> > > To: [email protected]
>> > > Subject: Re: Getting An Emulation
>> > Component To
>> > > Run
>> > >
>> > > Hi Alina,
>> > >
>> > > Just to help a bit with all of that.
>> Do
>> > you
>> > > see any output in the Web
>> > > Browser Console when you running your
>> > > application ? If yes provide it here.
>> > >
>> > > Thanks,
>> > > Piotr
>> > >
>> > > pt., 26 paź 2018 o 14:42 Alina Kazi <
>> > > [email protected]> napisał(a):
>> > >
>> > > > Hi Alex,
>> > > > We have 3 files in our Project
>> > > > Files Path is :
>> > > > [1]Project -> applications.mxml
>> (main
>> > file)
>> > > > [2]Project ->shmApplication.as
>> extends
>> > > mx.core.Application
>> > > > [3]Project-> AppView_ERP.mxml
>> > > >
>> > > > As MX ViewStack , Canvas are working
>> > > controls.
>> > > >
>> > > > AppView_ERP.mxml has initial tag
>> > mx:Canvas
>> > > >
>> > > > applications.mxml has initial tag
>> > > cc:shmApplication and
>> > > > We have method in applications.mxml
>> > > > private function
>> > > fn_roBasicConfRH(e:ResultEvent):void
>> > > > {
>> > > > var
>> > > appViewStack:ViewStack = new
>> > > > ViewStack();
>> > > >
>> > > >
>> > > appViewStack.percentWidth = 100;
>> > > >
>> > > appViewStack.percentHeight = 100;
>> > > >
>> > > this.addElement(appViewStack);
>> > > >
>> > > > var
>> > > compERPView:Canvas = new AppView_ERP()
>> > > > as Canvas;
>> > > >
>> > > >
>> > > compERPView.id = "appView_ERP";
>> > > >
>> > appView =
>> > > compERPView;
>> > > >
>> > > appViewStack.addElement(compERPView);
>> > > >
>> > > >
>> > mx.external.ExternalInterface.call("function
>> > > > setWinStatus(){window.status='" +
>> > > iniFileParams.CompanyName + "';}");
>> > > >
>> > > > }
>> > > > Application is compiled Successfully
>> > but
>> > > nothing shows in output.
>> > > > If you need more details. I can
>> create
>> > an
>> > > example Project.
>> > > >
>> > > > Thanks in Advance,
>> > > > Alina Kazi
>> > > >
>> > > > -----Original Message-----
>> > > > From: Alina Kazi [mailto:
>> > [email protected]
>> > > ]
>> > > > Sent: Friday, October 26, 2018 3:35
>> PM
>> > > > To: [email protected]
>> > > > Subject: RE: Getting An Emulation
>> > Component
>> > > To Run
>> > > >
>> > > > Hi Alex,
>> > > >
>> > > > We have replaced import
>> > > spark.components.Application with import
>> > > > mx.core.Application in our whole
>> > > Application. After this change we are
>> > > > still able to compile our
>> Application
>> > > successfully.
>> > > > Are you using SWFLoader to load
>> other
>> > > applications? Again, your API
>> > > > Report did not mention this.
>> > > > We are not using SWFLoader anywhere
>> in
>> > our
>> > > Application. We are using
>> > > > ModuleLoader only.
>> > > > What do you mean by needing Spark
>> > > Application many times?
>> > > > Sorry, import
>> > spark.components.Application
>> > > is written multiple times in
>> > > > src code but used once.
>> > > >
>> > > > That means now we don't need Spark
>> > > Application.
>> > > > Thanks for Helping us.
>> > > >
>> > > > -Alina Kazi
>> > > >
>> > > > -----Original Message-----
>> > > > From: Alex Harui [mailto:
>> > > [email protected]]
>> > > > Sent: Friday, October 26, 2018
>> 12:45 PM
>> > > > To: [email protected]
>> > > > Subject: Re: Getting An Emulation
>> > Component
>> > > To Run
>> > > >
>> > > > Hi Alina,
>> > > >
>> > > > Where did you use mx:Application in
>> > your
>> > > application? Somehow it got into
>> > > > the report.
>> > > >
>> > > > What do you mean by needing Spark
>> > > Application many times? Are you using
>> > > > SWFLoader to load other
>> applications?
>> > > Again, your API Report did not
>> > > > mention this.
>> > > >
>> > > > Getting Application to work can be
>> > > significant amount of work as it has a
>> > > > lot of things to do. One approach
>> you
>> > could
>> > > take is to step through your
>> > > > example with mx:Application and
>> > compare it
>> > > to the Spark Application and
>> > > > make changes to the Spark
>> Application
>> > until
>> > > it works, but I'm concerned
>> > > > that you can't always copy code from
>> > > mx:Application.
>> > > >
>> > > > If you want to take on a big
>> challenge
>> > like
>> > > getting Appilcation to work
>> > > > that is fine, but I guess I can
>> delay
>> > my
>> > > work on Charts and get Spark
>> > > > Application to work. Let me know
>> what
>> > you
>> > > decide. But I am very concerned
>> > > > about the accuracy of the data you
>> have
>> > > provided. I'm wondering what else
>> > > > you are using that we don't know
>> about.
>> > > >
>> > > > I'm done for today. I will see what
>> > you
>> > > decide in my morning.
>> > > >
>> > > > -Alex
>> > > >
>> > > > On 10/26/18, 12:22 AM, "Alina Kazi"
>> <
>> > > [email protected]> wrote:
>> > > >
>> > > > Hi Alex ,
>> > > > I am using skinClass 2 times
>> > overall in
>> > > my Application. I can skip
>> > > > that if it takes a lot of time.
>> > > > I don't know How API report skip
>> > some
>> > > API's.
>> > > > We need SparkApplication at many
>> > places
>> > > in our Application.
>> > > > If you can explain more in [1] ,
>> > we want
>> > > to also participate in
>> > > > getting emulation component to run.
>> > > >
>> > > > Like Spark TextInput is now
>> > working as
>> > > MX TextInput, We have copied
>> > > > some source from MX TextInput to
>> Spark
>> > > TextInput after reading [1] and it
>> > > > worked.
>> > > >
>> > > > [1]
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FEmulation-Components%23getting-an-emulation-component-to-run&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519989677&sdata=8b6my8j9pSVJsTcAubdvj4Cls1mZ7KXL9YDcXo7UkA0%3D&reserved=0
>> > > >
>> > > > Thanks in Advance,
>> > > > Alina Kazi
>> > > >
>> > > > -----Original Message-----
>> > > > From: Alex Harui [mailto:
>> > > [email protected]]
>> > > > Sent: Friday, October 26, 2018
>> > 11:50 AM
>> > > > To: [email protected]
>> > > > Subject: Re: Getting An
>> Emulation
>> > > Component To Run
>> > > >
>> > > > Hi Alina,
>> > > >
>> > > > In your API report, only
>> > > mx.core.Application was referenced. I don't
>> > > > understand why Spark Application was
>> > not
>> > > referenced, yet you are using it
>> > > > now. We have not spent any time
>> > getting
>> > > Spark Application to run. If
>> > > > that's really what you need, I would
>> > start
>> > > copying code from
>> > > > mx.core.Application. if you don't
>> have
>> > > custom skins for Application, you
>> > > > can probably skip the
>> skinning-related
>> > code.
>> > > >
>> > > > Good luck,
>> > > > -Alex
>> > > >
>> > > > On 10/25/18, 11:10 PM, "Alina
>> > Kazi" <
>> > > [email protected]> wrote:
>> > > >
>> > > > Hi ,
>> > > >
>> > > > We are able to compile our
>> > > Application and Library Projects
>> > > > successfully. Application Launch
>> file
>> > uses a
>> > > file that extends Spark
>> > > > Application.as file. This Spark
>> > > Application.as file is present in Apache
>> > > > Royale SDK repo and has been
>> emulated.
>> > But
>> > > when we run the application, No
>> > > > visual output is shown in index.html
>> > (i.e
>> > > output file)
>> > > >
>> > > > Spark Application extends
>> > > SkinnableContainer in Flex SDK
>> > > > default.css for SkinnableContainer
>> is:
>> > > > SkinnableContainer
>> > > > {
>> > > > skinClass:
>> > > >
>> > > ClassReference("spark.skins.spark.SkinnableContainerSkin");
>> > > > }
>> > > >
>> > > >
>> > > > In Flex mx:Application
>> extends
>> > > LayoutContainer extends Container
>> > > > in Flex SDK default.css for
>> Container
>> > is
>> > > >
>> > > > Container
>> > > > {
>> > > > borderSkin:
>> > > >
>> > > ClassReference("mx.skins.spark.ContainerBorderSkin");
>> > > > borderStyle:
>> > "none";
>> > > > cornerRadius: 0;
>> > > > }
>> > > >
>> > > > You have added in MXRoyale
>> > > default.css
>> > > >
>> > > > Container
>> > > > {
>> > > > IBeadView:
>> > > >
>> > > ClassReference("org.apache.royale.html.beads.ContainerView");
>> > > > IBeadLayout:
>> > > >
>> > >
>> ClassReference("org.apache.royale.html.beads.layouts.BasicLayout");
>> > > > IViewport:
>> > > >
>> > >
>> >
>> ClassReference("org.apache.royale.html.supportClasses.ScrollingViewport");
>> > > >
>> IViewportModel:
>> > > >
>> > >
>> ClassReference("org.apache.royale.html.beads.models.ViewportModel");
>> > > > }
>> > > >
>> > > > And mx:Application shows
>> > output.
>> > > >
>> > > > For Example :
>> > > >
>> > > > [1] Nothing in Output
>> > > > <s:Application xmlns:fx="
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519989677&sdata=aLx6DM3z8z7ukjt%2F4AHz03OwIEb1rs73jQTQVgdRLBw%3D&reserved=0
>> > > "
>> > > >
>> > > >
>> > > > xmlns:s="library://
>> > > ns.apache.org/royale/spark"
>> > > >
>> > > > xmlns:mx="library://
>> > ns.apache.org/royale/mx"
>> > > height = "100%" width =
>> > > > "100%"
>> > > >
>> > > >
>> > > >
>> > > <s:Button x="30" y="30"
>> > > > id="searchBtn" label="Search"/>
>> > > >
>> > > > </s:Application>
>> > > >
>> > > > [2] It shows Button in
>> output
>> > file
>> > > > <mx:Application xmlns:fx="
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519989677&sdata=aLx6DM3z8z7ukjt%2F4AHz03OwIEb1rs73jQTQVgdRLBw%3D&reserved=0
>> > > "
>> > > >
>> > > >
>> > > > xmlns:s="library://
>> > > ns.apache.org/royale/spark"
>> > > >
>> > > > xmlns:mx="library://
>> > ns.apache.org/royale/mx"
>> > > height = "100%" width =
>> > > > "100%"
>> > > >
>> > > >
>> > > >
>> > > <s:Button x="30" y="30"
>> > > > id="searchBtn" label="Search"/>
>> > > >
>> > > > </mx:Application>
>> > > >
>> > > > How can I get Spark
>> Application
>> > > working as MX Application ?
>> > > >
>> > > > Thanks,
>> > > > Alina
>> > > >
>> > > >
>> > > > -----Original Message-----
>> > > > From: Alex Harui [mailto:
>> > > [email protected]]
>> > > > Sent: Monday, October 22,
>> 2018
>> > 10:04
>> > > PM
>> > > > To: [email protected]
>> > > > Subject: Re: Getting An
>> > Emulation
>> > > Component To Run
>> > > >
>> > > > Hi Alina,
>> > > >
>> > > > Again, I cannot help you as
>> > > efficiently if you do not provide
>> > > > important details.
>> > > >
>> > > > You are showing some part of
>> > the
>> > > console for building the
>> > > > application. But did the compiler
>> > hang, or
>> > > did it think it finished? What
>> > > > does your build.xml look like? What
>> > was the
>> > > full console output? I would
>> > > > want to see what command you typed
>> and
>> > all
>> > > output up to and including the
>> > > > command prompt after it finished.
>> As I
>> > > mentioned in prior emails, use
>> > > > paste.apache.org if necessary for
>> > large
>> > > quantities of console output.
>> > > >
>> > > > From the one line you pasted
>> > below,
>> > > it implied the build did not
>> > > > finish, yet you are saying that you
>> > tried to
>> > > run it and nothing showed up.
>> > > > Why would you try to run it if the
>> > build did
>> > > not finish? If the build did
>> > > > finish, did you get the expected
>> output
>> > > files? If the build did not
>> > > > finish, try stripping down what is
>> in
>> > the
>> > > Module until it works, or compare
>> > > > the build.xml settings against
>> > > examples/mxroyale/tourdeflexmodules.
>> > > >
>> > > > There are so many ways
>> things
>> > can go
>> > > wrong, especially when
>> > > > developing new code. You must learn
>> > how to
>> > > work efficiently in these
>> > > > conditions.
>> > > >
>> > > > Another technique is to
>> compare
>> > > working against non-working.
>> > > > Examples/mxroyale/tourdeflexmodules
>> > is able
>> > > to compile and load modules.
>> > > > You can set breakpoints in the
>> > > tourdeflexmodules code and follow how it
>> > > > works and set breakpoints in similar
>> > places
>> > > in your code and follow how it
>> > > > works and compares.
>> > > >
>> > > > Thanks,
>> > > > -Alex
>> > > >
>> > > > On 10/22/18, 1:12 AM, "Alina
>> > Kazi" <
>> > > [email protected]> wrote:
>> > > >
>> > > > Hi Alex,
>> > > >
>> > > > This time I told you
>> about
>> > > folders hierarchy its same as
>> > > > examples/royale/ModuleExample.
>> > > > js:UIModuleLoader is
>> > replaced
>> > > with mx:ModuleLoader url
>> > > > property is added in ModuleLoader
>> and
>> > extra
>> > > properties are removed,
>> > > > js:UIModule is replaced with
>> mx:Module
>> > > > js:Application is
>> replaced
>> > with
>> > > mx:Application
>> > > > namespace is replaced
>> with
>> > mx
>> > > namespace
>> > > >
>> > > > Console output stopped
>> at
>> > :
>> > > > [mxmlc] 109142 bytes
>> > written to
>> > > >
>> > >
>> >
>> D:\apache-royale-0.9.3-bin-js-swf\royale-asjs\examples\royale\ModuleExample\Module\bin-debug\Module.swf
>> > > > in 3.220 seconds
>> > > >
>> > > > How else I can explain
>> it
>> > in a
>> > > better way.
>> > > > Simply I just want same
>> > working
>> > > like
>> > > > examples/royale/ModuleExample with
>> Mx
>> > > Controls.
>> > > > I am not using
>> TitleWindow
>> > in my
>> > > current example.
>> > > >
>> > > >
>> > > > Thanks,
>> > > > Alina Kazi
>> > > >
>> > > >
>> > > > -----Original
>> Message-----
>> > > > From: Alex Harui
>> [mailto:
>> > > [email protected]]
>> > > > Sent: Monday, October
>> 22,
>> > 2018
>> > > 12:40 PM
>> > > > To:
>> [email protected]
>> > > > Subject: Re: Getting An
>> > > Emulation Component To Run
>> > > >
>> > > > Hi Alina,
>> > > >
>> > > > Again, half a world
>> away, I
>> > > cannot know what your folder
>> > > > structure and build files look like,
>> > or what
>> > > you tried or didn't try. And
>> > > > now, I have to stop working and we
>> > missed an
>> > > opportunity to help you
>> > > > because the important information
>> was
>> > not
>> > > provided in your earlier email.
>> > > > I wrote some techniques in this
>> email:
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.apache.org%2Fthread.html%2Fe6f3aa4010dca8c9bdbe2828a89295039d05d23806a5fe03ae18dbe4%40%253Cdev.royale.apache.org%253E&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519989677&sdata=mELpQYlfbuQ5T8xdv0ELfGZP9ZOCopXir8GtAHnXMc8%3D&reserved=0
>> > > >
>> > > > In your next email, I
>> > expect you
>> > > see evidence that you have
>> > > > understood and tried the techniques
>> in
>> > the
>> > > email I linked. You will be
>> > > > expected to provide console output
>> or
>> > > information about the tree of
>> > > > elements. And this might be a good
>> > > opportunity for you to try the debugger
>> > > > and set breakpoints in various
>> > places. Even
>> > > if you don't actually solve
>> > > > the problem you are facing, you are
>> > going to
>> > > have to become an expert in
>> > > > debugging JavaScript output from the
>> > Royale
>> > > Compiler.
>> > > >
>> > > > Please reserve the time
>> to
>> > write
>> > > a really good email with the
>> > > > important information and questions.
>> > It
>> > > will save all of us time.
>> > > >
>> > > > Thanks,
>> > > > -Alex
>> > > >
>> > > > On 10/21/18, 11:39 PM,
>> > "Alex
>> > > Harui" <[email protected]> wrote:
>> > > >
>> > > > Hi Alina,
>> > > >
>> > > > The key piece for
>> > modules is
>> > > getting the output in the
>> > > > right place. Flex/Flash has some
>> > > interesting rules around how URLs got
>> > > > loaded. I haven't found a practical
>> > way to
>> > > replicate that in the Browser,
>> > > > so for now, it is up to you to put
>> the
>> > > output where you are telling
>> > > > ModuleLoader to load it.
>> > > >
>> > > > If you look at the
>> Ant
>> > > build.xml for royale/ModuleExample,
>> > > > the Module/build.xml assumes the
>> > MainApp has
>> > > been built first and copies
>> > > > its output files into the MainApp's
>> > output
>> > > folders.
>> > > >
>> > > > If you look at the
>> > build.xml
>> > > for
>> > > > mxroyale/touredeflexexamples, it
>> uses
>> > the
>> > > -module-output compiler option to
>> > > > redirect the output.
>> > > >
>> > > > If you look in the
>> > Browser
>> > > console, I expect you will see
>> > > > errors that it couldn’t find a
>> > particular JS
>> > > file for the module. Pay
>> > > > attention to the folders and adjust
>> > your
>> > > build script to place the output
>> > > > in the right place (or adjust where
>> > you tell
>> > > ModuleLoader to find the
>> > > > module.
>> > > >
>> > > > HTH,
>> > > > -Alex
>> > > >
>> > > > On 10/21/18, 11:22
>> PM,
>> > > "Alina Kazi" <[email protected]>
>> > > > wrote:
>> > > >
>> > > > Hi Alex,
>> > > >
>> > > > Created an
>> example
>> > > contains two files :
>> > > > 1. Module.mxml
>> > > > <mx:Module
>> > xmlns:fx="
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519989677&sdata=aLx6DM3z8z7ukjt%2F4AHz03OwIEb1rs73jQTQVgdRLBw%3D&reserved=0
>> > > > "
>> > > >
>> > > xmlns:mx="library://
>> > > > ns.apache.org/royale/mx">
>> > > >
>> > > > <mx:Label
>> > text="This
>> > > Label is in the module" />
>> > > >
>> <mx:TextInput
>> > > id="ti" text="This TextInput is also
>> > > > in the module" />
>> > > > </mx:Module>
>> > > >
>> > > > 2. MainApp.mxml
>> > > > <mx:Application
>> > > xmlns:fx="
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519989677&sdata=aLx6DM3z8z7ukjt%2F4AHz03OwIEb1rs73jQTQVgdRLBw%3D&reserved=0
>> > > > "
>> > > >
>> > > xmlns:mx="library://
>> > > > ns.apache.org/royale/mx" >
>> > > >
>> > > > <mx:Button
>> > > label="Btn in Application" />
>> > > >
>> > > >
>> > <mx:ModuleLoader id
>> > > = "ml1" x="30" y="30" url =
>> > > > "Module.swf" />
>> > > >
>> > > >
>> </mx:Application>
>> > > >
>> > > > No visual output
>> > shown .
>> > > I want it to work like
>> > > > examples\royale\ModuleExample
>> > > >
>> > > >
>> > > > Thanks in
>> Advance ,
>> > > > Alina Kazi
>> > > >
>> > > > -----Original
>> > > Message-----
>> > > > From: Alex Harui
>> > [mailto:
>> > > [email protected]]
>> > > > Sent: Tuesday,
>> > October
>> > > 16, 2018 9:33 PM
>> > > > To:
>> > > [email protected]
>> > > > Subject: Re:
>> > Getting An
>> > > Emulation Component To Run
>> > > >
>> > > > Hi Alina,
>> > > >
>> > > > I think there
>> is a
>> > > misunderstanding somewhere.
>> > > >
>> > > > How has your
>> > company
>> > > built the Flex app over the past
>> > > > years? Is it all from an IDE or do
>> > you have
>> > > some sort of script or build
>> > > > tool?
>> > > >
>> > > > Whatever you are
>> > using
>> > > to build the Flex app should be
>> > > > translated to the Ant script. What
>> is
>> > > currently in the Ant script you
>> > > > copied from tourdeflexmodules is
>> custom
>> > > designed for tourdeflexmodules. It
>> > > > presumes lots of little applications
>> > that
>> > > don't use custom libraries.
>> > > >
>> > > > The mxmlc task
>> in
>> > Ant is
>> > > just like running mxml from
>> > > > the command line or having an
>> > Application
>> > > project in an IDE.
>> > > > The compc task
>> in
>> > Ant is
>> > > just like running compc from
>> > > > the command line or having a Library
>> > project
>> > > in an IDE.
>> > > >
>> > > > You can see from
>> > the
>> > > build.xml files in the
>> > > > royale-asjs repo that we build SWCs
>> by
>> > > having a build.xml in each library
>> > > > folder and calling them from a
>> > build.xml in
>> > > a parent folder. You might
>> > > > find that pattern useful.
>> > > >
>> > > > You will need to
>> > > understand the -source-path and
>> > > > -library-path and
>> > -external-library-path and
>> > > other compiler options that
>> > > > were used to build the Flex app and
>> > copy
>> > > probably all of those options into
>> > > > the right place in the Ant scripts.
>> > > >
>> > > > It would be
>> > uncommon to
>> > > compile a file called shmUtil
>> > > > with mxmlc. shmUtil sounds like a
>> > file in a
>> > > library, not a standalone
>> > > > application. I'll bet it comes
>> from a
>> > > library that should be compiled with
>> > > > compc along with a lot of other
>> files.
>> > > >
>> > > >
>> > > > If you are
>> having
>> > > trouble with Ant, also try the
>> > > > command-line, then others may be
>> able
>> > to
>> > > help you see the differences
>> > > > between your Ant script and what
>> > worked on
>> > > the command-line. If you use an
>> > > > IDE to build the Flex app, you will
>> > need to
>> > > find out all of the compiler
>> > > > options the IDE sets up for you. I
>> > think
>> > > others can help you with that as
>> > > > well.
>> > > >
>> > > > -Alex
>> > > >
>> > > > On 10/16/18,
>> 2:17
>> > AM,
>> > > "Alina Kazi" <
>> > > > [email protected]> wrote:
>> > > >
>> > > > Hi Alex,
>> > > >
>> > > > Created a
>> > mxmlc task
>> > > directly in build.xml still
>> > > > an error is occured :
>> > > > Added to
>> > Build.xml :
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FwBDm&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519989677&sdata=IA51Iw4lXrUmzbPzgyj8Vg0lSOEmLdsk%2FO4obpAy0y0%3D&reserved=0
>> > > > Error :
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOXFT&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519989677&sdata=TC%2FgylzJAdLNrVXlcaoEv2QzoUXV4a4WmTC6mKR4ToY%3D&reserved=0
>> > > >
>> > > > Thanks,
>> > > > Alina Kazi
>> > > >
>> > > >
>> > > >
>> > > >
>> -----Original
>> > > Message-----
>> > > > From: Alex
>> > Harui
>> > > [mailto:[email protected]]
>> > > >
>> > > > Sent:
>> Tuesday,
>> > > October 16, 2018 11:46 AM
>> > > > To:
>> > > [email protected]
>> > > > Subject: Re:
>> > Getting
>> > > An Emulation Component To Run
>> > > >
>> > > > Hi Alina,
>> > > >
>> > > > The example
>> in
>> > > >
>> examples/mxroyale/RemoteObjectAMFTest
>> > is
>> > > working and accesses the server
>> > > > that is in examples/amf/
>> > SampleAmfWebApp.
>> > > Theoretically, your old
>> > > > mx:RemoteObject code should work
>> > untouched.
>> > > Try it without touching it and
>> > > > tell us what kinds of errors you are
>> > > getting. If you are getting runtime
>> > > > errors, see how the
>> > RemoteObjectAMFTest uses
>> > > "casting" to be explicit about
>> > > > the types of the RemoteObject
>> > expressions.
>> > > You'll see "as Operation" to
>> > > > indicate that an mx:method in an
>> > > mx:RemoteObject is an Operation.
>> > > >
>> > > > The
>> > compile-mxml
>> > > macro is in the build.xml file.
>> > > > It has certain expectations of the
>> > structure
>> > > of the source files. Your
>> > > > source files are likely have a
>> > different
>> > > folder structure. You will need
>> > > > to add source-paths and other
>> compiler
>> > > options to the macro, or stop using
>> > > > the macro and call the mxmlc ant
>> task
>> > > directly. That is up to you. This
>> > > > is a good opportunity to get to know
>> > Ant and
>> > > the compiler better.
>> > > >
>> > > > HTH,
>> > > > -Alex
>> > > >
>> > > > On 10/15/18,
>> > 11:07
>> > > PM, "Alina Kazi" <
>> > > > [email protected]> wrote:
>> > > >
>> > > > Hi Alex
>> &
>> > Carlos,
>> > > > I
>> haven't
>> > tested
>> > > my ported Application with
>> > > > server side functionality yet.
>> > > > Can you
>> > please
>> > > share an Example that I can
>> > > > follow to get my mx:RemoteObject
>> > working as
>> > > FLEX.
>> > > >
>> > > > I have
>> > another
>> > > question
>> > > >
>> > > > I am
>> > working on
>> > > my Application and it has two
>> > > > different directories like
>> > > com->shm->modules->AP and
>> > > > com->shm->modules->components and I
>> > want to
>> > > compile a file inside
>> > > > com->shm->modules->AP->abc.mxml and
>> it
>> > uses
>> > > a file inside
>> > > >
>> > com->shm->modules->components->xyz.mxml.
>> > > > I have
>> > added
>> > > <compile-mxml
>> > > > folder="/com/shm/modules/AP/"
>> example="
>> > > abc"/> to build.xml.
>> > > > unable
>> to
>> > > access xyz inside abc.
>> > > >
>> > > > Like
>> > > >
>> > >
>> >
>> D:\apache-royale-0.9.3-bin-js-swf\royale-asjs\examples\mxroyale\tourdeflexmodules\src\spark\components\
>> > > > VideoPlayerExample.mxml is using
>> > > VideoPlayer.mxml in my case
>> > > > VideoPlayer.mxml is not is the same
>> > > directory.
>> > > >
>> > > > Thanks,
>> > > > Alina
>> Kazi
>> > > >
>> > > >
>> > -----Original
>> > > Message-----
>> > > > From:
>> > Carlos
>> > > Rovira [mailto:
>> > > > [email protected]]
>> > > > Sent:
>> > Tuesday,
>> > > October 16, 2018 12:26 AM
>> > > > To:
>> > > [email protected]
>> > > > Subject:
>> > Re:
>> > > Getting An Emulation Component To
>> > > > Run
>> > > >
>> > > > Hi Alex,
>> > > >
>> > > > yes, I
>> > added
>> > > those classes when worked trying
>> > > > to make it work in net RO, but I
>> found
>> > a
>> > > wall at that time. I think DSK
>> > > > objects had a different code when
>> > > deserialized, and our AMF implementation
>> > > > was not able to handle that.
>> > > > I was
>> not
>> > able
>> > > to know how to deal with that
>> > > > so I had to abandon. At least I
>> could
>> > pass
>> > > that disabling small messages on
>> > > > BlazeDS.
>> > > >
>> > > > I don't
>> > think
>> > > Small Messages are very
>> > > > important, don't know how "small"
>> > > > will be,
>> > so I
>> > > think we can go to other things
>> > > > more important. If I found some
>> > problem as I
>> > > start to grow my application
>> > > > that could be related to small
>> > messages I'll
>> > > report. Hope not find any issue
>> > > >
>> > > > The only
>> > > drawback could be people coming that
>> > > > must know they need to disable small
>> > > messages on their BlazeDS.
>> > > >
>> > > > I think
>> it
>> > will
>> > > be more important later since
>> > > > IExternalizable in itself seems an
>> > important
>> > > addition.
>> > > >
>> > > > Thanks
>> > > >
>> > > > Carlos
>> > > >
>> > > >
>> > > >
>> > > > El lun.,
>> > 15 oct.
>> > > 2018 a las 20:21, Alex Harui
>> > > > (<[email protected]>)
>> > > >
>> escribió:
>> > > >
>> > > > > The
>> > classes
>> > > that represent DSK, DSA and DSC
>> > > > are in the MXRoyale and
>> > > > >
>> Network
>> > > projects, but it looks like they
>> > > > implement IExternalizable. I
>> > > > > don't
>> > see any
>> > > evidence that the JS AMF
>> > > > support currently handles
>> > > > >
>> > > IExternalizable.
>> > > > >
>> > > > > I'm
>> not
>> > clear
>> > > on how important SmallMessages
>> > > > and IExternalizable are.
>> > > > > If it
>> > isn't
>> > > that important, there are plenty
>> > > > of other things to work
>> > > > > on.
>> If
>> > it is
>> > > important, do we have a test
>> > > > case that uses IExternalizable?
>> > > > >
>> > > > > -Alex
>> > > > >
>> > > > > On
>> > 10/15/18,
>> > > 10:55 AM, "Carlos Rovira" <
>> > > > [email protected]> wrote:
>> > > > >
>> > > > >
>> Yes,
>> > > > >
>> > > > > I
>> > tried
>> > > today (with code
>> > > > pre-callProperty, that I think does
>> > not make
>> > > > >
>> > difference
>> > > for this).
>> > > > >
>> > There's
>> > > small message support in RPC
>> > > > classes, but when I looked at that
>> > > > >
>> code
>> > when
>> > > I investigate it, I think must
>> > > > be accompanied from some AMF
>> > > > >
>> > > serialization/deserialization support. I
>> > > > couldn't find any resources on
>> > > > >
>> this
>> > in
>> > > the internet about how to handle
>> > > > DSK, DSA or DSC. Maybe
>> > > > > you
>> can
>> > ask
>> > > > >
>> > internally
>> > > in Adobe how to deal with
>> > > > that. My guess is that this
>> > > > > was
>> added
>> > > > > to
>> > Flash
>> > > plugin AMF serialization
>> > > > capabilities.
>> > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > > > El
>> > lun.,
>> > > 15 oct. 2018 a las 19:03, Alex
>> > > > Harui
>> > > > >
>> > > (<[email protected]>)
>> > > > >
>> > escribió:
>> > > > >
>> > > > > >
>> > Carlos,
>> > > > > >
>> > > > > >
>> > Have you
>> > > verified that small messages
>> > > > do not work with the MX
>> > > > > >
>> > > RemoteObject? I thought I saw Small
>> > > > Message support when I was
>> > > > >
>> migrating
>> > > > > >
>> > the code.
>> > > > > >
>> > > > > >
>> > Thanks,
>> > > > > >
>> > -Alex
>> > > > > >
>> > > > > >
>> On
>> > > 10/15/18, 10:01 AM, "Carlos Rovira"
>> > > > <[email protected]>
>> > > > > wrote:
>> > > > > >
>> > > > > >
>> > Hi
>> > > Alina,
>> > > > > >
>> > > > > >
>> > just
>> > > for if you don't know. If you
>> > > > use BlazeDS Java server,
>> > > > >
>> remember
>> > > > > >
>> to
>> > set
>> > > > > >
>> > up
>> > > small messages to false, or you
>> > > > RemoteObjects will not work.
>> > > > > To get
>> > > > > >
>> > > small messages we'll need to
>> > > > upgrade AMF
>> > > > >
>> > > serialization-deserialization
>> > > > > >
>> to
>> > > > > >
>> > know
>> > > how to handle DSK, DSA, and
>> > > > DSC RemoteClass aliases.
>> > > > > >
>> > > > > >
>> > Best
>> > > > > >
>> > > > > >
>> > > Carlos
>> > > > > >
>> > > > > >
>> > > > > >
>> > El
>> > > lun., 15 oct. 2018 a las 18:39,
>> > > > Alex Harui
>> > > > > >
>> > > (<[email protected]>)
>> > > > > >
>> > > escribió:
>> > > > > >
>> > > > > >
>> > > Hi
>> > > Alina,
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Good to know. You (and anybody
>> > > > working with the emulation
>> > > > > >
>> > > components) are
>> > > > > >
>> > >
>> > > expected to keep track of the
>> > > > commits to the royale-compiler
>> > > > > as
>> well
>> > > > > >
>> as
>> > the
>> > > > > >
>> > >
>> > > royale-asjs repos and stay
>> > > > updated. We are still finding bugs
>> > > > > in the
>> > > > > >
>> > >
>> > > transpiling that may affect you.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Thanks,
>> > > > > >
>> > >
>> > > -Alex
>> > > > > >
>> > >
>> > > > > >
>> > > On
>> > > 10/15/18, 2:17 AM, "Alina
>> > > > Kazi" <[email protected]>
>> > > > > wrote:
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Hi Alex,
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Thanks a lot it worked for
>> > > > me.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > -Alina kazi
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > -----Original Message-----
>> > > > > >
>> > >
>> > > From: Alex Harui [mailto:
>> > > > [email protected]]
>> > > > > >
>> > >
>> > > Sent: Monday, October 15,
>> > > > 2018 2:07 PM
>> > > > > >
>> > >
>> > > To: [email protected]
>> > > > > >
>> > >
>> > > Subject: Re: Getting An
>> > > > Emulation Component To Run
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Hi Alina,
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Are you sure you are using
>> > > > the latest compiler? Try
>> > > > >
>> compiling
>> > > > > >
>> > >
>> > > >
>> > examples/mxroyale/RemoteObjectAMFTest. It
>> > > compiles without
>> > > > > errors
>> > > > > >
>> > for me.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > I have to stop for tonight.
>> > > > Hopefully others will help
>> > > > > you.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > -Alex
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > On 10/15/18, 1:37 AM, "Alina
>> > > > Kazi" <[email protected]>
>> > > > > wrote:
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Hi Alex,
>> > > > > >
>> > >
>> > > We are using MX Remote
>> > > > Object in almost our every
>> > > > > Class
>> > like
>> > > > > >
>> > this:
>> > > > > >
>> > >
>> > > <mx:RemoteObject
>> > > > > >
>> > > >
>> > > channelSet="{parentApplication.amfChannelSet}"
>> > > > > >
>> > >
>> > > id="DataProviderService"
>> > > > showBusyCursor="true"
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > destination="shmBasic"
>> > > > fault="handleFault(event);"
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > result="handleResult(event);" />
>> > > > > >
>> > >
>> > > We get error ASBlocker
>> > > > subsystem.
>> > > > > >
>> > >
>> > > When we comment
>> > > > RemoteObject we need to comment
>> methods
>> > > > > >
>> > those are
>> > > > > >
>> > >
>> > > using it.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > I agree with that if I
>> > > > will delete some code for
>> > > > >
>> > compilation
>> > > > > >
>> I
>> > > > > >
>> > >
>> > > will face other issues at later
>> > > > stage.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Can I replace
>> > > > mx:remoteObject with :
>> > > > > >
>> > >
>> > > <s:RemoteObject id="ro"
>> > > > endpoint="
>> > > > > >
>> > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.jamesward.com%2Fcensus2-tests%2Fmessagebroker%2Famf&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519989677&sdata=j5dX3LsBCuv%2FDWs9j3VsGx%2BHrV54D9xFxkPwuLZLqFg%3D&reserved=0
>> > > > > >
>> "
>> > > > > >
>> > >
>> > > destination="census"/>
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Thanks in Advance,
>> > > > > >
>> > >
>> > > Alina Kazi
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > -----Original
>> > > > Message-----
>> > > > > >
>> > >
>> > > From: Alex Harui [mailto:
>> > > > [email protected]]
>> > > > > >
>> > >
>> > > Sent: Monday, October
>> > > > 15, 2018 1:16 PM
>> > > > > >
>> > >
>> > > To:
>> > > > [email protected]
>> > > > > >
>> > >
>> > > Subject: Re: Getting An
>> > > > Emulation Component To Run
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Hi Alina,
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > I recommend just running
>> > > > the compiled application and
>> > > > > fixing
>> > > > > >
>> > >
>> > > problems as you run into them.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > If you start copying
>> > > > code and deleting other code, you
>> > > > > cannot
>> > > > > >
>> > >
>> > > guarantee that the results will
>> > > > run. I'm not even sure
>> > > > >
>> > TitleWindow
>> > > > > >
>> is
>> > a
>> > > > > >
>> > >
>> > > valid child control of an
>> > > > Application. Usually it is a popup
>> > > > >
>> dialog.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > When you run the
>> > > > application, you will probably find
>> > > > > >
>> > > exceptions in
>> > > > > >
>> > >
>> > > the console. Set a breakpoint,
>> > > > see if you can figure out why
>> > > > > it is
>> > > > > >
>> > >
>> > > generating an exception. Change
>> > > > the code as needed.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > If you aren’t getting
>> > > > exceptions, then look at the
>> > > > >
>> element
>> > > > > >
>> > tree.
>> > > > > >
>> > >
>> > > Either all of the expected
>> > > > elements have been created or not.
>> > > > > If
>> > > > > >
>> > not, then
>> > > > > >
>> > >
>> > > look at the innermost element to
>> > > > see what it is. In the
>> > > > >
>> > properties
>> > > > > >
>> > for the
>> > > > > >
>> > >
>> > > element is a royale_wrapper
>> > > > property that points to the
>> > > > >
>> > transpiled
>> > > > > >
>> AS3
>> > > > > >
>> > >
>> > > class. That can help you know
>> > > > what class didn't create its
>> > > > >
>> children.
>> > > > > >
>> > >
>> > > Check the _beads array of that
>> > > > class to see if it created its
>> > > > > beads
>> > > > > >
>> or
>> > > > > >
>> > >
>> > > not. If not, check the CSS for
>> > > > that element, or debug into
>> > > > > its
>> code.
>> > > > > >
>> > >
>> > > Usually, addedToParent is where
>> > > > the view bead is added.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > If the elements have
>> > > > been created, check the sizes.
>> > > > > Often
>> > > > > >
>> > some of
>> > > > > >
>> > >
>> > > them will have width or height =
>> > > > 0. Try to figure why it is
>> > > > >
>> getting
>> > > > > >
>> a
>> > bad
>> > > > > >
>> > >
>> > > size.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > If you take this
>> > > > approach, then if you get stuck you
>> > > > > can
>> ask
>> > > > > >
>> a
>> > > > > >
>> > >
>> > > much more specific question and
>> > > > we can give you more specific
>> > > > > >
>> > answers.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Unfortunately, our days
>> > > > only overlap by a few hours,
>> > > > > but I
>> > > > > >
>> > hope
>> > > > > >
>> > >
>> > > other committers can help as
>> > > > well. It is in their best
>> > > > >
>> interest
>> > to
>> > > > > >
>> > improve
>> > > > > >
>> > >
>> > > their help and debugging skills.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > -Alex
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > On 10/15/18, 12:59 AM,
>> > > > "Alina Kazi" <
>> > > > >
>> > > [email protected]>
>> > > > > >
>> > wrote:
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Hi Alex,
>> > > > > >
>> > >
>> > > As our whole
>> > > > application is compiled successfully
>> > > > >
>> without
>> > > > > >
>> > >
>> > > error as a part of SparkRoyale
>> > > > Library.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Now, We have created
>> > > > a project like
>> > > > >
>> > > tourdeflexmodules to
>> > > > > >
>> > >
>> > > compile and visually see the
>> > > > application output.
>> > > > > >
>> > >
>> > > Initially started
>> > > > with the basic(small) file of our
>> > > > > >
>> > >
>> > > application that is used by most
>> > > > of the files of our
>> > > > >
>> > Application.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > We have a file in
>> > > > our application "Picklist.mxml"
>> > > > > >
>> > >
>> > > It was actually like
>> > > > :
>> > > > > >
>> > >
>> > > [1]
>> > > > > >
>> > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FRVtj&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519999686&sdata=XxwWELrbgLLMcs7K3dgaKB%2Bl6MqcD2yerGu%2B0c0855M%3D&reserved=0
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > we want to see it
>> > > > visually as all our mx and spark
>> > > > > >
>> > controls
>> > > > > >
>> > >
>> > > are already added in Apache
>> > > > Royale.
>> > > > > >
>> > >
>> > > Deleted whole code
>> > > > accept visual controls from src
>> > > > > file :
>> > > > > >
>> > >
>> > > [2]
>> > > > > >
>> > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FH4Sm&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519999686&sdata=iWsFY2fECVOJqYLpWdBN9oia6GH17iu2XKG8P7y%2FXDQ%3D&reserved=0
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Nothing shows inside
>> > > > spark BorderContainer &
>> > > > >
>> > TitleWindow.
>> > > > > >
>> > >
>> > > [3]
>> > > > > >
>> > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FEpS8&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519999686&sdata=3zrGhcHIZRJnsP95gOBrJp1FCMYdw8E3ywz81AHq6mU%3D&reserved=0
>> > > > > >
>> > >
>> > > How can we see all
>> > > > visual controls as they were in
>> > > > > Flex
>> > > > > >
>> of
>> > > > > >
>> > >
>> > > this particular file.
>> > > > > >
>> > >
>> > > Even spark
>> > > > BorderContainer default.css is
>> copied
>> > > > > from
>> > > > > >
>> > Flex
>> > > > > >
>> > >
>> > > ->Royale.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Thanks,
>> > > > > >
>> > >
>> > > Alina Kazi
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > -----Original
>> > > > Message-----
>> > > > > >
>> > >
>> > > From: Alex Harui
>> > > > [mailto:[email protected]]
>> > > > > >
>> > >
>> > > Sent: Monday,
>> > > > October 15, 2018 11:15 AM
>> > > > > >
>> > >
>> > > To:
>> > > > [email protected]
>> > > > > >
>> > >
>> > > Subject: Re: Getting
>> > > > An Emulation Component To Run
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Hi Alina,
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Different APIs will
>> > > > have different solutions.
>> > > > > Pick
>> an
>> > > > > >
>> > API you
>> > > > > >
>> > >
>> > > want to have work and let's
>> > > > discuss how to make it work.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > -Alex
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > On 10/14/18, 10:48
>> > > > PM, "Alina Kazi" <
>> > > > >
>> > > [email protected]
>> > > > > >
>> >
>> > > > > >
>> > >
>> > > wrote:
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Hi Alex,
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > All mx and spark
>> > > > class methods those were left
>> > > > > empty
>> > > > > >
>> for
>> > > > > >
>> > >
>> > > the compilation of Application.
>> > > > > >
>> > >
>> > > Also Module does
>> > > > not show anything on screen.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Thanks in
>> > > > Advance,
>> > > > > >
>> > >
>> > > Alina
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > -----Original
>> > > > Message-----
>> > > > > >
>> > >
>> > > From: Alex Harui
>> > > > [mailto:
>> > > > >
>> > > [email protected]]
>> > > > > >
>> > >
>> > > Sent: Thursday,
>> > > > October 11, 2018 12:32 PM
>> > > > > >
>> > >
>> > > To:
>> > > > [email protected]
>> > > > > >
>> > >
>> > > Subject: Re:
>> > > > Getting An Emulation Component To
>> > > > > Run
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Hi Alina,
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Which components
>> > > > or properties are you trying
>> > > > > to get
>> > > > > >
>> to
>> > > > > >
>> > >
>> > > run?
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > -Alex
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > On 10/10/18,
>> > > > 10:40 PM, "Alina Kazi" <
>> > > > > >
>> > > [email protected]>
>> > > > > >
>> > >
>> > > wrote:
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Hi Alex,
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > What if CSS
>> > > > for a component is not written
>> > > > > in
>> > > > > >
>> > Basic /
>> > > > > >
>> > >
>> > > Express defaults.css?
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > And We need
>> > > > it in MXRoyale / SparkRoyale
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Thanks,
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Alina Kazi
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > From: Alex
>> > > > Harui [mailto:[email protected]]
>> > > > > >
>> > >
>> > > Sent:
>> > > > Monday, October 08, 2018 8:40 PM
>> > > > > >
>> > >
>> > > To: Alina
>> > > > Kazi
>> > > > > >
>> > >
>> > > Subject: Re:
>> > > > Getting An Emulation
>> > > > >
>> > Component To
>> > > > > >
>> Run
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Hi Alina,
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Please ask
>> > > > these questions on dev@ as
>> > > > > well.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > CSS with
>> > > > ClassReference is a way to use
>> > > > > >
>> > > Composition to
>> > > > > >
>> > >
>> > > customize components. Copying
>> > > > code is usually a bad practice
>> > > > > as it
>> > > > > >
>> > >
>> > > creates maintenance issues. So,
>> > > > in general, the preference
>> > > > > should
>> > > > > >
>> be
>> > to
>> > > > > >
>> > >
>> > > use CSS.
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > HTH,
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > -Alex
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > From: Alina
>> > > > Kazi <[email protected]>
>> > > > > >
>> > >
>> > > Date:
>> > > > Monday, October 8, 2018 at 2:02 AM
>> > > > > >
>> > >
>> > > To: Alex
>> > > > Harui <[email protected]>
>> > > > > >
>> > >
>> > > Subject:
>> > > > Getting An Emulation Component To
>> > > > > Run
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Hi Alex,
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > We want to
>> > > > know how can we identify which
>> > > > > is the
>> > > > > >
>> > right
>> > > > > >
>> > >
>> > > stub?
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > For Example:
>> > > > selected property written
>> > > > > >
>> > > differently in
>> > > > > >
>> > >
>> > > CheckBox, RadioButton and
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > we want
>> > > > selected property for Button. How
>> > > > > can we
>> > > > > >
>> > >
>> > > identify and pick the right code
>> > > > for Button?
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > 1.
>> > > > copying the little bits of code
>> > > > > from
>> the
>> > > > > >
>> > >
>> > > Basic or Express version into
>> > > > the right stub in the Emulation
>> > > > > >
>> > Component
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > 2.
>> > > > copying the CSS from Basic or
>> > > > >
>> Express
>> > > > > >
>> > >
>> > > defaults.css into the MXRoyale
>> > > > or SparkRoyale defaults.css
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Thanks in
>> > > > Advance,
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > Alina Kazi
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > >
>> > > > > >
>> > > > > >
>> > --
>> > > > > >
>> > > Carlos Rovira
>> > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519999686&sdata=4qJIRQnz6%2BZ%2BKpf%2F2wpYQkG8vXHNH7pKwHUgM0ZJq2w%3D&reserved=0
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > >
>> > > > > --
>> > > > >
>> > Carlos
>> > > Rovira
>> > > > >
>> > > > >
>> > > >
>> > >
>> > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.
>> > > > >
>> > > me%2Fcarlosrovira&data=02%7C01%7Caharui%
>> > > > 40adobe.com%7C04eb29f37fce
>> > > > >
>> > > >
>> > >
>> > 40d3df9908d632c77330%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6367
>> > > > >
>> > > >
>> > >
>> > 52229546474497&sdata=7S2M%2BRlyCsWd2pShdvTsjfyJp9xyZ5bdaAc3zZQrilU
>> > > > >
>> > > %3D&reserved=0
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > > > --
>> > > > Carlos
>> > Rovira
>> > > >
>> > > >
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519999686&sdata=4qJIRQnz6%2BZ%2BKpf%2F2wpYQkG8vXHNH7pKwHUgM0ZJq2w%3D&reserved=0
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > >
>> > > --
>> > >
>> > > Piotr Zarzycki
>> > >
>> > > Patreon: *
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519999686&sdata=Uku%2B9CX2dZ0dg1hDOwJACM8TUZpaW%2BCegvpICx44%2FLc%3D&reserved=0
>> > > <
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519999686&sdata=Uku%2B9CX2dZ0dg1hDOwJACM8TUZpaW%2BCegvpICx44%2FLc%3D&reserved=0
>> > > >*
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> >
>> > --
>> > Carlos Rovira
>> >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cadc6521cadd74641e1f308d64934cfc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636776888519999686&sdata=4qJIRQnz6%2BZ%2BKpf%2F2wpYQkG8vXHNH7pKwHUgM0ZJq2w%3D&reserved=0
>> >
>> >
>> >
>> >
>> >
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
http://about.me/carlosrovira