问题
Is it possible to create a webbrowser inside a Flex (not AIR!) application? I want to display some links in a Flex application and when a user clicks the links, it should open a custom component with some sort of a webbrowsing component. Is it possible?
回答1:
Check this out:
http://www.deitte.com/archives/2006/08/finally_updated.htm has a great example
if that doesn't work for you, look at this: http://code.google.com/p/flex-iframe/
回答2:
Short answer - no. There are some simple html rendering capabilities built-in but that's probably not what you're looking for.
Long answer - it's possible inside browser, eg. using IFrame, or using AIR, which has a built in broswer. If having an exe file and not an AIR file is a problem, AIR 2.0 allows you to create native application installers. Check it at Adobe labs.
来源:https://stackoverflow.com/questions/1879808/create-a-webbrowser-in-flex