I have absolutely no ActionScript Experience, but I have a very specific question. I have found a font picker that uses actionscript and flash. Instead of it importing all of the fonts on the user system, how can I get it to import the fonts from a specific folder on the web server?
I have attached the Main.as file below as an archived file.
Again I need the coding to pull fonts from a specific folder on the web server instead of the current setup.
If you want the entire package instead of just the .as file, this is the download link for the entire package.
I have absolutely no ActionScript Experience, but I have a very specific question. I have found a font picker that uses actionscript and flash. Instead of it importing all of the fonts on the user system, how can I get it to import the fonts from a specific folder on the web server?
I have attached the Main.as file below as an archived file.
Again I need the coding to pull fonts from a specific folder on the web server instead of the current setup.
If you want the entire package instead of just the .as file, this is the download link for the entire package.
public class Main extends Sprite
{
/* Variables */
private var systemFonts:Array = new Array();
private var fontNames:Array = new Array();
private var fmt:TextFormat = new TextFormat();
private var tween:Tween;
public function Main()
{
showColorPicker(false);
loadFonts();
addListeners();
}
/* Show or hide color picker (Text and Components) */