View Full Version : [AS3] Browser-flash publishing problems
iBarmatz
03-16-2009, 04:43 PM
The game I have created is working fine, but when I view it through the browser certain function don't work. Mainly ones that control x axis positions.
The game was exported to flash player 10 and the html file presenting it was generated from within flash with a detect version code.
I have tested it on ie, ff and ff ie plugin.
Non seem to work properly.
The problem is not from the browsers but from your code most likely. Developing in the Flash id or Flex environment can differ a lot from the browser environment. Problems arise often when loading assets or triggering events since in the browser the timing can be different.
Rossman
03-16-2009, 05:59 PM
My advice (as always) is to install the Debug verion of the flash player into the browser of your choice, then try your game. If any errors are being generated you will see them then.
iBarmatz
03-16-2009, 09:33 PM
I've never used the debugger before.
Could you recommend a good tutorial for that?
Rossman
03-16-2009, 11:12 PM
You don't need to even use the debugger, just go to adobe's site, download the Adobe Flash Player Debug Version for the browser of your choice, install it, and you'll start getting error message popups right in your browser for uncaught exceptions.
iBarmatz
03-17-2009, 07:11 AM
Can I trace with it too?
iBarmatz
03-17-2009, 10:29 AM
Very nice.
I'm getting an error of a null object.
By the looks of things the null object resides within a function that is called after an Event.COMPLETE event is called from a loader object.
This doens't make sens. If the object finishes loading how can it be null?
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.