flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Schmalle (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34844) Simple Button border does not appear in SWF
Date Mon, 18 May 2015 15:04:59 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14548133#comment-14548133
] 

Michael Schmalle commented on FLEX-34844:
-----------------------------------------

Makes sense and what I figured but since the HTML Button actually showed a border, I wanted
to submit this and figure out why is there a difference.

I'm not debating the use of Button as abstract but why does the SWF and HTML act different(border/no
border).

> Simple Button border does not appear in SWF
> -------------------------------------------
>
>                 Key: FLEX-34844
>                 URL: https://issues.apache.org/jira/browse/FLEX-34844
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.0.3
>         Environment: Flash SWF - no grey border, but click events occur
> HTML - works
>            Reporter: Michael Schmalle
>            Assignee: Peter Ent
>
> The Button for SWF does not show it's border, the click events still occur.
> HTML shows border and fires click event.
> {code}
> <js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
>              xmlns:js="library://ns.apache.org/flexjs/basic">
>     <fx:Script><![CDATA[
>         private function onClick():void
>         {
>             trace("Clicked " + myButton.name);
>         }
>         ]]></fx:Script>
>     
>     <js:beads>
>         <js:VerticalLayout/>
>     </js:beads>
>     <js:Button id="myButton" click="onClick()" width="100" height="40"/>
> </js:ViewBase>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message