Hello!!
I'm developing application hosting WebBrowser Control.
When I navigate the WebSite that has flash contents, I want to retrieve the
coordinates
of bottons in the flash contents.
( ex. url : [url]http://www.yohjiyamamoto.co.jp/top.html[/url] )

Question1.
In the source of ex url, HTML tag <OBJECT> show the flash contents .
so I can get the IHTMLObjectElement interface and get IShockwaveFlash
interface like codes below,
then I want to retrieve the coordinates of buttons.
Please advice me how to retrieve them using IShockwaveFlash interface.
Or are there any other ways to get them ?

****** Code *****
/* pElem : IHTMLElement of <Object> Tag */

static CLSID const clsid = { 0xD27CDB6C, 0xAE6D, 0x11CF, { 0x96, 0xB8, 0x44,
0x45, 0x53, 0x54, 0x0, 0x0 } } ;
CComBSTR bsTag, bsMov, bsScale;
CString csTag;
pElem->get_tagName(&bsTag);
csTag = bsTag ;

CComPtr<Flash::IShockwaveFlash> pSwf;
CComPtr<IUnknown> pUnk;
long lfrmNum;
if( SUCCEEDED(csTag.Find(_T("OBJECT"))) ){
CComPtr<IHTMLObjectElement> pObj;
CComPtr<IDispatch> pObjDsp;
pElem->QueryInterface(IID_IHTMLObjectElement, (void**)&pObj );
pObj->get_object(&pObjDsp);
hr = pObjDsp->QueryInterface(clsid, (void**)&pSwf );
}

Question2.
After Navigating ex url using Internet Explorer, push the tab key, the
button in the flash contents is sorrounded by the yellow rectangle box. I
understand this means sorrounded botton is focused.
After retrieving the coordinates in Question 1, I want to move focus ( yellow
rectangle box ) according to the key : up, down, left, right .
When I push up key, focus move nearest upper button .
So I want to know how to move yellow rectangle. Pls advice me how to focus on
specified button.