CS5 font embedding working like CS4?

I have worked some time ago on a CS4 file in which I embedded some fonts. In that file I dynamically created text fields that used the embedded fonts.

Someone used that file in CS5 and published the SWF and the fonts are embedded properly and the text is displaying.

But when I try that file in CS5, the fonts don’t seem to be embedding and the texts are not displaying at all.

Why is it working for that person and not in my case ? Is it possible for CS5 to work with previous methods of embedding ?

Please keep in mind that the texts that are not working are the ones created dynamically through ActionScript.