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

[Gumbo_Priority] SWF won't run with a resized component whose skin has resizeMode="Scale"

    XMLWordPrintableJSON

Details

    Description

      Steps to reproduce:
      1. Start with this code:

      <Application xmlns="http://ns.adobe.com/mxml/2009">
      <Button skinFactory="MySkin" height="50"/>
      </Application>

      MySkin.mxml:

      <?xml version="1.0" encoding="utf-8"?>
      <Skin xmlns="http://ns.adobe.com/mxml/2009" resizeMode="Scale">
      <states>
      <State name="up"/>
      <State name="over"/>
      <State name="down"/>
      <State name="disabled"/>
      </states>
      <Metadata>[HostComponent("flex.component.Button")]</Metadata>
      <Ellipse width="5" height="5">
      <fill>
      <SolidColor color="0"/>
      </fill>
      </Ellipse>
      </Skin>

      2. Compile and run

      Actual Results:
      Flex loading screen hangs

      Expected Results:
      Button looks like a stretched-out ellipse.

      Workaround (if any):

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: