Archive for March, 2008

Now accepting freelance work

Sunday, March 30th, 2008

I’ve put my freelance lifestyle on hold for a while since I’ve had a full time job but I am now looking for freelance projects I can do in the off hours (6pm - 8am and weekends)
If you’re looking for a Flash developer, UI designer or general web genius™ please feel free to contact me at julian(at this domain).

I’m located in St. Louis, MO if that makes any difference but I’m available worldwide. that may actually be a benefit to a company located in the UK since the time difference would allow me to be at available during their daytime office hours.

Chugging along on Fless, the WordPress Flash front-end

Friday, March 28th, 2008

I’ve spent a day or two reformatting and tightening up the code I left lingering on the Fless project I started.

Here is the example

It doesn’t look like much but it shows the ease of use of the framework.

Here is the code to create the basics:

public class Main extends MovieClip{

public function Main(){

var blog:Fless = new Fless();

blog.phpURL = “http://yourwebsite/getPost.php”;

blog.addEventListener(PostEvent.UPDATE, postsReady);
blog.getPosts(0, 20);

}

private function postsReady(e:PostEvent):void{
trace(”posts ready”);
trace(e.posts);

var curPost:CurrentPostView = new CurrentPostView(e.posts[0]);
curPost.x = 50;
curPost.y = 50;
curPost.width = (stage.stageWidth / 2) - 50;
curPost.height = stage.stageHeight - 100;
addChild(curPost);
}

}

I’m definitely looking for input from Flash devs that use WordPress to see what kind of features they would like.

Web Services in AIR (Flash CS3)

Wednesday, March 19th, 2008

I have been banging my head against a wall for days. I am trying to get web services to work in an AIR app built with Flash CS3. My co-workers use a solution that works for Flash only http://labs.qi-ideas.com/2007/12/25/using-flex-compiled-code-within-flash

But every time I tried to use it with an AIR app it would crash.

I then found http://manmachine-tech.blogspot.com/

but after days of frustration I found a critical bug:

In the WSProxy class there is a variable _busyOnCall = true; that gets set within callMethod()

and it gets set to false in onComplete()

but it NEVER GETS SET IN onFault

After that it’s all good. I hope this helps anyone in the same boat as myself.