home *** CD-ROM | disk | FTP | other *** search
- import netscape.plugin.Plugin;
-
- public class ShockwavePlugin extends Plugin {
- public native void Play();
-
- public native void Stop();
-
- public native void Rewind();
-
- public native void GotoFrame(int var1);
-
- public native void GotoMovie(String var1);
-
- protected native void SetAutoStart(boolean var1);
-
- protected native boolean GetAutoStart();
-
- protected native boolean PendingResult();
-
- protected native void CurrentFrameSend();
-
- protected native int CurrentFrameResult();
-
- protected native void ScriptSend(String var1);
-
- protected native String ScriptResult();
-
- public void AutoStart(boolean var1) {
- this.SetAutoStart(var1);
- }
-
- public boolean AutoStart() {
- return this.GetAutoStart();
- }
-
- public int GetCurrentFrame() {
- this.CurrentFrameSend();
-
- while(this.PendingResult()) {
- try {
- Thread.sleep(10L);
- } catch (InterruptedException var1) {
- }
- }
-
- return this.CurrentFrameResult();
- }
-
- public String EvalScript(String var1) {
- this.ScriptSend(var1);
-
- while(this.PendingResult()) {
- try {
- Thread.sleep(10L);
- } catch (InterruptedException var2) {
- }
- }
-
- return this.ScriptResult();
- }
- }
-