Package org.gocha.inetools.http

Examples of org.gocha.inetools.http.BasicHttpResponse$Variant


  public int getCurrentFrame(String timeline) {
    if (!created)
      return 0;

    Variant[] args = new Variant[1];
    args[0] = new Variant(timeline);

    Variant result = flashObject.invoke(DISPID_TCURRENTFRAME, args);
    return (result != null) ? result.getInt() : 0;
  }
View Full Code Here


  public String getCurrentLabel(String timeline) {
    if (!created)
      return null;

    Variant[] args = new Variant[1];
    args[0] = new Variant(timeline);

    Variant result = flashObject.invoke(DISPID_TCURRENTLABEL, args);
    return (result != null) ? result.getString() : "";
  }
View Full Code Here

  public void play(String timeline) {
    if (!created)
      return;

    Variant[] args = new Variant[1];
    args[0] = new Variant(timeline);

    flashObject.invokeNoReply(DISPID_TPLAY, args);
  }
View Full Code Here

  public void stopPlay(String timeline) {
    if (!created)
      return;

    Variant[] args = new Variant[1];
    args[0] = new Variant(timeline);

    flashObject.invokeNoReply(DISPID_TSTOPPLAY, args);
  }
View Full Code Here

  public void setVariable(String name, String value) {
    if (!created)
      return;

    Variant[] args = new Variant[2];
    args[0] = new Variant(name);
    args[1] = new Variant(value);

    flashObject.invokeNoReply(DISPID_SETVARIABLE, args);
  }
View Full Code Here

  public String getVariable(String name) {
    if (!created)
      return null;

    Variant[] args = new Variant[1];
    args[0] = new Variant(name);

    Variant result = flashObject.invoke(DISPID_GETVARIABLE, args);
    return (result != null) ? result.getString() : "";
  }
View Full Code Here

  public void setProperty(String timeline, int property, String value) {
    if (!created)
      return;

    Variant[] args = new Variant[3];
    args[0] = new Variant(timeline);
    args[1] = new Variant(property);
    args[2] = new Variant(value);

    flashObject.invokeNoReply(DISPID_TSETPROPERTY, args);
  }
View Full Code Here

  public String getProperty(String timeline, int property) {
    if (!created)
      return null;

    Variant[] args = new Variant[2];
    args[0] = new Variant(timeline);
    args[1] = new Variant(property);

    Variant result = flashObject.invoke(DISPID_TGETPROPERTY, args);
    return (result != null) ? result.getString() : "";
  }
View Full Code Here

  public void callFrame(String timeline, int frameNum) {
    if (!created)
      return;

    Variant[] args = new Variant[2];
    args[0] = new Variant(timeline);
    args[1] = new Variant(frameNum);

    flashObject.invokeNoReply(DISPID_TCALLFRAME, args);
  }
View Full Code Here

  public void callLabel(String timeline, String label) {
    if (!created)
      return;

    Variant[] args = new Variant[2];
    args[0] = new Variant(timeline);
    args[1] = new Variant(label);

    flashObject.invokeNoReply(DISPID_TCALLLABEL, args);
  }
View Full Code Here

TOP

Related Classes of org.gocha.inetools.http.BasicHttpResponse$Variant

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.