`
dcriori
  • 浏览: 96853 次
社区版块
存档分类
最新评论

Child elements specifying default property value must be contiguous

    博客分类:
  • Flex
阅读更多

今天使用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还是设计如此。

分享到:
评论

相关推荐

    Substance--JAVA的皮肤更换包

    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 ...

    Android代码-Simple Android SharedPreferences wrapper

    Prefs Simple Android SharedPreferences wrapper. Repository Add this in your root build.gradle file &#40;...This is the basic usage, you can read values (specifying a default value or not

    Specifying Systems.pdf

    文件内容提到的《Specifying Systems》是一本由Leslie Lamport所著的关于TLA+语言和工具的书,这本书是为硬件和软件工程师所编写的。TLA+是一种形式化规范语言,用于描述和分析分布式系统和其他计算机系统的设计。接...

    hex2bin_2.2_XiaZaiBa.zip

    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优秀资料.ppt

    * 插入元素: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 ...

    php.ini-development

    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, ...

    Collections

    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....

    VclZip pro v3.10.1

    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 ...

    SSD7 选择题。Multiple-Choice

    (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.pdf

    《Specifying Systems》是Leslie Lamport所著的一本书,主要关注的是系统规范,特别是针对硬件和软件工程师的TLA+语言和工具。TLA+(Temporal Logic of Actions)是一种形式化方法,用于描述和验证计算机系统的正确...

    微软内部资料-SQL性能优化5

    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 ...

    TurboPower Async Professional(重新上传)

    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 ...

    高性能消息传输机制Aeron.zip

    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 ...

    2009 达内Unix学习笔记

    集合了 所有的 Unix命令大全 ...telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss ... 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ ... 命令和参数之间必需用空格隔...

    Secrets of the JavaScript Ninja, 2nd Edition

    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...

    UDF.zip_fluent_fluent 超临界_udf property_udf viscosity_超临界水udf

    fluent,udf,超临界水的定义,/* viscosity.c */ /* UDF for specifying a temperature-dependent viscosity property */

    ci-plus_specification_v1-4-3.pdf

    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....

Global site tag (gtag.js) - Google Analytics