You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/10/28 13:46:39 UTC

[GitHub] [royale-asjs] yishayw opened a new issue #927: PopUpAnchor - Nested Elements Not Accessible Via Id In MXML

yishayw opened a new issue #927:
URL: https://github.com/apache/royale-asjs/issues/927


   Below's an example app that results in TypeError: Cannot set property 'width' of undefined
   
   TypeError: Cannot set property 'width' of undefined
   
   ```
   <?xml version="1.0" encoding="utf-8"?>
   <s:Application creationComplete="init()" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.apache.org/royale/spark">
   	<fx:Script>
   		<![CDATA[
   			
   		private function init():void
   		{
   			myContent.width = 20;
   		}
   		]]>
   	</fx:Script>
   	<s:PopUpAnchor>
   		<s:Group>
   			<s:Group id="myContent"/>
   		</s:Group>
   	</s:PopUpAnchor>
   </s:Application>
   
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] yishayw commented on issue #927: PopUpAnchor - Nested Elements Not Accessible Via Id In MXML

Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #927:
URL: https://github.com/apache/royale-asjs/issues/927#issuecomment-717948037


   It's worth noting that the group containing myContainer is accessible.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] yishayw commented on issue #927: PopUpAnchor - Nested Elements Not Accessible Via Id In MXML

Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #927:
URL: https://github.com/apache/royale-asjs/issues/927#issuecomment-717947352


   @aharui, do you want to take a look?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org