Gnash
0.8.10
|
SWF format parsing classes. More...
SWF format parsing classes.
SWF action ids. Symbolic names copied from Ming.
ACTION_END | |
ACTION_NEXTFRAME | |
ACTION_PREVFRAME | |
ACTION_PLAY | |
ACTION_STOP | |
ACTION_TOGGLEQUALITY | |
ACTION_STOPSOUNDS | |
ACTION_GOTOFRAME | |
ACTION_GETURL | |
ACTION_WAITFORFRAME | |
ACTION_SETTARGET | |
ACTION_GOTOLABEL | |
ACTION_ADD | |
ACTION_SUBTRACT | |
ACTION_MULTIPLY | |
ACTION_DIVIDE | |
ACTION_EQUAL | |
ACTION_LESSTHAN | |
ACTION_LOGICALAND | |
ACTION_LOGICALOR | |
ACTION_LOGICALNOT | |
ACTION_STRINGEQ | |
ACTION_STRINGLENGTH | |
ACTION_SUBSTRING | |
ACTION_POP | |
ACTION_INT | |
ACTION_GETVARIABLE | |
ACTION_SETVARIABLE | |
ACTION_SETTARGETEXPRESSION | |
ACTION_STRINGCONCAT | |
ACTION_GETPROPERTY | |
ACTION_SETPROPERTY | |
ACTION_DUPLICATECLIP | |
ACTION_REMOVECLIP | |
ACTION_TRACE | |
ACTION_STARTDRAGMOVIE | |
ACTION_STOPDRAGMOVIE | |
ACTION_STRINGCOMPARE | |
ACTION_THROW | |
ACTION_CASTOP |
SWF7 The Cast Object action makes sure that the object o1 is an instance of the class s2. If it is the case, then o1 is pushed back onto the stack. Otherwise Null is pushed back onto the stack. The comparison is identical to the one applied by the Instance Of action. |
ACTION_IMPLEMENTSOP |
SWF7 This action declares an object as a sub-class of one or more interfaces. The number of interfaces has to be indicated by i2. An interface is referenced by its name (which happens to be the same as the constructor function name.) |
ACTION_FSCOMMAND2 |
SWF7. This is Flash Lite only and is ignored in the full player. This action executes an fscommand. Stack In: i1 -- number of arguments (int) s2 -- command string [s3..sn] -- arguments, as many as specified in i1 Stack Out: not known |
ACTION_RANDOM | |
ACTION_MBLENGTH | |
ACTION_ORD | |
ACTION_CHR | |
ACTION_GETTIMER | |
ACTION_MBSUBSTRING | |
ACTION_MBORD | |
ACTION_MBCHR | |
ACTION_STRICTMODE | |
ACTION_WAITFORFRAMEEXPRESSION | |
ACTION_PUSHDATA | |
ACTION_BRANCHALWAYS | |
ACTION_GETURL2 | |
ACTION_BRANCHIFTRUE | |
ACTION_CALLFRAME | |
ACTION_GOTOEXPRESSION |
aka GOTOFRAME2 |
ACTION_DELETE | |
ACTION_DELETE2 | |
ACTION_VAREQUALS | |
ACTION_CALLFUNCTION | |
ACTION_RETURN | |
ACTION_MODULO | |
ACTION_NEW |
SWF5 Pop the number of arguments. Pop each argument. Create an object of class s1. Call the constructor function (which has the same name as the object class: s1). The result of the constructor is discarded. Push the created object on the stack. The object should then be saved in a variable or object method. |
ACTION_VAR | |
ACTION_INITARRAY | |
ACTION_INITOBJECT |
Pops the number of members in the object. Pop one value and one name per member and set the corresponding member in the object. The resulting object is pushed on the stack. It can later be sent to a function or set in a variable. Note: the member names are converted to strings; they certainly should be strings thought anything is supported. Also known as 'ACTION_DECLAREOBJECT'. |
ACTION_TYPEOF | |
ACTION_TARGETPATH |
Pop a value from the stack. If it is a valid movieclip push its target back on the stack (example: _level0.sprite1.sprite2). |
ACTION_ENUMERATE | |
ACTION_NEWADD | |
ACTION_NEWLESSTHAN | |
ACTION_NEWEQUALS |
ECMA-262 "Abstract Equality Comparison". See section 11.9.3 of the ECMA 262 spec |
ACTION_TONUMBER | |
ACTION_TOSTRING | |
ACTION_DUP | |
ACTION_SWAP | |
ACTION_GETMEMBER | |
ACTION_SETMEMBER | |
ACTION_INCREMENT | |
ACTION_DECREMENT | |
ACTION_CALLMETHOD |
Pops the name of a method (can be the empty string), pop an object, pop the number of arguments, pop each argument, call the method (function) of the object, push the returned value on the stack. |
ACTION_NEWMETHOD |
Pops the name of a method (can be the empty string), pop an object (created with the Declare Object,) pop the number of arguments, pop each argument, create a new object, then call the specified method (function) as the constructor function of the object, push the returned value on the stack. This allows for overloaded constructors as in C++. |
ACTION_INSTANCEOF |
Pops the name of a constructor (s1 - ie. "Color") then the name of an object (s2). Checks whether the named object is part of the class defined by the constructor. If so, then true is push on the stack, otherwise false. Since SWF version 7, it is possible to cast an object to another using the Cast Object action. This action returns a copy of the object or Null, which in many cases can be much more practical. |
ACTION_ENUM2 |
Pops an object from the stack, push a null, then push the name of each member on the stack. |
ACTION_BITWISEAND | |
ACTION_BITWISEOR | |
ACTION_BITWISEXOR | |
ACTION_SHIFTLEFT | |
ACTION_SHIFTRIGHT | |
ACTION_SHIFTRIGHT2 | |
ACTION_STRICTEQ | |
ACTION_GREATER |
Similar to Swap + Less Than. It checks whether the second parameter is greater than the first and return the boolean result on the stack. |
ACTION_STRINGGREATER |
Similar to Swap + String Less Than. It checks whether the second string is greater than the first and return the boolean result on the stack. |
ACTION_EXTENDS |
The Extends action will be used to define a new object which extends another object. The declaration in ActionScript is: class A extends B; In an SWF action script, you don't exactly declare objects, you actually instantiate them and define their functions. This action creates a new object named s2 which is an extension of the object s1. Use this action whenever you need to inherit an object without calling its constructor. |
ACTION_CONSTANTPOOL | |
ACTION_DEFINEFUNCTION2 | |
ACTION_TRY | |
ACTION_WITH | |
ACTION_DEFINEFUNCTION | |
ACTION_SETREGISTER |
enum gnash::SWF::FillType |
SWF fill style types. Symbolic names copied from Ming.
For more info see: http://sswf.sourceforge.net/SWFalexref.html#swf_FillStyle
enum gnash::SWF::TagType |
SWF tag types. Symbolic names copied from Ming.
DSOEXPORT void gnash::SWF::addDefaultLoaders | ( | TagLoadersTable & | table | ) |
Add the default parsing functions for SWF files to a TagLoadersTable.
References END, DEFINESHAPE, gnash::SWF::DefineShapeTag::loader(), FREECHARACTER, PLACEOBJECT, gnash::SWF::PlaceObject2Tag::loader(), REMOVEOBJECT, gnash::SWF::RemoveObjectTag::loader(), DEFINEBITS, gnash::SWF::DefineBitsTag::loader(), DEFINEBUTTON, gnash::SWF::DefineButtonTag::loader(), JPEGTABLES, jpeg_tables_loader(), SETBACKGROUNDCOLOR, gnash::SWF::SetBackgroundColorTag::loader(), DEFINEFONT, gnash::SWF::DefineFontTag::loader(), DEFINETEXT, gnash::SWF::DefineTextTag::loader(), DOACTION, gnash::SWF::DoActionTag::loader(), DEFINEFONTINFO, gnash::SWF::DefineFontInfoTag::loader(), DEFINESOUND, define_sound_loader(), STARTSOUND, gnash::SWF::StartSoundTag::loader(), STOPSOUND, DEFINEBUTTONSOUND, gnash::SWF::DefineButtonSoundTag::loader(), SOUNDSTREAMHEAD, gnash::SWF::SoundStreamHeadTag::loader(), SOUNDSTREAMBLOCK, gnash::SWF::StreamSoundBlockTag::loader(), DEFINELOSSLESS, DEFINEBITSJPEG2, DEFINESHAPE2, DEFINEBUTTONCXFORM, gnash::SWF::DefineButtonCxformTag::loader(), PROTECT, PATHSAREPOSTSCRIPT, PLACEOBJECT2, REMOVEOBJECT2, SYNCFRAME, FREEALL, DEFINESHAPE3, DEFINETEXT2, gnash::SWF::DefineText2Tag::loader(), DEFINEBUTTON2, gnash::SWF::DefineButton2Tag::loader(), DEFINEBITSJPEG3, DEFINELOSSLESS2, DEFINEEDITTEXT, gnash::SWF::DefineEditTextTag::loader(), DEFINEVIDEO, DEFINESPRITE, sprite_loader(), NAMECHARACTER, SERIALNUMBER, serialnumber_loader(), DEFINETEXTFORMAT, FRAMELABEL, frame_label_loader(), DEFINEBEHAVIOR, SOUNDSTREAMHEAD2, DEFINEMORPHSHAPE, gnash::SWF::DefineMorphShapeTag::loader(), FRAMETAG, DEFINEFONT2, GENCOMMAND, DEFINECOMMANDOBJ, CHARACTERSET, FONTREF, DEFINEFUNCTION, PLACEFUNCTION, GENTAGOBJECT, EXPORTASSETS, gnash::SWF::ExportAssetsTag::loader(), IMPORTASSETS, gnash::SWF::ImportAssetsTag::loader(), ENABLEDEBUGGER, INITACTION, gnash::SWF::DoInitActionTag::loader(), DEFINEVIDEOSTREAM, gnash::SWF::DefineVideoStreamTag::loader(), VIDEOFRAME, gnash::SWF::VideoFrameTag::loader(), DEFINEFONTINFO2, DEBUGID, ENABLEDEBUGGER2, SCRIPTLIMITS, gnash::SWF::ScriptLimitsTag::loader(), SETTABINDEX, gnash::SWF::SetTabIndexTag::loader(), DEFINESHAPE4_, DEFINEMORPHSHAPE2_, FILEATTRIBUTES, file_attributes_loader(), PLACEOBJECT3, IMPORTASSETS2, DEFINEALIGNZONES, gnash::SWF::DefineFontAlignZonesTag::loader(), CSMTEXTSETTINGS, gnash::SWF::CSMTextSettingsTag::loader(), DEFINEFONT3, METADATA, metadata_loader(), DEFINESCALINGGRID, gnash::SWF::DefineScalingGridTag::loader(), DEFINESHAPE4, DEFINEMORPHSHAPE2, DEFINEFONTNAME, gnash::SWF::DefineFontNameTag::loader(), STARTSOUND2, gnash::SWF::StartSound2Tag::loader(), DEFINEBITSJPEG4, REFLEX, reflex_loader(), DOABC, gnash::SWF::DoABCTag::loader(), SYMBOLCLASS, gnash::SWF::SymbolClassTag::loader(), DOABCDEFINE, DEFINESCENEANDFRAMELABELDATA, gnash::SWF::DefineSceneAndFrameLabelDataTag::loader(), and gnash::renderer::opengl::for_each().
Referenced by gnash::Player::run(), and main().
void gnash::SWF::define_sound_loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | m, | ||
const RunResources & | r | ||
) |
Sample rate table for DEFINESOUNDHEAD tags.
Load a SWF::DEFINESOUND tag.
The value found in the tag is encoded as 2 bits and represent a multiple of 5512.5. NOTE that the first element of this table lacks the .5 portion of the actual value. Dunno what consequences it could have...
References assert, DEFINESOUND, gnash::RunResources::soundHandler(), gnash::SWFStream::ensureBytes(), gnash::SWFStream::read_u16(), gnash::SWFStream::read_uint(), gnash::arraySize(), IF_VERBOSE_MALFORMED_SWF, _, gnash::SWFStream::read_bit(), gnash::SWFStream::read_u32(), gnash::media::AUDIO_CODEC_MP3, gnash::SWFStream::read_s16(), IF_VERBOSE_PARSE, gnash::SWFStream::get_tag_end_position(), gnash::SWFStream::tell(), gnash::RunResources::mediaHandler(), gnash::media::MediaHandler::getInputPaddingSize(), data, gnash::SWFStream::read(), gnash::sound::sound_handler::create_sound(), and gnash::movie_definition::add_sound_sample().
Referenced by addDefaultLoaders().
void gnash::SWF::file_attributes_loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | m, | ||
const RunResources & | |||
) |
References assert, FILEATTRIBUTES, gnash::SWFStream::ensureBytes(), gnash::SWFStream::read_uint(), gnash::SWFStream::read_bit(), IF_VERBOSE_PARSE, _, and gnash::movie_definition::setAS3().
Referenced by addDefaultLoaders().
void gnash::SWF::frame_label_loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | m, | ||
const RunResources & | |||
) |
Label the current frame (SWF::FRAMELABEL)
References assert, FRAMELABEL, gnash::SWFStream::read_string(), gnash::movie_definition::add_frame_name(), gnash::SWFStream::get_tag_end_position(), gnash::SWFStream::tell(), _, and IF_VERBOSE_MALFORMED_SWF.
Referenced by addDefaultLoaders().
void gnash::SWF::jpeg_tables_loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | m, | ||
const RunResources & | |||
) |
References assert, JPEGTABLES, IF_VERBOSE_PARSE, _, gnash::SWFStream::tell(), endPos, gnash::SWFStream::get_tag_end_position(), currPos, gnash::image::JpegInput::createSWFJpeg2HeaderOnly(), gnash::key::e, IF_VERBOSE_MALFORMED_SWF, and gnash::movie_definition::set_jpeg_loader().
Referenced by addDefaultLoaders().
void gnash::SWF::metadata_loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | m, | ||
const RunResources & | |||
) |
References assert, METADATA, gnash::SWFStream::read_string(), IF_VERBOSE_PARSE, _, and gnash::movie_definition::get_url().
Referenced by addDefaultLoaders().
std::ostream & gnash::SWF::operator<< | ( | std::ostream & | o, |
TagType | t | ||
) |
References END, SHOWFRAME, DEFINESHAPE, FREECHARACTER, PLACEOBJECT, REMOVEOBJECT, DEFINEBITS, DEFINEBUTTON, JPEGTABLES, SETBACKGROUNDCOLOR, DEFINEFONT, DEFINETEXT, DOACTION, DEFINEFONTINFO, DEFINESOUND, STARTSOUND, STOPSOUND, DEFINEBUTTONSOUND, SOUNDSTREAMHEAD, SOUNDSTREAMBLOCK, DEFINELOSSLESS, DEFINEBITSJPEG2, DEFINESHAPE2, DEFINEBUTTONCXFORM, PROTECT, PATHSAREPOSTSCRIPT, PLACEOBJECT2, REMOVEOBJECT2, SYNCFRAME, FREEALL, DEFINESHAPE3, DEFINETEXT2, DEFINEBUTTON2, DEFINEBITSJPEG3, DEFINELOSSLESS2, DEFINEEDITTEXT, DEFINEVIDEO, DEFINESPRITE, NAMECHARACTER, SERIALNUMBER, DEFINETEXTFORMAT, FRAMELABEL, DEFINEBEHAVIOR, SOUNDSTREAMHEAD2, DEFINEMORPHSHAPE, FRAMETAG, DEFINEFONT2, GENCOMMAND, DEFINECOMMANDOBJ, CHARACTERSET, FONTREF, DEFINEFUNCTION, PLACEFUNCTION, GENTAGOBJECT, EXPORTASSETS, IMPORTASSETS, ENABLEDEBUGGER, INITACTION, DEFINEVIDEOSTREAM, VIDEOFRAME, DEFINEFONTINFO2, DEBUGID, ENABLEDEBUGGER2, SCRIPTLIMITS, SETTABINDEX, DEFINESHAPE4_, DEFINEMORPHSHAPE2_, FILEATTRIBUTES, PLACEOBJECT3, IMPORTASSETS2, DOABC, DEFINEALIGNZONES, CSMTEXTSETTINGS, DEFINEFONT3, SYMBOLCLASS, METADATA, DEFINESCALINGGRID, DOABCDEFINE, DEFINESHAPE4, DEFINEMORPHSHAPE2, DEFINESCENEANDFRAMELABELDATA, DEFINEBINARYDATA, DEFINEFONTNAME, STARTSOUND2, DEFINEBITSJPEG4, REFLEX, DEFINEBITSPTR, and gnash::key::o.
std::ostream & gnash::SWF::operator<< | ( | std::ostream & | o, |
ActionType | a | ||
) |
References ACTION_END, ACTION_NEXTFRAME, ACTION_PREVFRAME, ACTION_PLAY, ACTION_STOP, ACTION_TOGGLEQUALITY, ACTION_STOPSOUNDS, ACTION_GOTOFRAME, ACTION_GETURL, ACTION_WAITFORFRAME, ACTION_SETTARGET, ACTION_GOTOLABEL, ACTION_ADD, ACTION_SUBTRACT, ACTION_MULTIPLY, ACTION_DIVIDE, ACTION_EQUAL, ACTION_LESSTHAN, ACTION_LOGICALAND, ACTION_LOGICALOR, ACTION_LOGICALNOT, ACTION_STRINGEQ, ACTION_STRINGLENGTH, ACTION_SUBSTRING, ACTION_POP, ACTION_INT, ACTION_GETVARIABLE, ACTION_SETVARIABLE, ACTION_SETTARGETEXPRESSION, ACTION_STRINGCONCAT, ACTION_GETPROPERTY, ACTION_SETPROPERTY, ACTION_DUPLICATECLIP, ACTION_REMOVECLIP, ACTION_TRACE, ACTION_STARTDRAGMOVIE, ACTION_STOPDRAGMOVIE, ACTION_STRINGCOMPARE, ACTION_THROW, ACTION_CASTOP, ACTION_IMPLEMENTSOP, ACTION_FSCOMMAND2, ACTION_RANDOM, ACTION_MBLENGTH, ACTION_ORD, ACTION_CHR, ACTION_GETTIMER, ACTION_MBSUBSTRING, ACTION_MBORD, ACTION_MBCHR, ACTION_STRICTMODE, ACTION_WAITFORFRAMEEXPRESSION, ACTION_PUSHDATA, ACTION_BRANCHALWAYS, ACTION_GETURL2, ACTION_BRANCHIFTRUE, ACTION_CALLFRAME, ACTION_GOTOEXPRESSION, ACTION_DELETE, ACTION_DELETE2, ACTION_VAREQUALS, ACTION_CALLFUNCTION, ACTION_RETURN, ACTION_MODULO, ACTION_NEW, ACTION_VAR, ACTION_INITARRAY, ACTION_INITOBJECT, ACTION_TYPEOF, ACTION_TARGETPATH, ACTION_ENUMERATE, ACTION_NEWADD, ACTION_NEWLESSTHAN, ACTION_NEWEQUALS, ACTION_TONUMBER, ACTION_TOSTRING, ACTION_DUP, ACTION_SWAP, ACTION_GETMEMBER, ACTION_SETMEMBER, ACTION_INCREMENT, ACTION_DECREMENT, ACTION_CALLMETHOD, ACTION_NEWMETHOD, ACTION_INSTANCEOF, ACTION_ENUM2, ACTION_BITWISEAND, ACTION_BITWISEOR, ACTION_BITWISEXOR, ACTION_SHIFTLEFT, ACTION_SHIFTRIGHT, ACTION_SHIFTRIGHT2, ACTION_STRICTEQ, ACTION_GREATER, ACTION_STRINGGREATER, ACTION_EXTENDS, ACTION_CONSTANTPOOL, ACTION_DEFINEFUNCTION2, ACTION_TRY, ACTION_WITH, ACTION_DEFINEFUNCTION, ACTION_SETREGISTER, gnash::key::a, and gnash::key::o.
std::ostream & gnash::SWF::operator<< | ( | std::ostream & | os, |
const abc_action_type & | opcode | ||
) |
Output operator for abc_action_type.
References ABC_ACTION_END, ABC_ACTION_BKPT, ABC_ACTION_NOP, ABC_ACTION_THROW, ABC_ACTION_GETSUPER, ABC_ACTION_SETSUPER, ABC_ACTION_DXNS, ABC_ACTION_DXNSLATE, ABC_ACTION_KILL, ABC_ACTION_LABEL, ABC_ACTION_IFNLT, ABC_ACTION_IFNLE, ABC_ACTION_IFNGT, ABC_ACTION_IFNGE, ABC_ACTION_JUMP, ABC_ACTION_IFTRUE, ABC_ACTION_IFFALSE, ABC_ACTION_IFEQ, ABC_ACTION_IFNE, ABC_ACTION_IFLT, ABC_ACTION_IFLE, ABC_ACTION_IFGT, ABC_ACTION_IFGE, ABC_ACTION_IFSTRICTEQ, ABC_ACTION_IFSTRICTNE, ABC_ACTION_LOOKUPSWITCH, ABC_ACTION_PUSHWITH, ABC_ACTION_POPSCOPE, ABC_ACTION_NEXTNAME, ABC_ACTION_HASNEXT, ABC_ACTION_PUSHNULL, ABC_ACTION_PUSHUNDEFINED, ABC_ACTION_NEXTVALUE, ABC_ACTION_PUSHBYTE, ABC_ACTION_PUSHSHORT, ABC_ACTION_PUSHTRUE, ABC_ACTION_PUSHFALSE, ABC_ACTION_PUSHNAN, ABC_ACTION_POP, ABC_ACTION_DUP, ABC_ACTION_SWAP, ABC_ACTION_PUSHSTRING, ABC_ACTION_PUSHINT, ABC_ACTION_PUSHUINT, ABC_ACTION_PUSHDOUBLE, ABC_ACTION_PUSHSCOPE, ABC_ACTION_PUSHNAMESPACE, ABC_ACTION_HASNEXT2, ABC_ACTION_NEWFUNCTION, ABC_ACTION_CALL, ABC_ACTION_CONSTRUCT, ABC_ACTION_CALLMETHOD, ABC_ACTION_CALLSTATIC, ABC_ACTION_CALLSUPER, ABC_ACTION_CALLPROPERTY, ABC_ACTION_RETURNVOID, ABC_ACTION_RETURNVALUE, ABC_ACTION_CONSTRUCTSUPER, ABC_ACTION_CONSTRUCTPROP, ABC_ACTION_CALLSUPERID, ABC_ACTION_CALLPROPLEX, ABC_ACTION_CALLINTERFACE, ABC_ACTION_CALLSUPERVOID, ABC_ACTION_CALLPROPVOID, ABC_ACTION_NEWOBJECT, ABC_ACTION_NEWARRAY, ABC_ACTION_NEWACTIVATION, ABC_ACTION_NEWCLASS, ABC_ACTION_GETDESCENDANTS, ABC_ACTION_NEWCATCH, ABC_ACTION_FINDPROPSTRICT, ABC_ACTION_FINDPROPERTY, ABC_ACTION_FINDDEF, ABC_ACTION_GETLEX, ABC_ACTION_SETPROPERTY, ABC_ACTION_GETLOCAL, ABC_ACTION_SETLOCAL, ABC_ACTION_GETGLOBALSCOPE, ABC_ACTION_GETSCOPEOBJECT, ABC_ACTION_GETPROPERTY, ABC_ACTION_INITPROPERTY, ABC_ACTION_DELETEPROPERTY, ABC_ACTION_GETSLOT, ABC_ACTION_SETSLOT, ABC_ACTION_GETGLOBALSLOT, ABC_ACTION_SETGLOBALSLOT, ABC_ACTION_CONVERT_S, ABC_ACTION_ESC_XELEM, ABC_ACTION_ESC_XATTR, ABC_ACTION_CONVERT_I, ABC_ACTION_CONVERT_U, ABC_ACTION_CONVERT_D, ABC_ACTION_CONVERT_B, ABC_ACTION_CONVERT_O, ABC_ACTION_CHECKFILTER, ABC_ACTION_COERCE, ABC_ACTION_COERCE_B, ABC_ACTION_COERCE_A, ABC_ACTION_COERCE_I, ABC_ACTION_COERCE_D, ABC_ACTION_COERCE_S, ABC_ACTION_ASTYPE, ABC_ACTION_ASTYPELATE, ABC_ACTION_COERCE_U, ABC_ACTION_COERCE_O, ABC_ACTION_NEGATE, ABC_ACTION_INCREMENT, ABC_ACTION_INCLOCAL, ABC_ACTION_DECREMENT, ABC_ACTION_DECLOCAL, ABC_ACTION_ABC_TYPEOF, ABC_ACTION_NOT, ABC_ACTION_BITNOT, ABC_ACTION_CONCAT, ABC_ACTION_ADD_D, ABC_ACTION_ADD, ABC_ACTION_SUBTRACT, ABC_ACTION_MULTIPLY, ABC_ACTION_DIVIDE, ABC_ACTION_MODULO, ABC_ACTION_LSHIFT, ABC_ACTION_RSHIFT, ABC_ACTION_URSHIFT, ABC_ACTION_BITAND, ABC_ACTION_BITOR, ABC_ACTION_BITXOR, ABC_ACTION_EQUALS, ABC_ACTION_STRICTEQUALS, ABC_ACTION_LESSTHAN, ABC_ACTION_LESSEQUALS, ABC_ACTION_GREATERTHAN, ABC_ACTION_GREATEREQUALS, ABC_ACTION_INSTANCEOF, ABC_ACTION_ISTYPE, ABC_ACTION_ISTYPELATE, ABC_ACTION_IN, ABC_ACTION_INCREMENT_I, ABC_ACTION_DECREMENT_I, ABC_ACTION_INCLOCAL_I, ABC_ACTION_DECLOCAL_I, ABC_ACTION_NEGATE_I, ABC_ACTION_ADD_I, ABC_ACTION_SUBTRACT_I, ABC_ACTION_MULTIPLY_I, ABC_ACTION_GETLOCAL0, ABC_ACTION_GETLOCAL1, ABC_ACTION_GETLOCAL2, ABC_ACTION_GETLOCAL3, ABC_ACTION_SETLOCAL0, ABC_ACTION_SETLOCAL1, ABC_ACTION_SETLOCAL2, ABC_ACTION_SETLOCAL3, ABC_ACTION_ABS_JUMP, ABC_ACTION_DEBUG, ABC_ACTION_DEBUGLINE, ABC_ACTION_DEBUGFILE, ABC_ACTION_BKPTLINE, ABC_ACTION_TIMESTAMP, ABC_ACTION_VERIFYPASS, ABC_ACTION_ALLOC, ABC_ACTION_MARK, ABC_ACTION_WB, ABC_ACTION_PROLOGUE, ABC_ACTION_SENDENTER, ABC_ACTION_DOUBLETOATOM, ABC_ACTION_SWEEP, ABC_ACTION_CODEGENOP, and ABC_ACTION_VERIFYOP.
std::ostream & gnash::SWF::operator<< | ( | std::ostream & | o, |
const ShapeRecord & | sh | ||
) |
void gnash::SWF::reflex_loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | , | ||
const RunResources & | |||
) |
SWF Tags Reflex (777)
References assert, REFLEX, gnash::SWFStream::ensureBytes(), gnash::SWFStream::read_u8(), second, IF_VERBOSE_PARSE, and _.
Referenced by addDefaultLoaders().
void gnash::SWF::serialnumber_loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | , | ||
const RunResources & | |||
) |
Load a SWF::SERIALNUMBER tag.
References assert, SERIALNUMBER, gnash::SWFStream::ensureBytes(), gnash::SWFStream::read_u32(), and gnash::SWFStream::read_u8().
Referenced by addDefaultLoaders().
void gnash::SWF::sprite_loader | ( | SWFStream & | , |
TagType | , | ||
movie_definition & | , | ||
const RunResources & | |||
) |
Create and initialize a sprite, and add it to the movie.
Handles a SWF::DEFINESPRITE tag
References assert, DEFINESPRITE, gnash::SWFStream::ensureBytes(), gnash::SWFStream::read_u16(), IF_VERBOSE_PARSE, _, IF_VERBOSE_MALFORMED_SWF, gnash::key::m, and gnash::movie_definition::addDisplayObject().
Referenced by addDefaultLoaders().