Flex :: Disable Dragging Of Alert Windows?
Mar 10, 2011
How can I disable dragging of the Alert window in Flex? I don't want the users to move my alert windows. What shall I do?
var a:Alert=new Alert();
a.text="Alert Message";
PopUpManager.addPopUp(a,this,true);
View 3 Replies
Similar Posts:
Feb 18, 2011
I have a timer in my application. For every 30 min, it will hit the web services and fetch the data and updates the UI. The application was working fine till yesterday. Suddenly, because of some issue, the web services were not available for some time. During that period, Application displayed the RPC Error multiple times(More than 100 alert boxes) in alert window. Because of this alert boxes, my application was hanged and i was not able to do anything.
I have tried several approaches, but nothing worked.Finally, I have tried to use a flag. In all the approaches, this looked promising. so i have implemented it.Basically, in this approach whenever we open an alert we will set a flag.While opening and closing alert we will reset this flag.
View 1 Replies
Apr 3, 2011
In my AIR application in Flex 4, I use mx:HTML, and when I navigate to a location like this ut, some websites have "alert" function in javascript like this :lert('hello world!');nd AIR show the message in a box...I just want to remove, or ignore these messages, but I don't know how...
View 1 Replies
Apr 29, 2010
I am having an issue where I show an AlertBox message when the user hits ENTER and the focus is in a text area. The pop up works fine, but when the user hits enter the Alert closes as expected, but the TextArea listener receives the ENTER event from the Alert and pops the dialog up again. I have tried a number of ways to catch and eat the event but so far I have not been lucky. Is there way to accomplish this?
public function init():void
{
myTextInput.addEventListener(KeyboardEvent.KEY_UP, handleKeyStrokes);[code]....
View 2 Replies
Jul 20, 2010
as you drag apiece of art, it leaves a ghosted version behind.not a show stopper, but I don't like it. any way to turn that off?
View 0 Replies
Nov 26, 2011
I know in Java googleMap.draggable = false; in "google.maps.MapOptions object specification" disables dragging, but how it works for Action Script 3.0 ? I want to disable dragging/panning by mouse. I used googleMap.disableDragging(); but it doesn`t work ..
View 1 Replies
Mar 26, 2012
I want to disable windows defaults key listener...
My SWF should listen all key event.. even ALT+F... Normally,ALT+F key ll open file menu in flash player.I want to disable that thing.
View 2 Replies
Jan 12, 2009
I would like to completely disable the soundin Adobes Flash-Player in case of "nerving"Websites. Is there a way to disable the soundin Flash-Player, but without disabling the sound in
View 3 Replies
Jan 30, 2010
I have an AIR application that uses the HTML component to display a significant portion of content (I set the html myself, it is not loaded remotely). The text displays normally on Mac (I think Mac antialiases all text by default). However, on windows, the text displays anti-aliased regardless of the OS settings. It ends up giving everything a red tint.
Ideally, I'd like to be able to control whether or not the text gets anti-aliased. Does anyone know if there's a way to to this in Flex / AIR?
View 1 Replies
Sep 26, 2009
I've added fullscreen and trapallkeys to my project and they work well
but when I press windows Start button then fullscreen disable
View 0 Replies
Oct 28, 2011
I'm having an issue with the PDF displaying outside the viewable area of the mx:HTML control in Flex. When the application starts up - the mx:HTML is set to a certain size, but can be enlarged if the application is maximized. These are the following conditions to replicate it: Issue only happens in Windows (Windows 7, not on Mac) Issue only happens with Reader X installed (not with previous versions) Issue only happens when running the built app, does not happen in debug / development mode from FlashBuilder
[Code]...
View 1 Replies
Feb 23, 2011
I'm running ant to compile a Flex application, and the build keeps failing when running it on a windows command line. Other people in my team can successfully run the very same build under mac and linux. This is the error shown in the command prompt:
[Code]...
All tokens are set in corresponding build.properties and filter .properties files (and, as I said before, it compiles perfectly under mac and linux). The windows version is 7 Ultimate, FLEX_HOME is set as an environment variable to the Flex SDK 3.5 (the 3.5.0.12683 build that comes with Adobe Flash Builder Burrito). ${compiler.fork} is set to false, to avoid an issue with the SDK and the source files being in different logic drives.
View 1 Replies
Mar 8, 2010
I'm using Flex in Flash Player 10 on Windows, using FileReference to load a file into memory, as below.My issue is that when a file is locked by Windows, my FileReference is not giving me any feedback that the file is inaccessible--it simply never dispatches any events after my calling load().Does anyone have insight into how to tell that Flash Player is unable to open the file?
var fileReference:FileReference = new FileReference();
private function onClick():void {
fileReference = new FileReference();
fileReference.addEventListener(Event.SELECT, onSelect);
[code]....
View 1 Replies
Nov 25, 2011
From an Adobe Air application, I need a function to launch the Windows Virtual Keyboard (c:windowssystem32osk.exe). I tried the Native Process, but it didn't work when telling it to execute cmd.exe /C osk.exe. How should I launch the keyboard application from an Adobe Air application?
View 1 Replies
Aug 29, 2009
i setup alwaysOnTop="true" in mx:WindowedApplication alwaysOnTop="true" tag. but this does not work in MAC but works in windows.
View 1 Replies
Aug 24, 2010
I have a mp4 file which is to be used in an application. Currently i am in the stage of figuring out the technology to be used for this job. I am familiar with flex and am hoping that i be able to use it for the application. But i can not figure out a way to play the file in flex. I have been able to play the file only in windows media player and that required the installation of three codecs : Mp4Audio.ax, Mp4Video.ax, Mp4Src.ax.
As i see it, it will be very convenient if i could embed a windows media player plugin in flex or i could specify the audio and video codecs in the flash player
View 1 Replies
Feb 6, 2012
I have a flex application (.swf) and want to create a projector file. When I choose File-> create projector I get the .app file because I work on a Mac. I know I can create both projector formats for windows and mac using the export feature in Flash Professional. But this is not an option since it's Flex.Is there any other way rather than switching to windows to create the file?
View 1 Replies
Sep 21, 2009
I want to provides an option in my air/flex application. A user can check an option and the application starts when windows starts.I don't find with google how to do this, someone knows do that ?
View 1 Replies
Jul 30, 2010
does anyone have an idea or developed before windows authentication through flex application.I have a semi solution when user enters his/her AD username and password, and application send this data to web service which handles AD authentication, but this is one extra step which will give full comfort for users.
View 1 Replies
Mar 1, 2012
we're having a strange problem on a project here. When we use NetConnection in combination with a NetGroup to initiate communication between two local AIR applications on Windows XP, they always both connect to the NetGroup succesfully and detect each other as neighbors. However, on Windows 7 both applications connect succesfully to the NetConnection and NetGroup both don't detect each other as neighbors.To reproduce this problem, here are two AIR applications:[code]
These applications can connect and send message to each other without a problem on Windows XP. On Windows 7 however, they cannot.Does anyone know why this wouldn't work on Windows 7 and what steps can be taken to make it work? It's critical to our project that this works.In some cases, the applications take quite a long time to detect each other as neighbors (up to 15 seconds in some cases), in other cases they detect each other immediately. Does anyone know what could cause this delay?
View 1 Replies
Apr 18, 2011
In my Flex 4 app I would like all my alert boxes to be a specific width and height, how do I specify that in the CSS? I want to avoid having to specify the width and height every time I want to show an alert, that's why I'd like to set it in the CSS, but does not look like there's a way to.. Something like this does not work:
mx|Alert
{
height: 100;
width: 300;
}
View 3 Replies
Apr 2, 2010
I need to customize my alert box with two button and both the button need to have different skins on them. I was able to do it for one skin. But i am unable to figure out about the two skins. My code that i have right now is below:
[Code]...
View 1 Replies
Apr 27, 2011
I have 2 comboboxes which are dependent (country and state) and one submit button.
Now what i want is after user submits the form it should display one alert box which should be like
selected country is "selected item"
selected state is"selected item"
View 3 Replies
Oct 25, 2011
I got a strange problem. Just using Flash Builder 4.5 and trying to use the Alert Popup for some user messages.
[Code]...
View 2 Replies
Dec 28, 2011
How do I skin alert box in flex 4? I am not interested in customizing alert box via css, how do I create skin? For example, for TextInput I would write in css:
[Code]...
And get TextInput globally changed. How do I make something similar for Alert? I can't understand what is host component for alert.
View 1 Replies
Aug 19, 2009
I am using Flex3.0. in this i am craeting a custom component for an Alert.and for that alert i am applying styles. but when i opening the alert through the application i want to set focus on Alert button.means when i press enter button there are two buttons in alert YES and NO.i need to focus on YES button.
View 2 Replies
Sep 30, 2009
I have a project in which i need to pop up an alert to the user before a combobox value is changed. This feature is to allow the user to stay in current state if modifications were not saved. Meaning that the user will be able to cancel the change. I have sub classed ComboBox and tried to hook on ITEM_CLICK of ComboBox.dropdown but this event is triggered after the value is changed. Also, I've tried MOUSE_CLICK ans MOUSE_DOWN but without success.
In my code, I have added a "preChange" event to my CustomComboBox. This event should be triggered before a change is made. Also, I've introduced a method called commitChange that will be called manually to actually commit the change.
View 3 Replies
Nov 10, 2009
Can i remove the OK Button from Alert.Show() message which displays by default?Update:private var myAlert : Alert;
public function showAlert( message: String, title : String ) : void
{
hideAlert();
[code].....
View 2 Replies
Mar 30, 2010
I want to create a simple multiline Alert popupAlert.show("Blah\nBlah")shows BlahBlah when what I really want is two lines, one Blah each.
View 2 Replies
Feb 21, 2011
Is it possible to send parameters to a closeHandler Alert function? The fisrt parameter the function gets is the CloseEvent, but how to send another one?
[Code]...
View 3 Replies