You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "sky (JIRA)" <ji...@apache.org> on 2013/09/26 09:16:03 UTC

[jira] [Created] (FLEX-33781) Flex4 mxml data binding "public" issue

sky created FLEX-33781:
--------------------------

             Summary: Flex4 mxml data binding "public" issue
                 Key: FLEX-33781
                 URL: https://issues.apache.org/jira/browse/FLEX-33781
             Project: Apache Flex
          Issue Type: Bug
    Affects Versions: Apache Flex 4.10.0
         Environment: windows XP, flex builder 4
            Reporter: sky
             Fix For: Apache Flex 4.10.0


I'm using flex builder4, then i wrote a mxml sample, but it can't compile successfully.

MXML:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
	<mx:Script source="test.as"/>
	<mx:ControlBar id="ctlbar" horizontalAlign="right" width="100%"
				   paddingRight="{maxFontSize}" paddingTop="0" paddingBottom="0">
		<mx:Button id="cancelBtn" label="Cancel" minWidth="11"/>
	</mx:ControlBar>
</mx:Application>

test.as:
[Bindable]
public var maxFontSize:Number = 115;

I want to use "maxFontSize" as data binding, but it can't compile properly if i use flex sdk4.10, but if i use flex sdk3.5, it will compile successfully. Also if i change "public" to "internal", it will compile successfully even though use sdk4.10. But why this happened? Who knows that? Thanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira