ActionScript 2.0 :: [F8] Audio Feedback For Calculator - Repeat The Answer
Jan 8, 2007I have trouble getting my calculator to repeat the answer. For example, I get 15 * 22 = 330 I would want my calculator to say (three, three, zero)
View 14 RepliesI have trouble getting my calculator to repeat the answer. For example, I get 15 * 22 = 330 I would want my calculator to say (three, three, zero)
View 14 RepliesI have a few multiple choice questions using ActionScript 3.0 that are not displaying the answer feedback when tested as a movie or published to a swf. The way the question is set up is that a learner clicks a radio button and then clicks a Check Answer button. A red X or green checkmark appears next to the selected answer choice.Incorrect/Correct feedback should then appear below the Check Answer button.Currently the Incorrect/Correct answer feedback is not appearing in the output box when published.
stop();
var currBtn = "";
var currSelected:Number = 0;[code].......
I have some code that initializes an array (arrQAnswer) that stores what button the user clicked on (0,1,2, or 3). That option it put into arrQAnswer, then compared against arrCorrectAnswer to see if the user got the question right. The problem is that for each time the user clicks on a button, they are taken to a new screen to display feedback based on the answer of the question. If the user gets the question wrong they are returned to the original screen and try again. This is where arrQAnswer is screwing up (or more likely, where I am screwing up). On the first question where the user chooses an answer, then returns to that screen, arrQAnswer re-intializes. Is there a way to stop this from happening? Note that it only happens on the first question, I think that is because the first question is on the same frame as the code (below):
[Code]...
I am trying to get an answer from Input text Field and compare it to the correct answer.here is how my code look like:
//I have a confirm button here
confirm_button.addEventListener(MouseEvent.CLICK, ConfirmFunction);
//I have a correct answer as a String here
var correctans:String = "July";
[code]....
This will check if correct answer contains words in the answer from input text field.But that will result on if I key in "July is great", it will still link to the correct answer frame instead of wrong answer frame.I want the answer to be exact same as the correct answer.
I have a grid with 12 movieclip buttons. When a button is pushed a answer is displayed and on the answer frame, there's a button "click for more information".
That button points to information in a frame within the mc button. However, when I test it all the buttons on the root timeline appear on top of this information, covering it up.
Also, when you move the mouse while in this "further info" area, it disappears
I have feedback form in a php page. Beside basic redirection tophp page after someone submits feedback this feedback form also stores all the feedbacks in DB. Is it possible somehow to display this feedback.php form in my main.swf file (like embeding it in a flash )as i would like all my site to be in a flash.
View 1 RepliesI bought flash template for my customer. I have a problem with mail function. There is a message object and sendmail button with such action :
onClipEvent(load){this.t.v = _root.contacts_txt9;}
on (rollOver) {this.gotoAndPlay("s1");}
on (rollOut) {this.gotoAndPlay("s2");}[c ode]............
So here I have a code which gives a feedback after the code is copied to clipboard ,but after someone use it once it stop working.
[Code]...
If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?
View 1 RepliesSo I've been working on this website for quite a while now. It's my first website fully in flash. I finished it in the beginning of November and have been slowly fixing bugs here and there. I'm just wondering what your thoughts and comments are? [URL]
View 2 RepliesI'm sorry if this is the wrong place to post this, but I looked for a place to send general "feedback" and could not find one.I just wanted to let the management at Adobe know a couple things related to recent Public Relations blunders. Ever since the announcment that you were ending Flash Player for Mobile, I have had many conversations with people about this topic and there is SO much misinformation due to your announcement, it's going to tank Flash as a broader platform.
- Some think Flash doesn't work on Macs
- Some think the Flash player is cancelled on ALL platforms (PC included)
- Some think Flash in its entirety is coming to an end.
This perception seems to come from people of various levels of technical knowledge, from basic users where it's understandable they might be confused about the specifics of the recent news (but still not a good thing!) on up to key decision makers who don't know tech but are key to making certain spending decisions with regard to tech platforms (CEOs). This is a horrible place for Flash to be in right now and you need to quickly change the perception with a "Flash is alive and well" type of announcement.Remember, most people only retain sound bites and a few words from headlines. You may have announced "Adobe ends Flash Player for Mobile" originally, but what people retained was "Adobe ends Flash Player". You need to make a new announcement that the short attention span people will come away from with knowledge that all is well. "Flash not dead" for example.Man, whoever plans your PR needs to be fired. You could have killed off the Mobile player back before the MAX conference and then followed up with the news about Flash Player 11 and Stage 3D. That would have a perfect one-two punch, but instead you reversed it and all the excitement from FP11 @ MAX was blown away.
Im trying to create a feeback (basically a fancier email form) using flash & PHP. Ive got a simple contact form which Ive always used & it works fine - but Ive never had to add radio buttons? I need this info to be sent to the client through the form,
Name
Email
Company: a or b (radios buttons I think)
Country (they want a drop down list for this)
Select: a, b,
Select: a, b, c, d
Message or comments.
i have a question about a simply mail form using php, i'd like to modify in this way:I wish that when you click on send message also started downloading a file, but checking that the form is filled in correctly and possibly the download links could be read from a text file to avoid having to change each time the fla.[code]
View 1 RepliesI've developed an drag/drop interaction which works well, the issue is with the behavior of the submit reset buttons.If the "correct" drag objects are on the "correct" target - no issuesThe problem is if an "incorrect" drag/drop combination is selected, the "incorrect" feedback text displays and the reset button moves all drag object to the start position, but once the "correct" drag drop combination is submitted, the "incorrect" feedback textdisplays.id=bb539b6eff0afbf5&sc=documents&uc=1&id=BB539B6 EFF0AFBF5%21114#
ActionScript Code:
function dragSetup(clip, targ) { clip.onPress = function() { startDrag(this); this.beingDragged=true; }; clip.onRelease = clip.onReleaseOutside=function () { stopDrag();
[code].....
I've developed an drag/drop interaction which works well, the issue is with the behavior of the submit reset buttons. If the "correct" drag objects are on the "correct" target - no issues
The problem is if an "incorrect" drag/drop combination is selected, the "incorrect" feedback text displays and the reset button moves all drag object to the start position, but once the "correct" drag drop combination is submitted, the "incorrect" feedback text displays.The fla can be viewed here: [url].....The relevant code is:
On Frame 1:
ActionScript Code:
function dragSetup(clip, targ) {
clip.onPress = function() {[code].....
I have been requested to create a website similar to the one on this page: [URL] I'm familiar with flash and some actionscript, but would anyone be able to provide feedback on how this site would be best be done?
View 2 RepliesI have a scheduling application that allows users to save any changes. When the user clicks the save button, Flex sends all the information to a coldfusion script which picks the information apart and sends saves it to the database. That all works well and good, but I would like to be able to display some sort of text to the user saying something like "Your file was successfully saved" or "There has been an error.
[Code]...
I have some code running a media player and pulling multiple xml lists in depending on what button is pressed. What I would like to do is display button feedback state (to show what section is being played) based a click.I am thinking that I could create a conditional statement based on last button clicked but not 100%.
/*import flash.display.MovieClip;
import flash.net.URLLoader;
import flash.net.URLRequest;
[code]....
I used code that kglad suggested to add a button that copies the embed code for a SWF to the user's clipboard:
clip_btn.addEventListener(MouseEvent.CLICK,clipcopy);
function clipcopy(e:Event):void{
Clipboard.generalClipboard.setData(ClipboardFormats.TEXT_FORMAT, s);
[code].....
It uses drag-n-drop interactivity. When I drag a MC and drop it in a "drop-box", feedback pops up. When the mouse leaves the drop-box area, the feedback remains. Is there a way I can have the feedback go back to blank when my mouse leaves the drop-box area?
View 3 RepliesI have 12 movieclip buttons which each contain a question. When you click on one, the answer appears. I need the answer to remain on the screen. On that same frame, there's a button for "more information".When that is selected, it goes to another frame within the mc, and more info appears. However, it is covered up by the other 11 buttons from the main screen
View 2 RepliesI have a quiz created in Flex using Spark forms, with a series of questions which are a group of radio buttons. When the user clicks "next", I get the value of the selected radio button in the group. What I need to do is keep track of these values; at the end of the quiz I will need to see which value was chosen the most. So if the user mostly picked the questions with a "3" value, I can display a summary based on that, e.g. "You mostly chose type 3 answers". I was thinking about having an int variable for every choice (there are 5), and incrementing the appropriate variable when the user clicks "next", as in
private function enterScore(i:int):void {
switch (i){
case 1:
num1++;
break;
But this seems unwieldy. I also will need to compare the 5 tallies for which one was chosen the most...
I have 2 swf animations (one of a happy bear and one of a sad bear), I want to load them into actionscript. When the player gets it wrong I want the sad animation to play and happy one to play when the player gets it right.
View 2 RepliesThe user needs to submit a dollar amount answer. They could write is several ways. I'm trying to accomodate it with the code below. It always evaluates it as the wrong answer (the else).
[Code].....
I'm trying to put together a simple calculator form, all it needs is the quantity, the price, and a price total.
View 3 RepliesI need to create a calculator (url...) were you can enter in cost in one box and automaticaly it calculates 30% and displays that figure in a total box.
I know a fair amount of action script 2 but now this has to be done in ac3 and I'm very lost.I've tried doesn't seem to work correctly in AC2 or AC3.
I have a BMI calculator that is currently working well, however when calculated, gives a VERY precise result of:Your BMI is: 24.343121332458201.I'd like it to round up/down so it just displays:[code]
View 2 RepliesLooking for a readymade flash calculator.I need that as a movie clip.
View 1 RepliesI am working a calculator with a textfield. It can calculate a if a enter only one number, but when I try to enter two or three doesnt work. I have test several codes but they are not working at all.
var numeroEntrado = "";
var campoUno:int = 125;var campoDos:int = 20;var elResultado1 = 0;var elResultado2 = 0;
proteinas.text = "125 grs.";colesterol.text = "20 mml.";colesterol.backgroundColor = 0x9999FF;textoColesterol.backgroundColor = 0x9999FF;
numeroPorciones.maxChars = 3;numeroPorciones.restrict = "0-9";
btn.addEventListener(MouseEvent.MOUSE_UP, suma);
[Code] .....
I need to use the ComboCox component within a calculator.
I need to combobox data value to be populated by an input text field on the stage.
Basically depending on which of the choices they select from the dropdown menu the calculation made will be made using one of several previously input numbers by the user.