Adobe FABridge error

Trying to communicate with Flex application from javascript tried using FABridge, everything fine with Action script side include FAB ro src build folder, added bride in mxml. In Js side imported FABridge.Js and initialised FAB root also. Still throwing javascript object error, wondering why? Some with FABridge samples came with the SDK 3.0. Its working fine with live adobe FAB samples not working when downloaded. Got struck in this issue