source: ComponentRegistry/branches/ComponentRegistry-1.13.0-olha/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/common/components/RssLinkButton.mxml @ 2336

Last change on this file since 2336 was 2336, checked in by olhsha, 12 years ago

adjsuting rss button for the comments pannel and updating comments panel after toggling userspace

File size: 857 bytes
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
3                   cornerRadius="5"
4                   borderStyle="solid"
5                   >
6        <mx:Script>     
7                <![CDATA[
8                        import clarin.cmdi.componentregistry.services.Config;
9                        import clarin.cmdi.componentregistry.common.StyleConstants;
10                       
11                        private const OUT_FOCUS_BORDER_COLOR:String="white";
12                        private const IN_FOCUS_BORDER_COLOR:String = "haloBlue";
13                       
14                        private function focusBorder():void{
15                                setStyle("borderColor", IN_FOCUS_BORDER_COLOR);
16                               
17                        }
18                       
19                        private function unFocusBorder():void{
20                                setStyle("borderColor", OUT_FOCUS_BORDER_COLOR);
21                        }
22                ]]>
23        </mx:Script>
24       
25  <mx:Image id="pict"
26          source="{StyleConstants.rssIcon}"
27          toolTip = "RSS feed"
28          useHandCursor="true"
29          buttonMode="true"
30          mouseOver = "focusBorder()"
31          mouseOut = "unFocusBorder()"
32          />
33</mx:Canvas >
34
Note: See TracBrowser for help on using the repository browser.