Archive for July 21st, 2008

刚使用SWFAddress就出现了一个怪异的问题,SWFAddress.setValue(“XXX”);调用后,URL怎么也不改变,不知道什么原因,后来发现如果把这句放在SWFAddress.onChange的事件侦听中就是正常的。想不明白,查看他的代码发现了这么一段: private static function _check():void { if ((typeof SWFAddress['onInit'] == ‘function’ || _dispatcher.hasEventListener(‘init’)) && !_init) { SWFAddress._setValueInit(_getValue()); SWFAddress._init = true;…