没有合适的资源?快使用搜索试试~ 我知道了~
flex 超牛的验证码
3星 · 超过75%的资源 需积分: 10 11 下载量 180 浏览量
2011-06-16
09:35:53
上传
评论
收藏 6KB TXT 举报
温馨提示
flex 超牛的验证码flex 超牛的验证码flex 超牛的验证码flex 超牛的验证码
资源推荐
资源详情
资源评论
ValidatorMain.mxml
<?xml version="1.0" encoding="utf-8" ?>
- <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100" height="100">
<mx:Metadata>[Event(name="btn1_click")] [Event(name="btn2_click")] [Event(name="btn3_click")] [Event(name="btn4_click")] [Event(name="btn5_click")] [Event(name="btn6_click")] [Event(name="btn7_click")] [Event(name="btn8_click")]</mx:Metadata>
<mx:Button id="btn1" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn1_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#D9D9D9, #FFFFFF]" themeColor="#D9D9D9" verticalCenter="0" left="5" />
<mx:Button id="btn2" x="65" y="15" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn2_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#D22023, #FFA781]" themeColor="#D22023" />
<mx:Button id="btn3" x="15" y="65" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn3_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#00339F, #A4D4FD]" themeColor="#00339F" />
<mx:Button id="btn4" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn4_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#DC25F2, #FF63A9]" themeColor="#B60E44" horizontalCenter="0" bottom="5" />
<mx:Button id="btn5" x="65" y="65" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn5_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#10A804, #BCFDA8]" themeColor="#10A804" />
<mx:Button id="btn6" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn6_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#FF8D00, #FFDBAA]" themeColor="#FF8D00" verticalCenter="0" right="5" />
<mx:Button id="btn7" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn7_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#191919, #AAAAAA]" themeColor="#191919" horizontalCenter="0" top="5" />
<mx:Button id="btn8" x="15" y="15" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn8_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#BCA200, #FFFF4B]" themeColor="#BCA200" />
</mx:Canvas>
ValidatorExample.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="*">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private function randRange(min:Number, max:Number):Number
{
var randomNum:Number = Math.floor(Math.random() * (max - min + 1)) + min;
<?xml version="1.0" encoding="utf-8" ?>
- <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100" height="100">
<mx:Metadata>[Event(name="btn1_click")] [Event(name="btn2_click")] [Event(name="btn3_click")] [Event(name="btn4_click")] [Event(name="btn5_click")] [Event(name="btn6_click")] [Event(name="btn7_click")] [Event(name="btn8_click")]</mx:Metadata>
<mx:Button id="btn1" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn1_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#D9D9D9, #FFFFFF]" themeColor="#D9D9D9" verticalCenter="0" left="5" />
<mx:Button id="btn2" x="65" y="15" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn2_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#D22023, #FFA781]" themeColor="#D22023" />
<mx:Button id="btn3" x="15" y="65" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn3_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#00339F, #A4D4FD]" themeColor="#00339F" />
<mx:Button id="btn4" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn4_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#DC25F2, #FF63A9]" themeColor="#B60E44" horizontalCenter="0" bottom="5" />
<mx:Button id="btn5" x="65" y="65" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn5_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#10A804, #BCFDA8]" themeColor="#10A804" />
<mx:Button id="btn6" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn6_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#FF8D00, #FFDBAA]" themeColor="#FF8D00" verticalCenter="0" right="5" />
<mx:Button id="btn7" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn7_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#191919, #AAAAAA]" themeColor="#191919" horizontalCenter="0" top="5" />
<mx:Button id="btn8" x="15" y="15" width="20" height="20" cornerRadius="99" click="dispatchEvent(new Event('btn8_click'));" fillAlphas="[1.0, 1.0]" fillColors="[#BCA200, #FFFF4B]" themeColor="#BCA200" />
</mx:Canvas>
ValidatorExample.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="*">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private function randRange(min:Number, max:Number):Number
{
var randomNum:Number = Math.floor(Math.random() * (max - min + 1)) + min;
资源评论
- niu695440922012-06-13很有创新~不错~
- logenliqiang2017-04-02不好用,是个垃圾代码
weiyia
- 粉丝: 1
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功