More on SEO Friendly Flex and AS3

Flash & FlexThis 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 …

 
 

Framed, Tiled Content Navigation with Flex and AS3

Essentially it’s something that I would be comfortable doing in javascript but this time around I needed it to be done in Flex. I wanted to be able to click on a navigation item and instead of flipping through a ViewStack the idea was to just move to the applicable part of a tiled area of content within the frame below.
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.

 
 

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 …

 
 

Flex bookmarks

Some Flex links:

Flex Builder 3 Help

Building web and Adobe AIR applications from a shared Flex code base

Flex best practices
Part 1: Setting up your Flex project
Part 2: Development practices

Form Validation
Adobe Help

Skinning
Flex Skinning Extensions