Hi All,
I am facing one problem, i want to display some html contents in my
flex application. I tried that using iframe but its not working (If u
click out side that iframe, then it will hide iframe).
I want to do this with out using (AIR). I searched this on internet
but i didn't get any solution for that.
So if anybody knows how to solve this plz send help me.
Thanx in advance ......
Regards,
Pradip jadhav
Views
Replies
Total Likes
In AIR you don't need to use iFrame you can use mx:HTML to load HTML
content.
Sincerely,
Michael
El 13/05/2009, a las 8:41, pradipjadhav <forums@adobe.com> escribió:
>
Hi All,
>
I am facing one problem, i want to display some html contents in my
flex application. I tried that using iframe but its not working (If u
click out side that iframe, then it will hide iframe).
>
I want to do this with out using (AIR). I searched this on internet
but i didn't get any solution for that.
>
So if anybody knows how to solve this plz send help me.
>
Thanx in advance ......
>
Regards,
Pradip jadhav
>
Views
Replies
Total Likes
If not in AIR, the navigateToURL() is about your only choice. Pass in _self to open in the current browser window, _blank to open in new browser window. I heard you can open in frames as well, but I've never done that.
<?xml version="1.0"?>
<!-- controls\bar\LBarSimple.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:LinkBar borderStyle="solid"
itemClick="navigateToURL(new URLRequest('http://www.adobe.com/' +
String(event.label).toLowerCase()), '_blank');">
<mx:dataProvider>
<mx:String>Flash</mx:String>
<mx:String>Director</mx:String>
<mx:String>Dreamweaver</mx:String>
<mx:String>ColdFusion</mx:String>
</mx:dataProvider>
</mx:LinkBar>
</mx:Application>
If this post answers your question or helps, please mark it as such.
Views
Replies
Total Likes
Hi Thanx for reply............
See what i have to do.............!
I have one popup window and in that popup i want to use I-drop.............
I made one jsp file for i-drop. Now i want to use that i-drop object in that popup window through that jsp file.
I really got stuck since last week.
If u have any alternative solution plz help me for this.
Thanx in advance.....
Regards,
Pradip Jadhav
Views
Replies
Total Likes
Hi thanx for reply..
I dont want to use AIR bcoz. My application is web based application.
I tried using htmlloader but it gives me complile time error. Htmlloader supports AIR only.
If u have any ideas plz tell me its very urgent for me.
Thanx in advance.....
Regards,
Pradip Jadhav
Views
Replies
Total Likes
What do you mean by "I want to display some html contents"? Are you talking about displaying arbitrary web pages, including executing their Javascript? If so, your only options are AIR or a browser window or frame.
Or are you talking about rendering simple HTML markup like "<b>Hello</b> World"? If so, the htmlText property on many Flex components can do this, but the subset of HTML that is supported is very limited.
Flex 4 will use a new Text Layout Framework that can render a larger subset of HTML, but it's still is nowhere near equivalent to a browser or AIR. The WebKit HTML+Javascript engine that AIR uses is something like 20 MB of code, which is far too large for Adobe to put into the regular Flash Player.
Gordon Smith
Adobe Flex SDK Team
Who can I talk to at Adobe about using Flex 4 and rendering a larger set of HTML?
We need this functionality currently, and we are willing to pay Adobe if they already have a solution. Can you contact me?
Views
Replies
Total Likes
To ask questions about the Text Layout Framework, please use the TLF forum at
http://forums.adobe.com/community/opensource/tlf
Have you already looked at the HTML capabilities in TLF and determined that they aren't sufficient for your needs? If you, you should voice you opinion on the forum that better HTML support should be high-priority feature for the next release. Something as basic as HTML support will probably continue to be opensource rather than something you would have to pay for.
Gordon Smith
Adobe Flex SDK Team
Views
Replies
Total Likes