SharedObjectの一時変数 [ Flash ]
AS2の頃は
To create private values for a shared object--values that are available only to the client instance while the object is in use and are not stored with the object when it is closed--create properties that are not named data to store them, as shown in the following example:
ということで
ということができたのだけど、AS3からはdynamicじゃなくなっちゃってできなくなっちゃった。まぁ何がやりたいかっつーとJSのcookieのexpireみたいなことをやりたいんだよね。ブラウザのウインドウが閉じられた瞬間に破棄する・・みたいな。そういうイベントがあるのかもしれないけど、displayObject系では今のところ無理そうな悪寒。次回アクセスの際にタイムスタンプから継承するかどうか?っつーのはできそうだけど、美しくないなぁ・・。

コメント
デケタ!
投稿者: +39 | November 25, 2008 8:50 PM
一応できるようになったもののOperaはNG。あとIEのイリーガルな使い方をすると挙動が怪しい。も少し検証。
投稿者: +39 | November 25, 2008 11:57 PM