<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="853" height="437"
backgroundColor="#090909" creationComplete="complete()" >
<mx:Panel x="57" y="108" width="506" height="279" layout="absolute" horizontalAlign="center">
<mx:Image x="75" y="10" width="100%" height="100%" id="bimg" horizontalAlign="center"/>
</mx:Panel>
<mx:Move id="imgm" target="img1"/>
<mx:HBox x="0" y="10" width="100%" height="69" horizontalScrollPolicy="off" id="hx">
<mx:Image width="80" height="66" source="img/2.jpg" mouseMove="show(event)" verticalAlign="middle" id="img1"/>
<mx:Image width="80" height="60" source="img/2.jpg" mouseMove="show(event)"/>
<mx:Image width="80" height="60" source="img/2.jpg" mouseMove="show(event)"/>
<mx:Image width="80" height="60" source="img/2.jpg" mouseMove="show(event)"/>
<mx:Image width="80" height="60" source="img/2.jpg" mouseMove="show(event)"/>
<mx:Image width="80" height="60" source="img/2.jpg" mouseMove="show(event)"/>
<mx:Image width="80" height="60" source="img/2.jpg" mouseMove="show(event)"/>
<mx:Image width="80" height="62" source="img/2.jpg" mouseMove="show(event)" verticalAlign="middle"/>
</mx:HBox>
<mx:Move id="move_up" target="{tt}"/>
<mx:Panel width="250" height="200" layout="absolute" title="Anouncement"
fontSize="13" horizontalCenter="269" verticalCenter="-2">
<mx:Canvas id="cs" width="100%" height="100%" left="0" top="0"
verticalScrollPolicy="off" mouseOver="move_pause()" mouseOut="move_resume()">
<mx:Text id="tt" width="94%" horizontalCenter="0"
text="Ntt.cc was created br Minidxer in January of 2008 as a site dedicated to the prolification of Macromedia/Adobe Flex and JavaScript/Ajax." verticalCenter="0">
</mx:Text>
</mx:Canvas>
</mx:Panel>
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.controls.Image;
//显示图片
private function show(e:Event):void{
var s:String=e.currentTarget.source;
this.bimg.source=s;
}
//字体向上滚动
private function complete():void
{
move_up.yFrom = cs.height - 6;
move_up.yTo = 0 - tt.height + 6;
move_up.repeatCount = 0; //loop
move_up.repeatDelay = 0; //loop time
move_up.duration = 6000; //the time of scroll once
move_up.play();
////////////////////////
}
//鼠标放入暂停
private function move_pause():void
{
move_up.pause(); //pause
}
//鼠标离开重新滚动
private function move_resume():void
{
move_up.resume(); //start from the pause position
}
]]>
</mx:Script>
</mx:Application>
分享到:
相关推荐
Flex相册 Flex图片
用flex开发的图片浏览效果。很酷 flex图片滚动效果 下载拷贝到flexbuilder中就可以用
发觉FLEX中Image组件载入图片后,虽然自动缩放了,但是是等比缩放的。比如图片是16:9的,Image设置的宽高是4:3的,它不会自动拉伸成4:3,而是上下留白依然16:9。这个问题VideoDisplay组件载入FLV也一样,都是等比...
Flex 图片上传 实例 源码Flex图片上传实例
flex 图片浏览\放大\缩小,
flex 图片查看器 flex图片 zoomin zoomout 图片查看器
flex 图片画线,图片拖动,图片高亮,拖动线随图片动
flex 图片自动旋转移动放大,自动旋转移动 自动旋转
flex图片上传带预览功能。Flex,Flex
Flex 图片旋转 缩放 拖动 特效 整个项目,其中的特效封装成一个控件,直接使用,
通过JAVA代码,让你了解Flex的事件模型。
应用flex;实现对图片的放大,缩小;效果非常不错;
MindSDK的样例工程,包含FlexCAN驱动程序和样例工程,在《CAN总线开发一本全(4) - FlexCAN的驱动程序》一文中用到的样例工程。
flexBulider页面加载动态图片的显示
图片压缩 修改路劲 图片压缩flex demo
NULL 博文链接:https://orientalpigeon.iteye.com/blog/910425
flex picture flex图片显示 很绚丽的图片显示效果
flex 图片放大。
[图片动画]flex图片上传带预览功能_flexsc.zip源码ASP.NET网站源码打包下载[图片动画]flex图片上传带预览功能_flexsc.zip源码ASP.NET网站源码打包下载[图片动画]flex图片上传带预览功能_flexsc.zip源码ASP.NET网站...