Ok, just a quick note to anyone who is learning Flex 3 and wants to use deep linking. I just spent three hours pulling my hair out.
Most of the examples on the web about using deep linking tell you to use the BROWSER_URL_CHANGE event when adding a listener. One would think it would fire everytime the url changes, whether by user action or programatically. Right? Wrong! It only fires when a user clicks next or back in the browser. If you programatically change the url using the setFragment() method it doesn't fire the listener. So then I switched to APPLICATION_URL_CHANGE event. Solved my problem for programatic changes but does nothing when the user clicks next or back. The answer: Use the URL_CHANGE event. This fires in all cases: when next,back or enter are clicked or when the setFragment() method is invoked. Just a little heads up for y'all. Hopefully it will save you some trouble in the future... and save your scalp a bit too. Michael - The slightly more hairless developer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:293329 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
