OpenScales VerifyError in Flash Player 11.5 and up

157 views
Skip to first unread message

jone...@gmail.com

unread,
Nov 26, 2013, 12:35:47 PM11/26/13
to opensca...@googlegroups.com
Whenever I try to use the AS3 classes from the OpenScales 2.2 SWC library for a SWF compiling in Flash Player 11.6 and up I get the following error.

VerifyError: Error #1053: Illegal override of metaData in org.openscales.core.layer.Layer.

I can get OpenScales to work just fine in 11.5, but I would like to use the lasted version of Flash Player.

I think this is happening because Layer is extending a Sprite and a metaData getter and setter function is already included in the Sprite class. I just want to know if anyone has already encountered this problem and found a convenient workaround for it other that using an old version of Flash Player.

Ossi Rönnberg

unread,
Nov 28, 2013, 2:45:31 AM11/28/13
to opensca...@googlegroups.com
Just copy & paste the whole Layer.as from the repository and place it to the corresponding package (org.openscales.core.layer) and then just comment those metaData getter/setter out.

jone...@gmail.com

unread,
Nov 29, 2013, 10:50:09 AM11/29/13
to opensca...@googlegroups.com
I went ahead and did that and made a few other needed changes while I was at it. My project was using the OpenScales SWC library rather than the source code, so I just downloaded the source made my changes and created my own library.
Reply all
Reply to author
Forward
0 new messages