MovieFrame is one of the least well-known frame subtypes. To date, it has been used in only one well-known mod, which was an April Fools' Day joke, HighRoller. If you're curious what this mod did, it's still available for download; read the description or try and run it (but keep in mind it's a prank.) It runs the contents of an .avi file, for there are some fairly stringent requirements on the file format supplied.
Defined Methods
- MovieFrame:EnableSubtitles(enable) - Enables or disables subtitles for movies played in the frame
- enabled = MovieFrame:StartMovie("filename", volume) - Plays a specified movie in the frame
- MovieFrame:StopMovie() - Stops the movie currently playing in the frame
Inherited Methods
- MovieFrame:GetPropagateKeyboardInput() - This function is not yet documented
- MovieFrame:IsForbidden() - This function is not yet documented
- MovieFrame:RegisterUnitEvent() - This function is not yet documented
- MovieFrame:SetDontSavePosition() - This function is not yet documented
- MovieFrame:SetPropagateKeyboardInput() - This function is not yet documented
- MovieFrame:SetShown() - This function is not yet documented
- MovieFrame:SetSize(width, height) - Sets the size of the region to the specified values
- MovieFrame:SetToplevel(enable) - Sets whether the frame should automatically come to the front when clicked
- MovieFrame:SetUserPlaced(enable) - Flags the frame for automatic saving and restoration of position and dimensions
- MovieFrame:SetWidth(width) - Sets the region's width
- MovieFrame:Show() - Shows the region
- MovieFrame:StartMoving() - Begins repositioning the frame via mouse movement
- MovieFrame:StartSizing() - Begins resizing the frame via mouse movement
- MovieFrame:StopAnimating() - Stops any active animations involving the region or its children
- MovieFrame:StopMovingOrSizing() - Ends movement or resizing of the frame initiated with [[docs/widgets/Frame/StartMoving|`:StartMoving()`]] or [[docs/widgets/Frame/StartSizing|`:StartSizing()`]]
- MovieFrame:UnregisterAllEvents() - Unregisters the frame from any [[docs/events|events]] for which it is registered
- MovieFrame:UnregisterEvent("event") - Unregisters the frame for an event
Script Handlers
- OnAttributeChanged(self, "name", value) - Run when a frame attribute is changed
- OnChar(self, "text") - Run for each text character typed in the frame
- OnDisable(self) - Run when the frame is disabled
- OnDragStart(self, "button") - Run when the mouse is dragged starting in the frame
- OnDragStop(self) - Run when the mouse button is released after a drag started in the frame
- OnEnable(self) - Run when the frame is enabled
- OnEnter(self, motion) - Run when the mouse cursor enters the frame's interactive area
- OnEvent(self, "event", ...) - Run whenever an [[docs/events|event]] fires for which the frame is registered
- OnHide(self) - Run when the frame's visbility changes to hidden
- OnKeyDown(self, "key") - Run when a keyboard key is pressed if the frame is keyboard enabled
- OnKeyUp(self, "key") - Run when a keyboard key is released if the frame is keyboard enabled
- OnLeave(self, motion) - Run when the mouse cursor leaves the frame's interactive area
- OnLoad(self) - Run when the frame is created
- OnMouseDown(self, "button") - Run when a mouse button is pressed while the cursor is over the frame
- OnMouseUp(self, "button") - Run when the mouse button is released following a mouse down action in the frame
- OnMouseWheel(self, delta) - Run when the frame receives a mouse wheel scrolling action
- OnMovieFinished(self) - Run when a movie frame's movie ends
- OnMovieHideSubtitle(self) - Runs when the movie's most recently displayed subtitle should be hidden
- OnMovieShowSubtitle(self, "text") - Runs when a subtitle for the playing movie should be displayed
- OnReceiveDrag(self) - Run when the mouse button is released after dragging into the frame
- OnShow(self) - Run when the frame becomes visible
- OnSizeChanged(self, width, height) - Run when a frame's size changes
- OnUpdate(self, elapsed) - Run each time the screen is drawn by the game engine