drflash / gaforflash

Automatically exported from code.google.com/p/gaforflash
Apache License 2.0
1 stars 0 forks source link

Bridge / AS3 Method errors #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set method as Bridge
2. Publish from flex (as3 project)
3. ga.js not found (yes I am only runing the swf)

Then I used the AS3 method:

1. Set method as AS3 
2. Publish from flex (as3 project)
3. get this error here:

[Fault] exception, information=TypeError: Error #1009: Cannot access a
property or method of a null object reference.
Fault, IdleTimer() at IdleTimer.as:83
 83    // code goes here

Any suggestion?

Cheers
Riccardo

Original issue reported on code.google.com by riccardo...@gmail.com on 5 May 2009 at 9:54

GoogleCodeExporter commented 9 years ago
ok, it needs to be added to the display list first..
ie. addChild(..)

Original comment by riccardo...@gmail.com on 6 Jun 2009 at 9:26

GoogleCodeExporter commented 9 years ago
Sounds right to me - I had to make sure the displayobject parameter had a 
non-null 
stage property. Unfortunately I had to look at the source code to work this 
out, so 
maybe we could add a useful error message?

Original comment by agent.ed...@gmail.com on 6 Jun 2009 at 10:38

GoogleCodeExporter commented 9 years ago
see issue #38

http://code.google.com/p/gaforflash/issues/detail?id=38

Original comment by zwetan on 18 Jun 2009 at 1:11