Re: Last few problems converting browser project to JS

2018-03-06 Thread Justin Mclean
Hi,

> It will work, but IMO it is a bit of a hack.  No real need to add a class
> to your app just to inject HTML in your app.

It reads well in the application I think which counts for something, I’m sure 
there are many other ways of doing the same thing.

> That's why we have the -html-template compiler option.  Normally inject_html 
> is used to inject
> HTML needed to operate the rest of the code in the class.
> 
> Not sure it makes sense to subclass BeadViewBase either since it isn't a
> View.

That code was written in the FLexJS days so there may be a better way to do it. 
I recall playing with the html-template compiler option but I couldn't get it 
to do what I wanted but can’t recall why. Is it supported in maven?

Thanks,
Justin

Re: Last few problems converting browser project to JS

2018-03-06 Thread Alex Harui
It will work, but IMO it is a bit of a hack.  No real need to add a class
to your app just to inject HTML in your app.  That's why we have the
-html-template compiler option.  Normally inject_html is used to inject
HTML needed to operate the rest of the code in the class.

Not sure it makes sense to subclass BeadViewBase either since it isn't a
View.

My 2 cents,
-Alex

On 3/6/18, 9:54 PM, "doug777"  wrote:

>I'll certainly give that a try. Thanks very much Justin.
>
>Doug
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-roy
>ale-users.20374.n8.nabble.com%2F=02%7C01%7Caharui%40adobe.com%7C4bca0
>15eb65d43b9edac08d583efee63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>3655991213108=Twjb06WPYmUxcYX65TUFQGvyoZtXUOXrUeGWO5vzaUA%3D
>erved=0



Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

2018-03-06 Thread piotrz
Alina,

Not sure yet what is happening on your sight. I just tried build with
cleaned up before everything and got success


 

Maybe try again and let me know if you have other results. 

Do you have some restriction on your company PC ?

Thanks, Piotr



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


Re: Last few problems converting browser project to JS

2018-03-06 Thread Piotr Zarzycki
Cool! I just wanted to have clarification. Maybe Royale JS only ;) Not
sure. I'm really happy that you were able to goes so far and you are using
Moonshine. :)

Thanks, Piotr

2018-03-07 7:10 GMT+01:00 doug777 :

> Piotr
>
> I guarantee everything is Royale  - I just wanted to indicate that it's a
> js
> only project. Should I say Royale JS?
>
> Doug
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Last few problems converting browser project to JS

2018-03-06 Thread doug777
Hi Piotr,

I hope I can do that but I think I'm still some way from finishing. Although
I've been testing snippets as I've gone along, I'm pretty sure there will
still be lots of problems once it all has to work together. But I can't test
that till I can get the whole thing to compile.

But having got this far I am very confident that it will all work
eventually. I'm really keen to see how close it will be in looks and
functions to the original Flex project.

And I have to say how much I'm enjoying doing it all in Moonshine. It's
still a little bit buggy, but I love using it and it keeps getting better
and better. Really hope to see version 1.10 soon!!

Doug





--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


Re: Last few problems converting browser project to JS

2018-03-06 Thread doug777
I'll certainly give that a try. Thanks very much Justin.

Doug



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


Re: Last few problems converting browser project to JS

2018-03-06 Thread Justin Mclean
Hi,

Sorry this bounced, so my emails will be out of order, trying again.

> Re EmbedFont : Actually it's not that important. We use it to get special
> characters

In that case something like this may work:


  

   
   
   
...

In fonts/Catamara.as

package fonts {
import org.apache.flex.core.BeadViewBase;

public class Catamaran extends BeadViewBase {
/**
 *  
 *  https://fonts.googleapis.com/css?family=Catamaran:400,500,600,700;>
 *  
 */
public function Catamaran() {
   super();
   }
}
}

Thanks,
Justin

Re: Last few problems converting browser project to JS

2018-03-06 Thread Piotr Zarzycki
Hi Doug,

Great to hear that! Once you finished and if it will be possible share with
us link, screens etc. Maybe we can place it somewhere as a great news. :)

Thanks,
Piotr

On Wed, Mar 7, 2018, 05:47 doug777  wrote:

> Ok that is all very helpful.
>
> Thanks so much, Alex. Much appreciated.
>
> Doug
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>