I'm working on a project in Actionscript 3.0 in Flash Pro. I want to create a confirmation box. If I were using the Flex SDK I could do this using the Alert class in the mx.controls package. However it seems that no similar control exists in the standard Flash library, and any amount of googling just leads me to Flex references.
I would like to have a quick message displayed on the screen for a few seconds after a user clicks a button. I can't seem to find an Alert Box or Dialog Box option in Flash CS4.
Within an event handler I have an Alert.show(...) that prompts a user for confirmation. How can I capture the selection of the alert prompt and use it within the event handler. [code]...
I have an AS2 Flash SWF that is calling another AS2 Flash File using loadMovieNum("flash.swf",2) and a JavaScript file that calls a function on page using a timer. This is what I get in Firefox with Flash 10 (IE8 gives no error message):
uncaught exception: Error calling method on NPObject! [plugin exception:
Error in Actionscript. Use a try/catch block to find error.].
What is going wrong? I can't see a problem. It is suppose to clear the contents of the embedded swf and use a Flash alert dialog to confirm Yes or No.
I am using Flex 4 and running into some problems displaying a simple alert box. The alert box shows up, but the text seems to be the same color as the background. I know the text is there because if I mouse over in the alert box window to roughly where the text would be, I can see the cursor change. And when I double click and copy-paste into notepad, I can see the message. But the message, the button text, the message box title don't show up.The relevant code in my project is as follows
I'm working on a project for a User Interface Design class, so the emphasis is on the UI being as nice to use and non-annoying as possible. I would like to display a message to the user after they've clicked save, for example, without requiring them to click an OK button. I'm thinking of the kind of thing you see in gmail if you send a message or do some other actions, where a message appears on the screen, but the message disappears after you do something else.
I'm sure there's a way to do this in Flex (I'm using 4.6), but I just don't know what it is. I'm pretty new to Flex and I'm having trouble finding anything via Google, because the results keep showing confirmations messages in Alerts; I don't know the search terms to get the results I'm looking for.
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]....
I've created a main swf application that loads other swf files to use their classes (using getUrl()).i would like that these swf files would output popup alert messages when errors occur without changing the main swf file. how can i do so ?the external swf files that i load got a hidden stage which disallows me from viewing anything or seeing any message from them.
I have flash as a gui to edit some docs. I'd like to caution the user to save before they close the window (or navigate away from it).ut can it be done with a .swf ?I think this was asked awhile back in this forum but I cant seem to locate it.
how to create a pop up dialog using facebook application, i found some examples but it doesn't worked for me, now i loaded my friends then beside the profile pic of my friends in have a button name select, where if i select that current friend it will now pop up the image and name then have a button continue how should i do that?
I have an html form within a flash site. The form is php processed. fix the php file so that after processing the form, the php returns the user to the flash page and reloads the html form. I tried a window.location in the php to send to the page but that did not work. It results in a white rectangle within the html code area (maybe frame but I'm not sure). How can I get just that html form reloaded? I do not want to load the entire page using a URL because that is too slow and I cannot replicate the flash state. BTW, below is a stripped down version of the code to simplify.
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:
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"
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.
i've seen this technique done a few times and for the life of me I cannot figure it out. Basically, while in FLASH customized movieclip that looks like an alert box pops up and disables the entire movie behind it with a black transparent overlay. Where have I seen this, well, Macromedia uses it all the time on their site but mainly in their cart... thus I ran accross a different site the other day that also does the same thing.[URL]..
On the following page that loads hit "I agree" at the bottom to enter the movie clip.Then once the clip loads look to the top right and choose "file" then "new" and automatically you'll see what I'm talking about for they prompt you to do something when choosing "new".
I mad a form which launches an alert component when the user made a mistake at filling it in.
However when implementing the form into another page my alert window appears on unwanted places.
I searched for an as command who tells what the x and y value of the alert are. I searched the internet the flash help and kirupa but couldnt find anything
I was wondering if anyone might know why my Alert box doesn't appear when viewing the .swf in firefox when I click on the button that evaluates the code responsible activating the Alert.show command. It appears when I open the .swf in the flash player and inside the 'play movie' command within Flash itself. Do I need to include some type of file in the relative directory?
When click on a button, I want to show 3 textfields in form of alert which also has ok and cancel buttons.When clicked on ok button, i want to display the text in 3 textfields in tfMain textfieldSorry i might have used wrong terms as i m not an expert in this.
I am wondering if anyone know if I can make a print button and have it print just the frame I am on and NOT pop up the print dialog box? I just want to click the button and have it print my current frame.
I want to use the jquery dialog to open this content. Everything passed in seems to be perfect (according to the GET response from firebug) but I still get a jquery error. missing ; before statement jquery.js line 612
[code]...
If I paste this url into my browser the flash app starts in the browser as expected but not with the jquery dialog obviously. Must be something wrong with my jquery code?
Does anyone know of a class file or third party component that has the same functions (or similar) of what the alert window component did in flash 8? I am doing this is AS3 obviously is why i need an alternative.Im trying to make a pop up modal window of sorts like the alert window component did.
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.