Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33781

Flex4 mxml data binding "public" issue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: Apache Flex 4.10.0
    • Fix Version/s: Apache Flex 4.10.0
    • Component/s: None
    • Labels:
    • Environment:
      windows XP, flex builder 4

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              skyfeng sky
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 96h
                96h
                Remaining:
                Remaining Estimate - 96h
                96h
                Logged:
                Time Spent - Not Specified
                Not Specified