On 12/12/14, 11:19 AM, "DavidM" <[email protected]> wrote:
>
>Separately: I'm getting this warning every single time that
>ExternalInterface receives an object:
>
>WARNING: For content targeting Flash Player version 14 or higher,
>ExternalInterface escapes strings using JSON conventions. To maintain
>compatibility, content published to earlier Flash Player versions
>continues
>to use the legacy escaping behavior.
>
>I'm worried about this because some users will be using Flash 11.1 and
>some
>will be using more recent versions.
>
>What's the best way to ensure that the data I send complies 100% with both
>string escape algorithms??

I could be wrong, but the warning basically says that the -swf-version
option to MXMLC will control this behavior, not which version of the Flash
Player your users are running.  So, setting -swf-version=24 (or less, 24
is the SWF version for Flash Player 13) should cause ExternalInterface to
escape the JSON data the same way regardless of whether a customer is
running FP 11.1 or FP15.

Also, unless you are parsing the data yourself, it may not matter.
Hopefully what a player's ExternalInterface does is compatible with the
JSON class in that player.

-Alex

Reply via email to