Skip to main content
June 11, 2012
Answered

textSnapShot.findtext crashing on iPad

  • June 11, 2012
  • 3 replies
  • 614 views

Hello Everyone

I am loading an external swf using swfloader. The file loads fine. But when I try to find text in the file using the following code, it crahses on iPad.

var textSnap:TextSnapShot = extMovie.textSanpshot;

var i:int=textSnap.findText(0,"hello", false); <---- crashes here.

Any ideas?

Thanks

This topic has been closed for replies.
Correct answer

Hello Everyone

Tthis issue has been resolved by changing the packaging method to "fast".

Thanks

3 replies

June 14, 2012

For your use case do not build standard ipa's or what is also knows as AOT targets. Since you are loading a swf your application can only be interpreted. Your application will work only if you use fast packaging mode or what is known as interpreted target.

Correct answer
June 22, 2012

Hello Everyone

Tthis issue has been resolved by changing the packaging method to "fast".

Thanks

June 13, 2012

This sounds like a bug. Could you please log one? Please also mail the sources of your test code to kshgupta@adobe.com