# Suddenly Flash doesn't recognize font

**URL:** <https://forum.kirupa.com/t/suddenly-flash-doesnt-recognize-font/307601>\
**Category:** flash\
**Created:** [April 6, 2010, 4:09pm UTC](https://forum.kirupa.com/t/suddenly-flash-doesnt-recognize-font/307601 "2010-04-06T16:09:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tpann](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@tpann](https://forum.kirupa.com/u/tpann)\
**Post date:** [April 6, 2010, 4:09pm UTC](https://forum.kirupa.com/t/suddenly-flash-doesnt-recognize-font/307601/1 "2010-04-06T16:09:37Z")

</div>

I have a font symbol in my library:

\_myriad28 (linkage property class \_Myriad28)

I use this in a class in the standard way:

```php

private var _myriad28:_Myriad28;
...
_myriad28 = new _Myriad28();
...
myTextFormat.font = _myriad28.fontName;
...

```

etc.

It works for a little while and then, without changing anything about the symbol or the linkage or ANYTHING, Flash suddenly throws these errors:

```
1046: Type was not found or was not a compile-time constant: _Myriad28.
1180: Call to a possibly undefined method _Myriad28

```

Any idea what’s going on? I cannot identify ANYTHING I’m doing wrong, and again, it appears that Flash likes it one minute and the next minute it doesn’t.

Tim
