Re: [Try-it-now app] Progress thread

2017-11-27 Thread Erik de Bruin
> > I'll point a subdomain of the royalesdk.org domain to it, just because I
> > can ;-)
> >
>
> Please don't.  We don't want a trademarks discussion at this point :-)
>


No fun! No fair!

:-)

EdB



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295 <06%2051952295>
I. www.ixsoftware.nl


Re: [Try-it-now app] Progress thread

2017-11-27 Thread OmPrakash Muppirala
On Mon, Nov 27, 2017 at 3:46 PM, Erik de Bruin  wrote:

> Olaf,
>
> (We need a NodeJS installation with access to the file system).
> >
>
> How about I give you SSH access to a clean instance with Amazon Linux base
> install? Will you be able to take it from there, or would you need me to
> help with installing the server stack? Do you need a database?
>

Yes, I can take care of all that.  I will install whatever is needed to
make this work.


>
> In any case, I'll create the VPC etc. tomorrow, up to the server instance.
> I'll point a subdomain of the royalesdk.org domain to it, just because I
> can ;-)
>

Please don't.  We don't want a trademarks discussion at this point :-)


>
> EdB
>



Regards,
Om


>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295 <06%2051952295>
> I. www.ixsoftware.nl
>


Re: [Try-it-now app] Progress thread

2017-11-27 Thread Erik de Bruin
Olaf,

(We need a NodeJS installation with access to the file system).
>

How about I give you SSH access to a clean instance with Amazon Linux base
install? Will you be able to take it from there, or would you need me to
help with installing the server stack? Do you need a database?

In any case, I'll create the VPC etc. tomorrow, up to the server instance.
I'll point a subdomain of the royalesdk.org domain to it, just because I
can ;-)

EdB



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295 <06%2051952295>
I. www.ixsoftware.nl


Re: [Try-it-now app] Progress thread

2017-11-27 Thread OmPrakash Muppirala
On Mon, Nov 27, 2017 at 2:40 PM, Erik de Bruin  wrote:

> > I believe we committers have some Azure credits with which we can spin up
> > some VMs that can host this.  The last option is for some of us to pay
> and
> > host it somewhere.
> >
>
> I've already offered to host any services the Royale project needs on a
> dedicated AWS VPC, as a donation. I can't donate mega-instances, but I'm
> sure that for now a small or even nano instance will serve us fine until we
> reach world domination ;-)
>

I'll take you up on that :-)
Olaf, if you don't mind, can I start the deployment of the `Try-it-now` app
on Erik's AWS instance?
This way folks can 'try it now' for real and give you feedback.

Thanks,
Om


>
> EdB
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl
>


[Try-it-now app] Progress thread

2017-11-27 Thread Olaf Krueger
Hi,
I started to work on an HTML mockup for the UI as the first draft [1] and I
wonder if we really should embed this app within the webpage or if we rather
should open a new window that contains just the app.
(Without the background image at the top, cause it needs a lot of the screen
size)

I also will start to finish the server side but we should think about on how
to provide the services in parallel.
(We need a NodeJS installation with access to the file system).

@Alex
I remember that you offered to host this stuff on your server?
Is that right?

Or could we go with Apache Infra?

If nothing works I maybe also could provide something... 

Thoughts?
Olaf

[1] https://snag.gy/DQbmwf.jpg



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/


RE: [royale-asjs] branch develop updated: Fixed event dispatching on tba view change

2017-11-27 Thread Idylog - Nicolas Granon
Hi Harbs,

You are right : it is really two different cases.

Why not "viewAdded" (when view is assigned to view manager) and "viewChanged" 
(or selectedViewChanged) ?

(and maybe "viewRemoved" ?)

If a view is added *and* triggers a "active" view change, both events should 
fire.

Hope this helps

Nicolas Granon



> -Message d'origine-
> De : Harbs [mailto:harbs.li...@gmail.com]
> Envoyé : lundi 27 novembre 2017 12:40
> À : dev@royale.apache.org
> Objet : Re: [royale-asjs] branch develop updated: Fixed event
> dispatching on tba view change
> 
> I’m not sure that viewChanged is the best event to be dispatching here.
> 
> It turns out that viewChanged is dispatched in two unrelated cases:
> 1. When the IViewManagerView is assigned to the ViewManagerBase.
> 2. When the current view is set by the IViewManagerView.
> 
> The way it is, it’s currently difficult to differentiate between the
> two cases.
> 
> It feels like the correct event to be dispatching for case 2 is
> “currentViewChanged” or “activeViewChanged” or “selectedViewChanged”.
> 
> Thoughts?
> 
> Harbs
> 
> > On Nov 27, 2017, at 1:17 PM, ha...@apache.org wrote:
> >
> > This is an automated email from the ASF dual-hosted git repository.
> >
> > harbs pushed a commit to branch develop in repository
> > https://gitbox.apache.org/repos/asf/royale-asjs.git
> >
> >
> > The following commit(s) were added to refs/heads/develop by this
> push:
> > new 6711a8d  Fixed event dispatching on tba view change 6711a8d
> is
> > described below
> >
> > commit 6711a8d137ecca2d4dfaa48f1c0689282157df47
> > Author: Harbs 
> > AuthorDate: Mon Nov 27 13:17:42 2017 +0200
> >
> >Fixed event dispatching on tba view change
> >
> >Removed an extra layoutNeeded
> >Dispatch viewChanged
> > ---
> > .../org/apache/royale/mobile/beads/TabbedViewManagerView.as  | 9
> +++--
> > 1 file changed, 7 insertions(+), 2 deletions(-)
> >
> > diff --git
> >
> a/frameworks/projects/Mobile/src/main/royale/org/apache/royale/mobile/
> > beads/TabbedViewManagerView.as
> >
> b/frameworks/projects/Mobile/src/main/royale/org/apache/royale/mobile/
> > beads/TabbedViewManagerView.as
> > index 64c7b80..bef33ee 100644
> > ---
> >
> a/frameworks/projects/Mobile/src/main/royale/org/apache/royale/mobile/
> > beads/TabbedViewManagerView.as
> > +++
> b/frameworks/projects/Mobile/src/main/royale/org/apache/royale/mob
> > +++ ile/beads/TabbedViewManagerView.as
> > @@ -104,6 +104,11 @@ package org.apache.royale.mobile.beads
> >
> > private var _currentView:IViewManagerView;
> >
> > +   /**
> > +* @royaleignorecoercion org.apache.royale.core.UIBase
> > +* @royaleignorecoercion
> org.apache.royale.mobile.IViewManagerView
> > +* @royaleignorecoercion
> org.apache.royale.mobile.IViewManager
> > +*/
> > protected function showViewByIndex(index:int):void
> > {
> > var model:ViewManagerModel =
> _strand.getBeadByType(IBeadModel) as
> > ViewManagerModel; @@ -117,9 +122,8 @@ package
> > org.apache.royale.mobile.beads
> >
> > COMPILE::JS {
> > if (_currentView) {
> > -   
> > UIBase(_currentView).element.style["flex-
> grow"] = "1";
> > +   (_currentView as
> UIBase).element.style["flex-grow"] = "1";
> > }
> > -   getHost().dispatchEvent(new
> Event("layoutNeeded"));
> > }
> > COMPILE::SWF {
> > if (UIBase(_currentView).style == null) { @@ -
> 131,6 +135,7 @@
> > package org.apache.royale.mobile.beads
> >
> > // Now that the view has changed, refresh the layout
> on this component.
> > getHost().dispatchEvent(new Event("layoutNeeded"));
> > +   getHost().dispatchEvent(new Event("viewChanged"));
> > }
> > protected function
> insertCurrentView(view:IViewManagerView):void{
> > getHost().addElementAt(view,(navigationBar ? 1 : 0));
> >
> > --
> > To stop receiving notification emails like this one, please contact
> > ['"comm...@royale.apache.org" '].




Re: [royale-asjs] branch develop updated: Added failing test for MD5

2017-11-27 Thread Harbs
I locally converted MD5Stream to use BinaryData (so it could run in a JS 
environment) instead of ByteArray and I got the wrong results for the MD5 hash.

> On Nov 27, 2017, at 2:01 PM, Piotr Zarzycki  wrote:
> 
> Hi Harbs,
> 
> What do you mean that is doesn't work ? We are using MD5Stream in the
> MD5CompareUtil [1] of the installer and it seems to be working pretty well.
> Do you get some strange results ?
> 
> [1]
> https://github.com/apache/flex-utilities/blob/develop/flex-installer/installer/src/org/apache/flex/packageflexsdk/util/MD5CompareUtil.as
>  
> 
> 
> Thanks, Piotr
> 
> 
> 2017-11-27 12:54 GMT+01:00 Harbs  >:
> 
>> It turns out that MD5 is completely broken.
>> 
>> My theory was that it should migrate from the Flash version and BinaryData
>> should have been a drop-in replacement or ByteArray.
>> 
>> Well, the theory didn’t work out and I spent a long time trying to figure
>> out why it’s broken. It seems to be broken in both Flash and JS runtimes.
>> For kicks, I tried the MD5Stream version as well and that didn’t work
>> either.
>> 
>> I tried various combinations with endians and that did not seem to be like
>> it. I’m pretty stumped.
>> 
>> I did manage to successfully incorporate a JS implementation of MD5 in a
>> Royale class[1] in my project, so I’m personally not stuck on this issue.
>> 
>> Anyone interested in looking at this?
>> 
>> Harbs
>> 
>> [1]https://github.com/blueimp/JavaScript-MD5 
>>  > 
>> JavaScript-MD5>
>>> On Nov 27, 2017, at 1:18 PM, ha...@apache.org  
>>> wrote:
>>> 
>>> This is an automated email from the ASF dual-hosted git repository.
>>> 
>>> harbs pushed a commit to branch develop
>>> in repository https://gitbox.apache.org/repos/asf/royale-asjs.git 
>>> 
>>> 
>>> 
>>> The following commit(s) were added to refs/heads/develop by this push:
>>>new ae6da3c  Added failing test for MD5
>>> ae6da3c is described below
>>> 
>>> commit ae6da3c1bb3f663c641153b7b3b60f6d8a90b54b
>>> Author: Harbs >
>>> AuthorDate: Mon Nov 27 13:18:38 2017 +0200
>>> 
>>>   Added failing test for MD5
>>> ---
>>> .../src/main/royale/flexUnitTests/CoreTester.as|  3 +-
>>> .../{CoreTester.as => core/MD5Test.as} | 50
>> ++
>>> 2 files changed, 33 insertions(+), 20 deletions(-)
>>> 
>>> diff --git 
>>> a/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
>> b/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
>>> index 9af36e3..5ce4e9a 100644
>>> --- a/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
>>> +++ b/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
>>> @@ -27,7 +27,7 @@ package flexUnitTests
>>>public function CoreTester()
>>>{
>>>// for JS, force-link these classes in the output
>>> -var arr:Array = [StrandTesterTest, BinaryDataTesterTest];
>>> +var arr:Array = [StrandTesterTest,
>> BinaryDataTesterTest,MD5Test];
>>>}
>>> 
>>>// in JS, using a class as a type won't include the class in
>>> @@ -39,5 +39,6 @@ package flexUnitTests
>>>// better and allow you to define order.
>>>public var strandTesterTest:StrandTesterTest;
>>>  public var binaryDataTesterTest:BinaryDataTesterTest;
>>> + public var md5Test:MD5Test;
>>>}
>>> }
>>> diff --git 
>>> a/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
>> b/manualtests/UnitTests/src/main/royale/flexUnitTests/core/MD5Test.as
>>> similarity index 52%
>>> copy from manualtests/UnitTests/src/main/royale/flexUnitTests/
>> CoreTester.as
>>> copy to manualtests/UnitTests/src/main/royale/flexUnitTests/
>> core/MD5Test.as
>>> index 9af36e3..20dc46f 100644
>>> --- a/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
>>> +++ b/manualtests/UnitTests/src/main/royale/flexUnitTests/
>> core/MD5Test.as
>>> @@ -16,28 +16,40 @@
>>> //  limitations under the License.
>>> //
>>> 
>> 
>>> -package flexUnitTests
>>> +package flexUnitTests.core
>>> {
>>> - import flexUnitTests.core.*
>>> -
>>> -[Suite]
>>> -[RunWith("org.flexunit.runners.Suite")]
>>> -public class CoreTester
>>> -{
>>> -public function CoreTester()
>>> +import flexunit.framework.Assert;
>>> +
>>> +import org.apache.royale.utils.MD5;
>>> +
>>> +public class MD5Test
>>> +{
>>> +[Before]
>>> +public function setUp():void
>>>{
>>> -// for JS, force-link these 

Re: [royale-asjs] branch develop updated: Added failing test for MD5

2017-11-27 Thread Piotr Zarzycki
Hi Harbs,

What do you mean that is doesn't work ? We are using MD5Stream in the
MD5CompareUtil [1] of the installer and it seems to be working pretty well.
Do you get some strange results ?

[1]
https://github.com/apache/flex-utilities/blob/develop/flex-installer/installer/src/org/apache/flex/packageflexsdk/util/MD5CompareUtil.as

Thanks, Piotr


2017-11-27 12:54 GMT+01:00 Harbs :

> It turns out that MD5 is completely broken.
>
> My theory was that it should migrate from the Flash version and BinaryData
> should have been a drop-in replacement or ByteArray.
>
> Well, the theory didn’t work out and I spent a long time trying to figure
> out why it’s broken. It seems to be broken in both Flash and JS runtimes.
> For kicks, I tried the MD5Stream version as well and that didn’t work
> either.
>
> I tried various combinations with endians and that did not seem to be like
> it. I’m pretty stumped.
>
> I did manage to successfully incorporate a JS implementation of MD5 in a
> Royale class[1] in my project, so I’m personally not stuck on this issue.
>
> Anyone interested in looking at this?
>
> Harbs
>
> [1]https://github.com/blueimp/JavaScript-MD5  JavaScript-MD5>
> > On Nov 27, 2017, at 1:18 PM, ha...@apache.org wrote:
> >
> > This is an automated email from the ASF dual-hosted git repository.
> >
> > harbs pushed a commit to branch develop
> > in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
> >
> >
> > The following commit(s) were added to refs/heads/develop by this push:
> > new ae6da3c  Added failing test for MD5
> > ae6da3c is described below
> >
> > commit ae6da3c1bb3f663c641153b7b3b60f6d8a90b54b
> > Author: Harbs 
> > AuthorDate: Mon Nov 27 13:18:38 2017 +0200
> >
> >Added failing test for MD5
> > ---
> > .../src/main/royale/flexUnitTests/CoreTester.as|  3 +-
> > .../{CoreTester.as => core/MD5Test.as} | 50
> ++
> > 2 files changed, 33 insertions(+), 20 deletions(-)
> >
> > diff --git 
> > a/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
> b/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
> > index 9af36e3..5ce4e9a 100644
> > --- a/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
> > +++ b/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
> > @@ -27,7 +27,7 @@ package flexUnitTests
> > public function CoreTester()
> > {
> > // for JS, force-link these classes in the output
> > -var arr:Array = [StrandTesterTest, BinaryDataTesterTest];
> > +var arr:Array = [StrandTesterTest,
> BinaryDataTesterTest,MD5Test];
> > }
> >
> > // in JS, using a class as a type won't include the class in
> > @@ -39,5 +39,6 @@ package flexUnitTests
> > // better and allow you to define order.
> > public var strandTesterTest:StrandTesterTest;
> >   public var binaryDataTesterTest:BinaryDataTesterTest;
> > + public var md5Test:MD5Test;
> > }
> > }
> > diff --git 
> > a/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
> b/manualtests/UnitTests/src/main/royale/flexUnitTests/core/MD5Test.as
> > similarity index 52%
> > copy from manualtests/UnitTests/src/main/royale/flexUnitTests/
> CoreTester.as
> > copy to manualtests/UnitTests/src/main/royale/flexUnitTests/
> core/MD5Test.as
> > index 9af36e3..20dc46f 100644
> > --- a/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
> > +++ b/manualtests/UnitTests/src/main/royale/flexUnitTests/
> core/MD5Test.as
> > @@ -16,28 +16,40 @@
> > //  limitations under the License.
> > //
> > 
> 
> > -package flexUnitTests
> > +package flexUnitTests.core
> > {
> > - import flexUnitTests.core.*
> > -
> > -[Suite]
> > -[RunWith("org.flexunit.runners.Suite")]
> > -public class CoreTester
> > -{
> > -public function CoreTester()
> > +import flexunit.framework.Assert;
> > +
> > +import org.apache.royale.utils.MD5;
> > +
> > +public class MD5Test
> > +{
> > +[Before]
> > +public function setUp():void
> > {
> > -// for JS, force-link these classes in the output
> > -var arr:Array = [StrandTesterTest, BinaryDataTesterTest];
> > }
> >
> > -// in JS, using a class as a type won't include the class in
> > -// the output since types are not chcked in JS.  It is when
> > -// the actual class is referenced that it will be included
> > -// in the output.
> > -// Is there a reason to use reflection to gather the set
> > -// of tests?  I would think an array of tests would wokr
> > -// better and allow you to define order.
> > -public var strandTesterTest:StrandTesterTest;
> > - public var 

Re: [royale-asjs] branch develop updated: Added failing test for MD5

2017-11-27 Thread Harbs
It turns out that MD5 is completely broken.

My theory was that it should migrate from the Flash version and BinaryData 
should have been a drop-in replacement or ByteArray.

Well, the theory didn’t work out and I spent a long time trying to figure out 
why it’s broken. It seems to be broken in both Flash and JS runtimes. For 
kicks, I tried the MD5Stream version as well and that didn’t work either.

I tried various combinations with endians and that did not seem to be like it. 
I’m pretty stumped.

I did manage to successfully incorporate a JS implementation of MD5 in a Royale 
class[1] in my project, so I’m personally not stuck on this issue.

Anyone interested in looking at this?

Harbs

[1]https://github.com/blueimp/JavaScript-MD5 

> On Nov 27, 2017, at 1:18 PM, ha...@apache.org wrote:
> 
> This is an automated email from the ASF dual-hosted git repository.
> 
> harbs pushed a commit to branch develop
> in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
> 
> 
> The following commit(s) were added to refs/heads/develop by this push:
> new ae6da3c  Added failing test for MD5
> ae6da3c is described below
> 
> commit ae6da3c1bb3f663c641153b7b3b60f6d8a90b54b
> Author: Harbs 
> AuthorDate: Mon Nov 27 13:18:38 2017 +0200
> 
>Added failing test for MD5
> ---
> .../src/main/royale/flexUnitTests/CoreTester.as|  3 +-
> .../{CoreTester.as => core/MD5Test.as} | 50 ++
> 2 files changed, 33 insertions(+), 20 deletions(-)
> 
> diff --git 
> a/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as 
> b/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
> index 9af36e3..5ce4e9a 100644
> --- a/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
> +++ b/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
> @@ -27,7 +27,7 @@ package flexUnitTests
> public function CoreTester()
> {
> // for JS, force-link these classes in the output
> -var arr:Array = [StrandTesterTest, BinaryDataTesterTest];
> +var arr:Array = [StrandTesterTest, BinaryDataTesterTest,MD5Test];
> }
> 
> // in JS, using a class as a type won't include the class in
> @@ -39,5 +39,6 @@ package flexUnitTests
> // better and allow you to define order.
> public var strandTesterTest:StrandTesterTest;
>   public var binaryDataTesterTest:BinaryDataTesterTest;
> + public var md5Test:MD5Test;
> }
> }
> diff --git 
> a/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as 
> b/manualtests/UnitTests/src/main/royale/flexUnitTests/core/MD5Test.as
> similarity index 52%
> copy from manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
> copy to manualtests/UnitTests/src/main/royale/flexUnitTests/core/MD5Test.as
> index 9af36e3..20dc46f 100644
> --- a/manualtests/UnitTests/src/main/royale/flexUnitTests/CoreTester.as
> +++ b/manualtests/UnitTests/src/main/royale/flexUnitTests/core/MD5Test.as
> @@ -16,28 +16,40 @@
> //  limitations under the License.
> //
> 
> -package flexUnitTests
> +package flexUnitTests.core
> {
> - import flexUnitTests.core.*
> -
> -[Suite]
> -[RunWith("org.flexunit.runners.Suite")]
> -public class CoreTester
> -{
> -public function CoreTester()
> +import flexunit.framework.Assert;
> +
> +import org.apache.royale.utils.MD5;
> +
> +public class MD5Test
> +{
> +[Before]
> +public function setUp():void
> {
> -// for JS, force-link these classes in the output
> -var arr:Array = [StrandTesterTest, BinaryDataTesterTest];
> }
> 
> -// in JS, using a class as a type won't include the class in
> -// the output since types are not chcked in JS.  It is when
> -// the actual class is referenced that it will be included
> -// in the output.
> -// Is there a reason to use reflection to gather the set
> -// of tests?  I would think an array of tests would wokr
> -// better and allow you to define order.
> -public var strandTesterTest:StrandTesterTest;
> - public var binaryDataTesterTest:BinaryDataTesterTest;
> +[After]
> +public function tearDown():void
> +{
> +}
> +
> +[BeforeClass]
> +public static function setUpBeforeClass():void
> +{
> +}
> +
> +[AfterClass]
> +public static function tearDownAfterClass():void
> +{
> +}
> +
> +[Test]
> +public function testHash():void
> +{
> +Assert.assertEquals("Error testing foobaz", 
> "80338e79d2ca9b9c090ebaaa2ef293c7",MD5.hash("foobaz"));
> +Assert.assertEquals("Error testing 

Re: [royale-asjs] branch develop updated: Fixed event dispatching on tba view change

2017-11-27 Thread Harbs
I’m not sure that viewChanged is the best event to be dispatching here.

It turns out that viewChanged is dispatched in two unrelated cases:
1. When the IViewManagerView is assigned to the ViewManagerBase.
2. When the current view is set by the IViewManagerView.

The way it is, it’s currently difficult to differentiate between the two cases.

It feels like the correct event to be dispatching for case 2 is 
“currentViewChanged” or “activeViewChanged” or “selectedViewChanged”.

Thoughts?

Harbs

> On Nov 27, 2017, at 1:17 PM, ha...@apache.org wrote:
> 
> This is an automated email from the ASF dual-hosted git repository.
> 
> harbs pushed a commit to branch develop
> in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
> 
> 
> The following commit(s) were added to refs/heads/develop by this push:
> new 6711a8d  Fixed event dispatching on tba view change
> 6711a8d is described below
> 
> commit 6711a8d137ecca2d4dfaa48f1c0689282157df47
> Author: Harbs 
> AuthorDate: Mon Nov 27 13:17:42 2017 +0200
> 
>Fixed event dispatching on tba view change
> 
>Removed an extra layoutNeeded
>Dispatch viewChanged
> ---
> .../org/apache/royale/mobile/beads/TabbedViewManagerView.as  | 9 +++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git 
> a/frameworks/projects/Mobile/src/main/royale/org/apache/royale/mobile/beads/TabbedViewManagerView.as
>  
> b/frameworks/projects/Mobile/src/main/royale/org/apache/royale/mobile/beads/TabbedViewManagerView.as
> index 64c7b80..bef33ee 100644
> --- 
> a/frameworks/projects/Mobile/src/main/royale/org/apache/royale/mobile/beads/TabbedViewManagerView.as
> +++ 
> b/frameworks/projects/Mobile/src/main/royale/org/apache/royale/mobile/beads/TabbedViewManagerView.as
> @@ -104,6 +104,11 @@ package org.apache.royale.mobile.beads
>   
>   private var _currentView:IViewManagerView;
>   
> + /**
> +  * @royaleignorecoercion org.apache.royale.core.UIBase
> +  * @royaleignorecoercion 
> org.apache.royale.mobile.IViewManagerView
> +  * @royaleignorecoercion org.apache.royale.mobile.IViewManager
> +  */
>   protected function showViewByIndex(index:int):void
>   {
>   var model:ViewManagerModel = 
> _strand.getBeadByType(IBeadModel) as ViewManagerModel;
> @@ -117,9 +122,8 @@ package org.apache.royale.mobile.beads
>   
>   COMPILE::JS {
>   if (_currentView) {
> - 
> UIBase(_currentView).element.style["flex-grow"] = "1";
> + (_currentView as 
> UIBase).element.style["flex-grow"] = "1";
>   }
> - getHost().dispatchEvent(new 
> Event("layoutNeeded"));
>   }
>   COMPILE::SWF {
>   if (UIBase(_currentView).style == null) {
> @@ -131,6 +135,7 @@ package org.apache.royale.mobile.beads
>   
>   // Now that the view has changed, refresh the layout on 
> this component.
>   getHost().dispatchEvent(new Event("layoutNeeded"));
> + getHost().dispatchEvent(new Event("viewChanged"));
>   }
>   protected function 
> insertCurrentView(view:IViewManagerView):void{
>   getHost().addElementAt(view,(navigationBar ? 1 : 0));
> 
> -- 
> To stop receiving notification emails like this one, please contact
> ['"comm...@royale.apache.org" '].