Flex mobile development: FXG background file for Custom ActionBar Skin


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Graphic version="2.0" xmlns="http://ns.adobe.com/fxg/2008"
  3. scaleGridLeft="2" scaleGridTop="3" scaleGridRight="88" scaleGridBottom="61">
  4.  
  5. <Rect y="2" width="89.8335" height="60">
  6. <fill>
  7. <SolidColor color="#16938D"/>
  8. </fill>
  9. </Rect>
  10. <Rect x="0.0830078" y="35" width="89.8335" height="26.6665" >
  11. <fill>
  12. <LinearGradient x="44.9165" y="0" scaleX="26.6665" rotation="90">
  13. <GradientEntry ratio="0" color="#FFFFFF" alpha="0"/>
  14. <GradientEntry ratio="0.160132" color="#E2E2E2" alpha="0.126504"/>
  15. <GradientEntry ratio="0.400165" color="#A9A9A9" alpha="0.31613"/>
  16. <GradientEntry ratio="1" alpha="0.79"/>
  17. </LinearGradient>
  18. </fill>
  19. </Rect>
  20. <Rect y="1.89014" width="89.8335" height="21.3774" >
  21. <fill>
  22. <LinearGradient x="44.9165" y="21.3774" scaleX="21.3774" rotation="270">
  23. <GradientEntry ratio="0" color="#FFFFFF" alpha="0"/>
  24. <GradientEntry ratio="1" color="#FFFFFF"/>
  25. </LinearGradient>
  26. </fill>
  27. </Rect>
  28. <Rect width="90" height="2">
  29. <fill>
  30. <SolidColor alpha="0.75"/>
  31. </fill>
  32. </Rect>
  33. <Rect y="62" width="90" height="2">
  34. <fill>
  35. <SolidColor alpha="0.85"/>
  36. </fill>
  37. </Rect>
  38. <Rect y="64" width="90" height="1">
  39. <fill>
  40. <SolidColor alpha="0.35"/>
  41. </fill>
  42. </Rect>
  43. <Rect y="65" width="90" height="1">
  44. <fill>
  45. <SolidColor alpha="0.25"/>
  46. </fill>
  47. </Rect>
  48. <Rect y="66" width="90" height="1">
  49. <fill>
  50. <SolidColor alpha="0.2"/>
  51. </fill>
  52. </Rect>
  53. <Rect y="67" width="90" height="1">
  54. <fill>
  55. <SolidColor alpha="0.15"/>
  56. </fill>
  57. </Rect>
  58. <Rect y="68" width="90" height="1">
  59. <fill>
  60. <SolidColor alpha="0.1"/>
  61. </fill>
  62. </Rect>
  63. <Rect y="69" width="90" height="1">
  64. <fill>
  65. <SolidColor alpha="0.05"/>
  66. </fill>
  67. </Rect>
  68. <Rect x="1" y="2" alpha="0.25" width="88" height="1" >
  69. <fill>
  70. <SolidColor color="#FFFFFF"/>
  71. </fill>
  72. </Rect>
  73. <Rect x="1" y="61" alpha="0.1" width="88" height="1">
  74. <fill>
  75. <SolidColor color="#FFFFFF"/>
  76. </fill>
  77. </Rect>
  78. <Rect y="2" width="1" height="60">
  79. <fill>
  80. <LinearGradient x="0.5" y="0" scaleX="60" rotation="90">
  81. <GradientEntry ratio="0" color="#FFFFFF" alpha="0.25"/>
  82. <GradientEntry ratio="1" color="#FFFFFF" alpha="0.1"/>
  83. </LinearGradient>
  84. </fill>
  85. </Rect>
  86. <Rect x="89" y="2" width="1" height="60">
  87. <fill>
  88. <LinearGradient x="0.5" y="0" scaleX="60" rotation="90">
  89. <GradientEntry ratio="0" color="#FFFFFF" alpha="0.25"/>
  90. <GradientEntry ratio="1" color="#FFFFFF" alpha="0.1"/>
  91. </LinearGradient>
  92. </fill>
  93. </Rect>
  94. <Rect width="90" height="70">
  95. <fill>
  96. <SolidColor color="#FFFFFF" alpha="0"/>
  97. </fill>
  98. </Rect>
  99. </Graphic>

URL: http://corlan.org/?p=3142

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.