Re: [Flex JS] Font support

2017-02-17 Thread Alex Harui
On 2/17/17, 5:00 PM, "Justin Mclean" wrote: >Hi, > >So I’ve come up with a way that works but not sure it it’s ideal or not. >It's certainly not an obvious way to add font support. > >And Pangolin.as used like so: > >Is BeadViewBase the correct class to extend? Sorry, forgot to answer this ea

Re: [Flex JS] Font support

2017-02-17 Thread Justin Mclean
Hi, So I’ve come up with a way that works but not sure it it’s ideal or not. It's certainly not an obvious way to add font support. Here’s the main application: http://ns.adobe.com/mxml/2009"; xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:fonts="fonts.*">

Re: [Flex JS] Font support

2017-02-16 Thread Carlos Rovira
Hi Justin, that's an important error. With things like that we can't call us 1.0 For include external sheets have you try to use in Constructor? Search for an example in Dialog.as MDL class, there are others in other libraries like CreateJS 2017-02-17 8:10 GMT+01:00 Justin Mclean : > Hi, > >

Re: [Flex JS] Font support

2017-02-16 Thread Justin Mclean
Hi, Also this which I though I'd try also fails to compile (assumes source is local): https://fonts.googleapis.com/css?family=Roboto"; /> How can you include external styles sheets located on other domains? Thanks, Justin

[Flex JS] Font support

2017-02-16 Thread Justin Mclean
Hi, Trying to get fonts working in JS. Now I should be able to edit the produced HTML after it been generated to add fonts I need, but is there a way to link or @import fonts by referring to it the MXML? Just for giggles I tried the following: @import url('https://fonts.googleapis