Adobe Flash Player 11.8.800.174+as3无法读取js对像中中文字符

测试环境:window7,IE10,Adobe Flash Player 11.8.800.174
使用var _obj:Object= ExternalInterface.call("jsobject");读取当前页面中js返回的一个函数jsobject(类型为object)
如果是数字和英文,则能正确读取,如果是中文,则出现乱码,如果包含"退出全屏"这四个字符,则读取不出来
以下附上相关代码
actionscript3.0
package  {
import flash.display.MovieClip;
import flash.text.TextField;
import flash.system.System;
import flash.external.ExternalInterface;
public class getobject extends MovieClip {
  public function getobject() {
   init();
  private function init(){
   var _test:TextField=new TextField();
   _test.width=200;
   _test.height=200;
   addChild(_test);
   if(ExternalInterface.available){
    var _obj:Object= ExternalInterface.call("jsobject");
    var _str:String="";
    for(var k in _obj){
     _str+=k+":"+_obj[k]+"\n";
    _test.text=_str;
html:
<!-- saved from url=(0014)about:internet -->
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>getobject</title>
</head>
<body>
<script type="text/javascript">
  function jsobject(){
  var _obj={
   a:'1',
   b:'退出全屏'
  return _obj;
</script>
     <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="ExternalInterfaceExample" width="550" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
         <param name="movie" value="getobject.swf" />
         <param name="quality" value="high" />
         <param name="bgcolor" value="#869ca7" />
         <param name="allowScriptAccess" value="sameDomain" />
         <embed src="getobject.swf" quality="high" bgcolor="#869ca7" width="500" height="375" name="ExternalInterfaceExample" align="middle" play="true" loop="false" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
         </embed>
     </object>
</body>
</html>
如果 var _obj函数里的b项为英文或数字,则正常。如果为中文则是乱码,如果是退出全屏。则直接读取不出来。其它浏览器或ie下其它版本的flashplay正常

(Amusing Google translation to follow) If google reads you correctly, you're having a multibyte issue transferring data over ExternalInterface. Have you tried simply encoding it to Base64 before sending the data? Here's an example JavaScript Base64 converter:
http://www.webtoolkit.info/javascript-base64.html
(google translate):
如果谷歌读取正确的话,你有一个多字节的问题过ExternalInterface的数据传输。您是否尝试过简单的编码为Base64在发送数据前?下面是一个例子JavaScript的使用 Base64转换器:
http://www.webtoolkit.info/javascript-base64.html

Similar Messages

  • I can't install Adobe Flash Player 11.8.800.174

    I get 50% through and get a message to close Internet Explorer and continue. I do so, but the same message appears.

    How to close Internet Explorer and other programs running on Windows

  • How can I get Adobe Flash Player 11.8.800.175? 11.9 does not work on Win 7 32 bit

    Win 7 32 bit allows installation of Adobe flash player 11.9, but web sites do not recognize it as being installed.  Browser is IE 10.  I have another computer with Win 7, IE 10, and Flash player 11.8.800.175 and it works fine.  Internet connection on computer on which it works is wireless, on computer which 11.9 does not work on is wired by DSL.  MCaffee antivirus on both systems, same updates; system mechanic detects no disk errors.  What to do?

    (Released 9/24/2013) Flash Player 11.8.800.175 (Win IE only) (50 MB)
    (Released 9/13/2013) Flash Player 11.8.800.174 (Win IE only) (50 MB)
    (Released 9/10/2013) Flash Player 11.8.800.168 (156.2 MB)
    (Released 9/10/2013) Flash Player 11.7.700.242 (140.32 MB)
    (Released 9/10/2013) Flash Player 11.2.202.310 (32 MB)
    (Released 7/9/2013) Flash Player 11.8.800.94 (159.9 MB)
    (Released 7/9/2013) Flash Player 11.7.700.232 (143.6 MB)
    (Released 7/9/2013) Flash Player 11.2.202.297 (32.8 MB)
    Just in case you need something older

  • Adobe Flash Player 11.8.800.94 will not install in Mac

    I am trying to install Adobe Flash Player 11.8.800.94 into my MacBook OS 10.8.4 but everytime ot gets to 50% I get an error message saying Please quit the follwong programs to continue. Safari. et my Safari is closed. I have tried closing via CMD+Q and tried to install via Finder when I haven't even opended Safari at all. It is starting to get very annoying

    Thank you, CF. I can't find my original post re this problem, but the "clean install" finally worked.Thank you so much and everyone else who chimed it. This is the way to go. However, I had to do it 4 times before it finally worked. So my advice is print out the instructions and folow them to the letter. Don't be discouraged if they don't work immediately. Go through the whole thing again and again if you need to. It WILL work.

  • Installation issue for Adobe Flash Player 11.8.800.175 (16.3 MB) for Windows 32-bit , English, MSIE

    I have spent hours installing, deinstalling, and re-installing Adobe Flash Player 11.8.800.175.  My system is Windows 32-bit , English, MSIE.  I am told the installation is successful, then when I go to YouTube to verify, I still see a message,
    &quot;You need to upgrade your Adobe Flash Player to watch this video.
    Download it from Adobe.&quot;
    I have gone to Safety->Tools->ActiveX Filtering and unchecked that box, deinstalled Flash, and reinstalled it.  No change. 
    I have gone to Internet->Internet Options->Security->Trusted Sites, and made sure Scripting is enabled, and did this for Internet and Local Internet as well. 
    I don't know what to do.  I have spent hours on this, and I don't know what else to do.  Suggestions welcome.  So is Tylenol.

    Did you enable the add-on: http://forums.adobe.com/thread/885448 ?

  • I сan not install Adobe Flash Player 11.8.800.168

    Hello. I сan not install Adobe Flash Player 11.8.800.168 (Windows 7 64 bit, Firefox, MSIE is the same).
    Gives the following message:
    On this page there was a script error.
    Object does not support method or property "text".
    I didn't install the previous versions. Help please.

    Download the Adobe Flash Player installer directly by right clicking one (or both) of the following links and selecting "Save target as"(IE) or "Save link as"(Firefox).
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    Save the file(s) to your downloads folder - DO NOT run them yet.
    Reboot your system.
    BEFORE you open anything else, locate the installer(s) and run it (them).
    For IE see: Enabling Flash Player in Internet Explorer and: ActiveX Filtering in Internet Explorer

  • Flash player 11.8.800.174

    The new version flash player 11.8.800.174 can not Tencent co. web FLASH GAMES

    See: Enabling Flash Player in Internet Explorer
    and: ActiveX Filtering in Internet Explorer

  • Adobe flash player 11.8.800.94 crashes quite often, is there a solution?

    The adobe flash player has always crashed for me on occasion, I attributed this simply to be a necessary evil.
    However I recently upgraded to the new 11.8.800.94 and have noticed quite a few new quirks that are becoming quite irritating as time goes on and I was wondering if anyone has experienced these as well or know of any potential fixes.
    I frequently have youtube videos open on one of my monitors and on the other a webcam chatting service, omegle and the like.
    Here is where the issues begin, I will occasionally get a very noticable audio feedback in my headset. It does not happen every time I switch to speaking with someone else but it is often enough that I find it quite irritating.
    The second issue I have is far more irritating however, what used to be a crash maybe once a day has become 20+ times a day.
    I use Firefox and currently have ver. 22.0 of that browser, now I have not tested it on chrome or internet explorer because neither of those have the ad block capacity that I enjoy and I would prefer not to use another browser.
    Has anyone else been experiencing similar problems?

    I also have this sudden problem with Flash 11.8 that is crashes sometimes every some minutes on flash cam chat sites.
    You should go to about:crashes in your browser and click the latest crashes and look, if you come to this kind of bug:
    https://crash-stats.mozilla.com/report/index/7ac3f843-9dd4-40c2-a861-4296c2130707
    http://bugzilla.mozilla.org/show_bug.cgi?id=888616
    It's a top crasher for flash in FF22.
    Right now while writing this, I have such flash chat crash.
    Going back to Flash 11.7 from the archives helped me.
    But I did this mistake to update again hoping for a fix.

  • Flash Player 11.8.800.174 on avast

    Greetings everyone.
    I have a problem in Flash Player versions of Internet Explorer Active-x. When I download here, a avast dialog box appears and says that the "install_flash_player_11_active_x.exe" file has a poor reputation along with a written statement that there is no digital signature. Whether the file is safe to be installed?. You can see the screenshots here.
    Thank you

    If you downloaded it from the Adobe website, then it's safe.  But already old; the latest version is 11.8.800.175

  • Adobe Flash Player 11.8.800.94 mac

    I have down loaded the update but at 50% it stops and asks for safari to be closed. i closed it down and it still thinks it is running. i am using osx 10.8.4

    See: http://forums.adobe.com/thread/1267823

  • Firefox keeps crashing when I use Adobe Flash Player 11.8.800.168

    These are my last 5 crash reports
    bp-63b725ef-a8d5-415f-ad2b-a6d812130913 9/13/20139:49 AM
    2d653707-3fd0-44f2-b0bd-4ceb9e974806 9/13/20139:49 AM
    62b182c9-5b6e-4490-89b1-f9b289c7fd34 9/13/20139:49 AM
    4dfaac66-3a7f-4701-aaea-8a81eff22e97 9/13/20139:49
    AM4d31cb8c-8b2d-4bdb-ab2f-0abb86419cb4 9/13/20139:48 AM

    hello Guido077, does it make a difference when you keep the real plugins disabled under ''firefox > addons >plugins''?
    please also [https://www.mozilla.org/firefox/update/ update firefox to the latest version] as soon as possible and keep your [https://www.mozilla.org/en-US/plugincheck/ plugins on the latest level] too...

  • My mac is the OS X 10.8.3.  I tried to update the latest Adobe flash player and kept getting 'Actionlist not found.'  I have uninstalled, enabled and disabled plug-ins and am still unable to download the update and now have no flashplayer at all.  Help!

    My mac is the OS X 10.8.3.  I tried to update the latest Adobe flash player and kept getting 'Actionlist not found.'  I have uninstalled, enabled and disabled plug-ins and am still unable to download the update and now have no flashplayer at all.  Help!
    PS I'm still new to Macs so the more broken down the better.

    Adobe Flash Player 11.8.800.42 is the most recent version from Adobe. It is a pre-release version. I am using it without any noticeable problems.
    The current stable version is Download 11.7.700.169.

  • Is there any point in installing flash player 11.8.800 +

    I keep getting an invitation every time I reboot to install an update of Adobe Flash Player 11.8.800 16.9 mbs into my Dell vostro 1500 laptop in the U.K. with Vista.
    I have tried to install it but it always fails to complete installation. I can find no information as to whether installing this update will be of any value, as I rarely use Adobe, and when I do everything works ok, so what on earth is the point of these habitual updating invitations? Will I suffer in any way if I just ignore them because they will not download.
    Also with the invitation it also indicates it will install McAfeesecurity scan plus. What the hell is that? What has it got to do with an Adobe flash player. I did have McAfee securty a long time ago but found it poor compared to AVG so i now have AVG installed paid for till 2014 and do not want to go back to McAfee.Anyway I understood that if you have any virus security system, you should not attempt to install a a rival virus security system because they are likely to interfere with one another so increase your chances of getting a virus. So why am I being advised to install this with the Adobe flash player that I keep being invited to install. It all sounds like a big scam to me? Can someone please enlighten me. Thanking you

    wamibo wrote:
    I have tried to install it but it always fails to complete installation.
    Do you get any error messages when trying to install?
    Anyway, try the offline installer from http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header (under the heading Progress bar hangs...).
    As for the bundled 3rd-party software, the offline installer does not contain any.

  • Adobe flash player either hangs or crashes in Firefox

    Adobe flash player either hangs up the web browser Firefox or crashes within Firefox.  This has been occurring for about a year even though Firefox and the adobe flash player have been updated and upgraded many times over the last year.  Multiple crash reports have been sent to either Adobe or Firefox (I am not sure which one actually gets the crash report) but it appears someone knows about this issue since I seem to be getting more pop up boxes from Firefox now when the Windows 7 system seems to hang (no response from mouse when I try to close the Firefox browser window).  The pop up box states that Adobe flash player is not responding or in a loop so when I respond to the pop up window to cancel the task all the flash player displays in all of the open Firefox browser sessions crash.  However, if I use google chrome and the same ESPN videos that use Adobe flash player so far I have not seen the same issue of hangs or crashes.  So, is this a known issue with Adobe flash player and/or Firefox or has it just never been fixed correctly?
    Configuration:
    Sony VPCF2390X - I7-2760QM - 8 GB - GEForce GT 540M - 1920 X  1200 Resolution
    Windows 7 Home  Premium Service Pack 1 -  7.1.13.1088   64-bit
    Firefox 23.0.1
    Adobe Flash Player 11,8,800,115
    Message was edited by: Stingray99

    I use Firefox, which is a leading browser, I think we'd say, and I think I had far fewer plug-ins until I updated to the new Adobe Flash Player today.  As for your challenge to come up with a plugin, I'm a poor sucker who's developed nothing more in my lifetime that Word and Excel docs. I'm totally at the mercy of what all software developers throw at the public.  As for crap on my computer, I've tried to get rid of everything I can, crap or not, just in case it could affect Adobe Crash. Do you see anything here that looks suspicious?
    Unknown Plugins
    Plugin Status Action
    Microsoft® DRMDRM Netscape Network Object
    unknown
    Research
    Windows Presentation FoundationWindows Presentation Foundation (WPF) plug-in for Mozilla browsers
    unknown
    Research
    Microsoft Office 2010The plug-in allows you to open and edit files using Microsoft Office applications
    unknown
    Research
    DivX VOD Helper Plug-inDivX VOD Helper Plug-in
    unknown
    Research
    npFFApinpFFApi
    unknown
    Research
    DivX Plus Web PlayerDivX Plus Web Player version 2.3.1.51
    unknown
    Research
    These plugins are up to date
    Plugin Status Action
    Windows Media Player Plug-in Dynamic Link LibraryNpdsplay dll
    3.0.2.629
    Up to Date
    Java(TM) Platform SE 7 U25Next Generation Java Plug-in 10.25.2 for Mozilla browsers
    10.25.2.17
    Up to Date
    Adobe AcrobatAdobe PDF Plug-In For Firefox and Netscape 11.0.04
    11.0.4.63
    Up to Date
    Shockwave FlashShockwave Flash 11.8 r800
    11.8.800.168
    Up to Date
    Back to Top

  • With You Tube Adobe Flash Player not display in full frame

    Hello,
    I have Adobe Flash player 11.8.800.97 with google chrome latest version.
    When I read a video with You tube i cannot enlarge picture in full frame, it give me a largest screen about 1/4 of my screen on the top left corner and the rest is black?
    I check the version of all software, of Chrome, I clear the cache...What else?
    Thank's for your help
    Illioucha

    There are two different versions of Flash, one version for IE (ActiveX) and another version for all other browsers (Plugin version). You need to install the Plugin version,
    1.Download the Flash setup file from here: <br />
    [http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player.exe Adobe Flash - Plugin version]. <br />
    Save it to your Desktop.<br />
    2. Close Firefox using File > Exit <br />
    then check the Task Manager > Processes tab to make sure '''firefox.exe''' is closed, <br />
    {XP: Ctrl+Alt+Del, Vista: Shift+Ctrl+ESC = Processes tab}
    3. Then run the Flash setup file from your Desktop.
    * On Vista and Windows 7 you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). <br />
    See this: <br />
    [http://vistasupport.mvps.org/run_as_administrator.htm]

Maybe you are looking for

  • How do I only execute code in a certain tab when that tab is selected?

    I want the code inside one of my tabs to only run when that tab is selected. I'd like to read the value of the tab chosen to compare it to a constant (that tab), and if true, run it.  I don't know how to read the value of a tab selector though, I don

  • JRE 1.3.1 Bug May Screw Up Your Executable JAR File

    Hi; I just submitted this bug report to sun. It could save you a lot of pain. If you have both the JDK and a seperatley obtained Sun JRE on your computer you could build a deprecated code and not know it until you distribute your app to your user or

  • While importing, how do I save the file name with the artist in it?

    Currently when Itunes imports any cd, it imports it with the song name only, and put it in a folder with the artist name. I would prefer the tracks to be named 'Artist - Song.mp3'. Any idea how I can do this? It's driving me crazy. I need to rename a

  • Preflight droplet returns too early

    I want to convert a color PDF into grayscale. So I created a new preflight profile where nothing happens except color fixup: Advanced > Print Production > Preflight PDF Fixups > Convert to Grayscale I saved the profile and created a Droplet named gre

  • ACR/LR3.3 and Nikon D7000 - magenta color mismatch?

    I recently purchased the Nikon D7000. The NEF RAW files are not supported in current versions of LR and CS5. Downloaded and installed LR 3.3RC. Also downloaded and installed ACR 6.3R1. Both work with the D7000 NEF-files with ONE exception. If I shoot