Public Member Functions | Static Public Member Functions

gnash::SWF::SetBackgroundColorTag Class Reference

SWF Tag SetBackgroundColor (9). More...

#include <SetBackgroundColorTag.h>

Inheritance diagram for gnash::SWF::SetBackgroundColorTag:
Inheritance graph
[legend]
Collaboration diagram for gnash::SWF::SetBackgroundColorTag:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SetBackgroundColorTag (SWFStream &in)
 Construct a SetBackgroundColorTag by reading it from the given SWF stream.
void executeState (MovieClip *m, DisplayList &) const
 Execute "state" or "DisplayList" tags.

Static Public Member Functions

static void loader (SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
 Set background color tag loader (SWF::SETBACKGROUNDCOLOR).

Detailed Description

SWF Tag SetBackgroundColor (9).


Constructor & Destructor Documentation

gnash::SWF::SetBackgroundColorTag::SetBackgroundColorTag ( SWFStream in  )  [inline]

Construct a SetBackgroundColorTag by reading it from the given SWF stream.

Tag header is assumed to have been read already

Can throw ParserException on premature end of input stream

Referenced by loader().


Member Function Documentation

void gnash::SWF::SetBackgroundColorTag::executeState ( MovieClip ,
DisplayList  
) const [inline, virtual]

Execute "state" or "DisplayList" tags.

State tags exist to control the state of MovieClips along the timeline. They are executed even for skipped frames so that the state is consistent at each frame. Some tags are considered state tags even though they only contain ActionScript, e.g. the DoInitAction tag.

Reimplemented from gnash::SWF::ControlTag.

References gnash::MovieClip::set_background_color().

static void gnash::SWF::SetBackgroundColorTag::loader ( SWFStream in,
TagType  tag,
movie_definition m,
const RunResources  
) [inline, static]

The documentation for this class was generated from the following file: