pt.tumba.parser.swf
Class ImportedSymbol

java.lang.Object
  extended by pt.tumba.parser.swf.Symbol
      extended by pt.tumba.parser.swf.ImportedSymbol

public class ImportedSymbol
extends Symbol

A Symbol that is to be imported (within the Player) from another Flash movie. The import/export feature only works with Flash version 5 and up.

Author:
unknown

Field Summary
protected  java.lang.String libName
          Description of the Field
protected  java.lang.String name
          Description of the Field
 
Fields inherited from class pt.tumba.parser.swf.Symbol
id
 
Constructor Summary
protected ImportedSymbol(int id, java.lang.String name, java.lang.String libName)
          Constructor for the ImportedSymbol object
 
Method Summary
protected  int defineSymbol(Movie movie, SWFTagTypes timelineWriter, SWFTagTypes definitionwriter)
          Description of the Method
 java.lang.String getLibraryName()
          The library name (another Flash movie)
 java.lang.String getName()
          The import name of the symbol
 
Methods inherited from class pt.tumba.parser.swf.Symbol
define, getId, getNextId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
Description of the Field


libName

protected java.lang.String libName
Description of the Field

Constructor Detail

ImportedSymbol

protected ImportedSymbol(int id,
                         java.lang.String name,
                         java.lang.String libName)
Constructor for the ImportedSymbol object

Parameters:
id - Description of the Parameter
name - Description of the Parameter
libName - Description of the Parameter
Method Detail

getName

public java.lang.String getName()
The import name of the symbol

Returns:
The name value

getLibraryName

public java.lang.String getLibraryName()
The library name (another Flash movie)

Returns:
The libraryName value

defineSymbol

protected int defineSymbol(Movie movie,
                           SWFTagTypes timelineWriter,
                           SWFTagTypes definitionwriter)
                    throws java.io.IOException
Description of the Method

Specified by:
defineSymbol in class Symbol
Parameters:
movie - Description of the Parameter
timelineWriter - Description of the Parameter
definitionwriter - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception