Gnash  0.8.10
Public Member Functions
gnash::BitmapMovie Class Reference

A top-level movie displaying a still bitmap. More...

#include <BitmapMovie.h>

Inheritance diagram for gnash::BitmapMovie:
gnash::Movie gnash::MovieClip gnash::DisplayObjectContainer gnash::InteractiveObject gnash::DisplayObject gnash::GcResource

List of all members.

Public Member Functions

 BitmapMovie (as_object *object, const BitmapMovieDefinition *def, DisplayObject *parent)
virtual ~BitmapMovie ()
virtual void advance ()
 BitmapMovies do need an advance method.
virtual float frameRate () const
virtual size_t widthPixels () const
virtual size_t heightPixels () const
virtual const std::string & url () const
 Get the URL the Movie was loaded from.
virtual int version () const
 Get the version of the Movie.
virtual const movie_definitiondefinition () const

Detailed Description

A top-level movie displaying a still bitmap.

A loaded BitmapMovie is tested in misc-ming.all/loadMovieTest.swf to have a DisplayList, so it is appropriate that it inherits from MovieClip.


Constructor & Destructor Documentation

gnash::BitmapMovie::BitmapMovie ( as_object object,
const BitmapMovieDefinition def,
DisplayObject parent 
)
virtual gnash::BitmapMovie::~BitmapMovie ( ) [inline, virtual]

Member Function Documentation

virtual void gnash::BitmapMovie::advance ( ) [inline, virtual]

BitmapMovies do need an advance method.

This may be for play() or other inherited methods.

Implements gnash::Movie.

virtual const movie_definition* gnash::BitmapMovie::definition ( ) const [inline, virtual]

Implements gnash::Movie.

virtual float gnash::BitmapMovie::frameRate ( ) const [inline, virtual]
virtual size_t gnash::BitmapMovie::heightPixels ( ) const [inline, virtual]
virtual const std::string& gnash::BitmapMovie::url ( ) const [inline, virtual]

Get the URL the Movie was loaded from.

Implements gnash::Movie.

References gnash::BitmapMovieDefinition::get_url().

virtual int gnash::BitmapMovie::version ( ) const [inline, virtual]

Get the version of the Movie.

Returns:
Either the version of the Movie or -1 if the Movie is of a type that has no version.

Implements gnash::Movie.

References gnash::BitmapMovieDefinition::get_version().

virtual size_t gnash::BitmapMovie::widthPixels ( ) const [inline, virtual]

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