Peter Elst

Flash Platform Consultant
  • Home
  • About me
  • Articles
  • Downloads
  • Contact me

AIR Badge WordPress plugin

19 04 2008

If you want to distribute AIR applications the install badge is definitely the best way to go. The one problem I had with it is that its a pain to prepare and embed on your blog.

To help remedy this I started working on this AIR Badge plugin last night, it allows you to simply use an [airbadge] tag and a couple of arguments in your blog post which will then be replaced by the AIR install badge.

 

Example

[airbadge] application name, full URL to .air file, application version, image.jpg [/airbadge]

[airbadge]Contact Manager,
http://www.peterelst.com/downloads/sqlite/sqlite-contactmanager.air,
1,http://www.peterelst.com/blog/wp-content/uploads/2008/04/contactmanager.jpg[/airbadge]

 
Read the rest of this entry »

Comments : 13 Comments »
Categories : AIR, PHP

AMFPHP and Flex 2

28 08 2006

There have been a number of posts and tutorials posted on this topic but just wanted to post it here as well because I’ve heard some people who were under the impression it is not possible to hook AMFPHP or other Flash Remoting solutions up to Flex 2.

Flex 2 uses a newer and more optimized version of the AMF format, while its true that exisiting Flash Remoting solutions currently don’t support this latest AMF format, it is possible to set a property on the NetConnection class to make it compatible.

Getting this done is pretty easy, you create a custom class by extending flash.net.NetConnection and set the objectEncoding property to AMF0 (the constant is set in flash.net.ObjectEncoding.AMF0).

For more information see:

http://www.adobe.com/devnet/flex/articles/flex2_amfphp.html
http://www.tweenpix.net/blog/

Comments : Comments Off
Categories : Flex, PHP

WordPress updated to 2.0.1

17 02 2006

If you’re running WordPress its well worth doing the upgrade to 2.0.1! I just did it here this afternoon and it fixes a whole lot of issues I had with 2.0.

The dashboard is now actually usable and doesn’t crash all the time, performance seems to be way up, smilies are working, linebreaks in the WYSIWYG post editor are converted to linebreaks in HTML etc. Not sure what went wrong with my 2.0 install but it was extremely buggy to say the least and now I’m a happy camper again ;)

Read the rest of this entry »

Comments : Comments Off
Categories : PHP

Configuring a Flash application - Part Two

8 02 2006

DMXzone.com has just published my follow-up article on using an XML file to configure your Flash applications, its a pretty cool piece even if I say so myself ;)

The article talks about how to take things one step further, change config parameters at runtime and save the XML file back out using a simple PHP script. I’ll probably have more articles available in this series in the coming weeks, so if you liked to first free article, you’ll definitely be interested in reading this one.

Any feedback or suggestions for future articles is of course very welcome!

http://www.dmxzone.com/ShowDetail.asp?NewsId=11543

Comments : Comments Off
Categories : Flash, PHP, Publications

WP-ShortStat WordPress plugin

9 09 2005

I recently got word from my good friend (and CMS guru) mattie about a great plugin. This plugin is a really cool addition to those of you running a WordPress blog for getting some visitor stats (including those that read it through your RSS feed) inside the admin panel. Extremely easy to install, just upload and activate it — no further action required which was a pleasant surprise!

http://dev.wp-plugins.org/wiki/wp-shortstat

Comments : 1 Comment »
Categories : PHP

mySQL 5.0 alpha available for download

12 01 2004

ActionScript Hero has just reported some great news, a developer edition of mySQL 5.0 alpha is available for download which includes support for stored procedures.

I remember working on a project a while back involving Microsoft SQL Server and it took me quite a while to get my head around the concept of stored procedures. I’m looking forward to using it with my PHP apps, it’s a really neat way to handle more complex or repetitive series of queries.

Comments : 5 Comments »
Categories : PHP

AMF-PHP multiple method calls

3 11 2003

If you’re working with Flash Remoting using AMF-PHP you might have encountered some problems in the latest release with doing multiple method calls. I’ve been browsing the mailinglist and came across a solution by Justin Watkins that fixes this problem.

You can download an updated version of “Executive.php” and use that to replace the old one (flashservices > app), you’ll also be required to do a little tweak to your “gateway.php” file:

$gateway->setBaseClassPath($_SERVER['DOCUMENT_ROOT'].“flashservices/services/”);

Those two changes should do the trick!

Comments : 4 Comments »
Categories : PHP

SHA1 class for PHP4

15 09 2003

I’ve written this SHA1 class in PHP quite a while ago but thought I might just put it up in case anyone’s still interested in using it.

The code was ported from Branden Hall’s SHA1 Secure Hash for Flash MX which in turn was based on a JavaScript implementation. You can download the code here, feel free to drop me a line if you’re using it for a particular project that’s always nice to know!

FYI, people running a PHP release above 4.3 can use the built-in sha1() and sha1_file() functions.

Comments : 6 Comments »
Categories : PHP





Training Partners

multimediacollege

SkillsMatter

  • Categories

    • AIR RSS category feed
    • Ajax RSS category feed
    • CSS RSS category feed
    • Eclipse RSS category feed
    • Events RSS category feed
    • Flash RSS category feed
    • Flash Lite RSS category feed
    • Flex RSS category feed
    • Gadgets RSS category feed
    • General RSS category feed
    • JSFL RSS category feed
    • Mac RSS category feed
    • Open Source RSS category feed
    • PHP RSS category feed
    • Podcasts RSS category feed
    • Publications RSS category feed
    • Rants RSS category feed
    • Reviews RSS category feed
    • Thought of the Day RSS category feed
    • Training RSS category feed
    • Video RSS category feed
  • Resources

    • Stephen Downs
    • Peter Hall
    • Branden Hall
    • Owen van Dijk
    • Sam Robbins
    • AndrĂ© Michelle
    • Aral Balkan
    • Scott Barnes
    • Edwin van Rijkom
    • LordAlex Leon
    • Peldi Guilizzoni
    • Robert M. Hall
    • Jonathan Kaye
    • Veronique Brossier
    • Matthew David
    • Lee Brimelow
    • Simon Barber
    • Chafic Kazoun
    • Mario Klingemann
    • Marco Casario

     
     

    Adobe Community Expert

    See my profile on LinkedIn




     
    Harz Ferienwohnung Suchmaschinenoptimierung Geschenkideen Harz Ferienwohnung Pagerank Webkatalog Webhosting