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 -----
From: Husain
Kitabi
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 YAHOO! GROUPS LINKS
|
- Re: [flexcoders] alert throwing error JesterXL
- Re: [flexcoders] alert throwing error JesterXL
- RE: [flexcoders] alert throwing error Abdul Qabiz