I copy and pasted this import mx.controls.Alert; from: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf 69084-7da0.html
Why? because everytime I typed inimport mx.controls.Alert give me the error: The import Alert could not be found.
And in fact even copying and pasting that peice of code from the web site I still get the same error....
So I ask, its it not apart of the mx.controls package?
It would seem to be that when the app installed it didnt install the mx.controls.Alert
Which is wierd...... because some of the documentation points there and clikcing on its link takes me no where.
I am trying a re-install. Ill let you all know if I still need help debugging this issue
No one seems to be responding or helping? why?
Any ways after a full reinstall of the product which had no issues reinstalling (I completly unistalled it) I get:
Multiple markers at this line:
-1172: Definition mx.controls:Alert could not be found.
-The import Alert could not be found.
as said in this post i externally add mx.swc in my project .my project .swc is deleted and i can't able to run the project.
so how to achive this ?
i want to dispaly alert in my project and i am using Spark
Thanks & Regrads
<?xml version="1.0" encoding="utf-8"?>
<!-- Place non-visual elements (e.g., services, value objects) here -->
protected function btn2_clickHandler(event:MouseEvent):void
var ale:Alert = Alert.show("This is a ALert");
<s:Button label="Show alert (with moduleFactory)" id="btn2" click="btn2_clickHandler(event)" />
this is my code but it not working.i add explicitly mx.swc but my project.swc file is deleted so now i have to do to display alert in my project.
ya i am devloping mobile application.
i want to dispaly alert and pop-up on my application.
in my application i have to display alert and pop-up so give me any solution for that.
can you give example of SkinnablePopUpContainer?
Thanks & Regards
If you are having trouble getting Flash Builder to configure propertly, try
asking on the Flash Builder forum. If you have a 20-line project with
mx.swc in it and you can't get it to recognize Alert after importing
mx.control.Alert, then post the project.
I have the same problem :(
I don't know why it doesn't work...
Error 1172: Definition mx.controls:Alert could not be found.
I have Flash Builder 4.5
I solved the problem. I just checked the settings I changed the MX Spark + Spark
Wow, really? It's "recommended" that, if we're working on a mobile app, we replace two lines of code (an important statement and an event handler) with what's written here SkinnablePopUpLayer? I just want basic error output without having to attach a debugger; do you have a more elegant alternative?
Europe, Middle East and Africa