Tom Lauck’s Deseloper.org

Flex AMFPHP Variables

author:

Working with XML in AS2 is to say the least, one of the dumbest and most redundant things in the world to me. Because of this, I use Flash Remoting. It just makes more sense. So when I moved on to Flex, even though XML is native in AS3, I still went with remoting. Mike Potter from Adobe had a basic tutorial on getting started with Remoting in Flex…for it is a little differnent from Flash. And those differences can really throw you, and leave yourself cursing at your own stupidity.

Here was my issue: Everything was going fine with my development, and I was falling even more in love with Flex and then all of a sudden, variables were not getting passed when I started debugging. Huh? So to make a long story short, the syntax for passing variables in Flex is a little different from the the standard/basic AMFPHP structure:

Rather than something like this:

public function getAllPages(){
	gateway = new RemotingConnection("http://localhost/flashservices/gateway.php");
	gateway.call( "SitePages.getAllPages(php_variable)", new Responder(handleGetAllPages, onFault));
}

Notice the placement of the variable “php_variable” above.

You do something like this:

public function getAllPages(){
	gateway = new RemotingConnection("http://localhost/flashservices/gateway.php");
	gateway.call("SitePages.getAllPages", new Responder(handleGetAllPages, onFault), php_variable);
}

Oct 31 2006

WellNow.us

author:

WellNow LLC, an offshoot of Model Consulting, which specializes in Health Management for medium to large organizations/businesses. I got involved with this project with Parkside Graphics.

The committee at WellNow required something conservative, yet competitive and compelling. As the sole developer and designer on this project, I delivered:

  • a conservative design that highlighted their brilliant and unique colors.
  • motion graphics in AfterEffects (built from scratch) for a visual and auditory introduction.
  • a story board and original artwork for introduction
  • music/soundtrack for the site
  • an edited and sampled soundtrack for timing with the storyboard
  • an AS2 site framework that had an automatic HTML mirror site.
  • a back door so that people coming off of a search result would go to exactly the content they clicked on from the search result.
  • a custom content management in Flex/AS3.
  • custom fullscreen flash in JavaScript

So just for a quick overview of the technologies used:

  • AfterEffects
  • Flash/AS2
  • Flex/AS3
  • PHP/MySQL
  • JavaScript

The Result: The client loves it!!!! Especially the music ;)

The site is not **officially** launched yet, but it is viewable here.

Oct 31 2006

Fusion Fitness Studio

author:

A new training studio on a budget (obviously if they just started)…

Technologies used:

  • PHP/MySQL
  • Flash
  • AfterEffects

View site

Oct 31 2006

Colibraro Landscaping & Nursery

author:

Colibraro Landscaping &, Nursery, an old Italian landscaping business, finally got a budget from Uncle Tony to build a Web presence. Their pride is their unique landscape design. As the sole developer and designer on this project here is what I accomplished:

  • Right from the start, I went unique for the design. (I stunned everyone at Parkside when they approved it…Parkside had even provided some “more approvable-is that a word?” samples as well.)
  • They didn’t have the budget for lots of motion graphics, but still wanted a little more than a static page. I utilized Flash in the header and photo galleries to give a more dynamic feel.
  • Their audience consists of landscapers. I assumed most landscapers aren’t incredibly computer savvy. I even went so far as to think that many may have dial-up…Uncle Tony did. So I created bandwidth sniffers and detectors, Flash detection, and alternate content for every possibility
  • I wanted to capture their elegance, so I created a home screen with soft fades and unique transitions.
  • To accommodate their wholesalers, I created a password secured wholesale section.

Wrapping up, technologies used:

  • Flash
  • XHTML/CSS
  • JavaScript
  • PHP

The client was very pleased with the site. The well thought out design and implementation moved the client to request postcard and door hanger artwork.

View site

Oct 31 2006

Print Design…yes, I don’t just write code!!!!

author:

Frank York Invitational Brochure




Oct 31 2006

« Older Entries