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://localhos
t:8080/SHMA/org/apache/royale/core/HTMLElementWrapper.js:....

 

-Alina Kazi

Reply via email to