You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Mathieu St-Gelais <ma...@gmail.com> on 2013/09/09 16:32:11 UTC

Displaying HTML content in AIR

Hello people

I have searched through the newsgroup, and wasn't able to find any answer
to my question: how can I show "complex" HTML content in a mobile AIR
application (deployed on iOS and Android)?

I have found this discussion, but that's about it :
http://mail-archives.apache.org/mod_mbox/flex-users/201303.mbox/%3C514CA39AFABE5B4390A46E6B07726AAF0268BB7097@EXVS08.hosting.tg.local%3E

My client wants to be able to show ads in his application, and these ads
will most likely be HTML/CSS.

Thanks for your time and help.

Mat

Re: Displaying HTML content in AIR

Posted by Mathieu St-Gelais <ma...@gmail.com>.
By "complex", I mean more than only basic HTML tags, which could be set in
a standard label... My client thinks he might have to display, for example,
an HTML div with CSS styling. As Saul just said, the mx:HTML component is
not available in a mobile project.

I'll check the StageWebView, and hope it suits my needs.

Thanks.


On Mon, Sep 9, 2013 at 10:45 AM, Saul Diaz <cr...@gmail.com> wrote:

> That shouldn't work in a mobile project.
>
> Check this out . it may be of help
> http://www.judahfrangipane.com/blog/2011/01/16/stagewebview-uicomponent/
>
> adobe have his own StageWebView component. But is kinda a pain.
>
> regards
>
> -----Original Message-----
> From: Matthew Weir [mailto:mattcommark@yahoo.com]
> Sent: Monday, September 9, 2013 8:38 AM
> To: users@flex.apache.org
> Subject: Re: Displaying HTML content in AIR
>
> I'm not entirely sure what you're meaning by complex... but this was
> working
> in 4.6
>
> <mx:HTML width="100%" height="100%" location="http://flex.apache.org/"/>
>
>
>
>
> ________________________________
>  From: Mathieu St-Gelais <ma...@gmail.com>
> To: users@flex.apache.org
> Sent: Monday, September 9, 2013 10:32 AM
> Subject: Displaying HTML content in AIR
>
>
> Hello people
>
> I have searched through the newsgroup, and wasn't able to find any answer
> to my question: how can I show "complex" HTML content in a mobile AIR
> application (deployed on iOS and Android)?
>
> I have found this discussion, but that's about it :
>
> http://mail-archives.apache.org/mod_mbox/flex-users/201303.mbox/%3C514CA39AF
> ABE5B4390A46E6B07726AAF0268BB7097@EXVS08.hosting.tg.local%3E
>
> My client wants to be able to show ads in his application, and these ads
> will most likely be HTML/CSS.
>
> Thanks for your time and help.
>
> Mat
>
>

RE: Displaying HTML content in AIR

Posted by Saul Diaz <cr...@gmail.com>.
That shouldn't work in a mobile project.

Check this out . it may be of help
http://www.judahfrangipane.com/blog/2011/01/16/stagewebview-uicomponent/

adobe have his own StageWebView component. But is kinda a pain.

regards

-----Original Message-----
From: Matthew Weir [mailto:mattcommark@yahoo.com] 
Sent: Monday, September 9, 2013 8:38 AM
To: users@flex.apache.org
Subject: Re: Displaying HTML content in AIR

I'm not entirely sure what you're meaning by complex... but this was working
in 4.6

<mx:HTML width="100%" height="100%" location="http://flex.apache.org/"/>




________________________________
 From: Mathieu St-Gelais <ma...@gmail.com>
To: users@flex.apache.org 
Sent: Monday, September 9, 2013 10:32 AM
Subject: Displaying HTML content in AIR
 

Hello people

I have searched through the newsgroup, and wasn't able to find any answer
to my question: how can I show "complex" HTML content in a mobile AIR
application (deployed on iOS and Android)?

I have found this discussion, but that's about it :
http://mail-archives.apache.org/mod_mbox/flex-users/201303.mbox/%3C514CA39AF
ABE5B4390A46E6B07726AAF0268BB7097@EXVS08.hosting.tg.local%3E

My client wants to be able to show ads in his application, and these ads
will most likely be HTML/CSS.

Thanks for your time and help.

Mat


Re: Displaying HTML content in AIR

Posted by Matthew Weir <ma...@yahoo.com>.
I'm not entirely sure what you're meaning by complex... but this was working in 4.6

<mx:HTML width="100%" height="100%" location="http://flex.apache.org/"/>




________________________________
 From: Mathieu St-Gelais <ma...@gmail.com>
To: users@flex.apache.org 
Sent: Monday, September 9, 2013 10:32 AM
Subject: Displaying HTML content in AIR
 

Hello people

I have searched through the newsgroup, and wasn't able to find any answer
to my question: how can I show "complex" HTML content in a mobile AIR
application (deployed on iOS and Android)?

I have found this discussion, but that's about it :
http://mail-archives.apache.org/mod_mbox/flex-users/201303.mbox/%3C514CA39AFABE5B4390A46E6B07726AAF0268BB7097@EXVS08.hosting.tg.local%3E

My client wants to be able to show ads in his application, and these ads
will most likely be HTML/CSS.

Thanks for your time and help.

Mat

Re: Displaying HTML content in AIR

Posted by Harbs <ha...@gmail.com>.
Little Dropbox tip:

If you add "?dl=1" to the end of a link to a dropbox file, the browser will download it instead of displaying the file contents.

So:
https://dl.dropboxusercontent.com/u/84958/Browser.fxp

Becomes:
https://dl.dropboxusercontent.com/u/84958/Browser.fxp?dl=1

and it downloads properly…

HTH,
Harbs

On Sep 9, 2013, at 10:12 PM, Philip Medlam wrote:

> Hi I have added an FXP project (this is a Flex example) via the link
> 
> I wrote it in FB 4.6
> Air 3.7
> Flex SDK 4.9.1
> 
> Simply allows you to navigate to any website.
> Tested on a Mac using the FB simulator and on an iPad4
> 
> I will leave the FXP available until the end of this month.
> Hope this helps and is the sort of thing you were interested in.
> 
> Phil
> 
> https://dl.dropboxusercontent.com/u/84958/Browser.fxp
> 
> 
> On Mon, Sep 9, 2013 at 5:43 PM, Mathieu St-Gelais <
> mathieu.stgelais@gmail.com> wrote:
> 
>> Hi Phil. Sure, I'd be really interested. This would probably solve all my
>> upcoming problems. Thanks!
>> 
>> Mat
>> 
>> 
>> On Mon, Sep 9, 2013 at 11:47 AM, Phil <ph...@gmail.com> wrote:
>> 
>>> You could use the built-in webkit "component" which can of course, render
>>> most/all html/css functionality.
>>> 
>>> I could send you a small mobile example for using this as a browser if
>>> this would be helpful.
>>> 
>>> Phil
>>> 
>>> Sent from my iPad
>>> 
>>>> On 9 Sep 2013, at 15:32, Mathieu St-Gelais <mathieu.stgelais@gmail.com
>>> 
>>> wrote:
>>>> 
>>>> Hello people
>>>> 
>>>> I have searched through the newsgroup, and wasn't able to find any
>> answer
>>>> to my question: how can I show "complex" HTML content in a mobile AIR
>>>> application (deployed on iOS and Android)?
>>>> 
>>>> I have found this discussion, but that's about it :
>>>> 
>>> 
>> http://mail-archives.apache.org/mod_mbox/flex-users/201303.mbox/%3C514CA39AFABE5B4390A46E6B07726AAF0268BB7097@EXVS08.hosting.tg.local%3E
>>>> 
>>>> My client wants to be able to show ads in his application, and these
>> ads
>>>> will most likely be HTML/CSS.
>>>> 
>>>> Thanks for your time and help.
>>>> 
>>>> Mat
>>> 
>> 
> 
> 
> 
> -- 
> Philip Medlam


Re: Displaying HTML content in AIR

Posted by Philip Medlam <ph...@gmail.com>.
Hi I have added an FXP project (this is a Flex example) via the link

I wrote it in FB 4.6
Air 3.7
Flex SDK 4.9.1

Simply allows you to navigate to any website.
Tested on a Mac using the FB simulator and on an iPad4

I will leave the FXP available until the end of this month.
Hope this helps and is the sort of thing you were interested in.

Phil

https://dl.dropboxusercontent.com/u/84958/Browser.fxp


On Mon, Sep 9, 2013 at 5:43 PM, Mathieu St-Gelais <
mathieu.stgelais@gmail.com> wrote:

> Hi Phil. Sure, I'd be really interested. This would probably solve all my
> upcoming problems. Thanks!
>
> Mat
>
>
> On Mon, Sep 9, 2013 at 11:47 AM, Phil <ph...@gmail.com> wrote:
>
> > You could use the built-in webkit "component" which can of course, render
> > most/all html/css functionality.
> >
> > I could send you a small mobile example for using this as a browser if
> > this would be helpful.
> >
> > Phil
> >
> > Sent from my iPad
> >
> > > On 9 Sep 2013, at 15:32, Mathieu St-Gelais <mathieu.stgelais@gmail.com
> >
> > wrote:
> > >
> > > Hello people
> > >
> > > I have searched through the newsgroup, and wasn't able to find any
> answer
> > > to my question: how can I show "complex" HTML content in a mobile AIR
> > > application (deployed on iOS and Android)?
> > >
> > > I have found this discussion, but that's about it :
> > >
> >
> http://mail-archives.apache.org/mod_mbox/flex-users/201303.mbox/%3C514CA39AFABE5B4390A46E6B07726AAF0268BB7097@EXVS08.hosting.tg.local%3E
> > >
> > > My client wants to be able to show ads in his application, and these
> ads
> > > will most likely be HTML/CSS.
> > >
> > > Thanks for your time and help.
> > >
> > > Mat
> >
>



-- 
Philip Medlam

Re: Displaying HTML content in AIR

Posted by Mathieu St-Gelais <ma...@gmail.com>.
Hi Phil. Sure, I'd be really interested. This would probably solve all my
upcoming problems. Thanks!

Mat


On Mon, Sep 9, 2013 at 11:47 AM, Phil <ph...@gmail.com> wrote:

> You could use the built-in webkit "component" which can of course, render
> most/all html/css functionality.
>
> I could send you a small mobile example for using this as a browser if
> this would be helpful.
>
> Phil
>
> Sent from my iPad
>
> > On 9 Sep 2013, at 15:32, Mathieu St-Gelais <ma...@gmail.com>
> wrote:
> >
> > Hello people
> >
> > I have searched through the newsgroup, and wasn't able to find any answer
> > to my question: how can I show "complex" HTML content in a mobile AIR
> > application (deployed on iOS and Android)?
> >
> > I have found this discussion, but that's about it :
> >
> http://mail-archives.apache.org/mod_mbox/flex-users/201303.mbox/%3C514CA39AFABE5B4390A46E6B07726AAF0268BB7097@EXVS08.hosting.tg.local%3E
> >
> > My client wants to be able to show ads in his application, and these ads
> > will most likely be HTML/CSS.
> >
> > Thanks for your time and help.
> >
> > Mat
>

Re: Displaying HTML content in AIR

Posted by Phil <ph...@gmail.com>.
You could use the built-in webkit "component" which can of course, render most/all html/css functionality.

I could send you a small mobile example for using this as a browser if this would be helpful.

Phil

Sent from my iPad

> On 9 Sep 2013, at 15:32, Mathieu St-Gelais <ma...@gmail.com> wrote:
> 
> Hello people
> 
> I have searched through the newsgroup, and wasn't able to find any answer
> to my question: how can I show "complex" HTML content in a mobile AIR
> application (deployed on iOS and Android)?
> 
> I have found this discussion, but that's about it :
> http://mail-archives.apache.org/mod_mbox/flex-users/201303.mbox/%3C514CA39AFABE5B4390A46E6B07726AAF0268BB7097@EXVS08.hosting.tg.local%3E
> 
> My client wants to be able to show ads in his application, and these ads
> will most likely be HTML/CSS.
> 
> Thanks for your time and help.
> 
> Mat