Dynamic textfield creates extreme lag - why?

I’m creating an IOS game in AIR where you must shoot birds with certain numbers on them. A new bird spawns every 5 seconds or so, crosses the screen and gets removed after it leaves. I use TweenMax to tween the birds across the screen with a bezier curve. The game is rendered with GPU.

Here’s the problem: When I add a dynamic textfield to the “bird” MC (so I can place a number on the bird), it makes the game unplayable: After 20 or so seconds (with maybe 4 birds on screen), the game begins to stutter and eventually halts completely. This is on an iPad 1.

What I’ve found:

  • If I remove the textfield from the “bird” MC, the game runs fine.
  • If I put it back, even with static numbers that are never changed by the code, it lags again - so it’s not the code that inserts the number that’s the problem.
  • If I put the textfield in, but leave it empty and never add text, it runs fine, so it’s the presence of text in the textfield that’s the problem.

I have NO idea what the problem is. I’ve tried creating the textfield as part of the movieclip AND creating it dynamically at runtime - no difference. I don’t embed anything except numbers. I have tried using anti-alias, no anti-alias, device fonts - no difference.´

I have NO idea why the presence/tweening of 4-5 dynamic textfields would create what looks like a huge memory leak. Anyone heard of this?