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

An image that has been massively scaled down disappears when moved around

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.5 (Release)
    • None
    • mx: Image
    • None
    • Affected OS(s): Windows
      Browser: Firefox 3.x
      Language Found: English

    Description

      Create a project with the code below and the attached picture.
      Move the picture down and to the right by clicking the buttons.
      At some point the pictures disappears. The more you scale it the sooner it disappears. The more you unscale it the further it can go.

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
      <mx:HBox>
      <mx:VBox>
      <mx:Button label="scale +" click="

      {mycanvas.width+=10; mycanvas.height+=10;}

      "/>
      <mx:Button label="scale -" click="

      {mycanvas.width-=10; mycanvas.height-=10;}

      "/>
      <mx:Button label="move R" click="

      {mycanvas.x+=20; mycanvas.validateNow();}

      "/>
      <mx:Button label="move L" click="

      {mycanvas.x-=20; mycanvas.validateNow();}

      "/>
      <mx:Button label="move up" click="

      {mycanvas.y-=20; mycanvas.validateNow();}

      "/>
      <mx:Button label="move dn" click="

      {mycanvas.y+=20; mycanvas.validateNow();}

      "/>
      </mx:VBox>
      <mx:Canvas id="allo" width="1000" height="1000" borderColor="0x000000">
      <mx:Image id="mycanvas" width="50" height="50" scaleContent="true" source="cercle.jpg">
      </mx:Image>
      </mx:Canvas>
      </mx:HBox>
      </mx:Application>

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: