Sha256: bc92571e388eee25c85c4a85f383c630dc2febd53db0033e8a7e6267edbba22d

Contents?: true

Size: 1.49 KB

Versions: 3

Compression:

Stored size: 1.49 KB

Contents

<?xml version="1.0" encoding="utf-8"?>
<view:FourDItem xmlns:view="com.themorphicgroup.view.*" xmlns:local="*"
	width="100" height="100" xmlns:ns="http://ns.adobe.com/mxml/2009"
	tweens="{[{rotationY:720, rotationZ:100}]}">
	<ns:Script>
		<![CDATA[
//			import com.themorphicgroup.vo.PhotoVO;
			public var clickFunction:Function;
			import gs.TweenMax;
			
//			[Bindable]private var photo:PhotoVO;
			[Bindable]
			private var photo:Object = new Object();
			photo.photoTitle = "LANCE POLLARD";
			
			override public function set data(value:Object):void {
				super.data = value;
//				if (value is PhotoVO) {
//					photo = PhotoVO(value);
//				}
			}
			

			protected function canvas1_mouseOverHandler(event:MouseEvent):void
			{
				this.setStyle("backgroundColor",0xfff55d);
//				TweenMax.to(this, 1, {rotationX:180});
			}
			
			private function click():void {
				//TweenMax.to(this.parent, 4, {rotationY:360});
				this.tween();
			}


			protected function canvas1_mouseOutHandler(event:MouseEvent):void
			{
				this.setStyle("backgroundColor",0xf8f8f8);
			}

		]]>
	</ns:Script>
	<view:front>
	<ns:Canvas width="200" height="300">
		<ns:Button rollOver="canvas1_mouseOverHandler(event)" click="click()" id="but" width="200" height="300"/>
		<ns:Label text="{photo.photoTitle}" horizontalCenter="0" verticalCenter="0"/>
		<local:RevealBox width="{but.width}" height="{but.height}"/>
	</ns:Canvas>
	</view:front>
	<view:pivotX>center</view:pivotX>
	<view:pivotY>center</view:pivotY>
	
	
</view:FourDItem>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
emergent-core-0.1.0 rails_generators/emergent_config/templates/app/flex/com/fourD/components/FourDItemRenderer.mxml
emergent-core-0.1.01 rails_generators/emergent_config/templates/app/flex/com/fourD/components/FourDItemRenderer.mxml
emergent-core-0.1.02 rails_generators/emergent_config/templates/app/flex/com/fourD/components/FourDItemRenderer.mxml