[Javaflash] Exception

Daniel Sánchez-Gil dsanchez at prainter.com
Wed Mar 19 00:59:58 PDT 2008


The method .getScriptablePeer.isPlaying, must be inside display.syncExec(new
Runnable
) ?

 

Or can I use the method .getScriptablePeer.isPlaying outside of
display.syncExec(new Runnable
) ?

 

Thanks J

 

 

 

De: Steven Gong [mailto:steven.gong at gmail.com] 
Enviado el: lunes, 10 de marzo de 2008 10:05
Para: Daniel Sánchez-Gil
CC: javaflash at osflash.org
Asunto: Re: [Javaflash] Exception

 

No idea. I haven't seen this issue before...

On Mon, Mar 10, 2008 at 4:54 PM, Daniel Sánchez-Gil <dsanchez at prainter.com>
wrote:

Hello!

 

I get this error in my application, it has been playing SWF files during all
the weekend perfectly.

Why this exception???

 

 

Exception in thread "CONTROL" org.mozilla.javascript.EcmaError: TypeError:
IsPlaying is not a function, it is
sjtu.dctc.wonder.javaflash.npruntime.NPObjWrapper.

        at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3226)

        at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3216)

        at
org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3232)

        at
org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3251)

        at
org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:330
6)

        at
org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:153
1)

        at
sjtu.dctc.wonder.javaflash.FlashScriptablePeer.isPlaying(FlashScriptablePeer
.java:103)

        at weox.ControlPantallas.muestraTicker(ControlPantallas.java:105)

        at weox.ControlTicker.run(ControlTicker.java:55)

 

 

 

Regards,

                Daniel S.M.

 


_______________________________________________
Javaflash mailing list
Javaflash at osflash.org
http://osflash.org/mailman/listinfo/javaflash_osflash.org




-- 
Best Regards
Steven Gong

InfraRed5 Red5 Consultant: http://www.infrared5.com, steven at infrared5.com

Red5 Developer: http://osflash.org/red5,
http://jira.red5.org/confluence/display/~steven/Home

Javaflash Project Founder and Maintainer: http://osflash.org/javaflash

Modesty is an overrated quality in men of no great accomplishment.  -- Ricky
Jay 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/javaflash_osflash.org/attachments/20080319/77b24087/attachment.html 


More information about the Javaflash mailing list