HI Bhau,

There is no mapping document at this time.  We are creating solutions as folks 
need them.  For sure flash.net.navigateToURL should be replaced by 
BrowserWindow.open.  References to DisplayObject/Sprite should be replaceable 
by references to IUIComponent.  There is an org.apache.royale.utils.Timer class.
There is org.apache.royale.net.URLLoader and URLRequest.  There is 
org.apache.royale.reflection.getQualifiedClassName and 
getQualifiedSuperclassName.

I would recommend commenting out code that isn't critical to your app that uses 
flash.*.* classes.  Then provide detail on how you use flash classes that are 
important to you so we can discuss best ways to handle those APIs.

Thanks,
-Alex

On 8/3/18, 8:58 AM, "bhau" <bhau2...@gmail.com> wrote:

    Thanks Piotr and Alex. It helped and i moved little further.
    
    Is there any mapping document for preferred replacement between Flex to
    Royale classes? So far I have found following list of flash package classes.
    
    1)
    
flash.globalization.NumberFormatter,flash.globalization.DateTimeStyle,flash.globalization.DateTimeFormatter,
    2)
    
flash.events.TimerEvent,flash.events.IOErrorEvent,flash.events.ContextMenuEvent,
    flash.events.FocusEvent
    3)
    
flash.utils.IExternalizable,flash.utils.getQualifiedClassName,flash.utils.getQualifiedSuperclassName,flash.utils.getTimer,
    4)
    
flash.display.Sprite,flash.display.DisplayObject,flash.display.Bitmap,flash.display.DisplayObjectContainer,flash.display.Graphics,flash.display.LoaderInfo,flash.display.GradientType,flash.display.StageDisplayState
    5) flash.net.navigateToURL,flash.net.URLRequest,flash.net.URLLoader,
    flash.net.registerClassAlias
    6)
    
flash.text.TextField,flash.text.TextFormat,flash.text.StyleSheet,flash.text.TextFieldAutoSize,flash.text.TextLineMetrics,
    7) flash.geom.Point,flash.geom.Rectangle
    8) flash.ui.Keyboard,flash.ui.ContextMenu,flash.ui.ContextMenuItem,
    9) flash.filters.DropShadowFilter,
    10) flash.errors.IllegalOperationError,
    11) flash.system.ApplicationDomain,flash.system.Capabilities,
    12) flash.external.ExternalInterface,
     
    
    DisplayObject is being used most of the time and I am thinking to replace it
    with UIElement.
    
    What would you suggest?
    
    --Bhau
    
    
    
    
    --
    Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C07fea8abdfd04b7ad58308d5f959fe99%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636689087272829678&amp;sdata=%2Fe8vOnmbXZUgUhF5PocliXArmltWjf1TJf3RicCpwb8%3D&amp;reserved=0
    

Reply via email to