Hi All, I want to see my local machine image in AIR html component. Anyone please correct where i did the mistake in the code:
<?xml version="1.0" encoding="utf-8"?> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ private function init():void{ var htmlString:String = "<html><body>Hello World" + '<img src="file:///C:/Documents and Settings/parts.png" width="123" height="123" /> '+ "</body></html>"; html.htmlText = htmlString; //html.location = " http://flash-ripper.com/tests/air/3d/0.4/google-3d-maps-adobe-air-pv3d-flex.jpg"; ///this is working //html.location ="file:///C:/Documents and Settings/Blue hills.jpg"; ///this is working } ]]> </mx:Script> <mx:HTML creationComplete="init()" id="html" height="100%" width="100%" /> </mx:WindowedApplication> Thanks, Dinesh -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

