Wednesday, May 2, 2012

Page load times using Fidder

Here is the link to a custom fiddler script to capture the page load times of various assets.

http://thorprojects.com/blog/archive/2010/08/23/capturing-page-load-times-fiddlerscript-to-the-rescue.aspx

Wednesday, April 6, 2011

Tuesday, April 5, 2011

Using Facebook Graph API within flash action script

Here is the nice tutorial as to how to use facebook Graph API with action script 3.0



Note: To see the action script embedded inside fla file, We have to check Windows->Actions to popup the window which displays the action script embedded with in the fla file.


Friday, March 25, 2011

MediaPicker in User Control and Umbraco custom section

I have just completed one of the task, where I am using Umbraco 4.0.* version CMS.
This task involved developing an user control which will be housed in an custom section and this user control should have option of selecting an image from umbraco server.

I looked at around as to how i can incorporate mediapicker control in my custom user control. I tried using the method suggested in this link, but this control doesnt provide any property which can identify the media file, that was selected.

But this posting, which has a post posted by Jeroen solved my issue. This solution utilizes Mediachooser which has a value property, which gets/sets the media file id.

The solution involves, adding the mediachooser to the placeholder onInit event of the control.

When the user control is submitted for saving, on the post-back, the mediachooser.value contains the value of the media file id.

The following statements will fetch the url for a mediachooser with image selected.

var mediaItem = umbraco.cms.businesslogic.media.Media(Convert.ToInt32(mediaChooserControl.Value))
imageurl = mediaItem.getProperty("umbracoFile").Value.ToString();




XMLUtil class in Adobe Flash CS5 and error 1061

Recently I tried to compile older CS4 project with Flash CS5 but was getting error 1061 error.

I looked on the net and found this useful posting which pointed that the error is because of conflict of two XMLUtil classes eventhough both have different namespaces.

When i removed the $(AppConfig)/ActionScript 3.0/libs/ directory within ActionScript export settings, everything seem fine, as it compiled without any errors.

Thanks to deRaab, for this post..

It really saved a lot of time for me..

Facebook Graph API :Authenticating in IFrame Applications

I found this article interesting and useful... for authenticating the IFrame Applications and using Facebook Graph API.

Facebook API for Dot net

This link contains the latest facebook api for dot net...