Back in Google - Out of the Sandbox Finally!

Ah Finally, after about 3 months of being in the Sandbox for Google Search Results, Im out. I was in the sandbox as result of my wordpress install being hacked and hackers using SQL injection to place spam text in my posts. I was getting 200-300 uniques a day, which dropped to about 5-10 uniques a day after being placed in the sandbox, amazing how much our lives depend one search and Google. Im back to being ranked high for “actionscript 3.0, xml, flash slideshow”. Its good news all around!

Greetings from my iPhone

Greetings from the new WordPress iPhone app. I was waiting for wordpress to release an iPhone app and it looks like they have come through. Stay tuned for more posts from the road.

WordPress Custom Fields and Checking for Values

I have been building sites with WordPress for about a year now and I love it. I love the versatility that WordPress offers and I have had great success with Search Engine Visibility. I just recently read a great article on how to use custom fields to take your wordpress site to the next level.

I setup a few pages on my site StamfordCTGuide, which one section in particular, hotels. I added a few hotels and ran into some issues of missing images. Instead of adding the missing images image to each custom field entry in Admin. I wrote a little php if statement to check to see if there is a value present, and if there isnt - to show a default "no image available".

Here is the php that I wrote, its simple - but really my first experience with writing php. I have been doing ActionScript 3 for about 6 months, and the basic principles are the same.

PHP:
  1. <a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php
  2.             if ($hotels_img != null) {
  3.             echo $hotels_img[0];
  4.             }
  5.             else if ($hotels_img == null) {
  6.             echo "http://www.stamfordctguide.com/wp-content/themes/stamfordctguide/images/noimage.gif";
  7.             }
  8.            
  9.             ?>" border="0" width="50"></a>

The Best of Web Conferences 2008

Common ActionScript 3 Errors and Explanations

So as with the new version of ActionScript there is a new level of complexity when it comes to creating ActionScript, but there seems to be better debugging too. The only barrier I have hit is the language sometimes just doesnt make sense, so I usually Google the errors and find great explanations.

This is just an ongoing list I will compile to help fellow AS3 developers to make sense of what the errors mean.

  • Error #1046: Type was not found or was not a compile-time constant:
    Curtis Morley has come up with a great explanation as to what this actually means, you can read about it here.
  • Error #1502: A script has executed for longer than the default timeout period of 15 seconds. Curtis Morley has also come up with another great explanation as to what this actually means, you can read about it here.
  • TypeError: Error #1009: Cannot access a property or method of a null object reference.Curtis Morley has also come up with another great explanation as to what this actually means, you can read about it here.
Next entries �� Previous entries