Great Josh!, this sounds like a solution! Hope Harbs or Piotr can try this and report if is working! :)
2018-05-19 0:38 GMT+02:00 Josh Tynjala <[email protected]>: > Please forgive me if I'm missing some context because I'm just skimming > through here. However, I think I may be able to offer a suggestion. > > Is the absolute path a location inside the the Royale SDK? If so, then you > can use the ${royalelib} token to refer to the path relative to the SDK's > *frameworks* directory. The Royale compiler knows how to resolve a path > based on this token. > > For other SDKs, there's a similar ${flexlib} token. For the example themes > included with the Feathers SDK, I've successfully used ${flexlib} to add a > SWC to my project in *asconfig.json* without needing an absolute path: > > "library-path": ["${flexlib}/themes/MetalWorksDesktopTheme/ > MetalWorksDesktopTheme.swc"] > > A while back, I made sure that the ${royalelib} and ${flexlib} tokens both > work in VSCode. > > - Josh > > On 2018/05/18 13:05:34, Harbs <[email protected]> wrote: > > No. Specifying the themes seems to be a major problem. > > > > It’s possible to specify a theme using additional compiler options in > asconfig, but I’m not prepared to specify an absolute path. This needs a > solution… > > > > Harbs > > > > > On May 18, 2018, at 3:56 PM, Piotr Zarzycki <[email protected]> > wrote: > > > > > > Hi Harbs, > > > > > > Were you able to setup project in IDE ? > > > > > > Thanks, > > > Piotr > > > > > > 2018-05-17 15:13 GMT+02:00 Carlos Rovira <[email protected]>: > > > > > >> Look foro "Inject a Font" > > >> > > >> 2018-05-17 15:12 GMT+02:00 Harbs <[email protected]>: > > >> > > >>> What was the subject? > > >>> > > >>>> On May 17, 2018, at 4:08 PM, Carlos Rovira <[email protected] > > > > >>> wrote: > > >>>> > > >>>> Hi, > > >>>> > > >>>> I think seems something valid, maybe we should think more about > > >> possible > > >>>> colateral issue of that method. You should look as well at a thread > > >> where > > >>>> Alex proposed as well some valid options > > >>>> > > >>>> 2018-05-17 15:04 GMT+02:00 Harbs <[email protected]>: > > >>>> > > >>>>> I just had another thought which might be even more flexible: > > >>>>> > > >>>>> Maybe the compile could parse @includes from CSS and insert them as > > >>> links > > >>>>> in the header HTML automatically. > > >>>>> > > >>>>> Thanks, > > >>>>> Harbs > > >>>>> > > >>>>>> On May 17, 2018, at 3:52 PM, Carlos Rovira < > [email protected]> > > >>>>> wrote: > > >>>>>> > > >>>>>>> > > >>>>>>> Another angle on this problem might be to allow adding links via > the > > >>>>>>> compiler automatically. Not sure exactly what form that might > take > > >>>>> though. > > >>>>>>> > > >>>>>>> > > >>>>>> This was something Alex propose, something in the line of @media > > >>>>>> -royale-swf, but with fonts, I think that is the right way. > > >>>>>> For now we can stick with the html template but that should be > > >>> temporal. > > >>>>> > > >>>>> > > >>>> > > >>>> > > >>>> -- > > >>>> Carlos Rovira > > >>>> http://about.me/carlosrovira > > >>> > > >>> > > >> > > >> > > >> -- > > >> Carlos Rovira > > >> http://about.me/carlosrovira > > >> > > > > > > > > > > > > -- > > > > > > Piotr Zarzycki > > > > > > Patreon: *https://www.patreon.com/piotrzarzycki > > > <https://www.patreon.com/piotrzarzycki>* > > > > > -- Carlos Rovira http://about.me/carlosrovira
