?? rollover_practice.mxml
字號:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:states>
<mx:State name="bookDetails">
<mx:AddChild position="lastChild">
<mx:Text x="38" y="252" text="XML is a completely platform agnostic data medium. Flash is able to make use of XML
 data, which is very useful when you are creating Rich Internet Applications - it 
allows you to populate Flash web interfaces with data from pretty much any source 
that supports XML as a data medium, be it databases, raw XML files, 
or more excitingly, .NET applications, web services, and even Microsoft Office
 applications such as Excel and Word" width="498" height="143"/>
</mx:AddChild>
<mx:AddChild position="lastChild">
<mx:Label x="56" y="416" text="ISBN: 1590595432"/>
</mx:AddChild>
<mx:SetEventHandler name="rollOut" target="{img}" handler="currentState = ''">
</mx:SetEventHandler>
</mx:State>
</mx:states>
<mx:Image x="166" y="87" source="img/07_avatar_middle.jpg" id="img"
rollOver="currentState = 'bookDetails'" />
</mx:Application>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -