Canvas background color white : Canvas « Components « Flex






Canvas background color white

Canvas background color white
          

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Canvas id="myCanvas" height="200" width="200"
        borderStyle="solid" backgroundColor="white">
        <mx:LinkButton label="Search" x="10" y="30" click="navigateToURL(new URLRequest('http://google.com'))" />
    </mx:Canvas>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Scroll ticker symbols across the screen and lets users adjust the speed with an HSlider controlScroll ticker symbols across the screen and lets users adjust the speed with an HSlider control
2.Put Button into a CanvasPut Button into a Canvas
3.Use Canvas to wrap ButtonsUse Canvas to wrap Buttons
4.Set vertical center and horizontal center for Button inside a CanvasSet vertical center and horizontal center for Button inside a Canvas
5.uses constraint rows and constraint columns to position three Button controls in a Canvas container:uses constraint rows and constraint columns to position three Button controls in a Canvas container:
6.Use Canvas to hold controlsUse Canvas to hold controls
7.A Canvas container with two vertical regions and two horizontal regions
8.A single constraint column that occupies 20% of the Canvas area
9.Creating a Canvas container by using constraint-based layoutCreating a Canvas container by using constraint-based layout
10.Use a semitransparent Canvas container to highlight the data pointUse a semitransparent Canvas container to highlight the data point
11.Canvas containerCanvas container
12.Canvas RepositionCanvas Reposition
13.Change Canvas cornerRadius and borderStyleChange Canvas cornerRadius and borderStyle
14.Canvas border style solidCanvas border style solid
15.Add style name to CanvasAdd style name to Canvas