Packageorg.samchon.protocol.movie
Classpublic class SubMovie
InheritanceSubMovie Inheritance spark.components.Group
Implements IMovie

SubMovie is contained in Movie or another parent SubMovie. Thus, the SubMovie can be composed hierarchically.

Default MXML PropertymxmlContent

See also

Window
Movie
IProtocol


Public Properties
 PropertyDefined By
  parentMovie : IMovie
Parent IMovie containning current SubMovie.
SubMovie
Protected Properties
 PropertyDefined By
  creationFlag : Boolean = false
Whether the creation was completed or not.
SubMovie
  movie : Movie
[read-only] Get Movie from related.
SubMovie
  titleWindow : SubMovieTitleWindow
Pointer of SubMovieTitleWindow created in SubMovie.
SubMovie
  window : Window
[read-only] Get Window from related.
SubMovie
Public Methods
 MethodDefined By
  
SubMovie(parentMovie:IMovie = null)
Constructor from parent movie.
SubMovie
  
Create a Pop-up, SubMovieTitleWindow
SubMovie
  
replyData(invoke:Invoke):void
SubMovie
  
sendData(invoke:Invoke):void
SubMovie
Protected Methods
 MethodDefined By
  
creationCompleted(event:FlexEvent):void
Handler of Creation Complete.
SubMovie
Property Detail
creationFlagproperty
protected var creationFlag:Boolean = false

Whether the creation was completed or not.

movieproperty 
movie:Movie  [read-only]

Get Movie from related.


Implementation
    protected function get movie():Movie
parentMovieproperty 
public var parentMovie:IMovie

Parent IMovie containning current SubMovie.

The parent can be not only Movie but also SubMovie.

The default value is Can't be null.

titleWindowproperty 
protected var titleWindow:SubMovieTitleWindow

Pointer of SubMovieTitleWindow created in SubMovie.

windowproperty 
window:Window  [read-only]

Get Window from related.


Implementation
    protected function get window():Window
Constructor Detail
SubMovie()Constructor
public function SubMovie(parentMovie:IMovie = null)

Constructor from parent movie.

Parameters
parentMovie:IMovie (default = null) — Parent object containning this SubMovie
Method Detail
createPopUp()method
public function createPopUp($class:Class):SubMovieTitleWindow

Create a Pop-up, SubMovieTitleWindow

Parameters

$class:Class — Target TitleWindow class wants to create that is dervied from TitleWindow

Returns
SubMovieTitleWindow — The SubMovieTitleWindow to be made
creationCompleted()method 
protected function creationCompleted(event:FlexEvent):void

Handler of Creation Complete.

If you want to do something more, override this method.

Parameters

event:FlexEvent

replyData()method 
public function replyData(invoke:Invoke):void

Parameters

invoke:Invoke

sendData()method 
public function sendData(invoke:Invoke):void

Parameters

invoke:Invoke