Thanks all for you response! smacdonald2008,The code that I had shared was nothing but Adobe provides as part of their online training course and it is supposed to work as it is.Should this be looked into then for completeness of the training material?Cheers!