LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-01-2011, 02:53 PM
FlashMove's Avatar
FlashMove FlashMove is offline

FlashMove Master
 
Join Date: Jan 2000
Location: Singapore
Posts: 4,597
Rep Power: 10
FlashMove is on a distinguished road
Skinning the Flex Callout and CalloutButton

Skinning the Callout and CalloutButton for Flash Builder (Flex) introduces a few challenges.
The default Callout skin is a little more complex than the typical mobile skin. A few issues to highlight:

  1. The arrow skin part is implemented as a subclass named CalloutArrow
  2. The backgroundColor gradient fill also fills the arrow for all callout and arrow position combinations
  3. The arrow is not given a position in the skin. Instead, Callout manages the arrow position based on the Callout's position relative to the owner.
  4. The skin implements open/close state transition effects in ActionScript
To make Callout skinning easier, spark.skins.mobile.CalloutSkin exposes protected properties that subclasses can modify in order to tweak the existing visuals. For example, the screenshot and code below show how to square up the Callout's corners, removed the background gradient, and specified new default sizes for the arrow.
http://blogs.adobe.com/jasonsj/2011/...outbutton.html
__________________
Actionscript tag . Donate Here . Testimonial . Join Flash Chat UserGroup . Twitter . Facebook

Last edited by FlashMove : 12-01-2011 at 03:27 PM
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump




All times are GMT. The time now is 07:31 PM.