Did you set the value of "URL"? I see where you declared the variable, and made it Bindable, but I don't see where you set the value.
In other words, I see this: [Bindable] public var URL:String; But I don't see anything like this: URL = "http://www.myWebSite.com"; --- In flexcoders@yahoogroups.com, "Faisal Abid" <[EMAIL PROTECTED]> wrote: > > I am developing a download widget and I have created bindable propertys and etc and my URL var is linked to navigateToURL and when i fill the URL with a property eg <ns1:downloadwidget URL="myurl"/> it will nto go to myurl instead it will go to projectroot/myurl . here is the portion of the code. rember it is just a portion of the code , i dont want to reveal all the code. > > <mx:Script> > <![CDATA[ > import mx.events.*; > import flash.net.*; > > [Bindable] > public var URL:String; > > ]]> > </mx:Script> > > <mx:LinkButton x="310" y="82" label="Launch!" click="navigateToURL(new URLRequest('{URL}'))"/> > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/