Thanks Stephen the problem is resolved.

On May 2, 4:26 pm, "Howard, Stephen" <[email protected]> wrote:
> Try:
>
> <mx:Button label="Click Me" click="Alert.show('Hello World')" />
>
> Note the single (') inside the alert instead of your original double
> (").
>
> Stephen
>
> -----Original Message-----
> From: [email protected]
>
> [mailto:[email protected]] On Behalf Of Raja
> Sent: Saturday, May 02, 2009 2:22 AM
> To: Google Maps API For Flash
> Subject: call to possibly undefined method show through reference with a
> static
>
> Hi
>
> My code is like this..
>
> <?xml version="1.0"?>
> <!-- Simple example to demonstrate the Alert control. -->
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
> <mx:Script>
>         <![CDATA[
>                 import mx.controls.Alert;
>         ]]>
> </mx:Script>
>
>    <mx:Panel title="Alert Message" width="75%" >
>
>         <mx:Text color="blue" textAlign="center" text="Just an Alert Box
> you can click on that"/>
>    <mx:Button label="Click Me" click="Alert.show("Hello World")"/><!--
> Error is shown at this line -->
>
>    </mx:Panel>
>
> </mx:Application>
>
> Where ever we used any function calling which are to be imported there
> it is giveing a compling error.
> I am using flex builder 3 version
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" 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/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to