#include <libsswf.h>
Public Member Functions | |
virtual ErrorManager::error_code_t | Save (Data &data) |
Save the ShowFrame in the Data buffer. | |
TagShowFrame (TagBase *parent) | |
Initializes the show frame tag. | |
virtual swf_type_t | TypeFlags (void) const |
Returns the type of the TagShowFrame. | |
Private Member Functions | |
virtual ErrorManager::error_code_t | ParseTag (swf_tag_t tag, const Data &data) |
Parse data from a file into a ShowFrame tag. |
A show frame tag is also the place where a movie stops if paused.
TagShowFrame::TagShowFrame | ( | TagBase * | parent | ) |
The constructor initializes the show frame tag.
[in] | parent | The parent of the TagShowFrame (TagHeader or TagSprite) |
ErrorManager::error_code_t TagShowFrame::ParseTag | ( | swf_tag_t | tag, | |
const Data & | data | |||
) | [private, virtual] |
This function does nothing since the ShowFrame tag has no data.
[in] | tag | The tag that generated this call |
[in] | data | The Data buffer from the Flash file being loaded |
Implements sswf::TagBase.
References sswf::ErrorManager::ERROR_CODE_NONE.
ErrorManager::error_code_t TagShowFrame::Save | ( | Data & | data | ) | [virtual] |
This function saves the TagShowFrame tag in the specified Data buffer.
[in,out] | data | The Data buffer where the data is saved |
Implements sswf::TagBase.
References sswf::ErrorManager::ERROR_CODE_NONE, sswf::TagBase::Parent(), sswf::TagBase::SaveTag(), sswf::TagBase::ShowFrame(), and sswf::TagBase::SWF_TAG_SHOW_FRAME.
TagBase::swf_type_t TagShowFrame::TypeFlags | ( | void | ) | const [virtual] |
This function returns SWF_TYPE_CONTROL.
Implements sswf::TagBase.
References SWF_TYPE_CONTROL.