Conditional Embed

Hello,

Does anyone know of a way to do conditional embeds? Specially, I’m using FlashDevelop if that has anything special that would help.

  • Christian

What sort of conditions are you interested in?

The main purpose for a conditional embed would be I have a debug console, which embeds a font to use in the console. However, when the game is published, you wouldn’t include the debug console, so embedding that font would be a waste of space.

I want some way of making it not embed that font without having to flat out delete/comment out the reference to that class.