Skip to main content
AshokSuccess
Inspiring
April 14, 2008
Question

How to request a URL from Flash

  • April 14, 2008
  • 1 reply
  • 556 views
I am trying to develope one application in Flash where user will be able to request a URL using a "Input Text" Box. This seems to be easy but the thing is the response should display inside Flash object.

Let say if I request a URL called www.cnn.com then, Is it possible to display the CNN.COM inside the Flash object itself.Please let me know what are the possibilities available.

Thanks in advance!
This topic has been closed for replies.

1 reply

Inspiring
April 14, 2008
No... Flash can display a limited set of HTML within text fields but you
can't render a full web site. Look in Help for the htmlText property of
fields, to see what you can do.

--
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/


AshokSuccess
Inspiring
April 15, 2008
Thanks for reply!

Do we have any solution to like "Web Component" kind of thing like the other languages have e.g.: java, which we can use to display the web page.

Again thanks in advance!
Inspiring
April 15, 2008
In short, no. There are some components which extend the supported html in flash, I think one is called flaml of flashml or something which gives you support for tables for example...it's at osflash.org... but there's nothing that I know of that provides full browser compatibility. Even if you could have a browser component for regular flash you would only be able to load the original html from sites that grant you permission to do so via crossdomain.xml. So, if CNN.com doesn't do that...then you couldn't load its pages' html data.


It's a little different in Adobe AIR though. I've not tried it but I believe you have capability for an embedded browser. But that's only with AIR, which is as3 and is an installed application not a web page with embedded flash.