Garbled Chinese characters in Flash text input

Last time I ran into the problem of Flash’s NavigateToURL being blocked in IE, and the fix was to set wmode. Last night I hit another wmode problem: a text input field in Flash (a genuine TextField in CS4, type=’input’), once embedded in a web page, couldn’t take Chinese input properly in Firefox — the IME worked, but everything typed came out garbled.

Flash

A Peek at the Flash CS5 Rumors

This article gives us a bit of insider gossip about Flash CS5. There are a few typos in it, and for someone whose English isn’t up to much, like me, it was enough to bring tears to your eyes. A few things I paid attention to: Adoption rateLooking at the current state of the Flash platform, FlashPlayer10 installs are still climbing, and the new figures are expected to reach over 90% coverage in the near term. Flash CS5 featuresThe biggest news for developers is that Flash authoring is finally integrated with FlashBuilder. If you’re using Flash CS5, you can export a new FlashBuilder project through a new export dialog.

Flash

getURL or navigateToURL popup windows are blocked by IE

Problem description:This afternoon I ran into a hassle: IE7 and IE8 intercept navigateToURL('xxx','_blank') inside Flash; getURL under AS2 gets intercepted the same way. I feel like I’ve run into this before, but it doesn’t happen that often, so I never bothered to dig into what conditions trigger the interception. It came up again today, so it’s a good chance to figure out why. After some searching, I found plenty of discussions from last year. Someone pointed out: IE7 and Firefox (the version I’m using is 2.0.0.11) block opening new windows with the navigateToURL method, while the getURL method in AS2 doesn’t — which is pretty annoying. Since the project chose AS3, we just have to find a way around it. The first thing that comes to mind is ExternalInterface, of course, but testing showed it still gets blocked. Then I wondered whether adding wmode would help, so I added the wmode attribute set to opaque to the page — and sure enough, it worked.

Web Frontend

Nothing better to do, so here's an as effect

Requires Flash Player 10 code:

Works

ActionScript for Multiplayer Games and Virtual Worlds[Download]

ActionScript for Multiplayer Games and Virtual Worlds Book Overview The demand for multiplayer games and virtual worlds has exploded over the last few years. Not only do companies want them for site stickiness through social networking, but developers have tremendous interest in exploring this niche area. While developing multiplayer content is challenging, it isn’t as difficult as you might think, and it is fun and highly rewarding! ActionScript for Multiplayer Games and Virtual Worlds explains fundamental multiplayer concepts from connecting to a server to real-time latency hiding techniques. In this book you’ll learn: How to connect users to achieve real-time interaction When to make decisions on the server versus the game client Time synchronization techniques How to use dead reckoning smoothing to hide network latency About tile-based games the isometric view Techniques for customizing and rendering avatars in a virtual world In addition, you’ll learn everything that goes into building: A real-time multiplayer tank battle game A real-time multilayer cooperative game A virtual world

Flash

Changing the height of a Flash Slider component's Skin

Based on the design, I found that Flash CS4’s Slider component is too thin — it needs to be thicker, i.e. I have to change the Slider’s height. I checked the API docs, and there’s nothing for setting the SliderTrackSkin’s height. Looks like I’ll have to dig into the UI components myself. Exploration… Result: In Flash CS4, the UI component files are under [X:\**]\Adobe Flash CS4\Common\Configuration\Components, and the source files are under [X:\**]\Adobe Flash CS4\Common\Configuration\Component Source\ActionScript 3.0\User Interface

Flash

AS3 library resources — lots of very useful class libraries

The following content is reposted from http://www.eoocy.com/article.asp?id=3 Below are some extremely useful libraries — I was overjoyed when I found them. APIs, Libs, Components as3ebaylib http://code.google.com/p/as3ebaylib/ as3youtubelib http://code.google.com/p/as3youtubelib/

Flash

AS3 digital audio processing library with wav support: StandingWave

StandingWave is an AS3 code library designed for high level control of Flash Player 10’s SampleDataEvent API for streaming audio output. It is based on a subset of the audio engine used by the Noteflight Score Editor. The goal of StandingWave is to encapsulate the following kinds of objects, permitting them to be easily chained together and combined to produce complex, dynamic audio output:

Flash

Adobe makes the RTMP protocol public

Recently, Adobe published the RTMP protocol specification: Official page: http://www.adobe.com/devnet/rtmp/ Download link: http://www.adobe.com/devnet/rtmp/pdf/rtmp_specification_1.0.pdf

Flash

Mousebomb Ver.2007 Flash Site full-site source files

2007 Site Source Files ReleasedMousebomb Ver.2007 Flash Site full-site source files are now released.

Works
1345679