base  communication between js and flash  test