Monday, April 26, 2010

Testing an embedded video podcast

Yes, it's yours truly.

My podcasts - Check out more at Podium Podcasting.

Wednesday, January 27, 2010

Off to Grandvalira!! Oh Yeah!

Off skiing for a week in Andorra with my new ski boots.I cant bloody wait!!!







Friday, November 13, 2009

Swf Object Javascript not displaying correctly in some browsers

After having issues with some browsers incorrectly displaying the height of an embedded swf object I came across this fix to add to the html before the embed code.


/* hide from ie on mac \*/
html
{
height: 100%;
overflow: hidden;
}

#flashcontent
{
height: 100%;
}
/* end hide */

body
{
height: 100%;
margin: 0;
padding: 0;
background-color: #ffffff;
}

Monday, October 12, 2009

Flex fun never stops - Image loading and resizing

It doesn't seem that any particular aspect of what I'm working on is simple. Or easy.

The post I was pretty much about to recreate is summed up nicely by Alastair’s Axioms blog.

Here’s the brief load an external image into Flex, resize it to fit in a container (but don’t make it bigger than the original), center it in the container, and smooth the image to get rid of any aliasing. Sounds like a simple job, slap down a VBox, set vertical and horizontal alignment, add an Image component and set it’s width and height to 100%, grab some handy image smoothing code, you’re done no? No. There’s a issue with every one of those steps.

Thursday, October 01, 2009

Web Services - Basic Authentication in Flex

I need to expand on this - but critically when using webservices and basic authentication in Flex, go to the import WSDL option in the File menu. From there you can set your authentication credentials as follows:


var encoder:Base64Encoder = new Base64Encoder();
encoder.encode(_username + ":" + _password);
var encodedCredentials:String = encoder.flush ();

if (message.httpHeaders == null)
message.httpHeaders = {};
message.httpHeaders["Authorization"] = "Basic " + encodedCredentials;


More here on the Flex Live site.

Thursday, September 17, 2009

Podium Podcasting - Test Embedding

Sarah's

My podcasts - Check out more at Podium Podcasting.


Mine

My podcasts - Check out more at Podium Podcasting.

Tuesday, September 08, 2009

HSliders and VSliders in Flex

Another infuriatingly well documented feature from Flex. Having spent an considerable amount of time trying to skin a VSlider using the trackHighlightSkin with an embedded clip - it was somewhat of a surprise to discover you need to create your skin's for an HSlider; Flex then rotates these into the vertical - so all your height and width settings are flipped around.

Another well documented feature from Flex. [Grumble].