Apache flex 等同于flex中的父级parentDocument
我必须将Flex代码转换为ApacheRoyale代码,但在我的研究中,有一个属性我找不到对应的属性 在Flex中,要从父mxml调用actionScipt函数,我有:Apache flex 等同于flex中的父级parentDocument,apache-flex,flex4,apache-royale,Apache Flex,Flex4,Apache Royale,我必须将Flex代码转换为ApacheRoyale代码,但在我的研究中,有一个属性我找不到对应的属性 在Flex中,要从父mxml调用actionScipt函数,我有: 我在研究过程中发现了parentComponent,但我可以访问可能未定义的属性parentComponent错误 我还尝试了“parent”,错误变成了调用一个可能未定义的方法verif_sharedobject,通过一个静态类型为ipart的引用。 我做了一些关于iPart、容器和组的研究(来自jewel),但目前我没有成
我在研究过程中发现了parentComponent,但我可以访问可能未定义的属性parentComponent错误
我还尝试了“parent”,错误变成了调用一个可能未定义的方法verif_sharedobject,通过一个静态类型为ipart的引用。
我做了一些关于iPart、容器和组的研究(来自jewel),但目前我没有成功请查看
ParentDocumentBead
核心库中的bead
从asdoc:
* The ParentDocumentBead class looks up the parent
* chain to find a parent that was written in MXML.
* Because it is usually rare for an application
* to need to know this information, an optional bead
* is used to compute it, instead of baking in the
* overhead of a recursive infrastucture to store
* this information. It is intended to be used
* as a bead in the top-level tag of an MXML document.
嗯