--- In flexcoders@yahoogroups.com, "alex_harui" <aha...@...> wrote: > > --- In flexcoders@yahoogroups.com, "rob_mcmichael" <rob_mcmichael@> wrote: > > > > Hi all, > > > > I was wondering if someone could advise me on the best way to get HTML > > content working in a sub application. > > > > My sub application is loaded into a separate security and application > > sandbox in AIR. However All communication needed by the sub application > > goes via the parent application, via shared events. > > > > However I want to render htmlText in a textbox (I just want to render an > > RSS article so let me know if there is a better way), but as this html has > > images (that are loaded in) I get a RTE because of the security violation. > > > > On a side note, what is the best way to add CSS (as in HTML CSS) to this > > HTML, so I can style how paragraphs and links are displayed. > > > > Thanks in advance > > > > Rob > > > > Try having the main AIR app create the HTML content and hand the > displayobject back to the subapp. Sort of a Factory thing. >
Good idea, I though of doing this with a Bitmap, but then links wouldn't work. I expect there may be some problems casting it back to a view object once it's been through the shared event dispatcher... where all objects get amnesia ;)