you can use the flex-ajax bridge to do this http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge
On Nov 13, 2007 2:08 PM, s_tibrewal <[EMAIL PROTECTED]> wrote: > Hello Folks, > > Having heard a lot about it I am just trying out using Flex/Flash on a > web app and have run into a problem. > > I am playing a video in Flash and when I click an html button > (GetElapsedTime) on different part of the page, outside of Flash > window, I want to go to Flash playing the video and find out the > elapsed time of video played. So if I have played 3 minutes and 59 > seconds of video I want to get that. > > I have browsed around the Flex tutorials and newsgroups, looked in > ActionScript but from what I understand all those actions are for > events going out of Flex - apologies if I am mixing up the terminology > between Flex and Flash here. I can't find a way to connect to the > flash player and get the elapsed time. Perhaps I am not looking at it > the right way. > > It sounds like when I click the button GetElapsedTime it has to fire > some JavaScript that should somehow connect to the Flash player and > extract the elapsed time out of it. Any thoughts on how to do that > will be helpful. > > TIA, > Sanjay. > > >

