Hi Friends,

I have been trying to implement the Deep Linking into my application.
All the examples give on various places are working fine Firefox and
Chrome, But when it comes to IE, none of them are working?

Can somebody tell me why it is happening so? Do we need to do
different settings or code for IE?

Thanks for your replied guys..

Regards
Ashish Mishra

Here is the code of one of the many applications i have seen:

<?xml version="1.0" encoding="utf-8"?>
<!-- deeplinking/UpdateURLExample.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
    layout="vertical"
    historyManagementEnabled="false"
    creationComplete="init();"
>
    <mx:Script>
    <![CDATA[
        import mx.events.BrowserChangeEvent;
        import mx.managers.IBrowserManager;
        import mx.managers.BrowserManager;
        import mx.utils.URLUtil;

        private var browserManager:IBrowserManager;

        private function init():void {
            browserManager = BrowserManager.getInstance();
            browserManager.addEventListener
(BrowserChangeEvent.APPLICATION_URL_CHANGE,
                logURLChange);
            browserManager.init("", "Welcome!");
        }

        public function updateTitle(e:Event):void {
            browserManager.setTitle("Welcome " + ti1.text + " from " +
ti2.text + "!");
        }

        private function updateURL(event:Event):void {
            var s:String = "panel=" +
event.currentTarget.selectedIndex;
            browserManager.setFragment(s);
        }

        private function logURLChange(event:BrowserChangeEvent):void {
            ta1.text += "APPLICATION_URL_CHANGE event:\n";
            ta1.text += " url: " + event.url + "\n"; // Current URL in
the browser.
            ta1.text += " prev: " + event.lastURL + "\n"; // Previous
URL.
        }
    ]]>
    </mx:Script>

    <mx:TabNavigator id="tn" width="300" change="updateURL(event)">
            <mx:Panel label="Personal Data">
                <mx:Form>
                    <mx:FormItem label="Name:">
                        <mx:TextInput id="ti1"/>
                    </mx:FormItem>
                    <mx:FormItem label="Hometown:">
                        <mx:TextInput id="ti2"/>
                    </mx:FormItem>
                    <mx:Button id="b1" click="updateTitle(event)"
label="Submit"/>
                </mx:Form>
            </mx:Panel>
            <mx:Panel label="Credit Card Info">
                <mx:Form>
                    <mx:FormItem label="Type:">
                        <mx:ComboBox>
                        <mx:dataProvider>
                            <mx:String>Visa</mx:String>
                            <mx:String>MasterCard</mx:String>
                            <mx:String>American Express</mx:String>
                        </mx:dataProvider>
                        </mx:ComboBox>
                    </mx:FormItem>
                    <mx:FormItem label="Number:">
                        <mx:TextInput id="ccnumber"/>
                    </mx:FormItem>
                </mx:Form>
            </mx:Panel>
            <mx:Panel label="Check Out">
                <mx:TextArea id="ta2" text="You must agree to all the
following conditions..."/>
                <mx:CheckBox label="Agree"/>
            </mx:Panel>
    </mx:TabNavigator>
    <mx:TextArea id="ta1" width="580" height="400"/>
</mx:Application>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to