Random walk ,Flex Automation – custom component, replay error
September 9, 2009 at 7:43 am Leave a comment
Flex Automation tips , continues…
The custom component automation sample for Flex Automation ‘Random Walk’ was made available during Flex2 times. Using this component with Flex3 sdk and automation cause the following error during the replay of the events.
override public function createAutomationIDPart(child:IAutomationObject):Object
{
var help:IAutomationObjectHelper = Automation.automationObjectHelper;
return help.helpCreateIDPart(walker, child);
}
override public function resolveAutomationIDPart(part:Object):Array
{
var help:IAutomationObjectHelper = Automation.automationObjectHelper;
return help.helpResolveIDPart(walker, part as AutomationIDPart);
}
Note the change of the first paramter from this to walker. Source of the random walk project can be found at http://www.adobe.com/devnet/flex/samples/randomwalk/
Refer my post regarding custom components to know about it more
Entry filed under: Flex Automation. Tags: .
Trackback this post | Subscribe to the comments via RSS Feed