Unix & Apache commands

By |2009-12-22T21:50:06+00:00December 22nd, 2009|

Apache Commands Re-Start Apache -sudo apachectl restart Start - sudo  apachectl -k start Stop Apache- sudo  apachectl -k stop Changing Files Names change .htm files to .html- for file in *.htm ; do mv $file `echo $file | sed 's/(.*.)htm/1html/'` ; done change .html files to .htm-  for file in *.html ; do mv $file `echo $file [...]

testing your cfcs

By |2009-12-20T21:39:54+00:00December 20th, 2009|

This post is to explain how to test your cfc to make sure they are working the way that you meant. I am wondering if it is possible to test a cfc directly using cfdump? However, since you don't run a cfc directly, this may not work. <cfcomponent> <cffunction name="getArtist" access="remote" returntype="query"> <cfset var [...]

java Vs. AS 3

By |2009-12-15T21:23:28+00:00December 15th, 2009|

java package abc ; public class C1 extends c2 { private int v1; public c1() { this.v1 = 5; } int method(int 1) { return v1; } } Actionscript 3.0 package abc{ public class c1 extends c2 { private var v1:int; public function c1() { this.v1 = 5; } function method(v1:int):int { [...]

Remoting with Flex 3

By |2009-12-12T21:22:05+00:00December 12th, 2009|

Coldfusion component <cfcomponent> <cffunction name="GetHello" output="false" access="remote" returntype="string"> <cfreturn "Hello World"> </cffunction> </cfcomponent> Flex <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ import mx.rpc.events.ResultEvent; import mx.utils.ObjectUtil; private function GetHello_handler( event:ResultEvent):void { Result.text = ObjectUtil.toString(event.result); } ]]> </mx:Script> <mx:RemoteObject id="helloWorld" destination="ColdFusion" source="HelloWorld"> <mx:method name="GetHello" result="GetHello_handler(event)" /> </mx:RemoteObject> <mx:Label id="Result" x="59" y="58" width="87"/> <mx:Button [...]

my flash drawing

By |2009-12-11T21:31:02+00:00December 11th, 2009|

Last night I was working on my presentation for the Hawaii Flash User Group, and I made a really cool drawing using the drawing API. This drawing is done complete in code! I hope that you like it, and if you are in Honolulu, please come to the meeting to see how this was done! [...]

DataGrid Example

By |2009-12-05T21:17:24+00:00December 5th, 2009|

I love using FDT now, but in doing so I am also trying to use AS 3, and not use the Flash IDE. Today after going through just hell trying to get web services working, which I can't get to, I decided to try something else. I am trying to make a very simple datagride [...]

Favorite Actionscript 3.0 Editor

By |2009-12-04T08:20:56+00:00December 4th, 2009|

So I started a Poll on my Twitter account over the last 2 days. I was curious on which editor did flash developers perfer to use. I did not promote any editor, or tell people how to vote in any way, below is what people voted on. (1) FDT - Clearly the choice of Flash [...]

web services in Flash

By |2009-12-03T21:11:36+00:00December 3rd, 2009|

So I am trying to figure out how to use webservices in Flash with AS 3. I important the following swc files into the class path in Flash rpc.swc frameworks.swc At first I tried to use the Flex 4.0 SDK, but I got a strange error, which I figure out that I needed to add [...]

Big Island Adobe User Group

By |2009-12-02T08:12:42+00:00December 2nd, 2009|

In case you are on the Big Island there is a new group that has just formed there. The group is ran by Dan Hoskins The primary focus of the group is for photographers and  designers on the big island. Looks like an exciting new addition to the Adobe groups family, and is in Hawaii! [...]