E-mail
Password
Login
Forgot your password?
Register
Please Login/Register for download.
LOGIN
REGISTER NOW
flare
showcase
download
support
contact
blog
buy
showcase
FORUM
WIKI
API
Login / Sign In
Actions
Login
SignUp
Recent topics
Android app - Image Searc...
FlarePhysics speed test -...
Lil' Smash - 3D Tennis Ga...
Flare3d and Kinect game
Super Chuck Shooter
Flare3D - FlarToolkit Int...
ShadowProjector3D problem...
Animation stop work after...
Links
API Documentation
Wiki
Forum
»
General Category
»
Engine Library
»
ReferenceError: Error #1074
Author
Topic: ReferenceError: Error #1074 (Read 191 times)
ReferenceError: Error #1074
Shalmu Yakubov
«
on:
May 16, 2012, 05:20:55 AM »
I try to use the Flare3d with a HaXe compiler. After it is compiled and started, I get a error:
ReferenceError: Error #1074: Illegal write to read-only property Register on global.
at global$init()
This error is thrown even if I only use "scene = new Viewer3D( this );" in the constructor. If I don't use any flare3d API, no error is thrown.
I look into the result swf file and see that there are two global Register classes, with different contents.
How can it be solved? Maybe global Register class should be inside some package to prevent the write to read only?
ReferenceError: Error #1074
Ivan Vodopiviz
«
Reply #1 on:
May 16, 2012, 10:17:20 AM »
Hi,
Truth be told, we never tried using Flare3D with HaXe, so I we have no idea what the problem might be. Could you please send us a small example project we can test? Maybe we can get Flare3D working nicely with HaXe when 2.5 releases.
Cheers,
ReferenceError: Error #1074
Shalmu Yakubov
«
Reply #2 on:
May 16, 2012, 12:42:58 PM »
OK, I have sent it to flare 3d info@ email. Thank you!
ReferenceError: Error #1074
Shalmu Yakubov
«
Reply #3 on:
July 06, 2012, 02:06:00 PM »
Hey guys, no need to fix it - there is a workaround in HaXe:
http://code.google.com/p/haxe/issues/detail?id=992
I'm so glad I don't need to go back to AS3, and I can use Flare3D with haXe directly!
Pages: [
1
]
Forum
»
General Category
»
Engine Library
»
ReferenceError: Error #1074