john100
02-09-2006, 12:43 AM
I have this simple xmxl code. I would like to create exactly the same things in Action Script
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" layout="absolute">
<mx:Canvas x="82" y="66" width="1000" height="1000">
<mx:VBox x="163" y="114" width="100" height="100" cornerRadius="5" borderThickness="5" borderStyle="solid" backgroundColor="#8facff">
<mx:Image click="getURL('http://www.cnn.com')" source="0004734.jpg" width="29" height="24" verticalAlign="bottom" />
<mx:Image click="getURL('http://www.cnn.com')" source="0004734.jpg" width="29" height="24" verticalAlign="bottom" />
</mx:VBox>
<mx:VBox x="19" y="13" width="100" height="100" cornerRadius="5" borderThickness="5" borderStyle="solid" backgroundColor="#8facff"/>
</mx:Canvas>
</mx:Application>
thank you in advance
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" layout="absolute">
<mx:Canvas x="82" y="66" width="1000" height="1000">
<mx:VBox x="163" y="114" width="100" height="100" cornerRadius="5" borderThickness="5" borderStyle="solid" backgroundColor="#8facff">
<mx:Image click="getURL('http://www.cnn.com')" source="0004734.jpg" width="29" height="24" verticalAlign="bottom" />
<mx:Image click="getURL('http://www.cnn.com')" source="0004734.jpg" width="29" height="24" verticalAlign="bottom" />
</mx:VBox>
<mx:VBox x="19" y="13" width="100" height="100" cornerRadius="5" borderThickness="5" borderStyle="solid" backgroundColor="#8facff"/>
</mx:Canvas>
</mx:Application>
thank you in advance