adding canvas relative example
This commit is contained in:
parent
2329b09e4a
commit
f45e0423b7
28
03c4-canvas-relative/Photo.mxml
Normal file
28
03c4-canvas-relative/Photo.mxml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
|
||||||
|
layout="absolute"
|
||||||
|
backgroundColor="#FFFFFF"
|
||||||
|
backgroundAlpha="0">
|
||||||
|
|
||||||
|
|
||||||
|
<mx:HDividedBox width="100%" height="300">
|
||||||
|
<mx:Canvas backgroundColor="#FFFFCC"
|
||||||
|
width="150" height="100%">
|
||||||
|
<mx:Label text="Adjust this section" left="15" />
|
||||||
|
</mx:Canvas>
|
||||||
|
|
||||||
|
<mx:Canvas>
|
||||||
|
<mx:Button label="< prev"
|
||||||
|
left="10" top="120"/>
|
||||||
|
|
||||||
|
<mx:Image source="animals03.jpg"
|
||||||
|
horizontalCenter="0" top="30"/>
|
||||||
|
|
||||||
|
<mx:Label text="Photographed by Elsie Weil"
|
||||||
|
horizontalCenter="0" top="250"/>
|
||||||
|
|
||||||
|
<mx:Button label="next >"
|
||||||
|
right="10" top="120"/>
|
||||||
|
</mx:Canvas>
|
||||||
|
</mx:HDividedBox>
|
||||||
|
</mx:Application>
|
Loading…
Reference in New Issue
Block a user