今天使用FlashBuilder4遇见了这个错误
Child elements specifying default property value must be contiguous
网上找了半天,也没什么结果,后来发现FlashBuilder4的MXML文件上,不能把<fx:Script>...</fx:Script>标签放在其它标签中间,如:
<s:Button label="aaa"/>
<fx:Script>
<![CDATA[
protected function button1_clickHandler(event:MouseEvent):void
{
txt.text ="的确很有flash的风范啊,难怪给改叫FlashBuilder";
}
]]>
</fx:Script>
<org:FormPanel id="a1" isClickable="true" isClose="false" layout="vertical" >
<s:Button label="HAHA" click="button1_clickHandler(event)"/>
<mx:Label id="txt" text="速度好像快了很多啊" x="3" y="26"/>
</org:FormPanel>
这种,就会报如上错误。在FB3里是没有这种限制的。不知道是BUG还是设计如此。
分享到:
相关推荐
Property name for specifying skin to be used on the specific root pane. This property can only be installed on a JRootPane and will affect all the controls in that root pane. The value must be an ...
Prefs Simple Android SharedPreferences wrapper. Repository Add this in your root build.gradle file (...This is the basic usage, you can read values (specifying a default value or not
文件内容提到的《Specifying Systems》是一本由Leslie Lamport所著的关于TLA+语言和工具的书,这本书是为硬件和软件工程师所编写的。TLA+是一种形式化规范语言,用于描述和分析分布式系统和其他计算机系统的设计。接...
Length must be a power of 2 in hexadecimal [see -l option] Attention this option is STRONGER than Maximal Length -p [value] Pad-byte value in hex (default: ff) -r [start] [end] Range to ...
* 插入元素:PPT shows how to insert new elements into the list, including specifying the position and value of the element. * 删除元素:PPT explains how to delete elements from the list, including ...
directive because it is not set or is mistyped, a default value will be used. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one ; of the INI constants (On, Off, True, ...
Index sets are immutable by default but can be made mutable. They are initialized by providing an initial set of indexes. ##### Iterating Through IndexSets Index sets can be iterated over to perform...
While the tablet interface design must address the technical problems stated above, it must also be useful to the programmers who will write tablet programs, and ultimately, to the tablet users....
This modification means that if you are creating zip files to be used as SFX's you will want to leave the OEMConvert property mentioned above, set to it's default value of True. Modified so that ...
(b) Component attributes must always be combined by an aggregation operation. (c) A component attribute can be a composite attribute. (d) A component attribute always contains other components. ...
《Specifying Systems》是Leslie Lamport所著的一本书,主要关注的是系统规范,特别是针对硬件和软件工程师的TLA+语言和工具。TLA+(Temporal Logic of Actions)是一种形式化方法,用于描述和验证计算机系统的正确...
Keeping your clustered key value small increases the number of index rows that can be placed on an index page and decreases the number of levels that must be traversed. This minimizes I/O. As we’ll ...
The calling program must still use AddStatusTrigger and SetStatusTrigger to cause the OnTriggerLineError event to fire. Specifying any of the ls* flags to SetStatusTrigger will cause ...
two and must be the same length on both ends.Term ID: A unique identifier for a Term within a Stream. Starts randomly. Must increase monotonically. Can wrap around. Can not go back to a wrapped ...
集合了 所有的 Unix命令大全 ...telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss ... 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ ... 命令和参数之间必需用空格隔...
Default parameters allow specifying default values for function parameters. These defaults are used when no value or `undefined` is passed during invocation. For example: ```javascript function do...
fluent,udf,超临界水的定义,/* viscosity.c */ /* UDF for specifying a temperature-dependent viscosity property */
Bluebook A173-2 and CI Plus 1.3 specification, pulling together those specifications and specifying what parts need to be implemented in order to realise a device compliant with CI Plus LLP....