#ifndef INCLUDED_nme_display_MovieClip
#define INCLUDED_nme_display_MovieClip

#ifndef HXCPP_H
#include <hxcpp.h>
#endif

#include <nme/display/Sprite.h>
HX_DECLARE_CLASS2(nme,display,DisplayObject)
HX_DECLARE_CLASS2(nme,display,DisplayObjectContainer)
HX_DECLARE_CLASS2(nme,display,IBitmapDrawable)
HX_DECLARE_CLASS2(nme,display,InteractiveObject)
HX_DECLARE_CLASS2(nme,display,MovieClip)
HX_DECLARE_CLASS2(nme,display,Sprite)
HX_DECLARE_CLASS2(nme,events,EventDispatcher)
HX_DECLARE_CLASS2(nme,events,IEventDispatcher)
namespace nme{
namespace display{


class MovieClip_obj : public ::nme::display::Sprite_obj{
	public:
		typedef ::nme::display::Sprite_obj super;
		typedef MovieClip_obj OBJ_;
		MovieClip_obj();
		Void __construct();

	public:
		static hx::ObjectPtr< MovieClip_obj > __new();
		static Dynamic __CreateEmpty();
		static Dynamic __Create(hx::DynamicArray inArgs);
		~MovieClip_obj();

		HX_DO_RTTI;
		static void __boot();
		static void __register();
		void __Mark(HX_MARK_PARAMS);
		::String __ToString() const { return HX_CSTRING("MovieClip"); }

		virtual ::String nmeGetType( );
		Dynamic nmeGetType_dyn();

		bool enabled; /* REM */ 
		int currentFrame; /* REM */ 
		int framesLoaded; /* REM */ 
		int totalFrames; /* REM */ 
		int mCurrentFrame; /* REM */ 
		int mTotalFrames; /* REM */ 
		virtual int GetTotalFrames( );
		Dynamic GetTotalFrames_dyn();

		virtual int GetCurrentFrame( );
		Dynamic GetCurrentFrame_dyn();

		virtual Void gotoAndPlay( Dynamic frame,::String scene);
		Dynamic gotoAndPlay_dyn();

		virtual Void gotoAndStop( Dynamic frame,::String scene);
		Dynamic gotoAndStop_dyn();

		virtual Void play( );
		Dynamic play_dyn();

		virtual Void stop( );
		Dynamic stop_dyn();

};

} // end namespace nme
} // end namespace display

#endif /* INCLUDED_nme_display_MovieClip */ 
