Archive for May, 2010
“unable to detect webcam / video source”
The above is the message i got continuously after trying a lot, so fixed it with Flex by creating a AIR to show the Webcam Video.
Source:
<?xml version="1.0" encoding="utf-8"?> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" maxHeight="150" maxWidth="200" showStatusBar="false" skinClass="assets.DTApplicationSkin" alwaysInFront="true"> <fx:Script> <![CDATA[ private function videoDisplay_creationComplete():void { var camera:Camera = Camera.getCamera(); if (camera) { videoDisplay.attachCamera(camera); } } ]]> </fx:Script> <mx:VideoDisplay id="videoDisplay" creationComplete="videoDisplay_creationComplete();" width="100%" height="100%" horizontalCenter="0" verticalCenter="0"/> </s:WindowedApplication>
The link have the AIR file required. Download

Usage : java -jar SWFCompress.jar c 'YourSWF.swf'


Usage : java -jar SWFCompress.jar d 'YourSWF.swf'
Now the re compressed SWF is ready to go. Have Fun Cracking, Hacking SWF’s
Built an AS3 Project to Work with GenericDAO using Swiz and AS3Signals
The project was inspired by Java Spring Framework:
IBM Generic Dao
The project uses the benefits of DI provided by Swiz 1.0.
The Deferred Instantiation of Swiz builds DAO Object only when [Inject] keyword is used.
Also, uses the latest Spark SkinnableComponent Framework for the View Part with Passive View.
The Source can be downloaded from SwizDAO Git
The below is the code from Swiz Context for a DAO Object:
<swiz:Prototype name=”taskDAO” constructorArguments=”{['task',taskProcessor]}” type=”{AbstractDAO}” singleton=”true”/>
Update Info :
http://nsdevaraj.wordpress.com/2010/05/12/project-swiz-dao/