geetha,

you need to import the  below stament*

import* flash.net.navigateToURL;



*and no need to mention this : urlr.method = "POST";*

*If ur problem still not solved explain  ur problem to me bit more clear.*


On Wed, Jun 24, 2009 at 7:39 PM, geetha <[email protected]> wrote:

>
> Oh Thanks for the reply ravi and will follow your way
>
> On Jun 24, 7:06 pm, Ravi Mishra <[email protected]> wrote:
> > You can use localConnection object for that. Search for
> > localConnection in Livedocs.
> >
> > -Ravi
> >
> > On Jun 24, 7:00 pm, geetha <[email protected]> wrote:
> >
> >
> >
> > > Thanks for the reply misra,but what my ques is
> >
> > > passing data from one mxml application to another mxml application not
> > > the "one component to another component"
> >
> > > On Jun 24, 6:45 pm, Ravi Mishra <[email protected]> wrote:
> >
> > > > Geeta,
> >
> > > > Check out the very recent thread:
> >
> > > >
> http://groups.google.com/group/flex_india/browse_thread/thread/3a6cb5...
> >
> > > > -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,- Hide quoted text -
> >
> > > > - Show quoted text -- Hide quoted text -
>  >
> > - Show quoted text -
> >
>

--~--~---------~--~----~------------~-------~--~----~
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