ya I have to import mx.controls.Alert
But when i import, it give error package not found.
i think we cant import mx.control package in .as File

On Wed, Feb 11, 2009 at 3:44 PM, Ravi <[email protected]> wrote:

>
> Kunal,
>
> You will have to import the following:
>
> import mx.controls.Alert;
>
> Try this with your code snippet.
>
> HTH,
>
> -Ravi
>
> On Feb 11, 2:27 pm, Kunal Pagariya <[email protected]> wrote:
> > > Use the following code sniplet
> >
> > > try{
> >
> > >    // your code goes here
> > > }
> > > catch(errMsg:Error){
> > > Alert.show("Exception"+errMsg.toString())
> > > }
> >
> > > I tried this. But this give error
> >
> >    Access of undefine Property Alert
> >
> > --
> >
> > Regards
> > Kunal Pagariya
> >
>


-- 



Regards
Kunal Pagariya

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