Skip to content

A sample OpenFL project that customizes the air/template/application.xml template file

Notifications You must be signed in to change notification settings

joshtynjala/openfl-custom-air-application-descriptor-xml-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenFL custom application.xml template for Adobe AIR

The OpenFL library for Haxe contains a number of template files that are used when building a project. You can find them in the assets/templates directory. Using the <template> element in project.xml, it's possible to replace one or more of these template files with custom versions, on a per-project basis, and without forking OpenFL.

This sample project contains a directory named custom-templates. It is configured in project.xml like this:

<template path="custom-templates"/>

Inside custom-templates, there's a file at air/template/application.xml. The relative path to this file matches the file named air/template/application.xml inside Lime's templates directory.

To confirm that the custom air/template/application.xml is being used by the project, simply compile, and you should see your changes in bin/air.

openfl build air

Sample created by Josh Tynjala, the author of Feathers UI and core contributor to OpenFL.

About

A sample OpenFL project that customizes the air/template/application.xml template file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages