Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/58.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache flex 等同于flex中的父级parentDocument_Apache Flex_Flex4_Apache Royale - Fatal编程技术网

Apache flex 等同于flex中的父级parentDocument

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),但目前我没有成

我必须将Flex代码转换为ApacheRoyale代码,但在我的研究中,有一个属性我找不到对应的属性

在Flex中,要从父mxml调用actionScipt函数,我有:

我在研究过程中发现了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.