Window

Kind of class:class
Inherits from:ScrollView < View < UIComponent < UIObject < MovieClip
Known subclasses:
Classpath:mx.containers.Window
File last modified:Tuesday, 18 December 2007, 15:44:37
Component metadata:
    Event
    "click"

    Summary


    Constructor
    Class properties
    Class properties inherited from ScrollView
    Class properties inherited from View
    Class properties inherited from UIObject
    Instance properties
    Class methods
    Class methods inherited from View
    Class methods inherited from UIObject
    Instance methods
    Event handlers
    Event handlers inherited from ScrollView
    Event handlers inherited from UIComponent

    Constructor

    Window

    function Window (
    )

    Class properties

    mergedClipParameters

    static mergedClipParameters:Boolean = UIObject.mergeClipParameters(Window.prototype.clipParameters, ScrollView.prototype.clipParameters)
    (read)

    skinIDBorder

    static skinIDBorder:Number = 0
    (read)

    skinIDForm

    static skinIDForm:Number = 2
    (read)

    skinIDTitleBackground

    static skinIDTitleBackground:Number = 1
    (read)

    symbolName

    static symbolName:String = "Window"
    (read)

    symbolOwner

    static symbolOwner:Object = Window
    (read)

    version

    static version:String = "2.0.2.127"
    (read)

    Instance properties

    __contentPath

    __contentPath:String
    (read)

    _child0

    _child0:MovieClip
    (read)

    _title

    _title:String
    (read)

    back_mc

    back_mc:MovieClip
    (read)

    boundingBox_mc

    boundingBox_mc:MovieClip
    (read)

    button_mc

    button_mc:SimpleButton
    (read)

    className

    className:String = "Window"
    (read)

    name of this class

    clipParameters

    clipParameters:Object = { title: 1, contentPath: 1, closeButton: 1}
    (read)

    closeButton

    closeButton:Boolean
    (read)

    true if you want the close button displayed
    Component metadata:
      Inspectable
      defaultValue:
      false

      content

      content:MovieClip
      (read)

      The URL or linkage name of the SWF or JPEG has been loaded into the ScrollPane.

      contentPath

      contentPath
      (read,write)

      name of the symbol or URL to the image or movie to display as the content
      Component metadata:
        Bindable
        Inspectable
        defaultValue:
        ""

        deletePopUp

        deletePopUp:Function
        (read)

        modal windows must be destroyed via deletePopUp

        idNames

        idNames:Array = new Array("border_mc", "back_mc", "content")
        (read)

        initializing

        initializing:Boolean = true
        (read)

        loadingChild

        loadingChild:Boolean = false
        (read)

        regX

        regX:Number
        (read)

        the location on the window the mouse was clicked

        regY

        regY:Number
        (read)

        skinCloseDisabled

        skinCloseDisabled:String = "CloseButtonDisabled"
        (read)

        symbol name of skin element for the disabled state of the close button
        Component metadata:
          Inspectable
          category:
          "Skins"
          verbose:
          1,

          skinCloseDown

          skinCloseDown:String = "CloseButtonDown"
          (read)

          symbol name of skin element for the down state of the close button
          Component metadata:
            Inspectable
            category:
            "Skins"
            verbose:
            1,

            skinCloseOver

            skinCloseOver:String = "CloseButtonOver"
            (read)

            symbol name of skin element for the over state of the close button
            Component metadata:
              Inspectable
              category:
              "Skins"
              verbose:
              1,

              skinCloseUp

              skinCloseUp:String = "CloseButtonUp"
              (read)

              symbol name of skin element for the up state of the close button
              Component metadata:
                Inspectable
                category:
                "Skins"
                verbose:
                1,

                skinTitleBackground

                skinTitleBackground:String = "TitleBackground"
                (read)

                symbol name of skin element for background of the title bar
                Component metadata:
                  Inspectable
                  category:
                  "Skins"
                  verbose:
                  1,

                  title

                  title:String
                  (read,write)

                  the title/caption displayed in the title bar
                  Component metadata:
                    Bindable
                    Inspectable
                    defaultValue:
                    ""

                    titleStyleDeclaration

                    titleStyleDeclaration:String
                    (read)

                    style declaration name for the text in the title bar
                    Component metadata:
                      Inspectable
                      category:
                      "Skins"
                      defaultValue:
                      "",
                      verbose:
                      1,

                      Instance methods

                      childLoaded

                      function childLoaded (
                      obj:MovieClip) : Void

                      Parameters:
                      obj:
                      the loaded child

                      createChild

                      function createChild (
                      id, name:String, props:Object) : MovieClip

                      createChildren

                      function createChildren (
                      Void) : Void

                      delegateClick

                      function delegateClick (
                      obj:Object) : Void

                      doLayout

                      function doLayout (
                      Void) : Void

                      dragTracking

                      function dragTracking (
                      ) : Void

                      draw

                      function draw (
                      Void) : Void

                      getComponentCount

                      function getComponentCount (
                      Void) : Number

                      getComponentRect

                      function getComponentRect (
                      container:Number) : Object

                      getViewMetrics

                      function getViewMetrics (
                      Void) : Object

                      get the thickness of the edges of the object taking into account the border, title bar and scrollbars if visible
                      Returns:
                      • object with left, right, top and bottom edge thickness in pixels

                      init

                      function init (
                      Void) : Void

                      setEnabled

                      function setEnabled (
                      enable:Boolean) : Void

                      startDragging

                      function startDragging (
                      Void) : Void

                      stopDragging

                      function stopDragging (
                      Void) : Void