Sending param using FlashVars

Hi,
I want to send parameters from my HTML file to Flash file using the FlashVars tag. I used the following procedure but it isnt working -

In Flash file -
var actionId:String = root.loaderInfo.parameters.actionId;

In html file -

[SIZE=2][COLOR=#008080][SIZE=2][COLOR=#008080]<[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#3f7f7f][SIZE=2][COLOR=#3f7f7f]object[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] … [/SIZE][SIZE=2][COLOR=#008080][SIZE=2][COLOR=#008080]>[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#008080][LEFT]
[/COLOR][/SIZE][SIZE=2][COLOR=#008080]
[LEFT][/COLOR][/SIZE][SIZE=2][COLOR=#008080][SIZE=2][COLOR=#008080]<[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#3f7f7f][SIZE=2][COLOR=#3f7f7f]param [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#7f007f][SIZE=2][COLOR=#7f007f]name[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]=[/SIZE][SIZE=2][COLOR=#2a00ff][SIZE=2][COLOR=#2a00ff]“FlashVars” [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#7f007f][SIZE=2][COLOR=#7f007f]value[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]=[/SIZE][SIZE=2][COLOR=#2a00ff][SIZE=2][COLOR=#2a00ff]“actionId=11”[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#008080][SIZE=2][COLOR=#008080]/>[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#008080]
[/COLOR][/SIZE][SIZE=2][COLOR=#008080][SIZE=2][COLOR=#008080]…[/COLOR][/SIZE][/COLOR][/SIZE]
[SIZE=2][COLOR=#008080][SIZE=2][COLOR=#008080]<[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#3f7f7f][SIZE=2][COLOR=#3f7f7f]embed [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#7f007f][SIZE=2][COLOR=#7f007f]src[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]=[/SIZE][SIZE=2][COLOR=#2a00ff][SIZE=2][COLOR=#2a00ff]“widget.swf” FlashVars[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]=[/SIZE][SIZE=2][COLOR=#2a00ff][SIZE=2][COLOR=#2a00ff]“actionId=11” … [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#008080][SIZE=2][COLOR=#008080]/>[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#008080][/LEFT]
[/COLOR][/SIZE][SIZE=2][COLOR=#008080][SIZE=2][COLOR=#008080]</[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#3f7f7f][SIZE=2][COLOR=#3f7f7f]object[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#008080][SIZE=2][COLOR=#008080]>[/COLOR][/SIZE][/COLOR][/SIZE]

[SIZE=2][COLOR=#008080][SIZE=2][COLOR=#008080]and also added [SIZE=2][COLOR=#2a00ff]
[SIZE=2][COLOR=#008080]‘FlashVars’[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#000000],[/COLOR][/SIZE][SIZE=2][COLOR=#2a00ff][SIZE=2][COLOR=#2a00ff]‘actionId=11’[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#000000],[/COLOR][/SIZE]
[SIZE=2][COLOR=#000000]in Javascript as : [/COLOR][/SIZE]
[SIZE=2][COLOR=#000000]… [/COLOR]
[SIZE=2][COLOR=#000000]AC_FL_RunContent( … , [/COLOR][/SIZE]
[SIZE=2][COLOR=#000000]‘FlashVars’[SIZE=2][COLOR=#000000],[/COLOR][/SIZE][SIZE=2][COLOR=#2a00ff][SIZE=2][COLOR=#2a00ff]‘actionId=11’[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#000000],[/COLOR][/SIZE]
… )

NULL value is being passed instead of actionId as 11. What could be the issue here ? Please help.
Thanks in advance,
MG
[/COLOR][/SIZE][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE]
[/LEFT]