Hi Everyone,
I am developing my first crux based royale app.
I am getting the following errorwhen running the application Uncaught
TypeError: Cannot convert [object Object] to IBead at
FrontEnd.org.apache.royale.core.ElementWrapper.addBead (ElementWrapper.as:268)
at FrontEnd.org.apache.royale.core.HTMLElementWrapper.addBead
(HTMLElementWrapper.js:50) at
FrontEnd.org.apache.royale.jewel.Application.start (Application.as:674) at
index.html:345
When tracing to the generated javascript source it is failing at this point
if (model is IBead) addBead(model as IBead); if (controller is IBead)
addBead(controller as IBead); for (var index:int in beads) {
addBead(beads[index]); // it fails at this line. }
My guess is that there is one more configuration that needs to be done. I have
tried to follow the example on the apache royale site.
Has anyone encountered this issue before ?