Hi,

 

I have replaced few imports in Apache Royale Project after comparison in
terms of functionality.

As you all are more familiar to Flex and Apache Royale. 

Are these correct substitutes?

import org.apache.royale.html.Alert; //instead of import mx.controls.Alert;

import org.apache.royale.events.CloseEvent; // instead of import
mx.events.CloseEvent;

import org.apache.royale.net.events.FaultEvent; // instead of import
mx.rpc.events.FaultEvent;

import org.apache.royale.net.events.ResultEvent; //instead of import
mx.rpc.events.ResultEvent;

import mx.collections.ArrayCollection; //very similar to
org.apache.royale.collections.TreeData

import mx.collections.Sort; // No Alternate found

import mx.collections.SortField;// No Alternate found

import mx.managers.PopUpManager; //org.apache.royale.core.IPopUp or
.IPopUpHost

import org.apache.royale.utils.StringUtil;// instead of import
mx.utils.StringUtil;

 

Reference:
http://apacheflexbuild.cloudapp.net:8080/job/Royale_ASDoc_Example/lastSucces
sfulBuild/artifact/examples/royale/ASDoc/bin/js-debug/index.html

 

Thanks,

Alina Kazi

 

Reply via email to