Only <inject_html> 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, add .Jewel { fonts: ClassReference(JewelInjectHTML) } And create a JewelInjectHTML class with the desired <inject_html> on the constructor. That will have a bit of extra overhead, but might work. HTH, -Alex On 3/6/18, 8:35 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote: >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 to make it >work > >thanks > >2018-03-06 17:06 GMT+01:00 Piotr Zarzycki <piotrzarzyck...@gmail.com>: > >> Link once again: <link >>href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffo >>nts.googleapis.com%2Fcss%3Ffamily%3DLato&data=02%7C01%7Caharui%40adobe.co >>m%7C335f9e4addc14bb6bbb708d58380469b%7Cfa7b1b5a7b34438794aed2c178decee1%7 >>C0%7C0%7C636559509319053690&sdata=yA7%2Bh88X94JpycunvMJSNuCflIoOkddbODAux >>creWGM%3D&reserved=0" >> rel="stylesheet"> >> >> 2018-03-06 17:06 GMT+01:00 Piotr Zarzycki <piotrzarzyck...@gmail.com>: >> >> > I meant here something else. Do you have in your head something like >>that >> > after compilation in the html files ? >> > >> > <link >>href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffo >>nts.googleapis.com%2Fcss%3Ffamily%3DLato&data=02%7C01%7Caharui%40adobe.co >>m%7C335f9e4addc14bb6bbb708d58380469b%7Cfa7b1b5a7b34438794aed2c178decee1%7 >>C0%7C0%7C636559509319053690&sdata=yA7%2Bh88X94JpycunvMJSNuCflIoOkddbODAux >>creWGM%3D&reserved=0" >> > rel="stylesheet"> >> > >> > 2018-03-06 17:01 GMT+01:00 Carlos Rovira <carlosrov...@apache.org>: >> > >> >> Hi Piotr, >> >> >> >> I introduced a new line in Application.as in Jewel UI set to start >> >> implementing responsiveness in mobile: >> >> >> >> <meta name="viewport" content="width=device-width, initial-scale=1, >> >> minimum-scale=1, maximum-scale=1"> >> >> >> >> 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 ok with the normal script generated by Royale >> >> >> >> >> >> >> >> 2018-03-06 16:47 GMT+01:00 Piotr Zarzycki >><piotrzarzyck...@gmail.com>: >> >> >> >> > Hi Carlos, >> >> > >> >> > How looks like HTML output when you compile things using that >>stuff ? >> >> > >> >> > Thanks, Piotr >> >> > >> >> > 2018-03-06 16:40 GMT+01:00 Carlos Rovira <carlosrov...@apache.org>: >> >> > >> >> > > Hi >> >> > > >> >> > > I want the theme define the typography to use, to get this I'm >>using >> >> the >> >> > > inject_html tag in the constructor >> >> > > >> >> > > The only class I have in the theme is the following >> >> > > >> >> > > >> >> > > package >> >> > > { >> >> > > >> >> > > /** >> >> > > * @private >> >> > > * This class is used to link additional classes into >>JewelTheme.swc >> >> > > * beyond those that are found by dependecy analysis starting >> >> > > * from the classes specified in manifest.xml. >> >> > > */ >> >> > > internal class JewelThemeClasses >> >> > > { >> >> > > /** >> >> > > * constructor. >> >> > > * >> >> > > * <inject_html> >> >> > > * <link >>href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffo >>nts.googleapis.com%2Fcss%3Ffamily%3DLato&data=02%7C01%7Caharui%40adobe.co >>m%7C335f9e4addc14bb6bbb708d58380469b%7Cfa7b1b5a7b34438794aed2c178decee1%7 >>C0%7C0%7C636559509319053690&sdata=yA7%2Bh88X94JpycunvMJSNuCflIoOkddbODAux >>creWGM%3D&reserved=0 >> " >> >> > > rel="stylesheet"> >> >> > > * </inject_html> >> >> > > * >> >> > > * @langversion 3.0 >> >> > > * @playerversion Flash 10.2 >> >> > > * @playerversion AIR 2.6 >> >> > > * @productversion Royale 0.9.2 >> >> > > */ >> >> > > public function JewelThemeClasses() >> >> > > { >> >> > > super(); >> >> > > } >> >> > > } >> >> > > >> >> > > } >> >> > > >> >> > > But this is not working since I don't get anything injected in >>the >> >> html >> >> > > >> >> > > anyone knows what could be the problem? >> >> > > >> >> > > thanks >> >> > > >> >> > > >> >> > > -- >> >> > > Carlos Rovira >> >> > > >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me% >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C335f9e4addc14bb6bbb708 >>d58380469b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63655950931905369 >>0&sdata=%2FNmOa%2BKcyD93kNDolxbReQZMhVrgPTzrzkl%2FYwSRGTs%3D&reserved=0 >> >> > > >> >> > >> >> > >> >> > >> >> > -- >> >> > >> >> > Piotr Zarzycki >> >> > >> >> > Patreon: >>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C335f9e4addc1 >>4bb6bbb708d58380469b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365595 >>09319053690&sdata=bLWNVHgcovK7nXKYzOEqBpSnDzPwzFY6k6l9ER6rkZ4%3D&reserved >>=0 >> >> > >><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C335f9e4addc1 >>4bb6bbb708d58380469b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365595 >>09319053690&sdata=bLWNVHgcovK7nXKYzOEqBpSnDzPwzFY6k6l9ER6rkZ4%3D&reserved >>=0>* >> >> > >> >> >> >> >> >> >> >> -- >> >> Carlos Rovira >> >> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me% >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C335f9e4addc14bb6bbb708 >>d58380469b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63655950931905369 >>0&sdata=%2FNmOa%2BKcyD93kNDolxbReQZMhVrgPTzrzkl%2FYwSRGTs%3D&reserved=0 >> >> >> > >> > >> > >> > -- >> > >> > Piotr Zarzycki >> > >> > Patreon: >>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C335f9e4addc1 >>4bb6bbb708d58380469b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365595 >>09319053690&sdata=bLWNVHgcovK7nXKYzOEqBpSnDzPwzFY6k6l9ER6rkZ4%3D&reserved >>=0 >> > >><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C335f9e4addc1 >>4bb6bbb708d58380469b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365595 >>09319053690&sdata=bLWNVHgcovK7nXKYzOEqBpSnDzPwzFY6k6l9ER6rkZ4%3D&reserved >>=0>* >> > >> >> >> >> -- >> >> Piotr Zarzycki >> >> Patreon: >>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C335f9e4addc1 >>4bb6bbb708d58380469b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365595 >>09319053690&sdata=bLWNVHgcovK7nXKYzOEqBpSnDzPwzFY6k6l9ER6rkZ4%3D&reserved >>=0 >> >><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C335f9e4addc1 >>4bb6bbb708d58380469b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365595 >>09319063694&sdata=o76Gym4fOsBicseiddsVm1FQHtzgLuzQ5MkEqFyBckI%3D&reserved >>=0>* >> > > > >-- >Carlos Rovira >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2 >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C335f9e4addc14bb6bbb708d5 >8380469b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559509319063694&s >data=7moxBd2GSpHpn7AAtOwOD9MZSKIvjLai7e%2B5WK5BeOA%3D&reserved=0