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.
Why? Because it is Saturday and fewer people work on Saturday.
What version of Flex? If it is a recent version, is the mx.swc in the
why is this not working?
Do you have a 20-line test case that fails for you?
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
Post a 20-line test case that fails.
i am new to flex so sorry for asking this where i find 20-line test case ?
You create one yourself.
<?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.
You are using s:View which implies you are building a Mobile app and Alert
is not recommended for mobile apps. Try using SkinnablePopUpContainer.
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
A google search of SkinnablePopUpContainer promises some examples.
I am using flash builder 4.5 and i am unable to call alert from an action script file?
I am not building mobile application but compiler is still unable to find it in mx.controls package.
Make sure mx.swc is one of the libraries in the project, and make sure you
import the class.
My project settings were to use only spark components. when i switch the settings to mx+spark then alert was found.
i import the import mx.alerts then also it give error on page
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?