Geeta,
Check out the very recent thread: http://groups.google.com/group/flex_india/browse_thread/thread/3a6cb554b748fb31 -Ravi On Jun 24, 6:40 pm, geetha <[email protected]> wrote: > Friends , > > I have one problem in my project.I had tried in some ways but not > solved. > Will u please guide me? > > Problem: > In my projects there is one main application and four components. > The Four components are fixed in the main application. > The First Component contains year selection box > When I select the year it will access a Webservice , and > a new brower window need to open with the webservice result.How can I > do this > > My self I had create one Details.mxml application in > same project with a grid > (grid id is grd). > And compile that.and call that compiled html file in > the application using navigation url. > Now the new browser opens but the error show “null obj > reference”. > > My src: > private function YearSelection():void > { > SalesState.Monthly.send(Firstcomponent.SelectedYear);//to webservice > var url : String = "http://sysname/OBS/Details.html"; > var urlr : URLRequest = new URLRequest(url); > urlr.method = "POST"; > navigateToURL(urlr,"_blank"); > } > > //webservice result handler > private function ResultHandler(event:ResultEvent):void > { > Result = (event.result.Tables["Table"].Rows); > var det:Details = new Details; //The another one app which contains > grid// > det.grd.dataProvider = result; > } > > regards, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

