More on SEO Friendly Flex and AS3

This is a follow-up from this post: SEO Friendly Flex and AS3

I was working on a project that was in all flash. It appears that this, all flash, site will never go live so there’s no sense in waiting any more to share what I have.

Ultimately since search engines like Google can, at most, just index the text of a flash site I figure there has to be something that myself, as a developer, can do to improve the way the site gets indexed while at the same time giving the end-user the experience they are intended to have.

Read more…

SEO Friendly Flex/AS3 Sites

I know that Google, for instance, “can” index flash sites. I did read, however, that it really only get’s the text from the elements in the flash. Which is effective to an extent and certainly better than nothing at all. I don’t think this is really the best way for your flash sites to be indexed.

Read more…

Creating Sprites in Flex with AS3

You can’t simply use the same syntax to create a sprite as you might commonly see in AS3 or even on the Flex documentation. You have to include the UIComponent for it to actually show up.
Here’s the code:

import flash.display.Sprite;
import mx.core.UIComponent; // gotta have this

private function init():void {
	var square:Sprite = new Sprite;				// create the sprite
	var uiref:UIComponent = new UIComponent;	// create the uicomponent
	addChild(uiref);							// add the uicomponent to the stage
	uiref.addChild(square);						// add the sprite to the uicomponent
	square.graphics.beginFill(0x000000);		// customize your sprite
	square.graphics.drawRect(0, 0, 100, 100);
}

Without that UIComponent your sprite won’t show up in the stage.

Read more…

Flex and RSS Links in AS3

So I was looping through an XML result in Flex for a recent blog post type module. Anyway, I needed to make the output linkable to the post itself. The way I came to do this was to create a VBox component to pass the target URL variable to a function and then use this parameter for a URL request.

Read more…