Hi, 
   In my flex module, I'm loading a html in flex iframe component. The user
may click a link in the html to load another html within the same iframe. 

  How to determine when the iframe is loaded with the new html content?
Right now, I'm using *frameLoad* event and in the handler function, I'm
having an idea to analyze the content of the loaded html by using the iframe
object's *content* property.

  But, While the handler function is called upon the *frameLoad* event, the
iframe's content property is always gives 'null'. From the loaded html, I
need to get the title tag value and set it as the title of the flex module.

  Kindly, Please share your views.

<iframe:IFrame id="frame" 
                                                         left="0" right="0" 
top="0" bottom="0"
                                                         overlayDetection="true"
                                                         
frameLoad="frameLoadHandler(event)">
                </iframe:IFrame>

protected function monitorIframe_frameLoadHandler(event:Event):void {
                                trace(frame.content); // always gives null
                   }



  



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/How-to-get-the-content-of-the-html-while-the-flex-iframe-is-loaded-with-html-file-tp9009.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to