摘要:
1 <s:BorderContainer backgroundColor="0xFFFFFF" cornerRadius="45" borderVisible="false" width="24" height="24">2 <s:Label text="1" paddingLeft="8" 3 height="100%" 4 verticalAlign="middle" color="# 阅读全文
摘要:
关键是利用SuperPanel有个titleBackgroundSkin属性 1 <containers:SuperPanel xmlns:fx="http://ns.adobe.com/mxml/2009" 2 xmlns:s="library://ns.adobe.com/flex/spark" 3 xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:containers="net.brandonmeyer.containers.*" layout=" 阅读全文
摘要:
实现的效果:图片横向展示,鼠标Over的时候,在图片的旁边显示大图,当点击按钮的时候可以实现图片的滚动。 1 <?xml version="1.0" encoding="utf-8"?> 2 <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" 3 xmlns:s="library://ns.adobe.com/flex/spark" 4 xmlns:mx="library://ns.adobe.com/flex/mx" 5 > 阅读全文
摘要:
实现的效果:中间每隔几秒就向上反动一下滚动广告。当鼠标悬停在广告上时,滚动条不在滚动,点击广告可以链接到其他地方。下面是核心代码部分:<?xml version="1.0" encoding="utf-8"?><s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx 阅读全文