Lots of deeplinking doesn't work if you use IE and file://. Deploy to a server and try again using http://
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Davis Ford Sent: Wednesday, January 06, 2010 9:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] BrowserChangeEvent.BROWSER_URL_CHANGE not firing Hi, I'm trying to implement deep linking via BrowserManager. I've basically emulated many of the examples on this topic, and I seem to be stuck getting the BrowserChangeEvent.BROWSER_URL_CHANGE to fire. When I change the URL fragment in the address bar and hit enter, it does nothing. If I breakpoint the code in the handler for the event, I never hit it. I'm using FB, and I generated the default HTML template. It created the history/history.css, historyFrame.html, history.js, etc. I did not edit any of the generated html template files. The app's MXML header looks like this (disabled historyManagement) <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:views="views" historyManagementEnabled="false" layout="absolute" > <!-- Views __________________________________________________________ --> <views:MainUI/> </mx:Application> MainUI has this header: <mx:Canvas xmlns:views="axeda.ui.views.*" xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" creationComplete="init(event)"> with this init function: private function init(event:Event):void { browserManager = BrowserManager.getInstance(); browserManager.addEventListener(BrowserChangeEvent.BROWSER_URL_CHANGE, parseURL); callLater(parseURL); } and here's some of parseURL private function parseURL(event:Event = null):void { isParsing = true; var o:Object = URLUtil.stringToObject(browserManager.fragment); etc. Now, if I set a breakpoint in parseURL, it hits it the very first time the app loads, but if I change the fragment, and hit enter, it never reaches it, and I can't figure out why. The Browser is IE7 -- any ideas on why I can't get this event to fire? Thanks in advance, Davis