On 10/27/16, 11:55 AM, "Fréderic Cox" <coxfrede...@gmail.com> wrote:
> >and I would now like to style it using our company's main website >(replaced >it with {companyDomain}.com for this thread). I tried: > ><fx:Style source="https://www.static. >{companyDomain}.com/styles/master-v2.2-99371.css" /> > >but then I get the following error: > >/Users/frederic/Desktop/Personal/Flex/FlexJSTest/src/FlexJSTest.mxml:14 > >Can't find 'source' file >"/Users/frederic/Desktop/Personal/Flex/FlexJSTest/src/https:/www.static.{c >ompanyDomain}.com/styles/master-v2.2-99371.css". > ><fx:Style >source="https://www.static.{companyDomain}.com/styles/master-v2.2-99371.cs >s" >/> > > ^ > >Is it not supposed to work like this? It would be nice if this worked The compiler isn't set up make get css over the network right now. It might be possible. Feel free to file a feature request. If you make a local copy of it, it should work. Also, you can grab the nightly build and try the -html-template option. Get the template from templates/js-index-template.html and add your <style> tag. Hopefully that will work too. -Alex