It is used within the OleAutomation object for getting a property, setting a property or invoking a method on an OLE Control or OLE Document.
931932933934935936937938939940
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; }
948949950951952953954955956957
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() : ""; }
964965966967968969970971972
public void play(String timeline) { if (!created) return; Variant[] args = new Variant[1]; args[0] = new Variant(timeline); flashObject.invokeNoReply(DISPID_TPLAY, args); }
979980981982983984985986987
public void stopPlay(String timeline) { if (!created) return; Variant[] args = new Variant[1]; args[0] = new Variant(timeline); flashObject.invokeNoReply(DISPID_TSTOPPLAY, args); }
993994995996997998999100010011002
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); }
1013101410151016101710181019102010211022
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() : ""; }
10351036103710381039104010411042104310441045
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); }
10601061106210631064106510661067106810691070
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() : ""; }
1083108410851086108710881089109010911092
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); }
1100110111021103110411051106110711081109
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); }