Development Flex


    
        
            import mx.utils.ObjectUtil;
            import mx.managers.IBrowserManager;
            import mx.managers.BrowserManager;
            import mx.utils.URLUtil;
            private function parseURL() : void
            {
                var bm:IBrowserManager = BrowserManager.getInstance();
                bm.init();
                var o:Object = URLUtil.stringToObject(bm.fragment);
                output.text += "Object:" + ObjectUtil.toString( o ) + "\n\n";
                output.text += "name:" + o.name + "\n\n";
                output.text += "index:" + o.index + "\n\n";
                output.text += "productId:" + o.productId + "\n\n";
            }