Hi Richard, please read carefully what Tao says:
The first "statechange" event will be fired early in setup, and if your private statechange method produces any error during this phase, it will be blocked also for the future calls. So, if you perform your actions only when getState() does _not_ return "null", you might be succesful. For me, it helped just to ask if getState() returns "null" or not "null": - If it returns "null", my statechange method simply does nothing. - If it returns the real chart state, I can proceed with my actions. Please try... LonelyWolf On 15 Aug., 20:33, nfgusedautoparts <[email protected]> wrote: > On Aug 8, 9:22 am, LonelyWolf <[email protected]> wrote: > > > It helped me to identify the problem and to implement a workaorund for it. > > Basically, it's just a matter of checking if the return value of the > > getState() function call is null or not. > > If it 's not null, then everything works as fine as it did before. > > i'm encountering this and don't really see a workaround for my issue. > > i have some buttons which are supposed to allow me to adjust the > graph; they do getState(), some manipulation, and setState(). > right now, they get null from getState() every time they're called. in > the internet exploder javascript debugger, i get "Unspecified error" > at line 49 > in what looks like a piece that wires flash to javascript: > > function __flash__addCallback(instance, name) { > instance[name] = function () { > return eval(instance.CallFunction("<invoke name=\""+name+"\" > returntype=\"javascript\">" + __flash__argumentsToXML(arguments,0) + > "</invoke>")); > } > > } > > line 49 being the line starting with "return eval ..." > > any suggestions? > > thanks, > richard -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
