Meet the Guru Courses

  • Flex 3 Meet the Guru Course with Marco Casario

My Books

  • Follow me on Twitter

Comtaste's Projects

  • Flex Solutions: Essential Tecniques for Flex 3 Developers - The Site
  • Comtaste, Flex 3, AIR and Java consulting
  • YouThru Multimedia Web Messaging
  • MobyMobile
  • UserMatter(s) Magazine
My Photo

Subscribe my blog

  • Get this widget from Widgetbox
  • Add to Google
  • RSS FEEDS
  • Enter your Email here to subscribe :



    Powered by FeedBlitz

« Sharing data between Flex and Flash Lite | Main | Load HTML pages and apply Actionscript effects into Apollo applications »

Apollo Lessons #1: how to add HTML to Apollo applications

Today at the Leveraging HTML, Javascript and AJAX in Apollo applications session, we learned how to embed HTML code into Apollo and how to launch an URL.
So I want to share what I've learned on my blog :

private var htmlObj:HTMLControl = new flash.html.HTMLControl();
html.width = 100;
html.height = 100;
html.loadFromURLRequest(new flash.net.URLRequest(
http://casario.blogs.com);

Simple as the beer !
They told that HTMLControl class is like an IFRAME but it's hosted by Flash content.
The HTML content will be rendered as root content in a window with no browser chrome !

Cooool !
Stay tuned, I've more lessons to publish ;)

Comments

MAn that looks cool like its going to be cool. Did you catch if the actionscript can control elements withing the html?

Wish the same was as easy in non-Apollo Flex apps, if only for better handling of editable text.

>> MAn that looks cool like its going to be >>cool. Did you catch if the actionscript >>can control elements withing the html?

See my next post :)

Neat thaat we can load it as root.

Hello

Post a comment

If you have a TypeKey or TypePad account, please Sign In

Pistach.io

Speaker at

Upcoming Conferences

  • FITC200x200.jpg
  • AJAXWorld
  • CFUnited
  • SOA World Conference
  • iPhone Summit
  • 360Flex Europe

WebDeveloper's Journal Author

  • My favourite Flash Lite 3 mobile phone
  • Web Developer's & Designer's Journal by Sys Con Media
  • Web Developer's & Designer's Journal Blogger
    Web Developer's & Designer's Journal by Sys Con Media
  • FullAsGoog Aggregator
  • Macromedia WebLogs Aggregator

July 2008

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31