org.concord.flash.player
Class FMovie

java.lang.Object
  |
  +--org.concord.flash.player.FScriptObject
        |
        +--org.concord.flash.player.FComponent
              |
              +--org.concord.flash.player.FMovieClip
                    |
                    +--org.concord.flash.player.FMovie
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, com.anotherbigidea.flash.SWFConstants

public class FMovie
extends FMovieClip

Represents the whole movie. Some things user can do getFunction - You can call this method to get any named functions. it returns a FFunction object, which has an execute method.


Fields inherited from class org.concord.flash.player.FMovieClip
_currentframe
 
Fields inherited from class org.concord.flash.player.FComponent
movie, symbol
 
Fields inherited from class org.concord.flash.player.FScriptObject
members, name, parent
 
Fields inherited from interface com.anotherbigidea.flash.SWFConstants
BITMAP_FORMAT_16_BIT, BITMAP_FORMAT_32_BIT, BITMAP_FORMAT_8_BIT, BUTTON2_IDLE2OVERDOWN, BUTTON2_IDLE2OVERUP, BUTTON2_OUTDOWN2IDLE, BUTTON2_OUTDOWN2OVERDOWN, BUTTON2_OVERDOWN2IDLE, BUTTON2_OVERDOWN2OUTDOWN, BUTTON2_OVERDOWN2OVERUP, BUTTON2_OVERUP2IDLE, BUTTON2_OVERUP2OVERDOWN, CLIP_ACTION_DATA, CLIP_ACTION_ENTER_FRAME, CLIP_ACTION_KEY_DOWN, CLIP_ACTION_KEY_UP, CLIP_ACTION_MOUSE_DOWN, CLIP_ACTION_MOUSE_MOVE, CLIP_ACTION_MOUSE_UP, CLIP_ACTION_ON_LOAD, CLIP_ACTION_UNLOAD, FILL_CLIPPED_BITMAP, FILL_LINEAR_GRADIENT, FILL_RADIAL_GRADIENT, FILL_SOLID, FILL_TILED_BITMAP, FONT_ANSI, FONT_BOLD, FONT_ITALIC, FONT_SHIFTJIS, FONT_UNICODE, FONT_WIDECHARS, FONT2_32OFFSETS, FONT2_ANSI, FONT2_BOLD, FONT2_HAS_LAYOUT, FONT2_ITALIC, FONT2_SHIFTJIS, FONT2_UNICODE, FONT2_WIDECHARS, SOUND_FORMAT_ADPCM, SOUND_FORMAT_MP3, SOUND_FORMAT_RAW, SOUND_FREQ_11KHZ, SOUND_FREQ_22KHZ, SOUND_FREQ_44KHZ, SOUND_FREQ_5_5KHZ, TAG_DEFINEBITS, TAG_DEFINEBITSJPEG2, TAG_DEFINEBITSJPEG3, TAG_DEFINEBITSLOSSLESS, TAG_DEFINEBITSLOSSLESS2, TAG_DEFINEBUTTON, TAG_DEFINEBUTTON2, TAG_DEFINEBUTTONCXFORM, TAG_DEFINEBUTTONSOUND, TAG_DEFINEFONT, TAG_DEFINEFONT2, TAG_DEFINEFONTINFO, TAG_DEFINEMORPHSHAPE, TAG_DEFINEQUICKTIMEMOVIE, TAG_DEFINESHAPE, TAG_DEFINESHAPE2, TAG_DEFINESHAPE3, TAG_DEFINESOUND, TAG_DEFINESPRITE, TAG_DEFINETEXT, TAG_DEFINETEXT2, TAG_DEFINETEXTFIELD, TAG_DOACTION, TAG_ENABLEDEBUG, TAG_END, TAG_EXPORT, TAG_FLASHGENERATOR, TAG_FRAMELABEL, TAG_FREECHARACTER, TAG_GEN_EXTERNAL_FONT, TAG_GENERATOR_TEXT, TAG_IMPORT, TAG_JPEGTABLES, TAG_NAMECHARACTER, TAG_PLACEOBJECT, TAG_PLACEOBJECT2, TAG_PROTECT, TAG_REMOVEOBJECT, TAG_REMOVEOBJECT2, TAG_SERIALNUMBER, TAG_SETBACKGROUNDCOLOR, TAG_SHOWFRAME, TAG_SOUNDSTREAMBLOCK, TAG_SOUNDSTREAMHEAD, TAG_SOUNDSTREAMHEAD2, TAG_STARTSOUND, TAG_TEMPLATECOMMAND, TEXT_HAS_COLOR, TEXT_HAS_FONT, TEXT_HAS_XOFFSET, TEXT_HAS_YOFFSET, TEXTFIELD_ALIGN_CENTER, TEXTFIELD_ALIGN_JUSTIFY, TEXTFIELD_ALIGN_LEFT, TEXTFIELD_ALIGN_RIGHT, TEXTFIELD_DISABLE_EDIT, TEXTFIELD_DRAW_BORDER, TEXTFIELD_FONT_GLYPHS, TEXTFIELD_HAS_FONT, TEXTFIELD_HAS_LAYOUT, TEXTFIELD_HAS_TEXT, TEXTFIELD_HAS_TEXT_COLOR, TEXTFIELD_HTML, TEXTFIELD_IS_MULTILINE, TEXTFIELD_IS_PASSWORD, TEXTFIELD_LIMIT_CHARS, TEXTFIELD_NO_SELECTION, TEXTFIELD_WORD_WRAP, TWIPS
 
Method Summary
 void addMovieClip(java.lang.String path, FMovieClip clip)
          Adds a movie clip to the global name table.
 FFunction getFunction(java.lang.String name)
          Gets a function from the function list.
 FMovieClip getMovieClip(java.lang.String path)
          Retrieves a movie clip based on its path.
 boolean isSkippingFrames()
          If SkippingFrames is true then the movie skips frames when the actual frame rate drops below the specified frame rate.
 void play()
          Start playing at the next frame
 void removeMovieClip(java.lang.String path)
          Removes a movie clip from the global name table.
 void render()
          Draw the movie now.
 void setSkippingFrames(boolean skip)
           
 void stop()
          Stops the movie and stops the periodic timer.
 
Methods inherited from class org.concord.flash.player.FMovieClip
addMovieClipListener, executeFrame, executeFrame, get_currentframe, getBounds2D, getButton, getCurrentFrame, getNumFrames, getObjectType, getPath, gotoAndPlay, gotoAndPlay, gotoAndStop, gotoAndStop, initializeFrames, isPlaying, nextFrame, prevFrame, removeMovieClipListener, set_currentframe, set_currentframe, stopAll
 
Methods inherited from class org.concord.flash.player.FComponent
compareTo, get_alpha, get_name, get_rotation, get_visible, get_x, get_xscale, get_y, get_yscale, getBounds, getBounds2D, getClipDepth, getColorTransform, getDepth, getParentClip, getToolTipText, getTransform, getTransformed, isModified, isTransformed, paint, set_alpha, set_alpha, set_name, set_rotation, set_rotation, set_rotation, set_visible, set_x, set_x, set_x, set_xscale, set_xscale, set_xscale, set_y, set_y, set_y, set_yscale, set_yscale, set_yscale, setClipDepth, setColorTransform, setDepth, setToolTipText, setTransform, setTranslation, setTranslation, translate, translate
 
Methods inherited from class org.concord.flash.player.FScriptObject
callMethod, clone, getAllMembers, getMember, getName, getParent, removeMember, setMember, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isSkippingFrames

public boolean isSkippingFrames()
If SkippingFrames is true then the movie skips frames when the actual frame rate drops below the specified frame rate. if it is false, then the movie will play every frame (which may slow the movie...) The default is true.
Returns:
true is this movie is skipping frames

setSkippingFrames

public void setSkippingFrames(boolean skip)
Parameters:
skip - Skip frames setting

render

public void render()
Draw the movie now.

play

public void play()
Description copied from class: FMovieClip
Start playing at the next frame
Overrides:
play in class FMovieClip

stop

public void stop()
Stops the movie and stops the periodic timer. Stops the buttons from receiving mouse events as well.
Overrides:
stop in class FMovieClip

getFunction

public FFunction getFunction(java.lang.String name)
Gets a function from the function list.

addMovieClip

public void addMovieClip(java.lang.String path,
                         FMovieClip clip)
Adds a movie clip to the global name table.

removeMovieClip

public void removeMovieClip(java.lang.String path)
Removes a movie clip from the global name table.

getMovieClip

public FMovieClip getMovieClip(java.lang.String path)
Retrieves a movie clip based on its path.