Does it work in Flex?

31 views
Skip to first unread message

Vijay Shanker

unread,
Jan 28, 2011, 7:32:53 AM1/28/11
to htmlwrapper
There is no example or sample code for HTMLWrapper/ASTRID that works
with Flex. I don't think this works with Flex. Please explain.

Tyler Larson

unread,
Jan 28, 2011, 9:30:55 AM1/28/11
to htmlw...@googlegroups.com
I have just pushed a simple Flex example of rendering HTML into a UIContainer using ASTRID's HTMLWrapper.
This is only using the HTMLRenderer and not the whole ASTRID MVC.
I will try to write up a tutorial but this will take time.
Thank you all for hounding me about the Flex demo it's good to know people are looking at this work.
Let me know if there is anything else that I can answer or help with.
-Tyler

Vijay Shanker

unread,
Jan 29, 2011, 2:40:38 AM1/29/11
to htmlwrapper
Thanks a lot, Tyler. It's nice work. I appreciate it. I was checking
your component to know if it can replace the iFrame component to
render 3rd party web site content. Like Yahoo News, Google News, any
news story rendered into Flash. The component could not render any of
these sites. I understand you have mentioned that we can't render
sites that have javascript. Let me know if there any way we can
achieve this. Thanks a lot again.

On Jan 28, 7:30 pm, Tyler Larson <tallty...@gmail.com> wrote:
> I have just pushed a simple Flex example of rendering HTML into a UIContainer using ASTRID's HTMLWrapper.
> Here is the url,https://github.com/talltyler/ASTRID/tree/master/examples/FlexDemo

Tyler Larson

unread,
Jan 29, 2011, 10:43:50 AM1/29/11
to htmlw...@googlegroups.com

Because web browsers are so different from one another sites like these use complicated hacks to enable them to do tricky things. The end result is richer for the user but far more complicated to replicate.

When developing in ActionScript there are many great concepts that HTML and CSS can provide that are not present in the base language. This library is trying to bridge this gap. I'm not trying to render any site on the internet. There is no built in way to create dynamic layouts or styles, everything is normally compiled in and custom code is needed to do basic changes to these pages. HTML and CSS have many important features built in like hovers for rollovers or loading of images and rules for percentage based flexible layouts. These things are easy in my library and useful for the views of many rich application especially if your HTML content is generated by the server and changing.

Sometimes it MXML can do the job but when you need your views to be loaded dynamically MXML can't do it and you need something else. This is why this library was made.

-Tyler

> --
> You received this message because you are subscribed to the Google Groups "htmlwrapper" group.
> To post to this group, send email to htmlw...@googlegroups.com.
> To unsubscribe from this group, send email to htmlwrapper...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/htmlwrapper?hl=en.
>

Vijay Shanker

unread,
Jan 29, 2011, 1:24:12 PM1/29/11
to htmlwrapper
Well said. I am with you. I understand. I am sure I will come around
to use your library for some other purpose soon. It's a lot of effort
and great enhancements to ActionScript. Keep it up. Thanks, Tyler.
Reply all
Reply to author
Forward
0 new messages