14 Replies Latest reply on Sep 12, 2016 5:10 AM by marjantrajkovski

    Using Google Fonts on HTML Canvas in Flash CC

    guitarodactyl

      I am new to working with the HTML5 Canvas format. I am working with some Google fonts (Raleway / Roboto) and was wondering if there was a way to declare the necessary link script for these fonts
      for example inside of Flash CC?

       

      <link href='http://fonts.googleapis.com/css?family=Raleway:400,700|Roboto:400,700' rel='stylesheet' type='text/css'>

       

      Currently I am having to open up the HTML file after publishing and insert this script in the HEAD section, which does work, but this needs to be done every time the file is published, and is not suitable in cases where other people may be required to update these assets.

       

      Is there a way of calling up this script, perhaps using Javascript, so I can put it in Frame 1 or whatever?

       

      Please excuse my massive noobishness.