Note that there are some explanatory texts on larger screens.

plurals
  1. POreason for error message type was not found or was not a compile time constant:SuperPanel
    primarykey
    data
    text
    <p> </p> <pre><code>&lt;mx:Script&gt; &lt;![CDATA[ import mx.controls.Alert; private var createdWindows:Number = 0; private var minimizedWindows:Number = 0; private var mWindowArray:Array; private function addPanelHandler(pTitle:String = "SuperPanel ", pWidth:Number = 250, pHeight:Number = 180):void { this.createdWindows += 1; var curNum:Number = this.numChildren + 1; var child:SuperPanel = new SuperPanel(); child.showControls = true; child.enableResize = true; child.title = pTitle + curNum; child.width = pWidth; child.height = pHeight; child.x = this.createdWindows * 20; child.y = this.createdWindows * 20; this.addChild(child); } ]]&gt; &lt;/mx:Script&gt; &lt;mx:Style source="assets/css/styles.css"/&gt; &lt;mx:Label text="SuperPanel v1.5 component explorer" right="10" top="10" fontSize="18" fontWeight="bold" fontFamily="Arial" color="#ffffff"/&gt; &lt;mx:Text width="220" right="10" y="45"&gt; &lt;mx:htmlText&gt; &lt;![CDATA[&lt;font color="#ffffff" size="14"&gt;&lt;b&gt;Features:&lt;/b&gt;&lt;br /&gt;- Drag 'n Drop (on titlebar)&lt;br /&gt;- Resize handler&lt;br /&gt;- Close button&lt;br /&gt;- Open a new panel&lt;br /&gt;- Normal/max screen&lt;br /&gt;- Give a panel focus&lt;/font&gt;]]&gt; &lt;/mx:htmlText&gt; &lt;/mx:Text&gt; &lt;ext:SuperPanel id="panel01" title="SuperPanel 01" x="35.5" y="45" width="345" height="180" layout="absolute" showControls="true" enableResize="true"&gt; &lt;/ext:SuperPanel&gt; &lt;ext:SuperPanel id="panel02" title="SuperPanel 02" x="361.5" y="264" width="357" height="353" layout="absolute" showControls="true" enableResize="true"&gt; &lt;/ext:SuperPanel&gt; &lt;mx:Canvas id="minimizedWindowContainer" width="100%" height="53" bottom="0" backgroundColor="#efefef" borderSides="top" borderThickness="3" borderColor="#666666" borderStyle="solid"&gt; &lt;mx:HBox id="mWindowContainer" left="0" right="200" height="100%"/&gt; &lt;mx:Button right="10" verticalCenter="0" label="Add new SuperPanel" click="this.addPanelHandler()"/&gt; &lt;/mx:Canvas&gt; </code></pre> <p></p> <p>In the above flex code there is errors where superpanel is used.the error message is type was not found or was not a compile time constant:SuperPanel what will be the reason for these error message?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload