Archive for January, 2008

Getting weird characters with AMFPHP

Just a small reminder that might help anyone getting some weird characters with AMFPHP. It can happen when you copy a full text from Microsoft Word. And the quotes get inserted in your DB.

You might find some funny results like an Euro symbol appearing throughout your text. Uncomment this line in your amfphp gateway:

$gateway->setCharsetHandler("utf8_decode", "ISO-8859-1", "ISO-8859-1");

Here are some examples of text you might find:
‘ = This is the open double quote
’ = This is the close double quote

Here is a good resource if you’re having issues with strange characters and PHP / MySQL: ByteFlex – Fun with utf8, PHP and mysql

1 comment January 31st, 2008

Sydney UG: Flex 3 and AIR Pre-Release with Danny Dura

Last night the Rocketboots conference room was packed. Danny Dura showed us the new Flex 3 features and also gave an overview of what will be coming with AIR 1.0.

Click here to see the Flex 3 new features.

After seeing what AIR is capable of I’m feeling sorry for Multidmedia Zinc.

I got really excited with AIR, though I have been using some apps, like twhirl… I’m actually writing this blog post with an AIR app, it’s an Adobe AIR Sample “Bee” on labs and it includes the source code.

** UPDATE **
I couldn’t manage to publish with BEE, I was getting a malformed XML error from the publish XML-RPC command. Anyway, the BEE App looks a quite good considering it’s a labs sample. I reckon mixing it up with buzzword would be awesome and also adding drag and drop functionality to publish images. I might look into the source code and give it a try.

Here’s a small video that I took with my mobile at the beginning of Danny’s preso (automatically converted from mobile .3gp to flv by flashCMS):

** UPDATE **
Thanks Joshua for pointing out the slides from the tour by Ben Forta.

1 comment January 25th, 2008

MySQL (errno: 150)

Just quick note for anyone getting this error. It took me a little while to figure out.
In my case I was trying to add a foreign key with delete on cascade:

ALTER TABLE table_one
ADD CONSTRAINT name_fk FOREIGN KEY (iTable1ID)
EFERENCES table_two(iTable2ID) ON DELETE CASCADE;

And HeidiSQL was spitting out this error msg:

SQL Error: Can’t create table ‘.\database_name\#sql-72c_fb.frm’ (errno: 150)

How to resolve this error:
Make sure your fields datatype match.
They both should have exactly the same datatype and length.
Eg. INT(4) Unsigned isn’t the same as INT(11)

Also make sure if you have data in the table, the foreign keys will not fail.
Eg. If you have an value in one table and not in the other table, it will fail.

This may be common knowledge to most of you but it might come in handy to someone else.

9 comments January 17th, 2008

Sydney Flex and AIR Pre-Release Tour With Danny Dura

Chris just sent this event information to the flash developers mailing lists:

Thursday, 24th January. 6pm

Flex 3 and AIR are getting close to launch and in preparation, Danny Dura from the Platform Evangelism Team will be specifically in Sydney to show off the great new features for this exciting launch.

Check the listings below to hook up with the local user group in the city closest to you and join us for an evening of Flex and AIR.

Don’t miss out on the opportunity to see and hear about this highly anticipated release of Flex 3 and AIR during this special pre-release tour. Plus, in addition to giving away some one of a kind Flex/AIR branded schwag, each event will also be raffling off a copy of Flex Builder 3 Professional (pending availability) and a full commercial copy of CS3 Web Premium!

Details and RSVP on http://sydneyflashdev2008prelaunchtour.eventbrite.com

You can also joing the Google Group: FlashAussie

2 comments January 16th, 2008

Colin Moock is coming to Sydney

If you haven’t already heard, the date is set for 5th May, the same week as WebDU.

Update: WebDU dates are: 12-13 June 2008. (Thanks Geoff)

Register here: http://www.adobeas3tour.com/

Advanced programmers please note:
This course does not cover expert-level topics. You are unlikely to encounter new concepts in this course, but are welcome to attend for a refresher on ActionScript programming fundamentals.

For a complete list of topics covered, see the Course Outline below and the course lecture notes, available at: http://moock.org/lectures/groundUpAS3/

1 comment January 11th, 2008


Calendar

January 2008
M T W T F S S
« Dec   Apr »
 123456
78910111213
14151617181920
21222324252627
28293031  

Posts by Month

Posts by Category