Royale Application Runtime Issue [DBiz ERP Application]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Royale Application Runtime Issue [DBiz ERP Application]

alina kazi-2

Hi,

 

I am working on my Royale Application and I am adding an element like this:

 

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";

appViewStack.addElement(compERPView)

appView_ERP is a mxml file has starting and ending tag  mx:Canvas  

It was working fine till march 2019.

Now, with Latest release downloaded on 01-JUL-19

I am getting this error :

 

columnNumber: 11

fileName: "http://localhost:8080/SHMA/org/apache/royale/core/HTMLElementWrapper.js"

lineNumber: 124

message: "Cannot convert EventDispatcher to IBead"

stack: "org.apache.royale.core.HTMLElementWrapper.prototype.addBead@http://localhost:8080/SHMA/org/apache/royale/core/HTMLElementWrapper.js:....

 

-Alina Kazi