Flex picture zoom in, zoom out and move
2016-08-23
0 0 0
4.0
Other
Earn points
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" width="100%" height="100%">
<fx:Script>
<! [CDATA[
private var moveSign:Boolean = true;
protected function img_clickHandler(event:MouseEvent):void
{
imageEffect.play(null, ! moveSign);
}
]]>
</fx:Script>
<fx:Declarations>
<s:Parallel id="imageEffect" target="{img}">
<s:Move xFrom="0" xTo="0"
yFrom="0" yTo="0"
duration="1000"/>
<s:Scale scaleXFrom="1.0" scaleXTo="1.7"
scaleYFrom="1.0" scaleYTo="1.8"
duration="100
actionscript
Related Source Codes
RGP game character 45 degree map+A star routing al
0
0
no vote
[Contributed] Red Movie World - Personal Mall Sour
0
0
no vote
WhyNotWin11
0
0
no vote
as3 tuio
0
0
no vote
Set Color with row mouse select
0
0
no vote
No comment