...or mx.core.Application.alert... I forget which one... geez, it's not even the evening yet, I've got no excuse...
 
----- Original Message -----
From: JesterXL
Sent: Thursday, September 22, 2005 1:39 PM
Subject: Re: [flexcoders] alert throwing error

alert is a static method of Application; so, if your code is in eclosed in a script tag in Application.mxml as the root, your good to go.  Otherwise, do:
 
mx.core.Application.application.alert()
 
----- Original Message -----
Sent: Thursday, September 22, 2005 1:04 PM
Subject: [flexcoders] alert throwing error

Hi
I use a simple alert in my mxml script.
 
function abc(){
  alert(moduleSelectedItem);
}
 
It throws me this error1 Error found.
 
Error /WEB-INF/flex/user_classes/com/lonline/client/view/course/classgroup/classgroupRegister.mxml:29
There is no method with the name 'alert'.
 
Any ideas?
Regards
Husain

 


Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to