Archive for the ‘Mate’ Category

Well this meeting was all about games…we were in the final stages of wrapping up Stuart’s Financial game and discussed issues we were having. Finished the framework on Sunday! Hurray!!! PTL

Fixing amfphp server deploy channel error

1. Basically, we had an issue with amfphp not running on our server…just remove the  .htaccess file … so many people have this problem. To check  your amfphp once you’ve put it on your server,  go to http://www.yoururl.com/amfphp/browser and make sure your services are running…if they are, you are OK. When you run on production…remove the browser folder from amfphp so people don’t muck with your services.

Services-config.xml

2. Make sure you put amfphp in your server web root…this really makes it easier to reference as well. Here is an example of the MATE services-config file I used for our Flex deploy:

<?xml version=”1.0″ encoding=”utf-8″?>
<services-config>
<services>
<service id=”amfphp-flashremoting-service”

messageTypes=”flex.messaging.messages.RemotingMessage”>
<destination id=”amfphp”>
<channels>
<channel ref=”my-amfphp”/>
</channels>
<properties>
<source>*</source>
</properties>
</destination>
</service>
</services>
<channels>
<channel-definition id=”my-amfphp”>
<endpoint uri=”/amfphp/gateway.php”
/>
</channel-definition>
</channels>
</services-config>

Amfpnp Error

3. amfphp 2 also had a php error I removed…it’s easy to find…just comment out the effected lines.

Besides that we wired up all the MATE and it ran beautifully…will be releasing a template version of my MATE amfphp/sqlite framework. The back-end is sqlite/remoting using php middle tier – it’s really fast!

Other Games

Kyria and Bill…started a chineese game

Jonathan and I…started an e-learning biking game

David…continued working on his card game/memory game and getting his android web app ready for distribution.

Note: If you are worried about using amfphp versus zendamf…don’t, the same guy wrote them both. However, zendamf is the official Adobe supported one…will release a version of it in the future.

Here’s a Mate States Navigation with Presentation Model Demo. Click the image below to view the demo and right click on the demo to view and download the source code.

Flex Mate State Navigation

Flex Mate States Navigation

Enjoy!

Flex 4 – Mate Simple Navigation

I was doing research on Mate this weekend and I was embarrassed to find that many of my  UTube videos were popping up in Google. Now whenever I seen my own videos I always think, hey get out of town, I need to find someone that knows what he’s talking about. But there isn’t much out there on Flash Builder 4 (Flex 4) so I thought I would release some good videos (and understandable applications) in this area to help you get started.

So in this application you learn how to build a simple navigation system in Flex 4-Mate. Click on the image below to see it work and right click on the application to get the source!

Simple Mate Navigation

Simple Mate Navigation

Video

I’m emailing this to David next and he’ll put it in Burrito – go mobile! David will show this off at our next meeting.

Some Helpful Links:

Why use Mate? (I did this one)

Mate 360 Presentation

Creating and Applying Skins