Re: FlexJS tying into HTML

2016-09-27 Thread Lane
Thanks for the response.

I recall increasing difficulties working with html text in a TextArea when 
transitioning from Web to Mobile development. It wasn't always stable, even 
with very small files. I couldn't imagine that things would suddenly become 
easy again in a 0.7.0 beta which in essence is not only Web but also Mobile 
(because it runs in the browser of mobile devices).

The html property in the Text Area has all the functionality that I require. 
This is going to be a lot of fun.

Lane. 


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: FlexJS : Dispatching event from ItemRenderer

2016-09-27 Thread Peter Ent
I'm converting the example to ArrayList and remembered that I forgot to
tell you an important thing.

The List default beads (specified in the defaults.css of the HTML project)
all work with Array. When you want to switch to ArrayList you need a new
set of beads. Not only do you need to change the
DataItemRendererFactoryForArrayData to
DataItemRendererFactoryForArrayList, you also need to give the List a new
model:



   


   



Unfortunately, I forgot to include that model in the manifest for the HTML
project. I have checked that in, so you will need a new nightly build. My
apologies for not catching that sooner.

Don't forget that everything in the data model has to be ArrayList, too.
That¹s in TodoListSample/src/sample/todo/models/TodoListModel.as

‹peter

On 9/26/16, 3:18 PM, "PKumar"  wrote:

>Thanks for details Peter, I  took the reference of same example which you
>have described here. I tried with  ArrayList factory class but getting the
>run time exception, so I used the bubbling and it is working ok in flash
>side but not working in JS sdie.
>
>factory approach is fine for me but it should work without any exception.
>I
>will  generate the exception and will post here soon. So that i can get
>yours suggestion on it.
>
>
>
>-
>Regards,
>Prashant
>--
>View this message in context:
>http://apache-flex-users.246.n4.nabble.com/FlexJS-Dispatching-event-fr
>om-ItemRenderer-tp13612p13638.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.



Re: FlexJS tying into HTML

2016-09-27 Thread Alex Harui
There is also a MultilineLabel component that should do roughly what
mx:Text did.  TextArea is really intended for editing multi-line text.
The basic FlexJS component set should support an "html" property wherever
there is a "text" property so even button labels can be "rich".

We still need volunteers to build out equivalents for other higher-level
HTML controls like Table and the new HTML5 widgets.

Thanks,
-Alex

On 9/27/16, 6:29 AM, "Peter Ent"  wrote:

>We do have a  and it does have an html property. I honestly
>haven't used it in a long time. But give it a try and let us know how well
>it does the job you want.
>
>If you isn't doing what you want, reply to this email thread and we can
>offer some pointers. It might be to file a bug, give you some better
>directions, or it might be to encourage you to extend the component and
>contribute your changes back. Try it and lets see what happens.
>
>Peter Ent
>Adobe Systems/Apache Flex Project
>
>On 9/27/16, 7:15 AM, "Lane"  wrote:
>
>>I'm really enjoying FlexJS. I can't believe that I'm using MXML and it's
>>working directly on a browser. Finally, a way to build a
>>platform-agnostic
>>Rich Internet Application that can't be stopped by anyone!
>>
>>One question: How does one bring up the functional equivalent to an
>>ActionScript MXML TextArea that can handle html? Now that one is
>>accessing 
>>javascript within a browser, is it possible in some way to tie into the
>>browser? Just the simple things - bold, italics, centered headings,
>>embedded 
>>images that move with the text. Is it possible to instantiate (using
>>ActionScript) some explanatory html-formatted text with a few small
>>embedded 
>>images when the user presses a button.
>>
>>There are tutorials at http://nextgenactionscript.com/tutorials/ but they
>>don't seem to have what I need (or perhaps I don't recognize it when I'm
>>staring at it).
>>
>>The ideal would be to embed the formatted text into the application so
>>that 
>>it looks like a TextArea. Failing that, I suppose a popup from the
>>browser 
>>might work (if ActionScript can generate it and communicate with it). I'm
>>not sure how a mobile device would handle that, or if users would like
>>it.
>>
>>Any ideas would be appreciated.
>>
>>Lane. 
>>
>>
>>---
>>This email has been checked for viruses by Avast antivirus software.
>>https://www.avast.com/antivirus
>>
>



Re: iOS7 skins

2016-09-27 Thread Lydecker
Don't get me wrong - I'm using 4.15 for EVERY other project I have on the go.
It's just 1 that when I tried to migrate - too much went wrong (with skins
etc) and I need to allocate a sizable chunk of time to migrate over (which
at the moment I can't afford to do)

Thanks for your help Olaf.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/iOS7-skins-tp13507p13640.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS : Dispatching event from ItemRenderer

2016-09-27 Thread Peter Ent
I will look it as soon as I can (traveling today but will check later in
the day).

‹peter

On 9/26/16, 3:18 PM, "PKumar"  wrote:

>Thanks for details Peter, I  took the reference of same example which you
>have described here. I tried with  ArrayList factory class but getting the
>run time exception, so I used the bubbling and it is working ok in flash
>side but not working in JS sdie.
>
>factory approach is fine for me but it should work without any exception.
>I
>will  generate the exception and will post here soon. So that i can get
>yours suggestion on it.
>
>
>
>-
>Regards,
>Prashant
>--
>View this message in context:
>http://apache-flex-users.246.n4.nabble.com/FlexJS-Dispatching-event-fr
>om-ItemRenderer-tp13612p13638.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.



Re: FlexJS tying into HTML

2016-09-27 Thread Peter Ent
We do have a  and it does have an html property. I honestly
haven't used it in a long time. But give it a try and let us know how well
it does the job you want.

If you isn't doing what you want, reply to this email thread and we can
offer some pointers. It might be to file a bug, give you some better
directions, or it might be to encourage you to extend the component and
contribute your changes back. Try it and lets see what happens.

Peter Ent
Adobe Systems/Apache Flex Project

On 9/27/16, 7:15 AM, "Lane"  wrote:

>I'm really enjoying FlexJS. I can't believe that I'm using MXML and it's
>working directly on a browser. Finally, a way to build a
>platform-agnostic 
>Rich Internet Application that can't be stopped by anyone!
>
>One question: How does one bring up the functional equivalent to an
>ActionScript MXML TextArea that can handle html? Now that one is
>accessing 
>javascript within a browser, is it possible in some way to tie into the
>browser? Just the simple things - bold, italics, centered headings,
>embedded 
>images that move with the text. Is it possible to instantiate (using
>ActionScript) some explanatory html-formatted text with a few small
>embedded 
>images when the user presses a button.
>
>There are tutorials at http://nextgenactionscript.com/tutorials/ but they
>don't seem to have what I need (or perhaps I don't recognize it when I'm
>staring at it).
>
>The ideal would be to embed the formatted text into the application so
>that 
>it looks like a TextArea. Failing that, I suppose a popup from the
>browser 
>might work (if ActionScript can generate it and communicate with it). I'm
>not sure how a mobile device would handle that, or if users would like it.
>
>Any ideas would be appreciated.
>
>Lane. 
>
>
>---
>This email has been checked for viruses by Avast antivirus software.
>https://www.avast.com/antivirus
>



FlexJS tying into HTML

2016-09-27 Thread Lane
I'm really enjoying FlexJS. I can't believe that I'm using MXML and it's 
working directly on a browser. Finally, a way to build a platform-agnostic 
Rich Internet Application that can't be stopped by anyone!

One question: How does one bring up the functional equivalent to an 
ActionScript MXML TextArea that can handle html? Now that one is accessing 
javascript within a browser, is it possible in some way to tie into the 
browser? Just the simple things - bold, italics, centered headings, embedded 
images that move with the text. Is it possible to instantiate (using 
ActionScript) some explanatory html-formatted text with a few small embedded 
images when the user presses a button.

There are tutorials at http://nextgenactionscript.com/tutorials/ but they 
don't seem to have what I need (or perhaps I don't recognize it when I'm 
staring at it).

The ideal would be to embed the formatted text into the application so that 
it looks like a TextArea. Failing that, I suppose a popup from the browser 
might work (if ActionScript can generate it and communicate with it). I'm 
not sure how a mobile device would handle that, or if users would like it.

Any ideas would be appreciated.

Lane. 


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: iOS7 skins

2016-09-27 Thread OK
Great that it works now!

>but am not in a position compile the project with 4.15
I notice that folks sometimes stick with old versions, especially last Adobe
versions.
What is the reason to stick with it? I thought that most of the time an
update to the latest Apache version could be done with a passable effort?

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/iOS7-skins-tp13507p13639.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.