Re: How to inject html with a theme class

2018-03-11 Thread Carlos Rovira
btw, I attach the swfdump 2018-03-11 23:12 GMT+01:00 Carlos Rovira : > Hi Alex, > > I was looking at this problem and finaly get library.swf to be 6k and with > info about JewelThemeFontInject > but JewelExample fails the same way: > >

Re: How to inject html with a theme class

2018-03-11 Thread Carlos Rovira
Hi Alex, I was looking at this problem and finaly get library.swf to be 6k and with info about JewelThemeFontInject but JewelExample fails the same way: [-load-config=/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/JewelExample/target/compile-app-config.xml,

Re: How to inject html with a theme class

2018-03-07 Thread Alex Harui
When you say the files are empty, does that mean it is truly 0 bytes or just doesn’t contain the classes you want? If no classes are specified to be compiled due to COMPILE::SWF and COMPILE::JS blocks then the library.swf will not contain those classes. The library compile succeeds because it

Re: How to inject html with a theme class

2018-03-07 Thread Carlos Rovira
Hi Alex, I did it : ../royale-compiler/compiler/src/assembly/scripts/swfdump -abc library.swf > mysqc.txt (for both -swf.swc and -js.swc), and both files (mysqc.txt) are empty so what could be happen? why there's nothing in library.swf but there's .js generated? thanks 2018-03-06 23:18

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
SWCs contained compiled AS, not the .as file itself. And Royale SWCs also contain .js files. So the proof is really in SWFDump-ing the library.swf in the SWC. We need to verify that JewelThemeFontInject is in the library.swf. So: -unzip the SWC. -Run bin/swfdump -abc library.swf >MySWC.txt

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
Hi Alex, 2018-03-06 22:04 GMT+01:00 Alex Harui : > Hi Carlos, > > I don't think there is per-platform CSS, so > org.apache.royale.jewel.JewelThemeFontInject needs to be in the SWC for > both the SWF and JS compile. right, I checked both SWF and JS SWC files and both

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
Hi Carlos, I don't think there is per-platform CSS, so org.apache.royale.jewel.JewelThemeFontInject needs to be in the SWC for both the SWF and JS compile. I couldn't quite tell from the commit message, but it looked like JewelThemeFontInject might have been set up to be JSOnly. Also, it

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
Hi Alex, more near, but still fails. I put the quotes failed, then I figured that I put in jewel package similar to lib, so I changed to : fonts: ClassReference("org.apache.royale.jewel.JewelThemeFontInject"); this failed in similar way: [INFO] Executing MXMLC in tool group Royale with args:

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
I missed that ClassReference puts the class in quotes. Try: fonts: ClassReference("JewelThemeFontInject") ; HTH, -Alex On 3/6/18, 10:31 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >the 4 method

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
Hi Alex, the 4 method seems ok but I'm getting this error: [INFO] Executing MXMLC in tool group Royale with args: [-load-config=/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/JewelExample/target/compile-app- config.xml,

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
Only from classes actually linked into the final application will be used. I think there are a few choices: 1) require everyone use a particular html-template 2) require some bead be used 3) require a different Application subclass 4) try to hack it in as follows: In the defaults.css for Jewel,

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
Hi Piotr, no, that's that I want to get in the resultant html file. I don't think I understand your question, that's exactly what I'm asking, why that line is not in the final HTML file, I suppose that is because is a theme file and maybe the JewelThemeClasses.as is not used, but don't know how

Re: How to inject html with a theme class

2018-03-06 Thread Piotr Zarzycki
Link once again: https://fonts.googleapis.com/css?family=Lato; rel="stylesheet"> 2018-03-06 17:06 GMT+01:00 Piotr Zarzycki : > I meant here something else. Do you have in your head something like that > after compilation in the html files ? > >

Re: How to inject html with a theme class

2018-03-06 Thread Piotr Zarzycki
I meant here something else. Do you have in your head something like that after compilation in the html files ? https://fonts.googleapis.com/css?family=Lato; rel="stylesheet"> 2018-03-06 17:01 GMT+01:00 Carlos Rovira : > Hi Piotr, > > I introduced a new line in

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
Hi Piotr, I introduced a new line in Application.as in Jewel UI set to start implementing responsiveness in mobile: this line is ok at that level since all jewel apps could be responsive that line appears ok in final html but the one in the theme, is not appearing in the html the rest seems