Skip to main content
Jun 11, 2012 6:48 PM UTC
Answered

textSnapShot.findtext crashing on iPad

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 is closed to new replies. Start a new post to keep the conversation going.
Correct answer
Jun 22, 2012 2:19 PM UTC

Hello Everyone

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

Thanks

3 replies

Jun 14, 2012 9:28 AM UTC

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.

Translate
Correct answer
Jun 22, 2012 2:19 PM UTC

Hello Everyone

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

Thanks

Translate
Jun 13, 2012 5:14 AM UTC

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

Translate