royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alina Kazi" <alina.k...@d-bz.com>
Subject RE: Getting An Emulation Component To Run
Date Thu, 18 Oct 2018 07:48:45 GMT
Hi Alex,

Yes it was folder structure issue .Working for me both inside and outside sdk folder.

Thanks a lot.
Alina Kazi

-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com.INVALID] 
Sent: Thursday, October 18, 2018 12:27 PM
To: dev@royale.apache.org
Subject: Re: Getting An Emulation Component To Run

Hi Alina,

We will need to see the build.xml and more of the output.  I'm guessing several lines of output
were clipped out as the first line you are showing here starts with the SWF being compiled
successfully.  My guess is that the source path and the folder structure and main file you
specified are not coordinated.

Also, I strongly suggest that you do not build your application inside the examples folder.
 I tested alina.zip in a different folder.  It worked for me outside the sdk folder.

-Alex

On 10/18/18, 12:13 AM, "Alina Kazi" <alina.kazi@d-bz.com> wrote:

    Hi Alex,
    
    I have tried alina.zip and compiled successfully.
    Added my files to the "app" renamed as "applications" .
    Internal error Occurred : 
        [mxmlc] 752000 bytes written to D:\apache-royale-0.9.3-bin-js-swf\royale-asjs\examples\mxroyale\alina\applications\target\Applications.swf
in 16.962 seconds
        [mxmlc] 20.07706414 seconds
        [mxmlc] Internal error: java.util.NoSuchElementException java.util.ArrayList$Itr.next(ArrayList.java:854)com.google.common.collect.Iterators.getOnlyElement(Iterators.java:308)com.google.common.collect.Iterables.getOnlyElement(Iterables.java:294)org.apache.royale.compiler.clients.MXMLJSCRoyale.se
    tupTargetFile(MXMLJSCRoyale.java:696)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:314)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:250)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:207)org.apache.royal
    e.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:365)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:300)org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:259)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:241)
        [mxmlc]
        [mxmlc]
    
    BUILD FAILED
    D:\apache-royale-0.9.3-bin-js-swf\royale-asjs\examples\mxroyale\alina\build.xml:32: The
following error occurred while executing this line:
    D:\apache-royale-0.9.3-bin-js-swf\royale-asjs\examples\mxroyale\alina\applications\build.xml:59:
mxmlc task failed.
    
    Thanks,
    Alina kazi
    
    -----Original Message-----
    From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
    Sent: Thursday, October 18, 2018 11:23 AM
    To: dev@royale.apache.org
    Subject: RE: Getting An Emulation Component To Run
    
    Alina.zip file you shared will be helpful.
    
    Thanks ,
    Alina Kazi
    
    -----Original Message-----
    From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
    Sent: Thursday, October 18, 2018 11:17 AM
    To: 'dev@royale.apache.org'
    Subject: RE: Getting An Emulation Component To Run
    
    Hi Alex,
    I am already using it this way     <include-sources dir="${basedir}/src" includes="*"/>

    I just wanted to know how can I add external-library or a library inside my src path to
a target whether it is compc target or compile-mxml target.
    Solution required for
    1. a library depends on another library
    2. compile-mxml target depends on a library
    
    Thanks,
    Alina Kazi
    
    
    -----Original Message-----
    From: Alex Harui [mailto:aharui@adobe.com.INVALID] 
    Sent: Thursday, October 18, 2018 2:43 AM
    To: dev@royale.apache.org
    Subject: Re: Getting An Emulation Component To Run
    
    It occurred to me that you might have meant "mxml file in a swc".  But again, it is important
that you take time writing your emails.  Because our schedules don't overlap that much, a
lot of time is wasted if you don't provide enough information.  There should probably be a
link to paste.apache.org in each of your emails showing the output you are getting.  If you
want to focus on a particular part of the output, copy that part into the email or post a
separate link to it, but it is probably worth putting all of the output in paste.apache.org.
 Often, errors are the result of configuration issues and the error itself may not be as useful
as seeing the compiler options you used and the build.xml file.
    
    The documentation for the compiler and Ant should be the same as the Flex documentation,
except that the tasks.jar has a different name and there are some new options in Royale. 
But the basics of how to create a SWC and control what files go in a SWC should be the same.
    
    I think you can use:
    
        <include-sources dir="${basedir}/src" includes="*"/>
    
    to include all mxml and as files in a folder.
    
    HTH,
    -Alex
    
    On 10/17/18, 8:11 AM, "Alex Harui" <aharui@adobe.com.INVALID> wrote:
    
        Hi Alina,
        
        I do not know what "mxml file in an .as file" means.  It will be best to show us at
least some of the source code and the output.
        
        -Alex
        
        On 10/17/18, 5:27 AM, "Alina Kazi" <alina.kazi@d-bz.com> wrote:
        
            I need a mxml file in an .as file to compile I am creating a library first using
compc
            Added to Build.xml ( shmUtil.as needs shmDateTimePicker.mxml to compile) 
            Build.xml :
            https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F1K7y&amp;data=02%7C01%7Caharui%40adobe.com%7Cdecfc43d04964ef6f94b08d634c92c8f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636754435979211321&amp;sdata=fD5hJQI8IiGhMg2qWNn5Zg3uwlWDIqosVZ93LEfHF8s%3D&amp;reserved=0
            
            Thanks,
            Alina Kazi
            
            -----Original Message-----
            From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
            Sent: Wednesday, October 17, 2018 3:17 PM
            To: 'dev@royale.apache.org'
            Subject: RE: Getting An Emulation Component To Run
            
            Hi Alex,
            
            We were using Flash Builder IDE as Tool for Flex Application Development.
            .actionScriptProperties file was like:
            https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fkjhlcw1f8vcm8z8%2F.actionScriptProperties%3Fdl%3D0&amp;data=02%7C01%7Caharui%40adobe.com%7Cdecfc43d04964ef6f94b08d634c92c8f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636754435979211321&amp;sdata=4dPDzB5gJ%2FVZYQxwS5kgi1vkbNNNzf44SC6xU9IFdzc%3D&amp;reserved=0
            
            controls, utils and components were compiled automatically without adding them
anywhere in the properties file.
            Yes, some files were in our Library Project SHMALib and SHMALib.swc is added to
Main Project Library Path .
            
            Now, we are trying to compile our Application using Ant . Few Changes are made
in Build.xml after reading your last reply carefully.
            Some files are compiled through adding compc in Build.xml and different libraries
are created successfully.
            
            I think the compilation order matters in Apache Royale (Ant Build) but it was
not in Flex. Correct me if I am wrong.
            
            Thanks for the Help,
            Alina Kazi
            
            
            -----Original Message-----
            From: Alex Harui [mailto:aharui@adobe.com.INVALID] 
            Sent: Tuesday, October 16, 2018 9:33 PM
            To: dev@royale.apache.org
            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" <alina.kazi@d-bz.com> 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&amp;data=02%7C01%7Caharui%40adobe.com%7Cdecfc43d04964ef6f94b08d634c92c8f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636754435979211321&amp;sdata=H%2BlBQp%2FO%2BeayRVXR6zk5ZkKBzfyx8S8KR2MzpNHR7QQ%3D&amp;reserved=0
                Error : https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOXFT&amp;data=02%7C01%7Caharui%40adobe.com%7Cdecfc43d04964ef6f94b08d634c92c8f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636754435979367572&amp;sdata=ZPiLPCFropmveJN9K4FDbMzC94uucrmBOwM2aktW67w%3D&amp;reserved=0
                
                Thanks,
                Alina Kazi
                
                
                
                -----Original Message-----
                From: Alex Harui [mailto:aharui@adobe.com.INVALID] 
                Sent: Tuesday, October 16, 2018 11:46 AM
                To: dev@royale.apache.org
                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" <alina.kazi@d-bz.com> 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:carlosrovira@apache.org] 
                    Sent: Tuesday, October 16, 2018 12:26 AM
                    To: dev@royale.apache.org
                    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 (<aharui@adobe.com.invalid>)
                    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" <carlosrovira@apache.org>
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
                    > (<aharui@adobe.com.invalid>)
                    >     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" <carlosrovira@apache.org>
                    > 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
                    >     > (<aharui@adobe.com.invalid>)
                    >     >     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" <alina.kazi@d-bz.com>
                    > wrote:
                    >     >     >
                    >     >     >     Hi Alex,
                    >     >     >
                    >     >     >     Thanks a lot it worked for me.
                    >     >     >
                    >     >     >     -Alina kazi
                    >     >     >
                    >     >     >     -----Original Message-----
                    >     >     >     From: Alex Harui [mailto:aharui@adobe.com.INVALID]
                    >     >     >     Sent: Monday, October 15, 2018 2:07 PM
                    >     >     >     To: dev@royale.apache.org
                    >     >     >     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" <alina.kazi@d-bz.com>
                    > 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&amp;data=02%7C01%7Caharui%40adobe.com%7Cdecfc43d04964ef6f94b08d634c92c8f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636754435979367572&amp;sdata=KxPWKPVPsdt00DG0P7GoQgNuQRei0YaXs8RiDzfG7PY%3D&amp;reserved=0
                    >     > "
                    >     >     > destination="census"/>
                    >     >     >
                    >     >     >         Thanks in Advance,
                    >     >     >         Alina Kazi
                    >     >     >
                    >     >     >         -----Original Message-----
                    >     >     >         From: Alex Harui [mailto:aharui@adobe.com.INVALID]
                    >     >     >         Sent: Monday, October 15, 2018 1:16 PM
                    >     >     >         To: dev@royale.apache.org
                    >     >     >         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" <
                    > alina.kazi@d-bz.com>
                    >     > 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&amp;data=02%7C01%7Caharui%40adobe.com%7Cdecfc43d04964ef6f94b08d634c92c8f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636754435979367572&amp;sdata=j5m50Gk5EuqQ1E53Z4N6MbX2uMU16WCJBv14ELwk488%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7Cdecfc43d04964ef6f94b08d634c92c8f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636754435979367572&amp;sdata=NF3JlQBFV1bBFeNAF0n30iyGCwV7u1u1tUOOn3mSvRA%3D&amp;reserved=0
                    >     >     >
                    >     >     >             Nothing shows inside spark BorderContainer
&
                    > TitleWindow.
                    >     >     >             [3]
                    >     >     >
                    >     >
                    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FEpS8&amp;data=02%7C01%7Caharui%40adobe.com%7Cdecfc43d04964ef6f94b08d634c92c8f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636754435979367572&amp;sdata=cdS9zwkEzda6oGA%2B%2Bzc%2FG9hUG9wlSoYF4f1A568yrEs%3D&amp;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:aharui@adobe.com.INVALID]
                    >     >     >             Sent: Monday, October 15, 2018 11:15
AM
                    >     >     >             To: dev@royale.apache.org
                    >     >     >             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"
<
                    > alina.kazi@d-bz.com
                    >     > >
                    >     >     > 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:
                    > aharui@adobe.com.INVALID]
                    >     >     >                 Sent: Thursday, October 11, 2018
12:32 PM
                    >     >     >                 To: dev@royale.apache.org
                    >     >     >                 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"
<
                    >     > alina.kazi@d-bz.com>
                    >     >     > 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:aharui@adobe.com]
                    >     >     >                     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 <alina.kazi@d-bz.com>
                    >     >     >                     Date: Monday, October 8, 2018
at 2:02 AM
                    >     >     >                     To: Alex Harui <aharui@adobe.com>
                    >     >     >                     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&amp;data=02%7C01%7Caharui%40adobe.com%7Cdecfc43d04964ef6f94b08d634c92c8f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636754435979367572&amp;sdata=I2FJed%2BebsqZCj0xsfgZkx82wPdJmFsQlG7acyB%2B60w%3D&amp;reserved=0
                    >     >
                    >     >
                    >     >
                    >
                    >     --
                    >     Carlos Rovira
                    >
                    > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.
                    > me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C04eb29f37fce
                    > 40d3df9908d632c77330%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6367
                    > 52229546474497&amp;sdata=7S2M%2BRlyCsWd2pShdvTsjfyJp9xyZ5bdaAc3zZQrilU
                    > %3D&amp;reserved=0
                    >
                    >
                    >
                    
                    --
                    Carlos Rovira
                    https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdecfc43d04964ef6f94b08d634c92c8f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636754435979367572&amp;sdata=I2FJed%2BebsqZCj0xsfgZkx82wPdJmFsQlG7acyB%2B60w%3D&amp;reserved=0
                    
                    
                
                
                
            
            
            
        
        
    
    
    
    
    




Mime
View raw message