Open GoogleCodeExporter opened 9 years ago
same issue.
using: flex3 on Mac
Chimp Version 0.2
Build: FlashPlayer 10 - AS3
Original comment by doomo...@gmail.com
on 2 Feb 2010 at 11:53
[deleted comment]
You might also have better luck with this change of line 157 to Chimp.as:
Application.application.callLater( (chimpAction.comp.parent as
UIComponent).removeChild, [chimpAction.comp] );
Patched file attached.
Original comment by beatportscott@gmail.com
on 28 Feb 2010 at 2:37
Attachments:
I was also getting the same issue. After putting this patch, it is working fine.
Is there any new swc file available with this patch as included; I guess as per
the GNU licence I can not create the swc after the modification and use the
same.
Thanks,
Suman
Original comment by suman.de...@gmail.com
on 16 Aug 2010 at 12:43
This is an Apache License 2.0 so you should be able to bring changes, use it,
repackage, re-distribute with no problems as long as you have the license
included.
I also ran in the bug. It would be good to package a new release with the fix
included.
Original comment by jimlero...@gmail.com
on 16 Mar 2011 at 7:51
I'm having the same or a similar issue (XP/Flash 10 (ver: 10,1,102,64)). The
following works:
...
<fx:Metadata>
[Protected(permissions="CB_ADMIN",notInPermissionAction="removeChild",componentId="adminLinkBar")]
[Protected(permissions="CB_ADMIN",inPermissionAction="removeFromLayout",componentId="userLinkBar")]
</fx:Metadata>
...
<mx:HBox verticalAlign="top" height="50%" width="100%" top="0" left="0">
<mx:LinkBar id="userLinkBar" color="0x0050AA" horizontalAlign="right" width="100%"
left="0" fontWeight="bold" itemClick="topRightLinkBarClickHandler(event)">
<mx:dataProvider>
<s:ArrayCollection>
<fx:String>Downloads</fx:String>
</s:ArrayCollection>
</mx:dataProvider>
</mx:LinkBar>
<mx:LinkBar id="adminLinkBar" color="0x0050AA" horizontalAlign="right" width="100%"
left="0" fontWeight="bold" itemClick="topRightLinkBarClickHandler(event)">
<mx:dataProvider>
<s:ArrayCollection>
<fx:String>Downloads</fx:String>
<fx:String>Options</fx:String>
</s:ArrayCollection>
</mx:dataProvider>
</mx:LinkBar>
</mx:HBox>
...
It's strange that I have to use removeChild in one and removeFromLayout in
another link bar. If I use removeFromLayout in adminLinkBar it will do nothing
(simply ignores it). If I use removeChild in userLinkBar it will break the
application.
Will the proposed fix by beatportscott fix this issue? If so, is there any plan
to get an updated swc?
Thanks
Original comment by bmrosan...@gmail.com
on 18 Mar 2011 at 6:51
Original issue reported on code.google.com by
nichols...@gmail.com
on 3 Jan 2010 at 11:07