Hi everybody, I solved the problem, this is how I done it, I used a flash file and a
jsp just to simulate it.
sample1.jsp--------------this includes the actual flash file.
sample2.jsp----------------this jsp prints the request parameters
sample.swf-----------------actionscript code
In the flash file I have created a button component on frame 1 and gave it an instance "btn". The actionscript code also goes on the frame 1.
Thank you guys