ActionScript 2.0 :: Make The Script Recognise The Answer Input In All Cases?
Feb 3, 2009
i have created a fill-up word blank and button. After filling up the word blank, click on "result" btn.the instance name of the text field is answer_txt.
result_btn.onRelease = function()
{
answer = answer_txt.text;[code]....
How do i make the script recognise the answer input in all cases? For e.g aPArtment, APARTMENT...
View 1 Replies
Similar Posts:
Feb 4, 2009
i have created a fill-up word blank and button. After filling up the word blank, click on "result" btn. the instance name of the text field is answer_txt.
[Code]...
How do i make the script recognise the answer input in all cases? For e.g
View 1 Replies
Jul 8, 2010
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.
View 4 Replies
Jan 21, 2009
I am trying to check input answer against random display from array. but sometime it trace not correct when it is correct this is the code i use
[CODE]....
View 7 Replies
Sep 10, 2009
I've been looking for a tutorial that describes how to make it so dragable objects can snap together when one is dropped in the right place next to another, but so far I haven't had much luck. Does anyone happen to know of such a tutorial, or can post something here about how to do it?
For example, how do I make something like this: [URL].. and how do I make it recognise when all the pieces are attached together?
View 11 Replies
Mar 8, 2012
i am trying to create a simple quiz in school. I have one test question which requires the answer to be -1.I have created Input text and assigned the variable answer for this question.I have a button with the following AS2 script:
on (press, keyPress "<Enter>") {
if(answer eq "-1" or answer eq "minus 1"
or answer eq "Minus 1" or answer eq "Minus one" or answer eq "minus one")
[Code]....
Firstly whatever you type the numerical keys are immobilised on the keyboard when the .SWF file is builtSecondly I cannot enter the correct answer!! If I type in Minus 1 etc it goes to frame 3.I have tried flags rather than frame numbers - same problem.i have tried remaking the quiz as a separate file.using CS4 and CS5 flash - windows 7 PC.
View 6 Replies
Feb 26, 2012
I would like to make an input text field in flash as2. What I need is when the user write down an answer it will direct him to an html page I created. There are 3 answers and 3 pages, so they will write down one of the answer and when they will click "enter" they will be redirected. I understand you can do it with "if" statement but I don't know how!
View 1 Replies
Jan 26, 2009
I have four text input boxes, and I need to be able to script it so that when the "Done" button is pushed each of the boxes are checked for the right input. I've tried two different methods, neither of which work or the answer is automatically correct.
View 3 Replies
Jun 29, 2009
I'm very new to Flash, and I'm not a programmer, I have an Input text box named txtNe2 where a user will type an answer to a question. I want to evaluate the answer when the user pushes the Enter key and respond by sending the movie to either the "Ne2C" frame or the "Ne2I" frame (for the response to the correct or incorrect answer).
View 4 Replies
Jul 26, 2004
how do i check the answer that enter by user.... the marks is given by checking whether they user key in the keywords or not... i m thinking of using string method...but i not able to do it...
View 1 Replies
Feb 7, 2009
I am working in a AI project: a Chatterbot and it works fine. I work in webdesign, video, 3D and illustration and this personal project eats my free time You should set the answers and questions in the XML file called "bdenglish.xml", it contains a basic example. The bot will understand the new nodes. Actionscript(FLA) processes the user input text and search for an answer in the XML file. The bot can understand several ways to make a question. Also it can memorise the conversation subject if you use XML propierties (It is unfinished) The user can use ENTER key or the SEND button. The bot can know the genre of the user because it is male like default, but it search in a female names list. The output field answer is HTML text, also it support images, animations or sounds. The bot can chat in several languages. You can synchronize video with the answers (bot expression), I am woking in a basic function with video.
I am workin in a alternative answer motor, it would work with the XML. I want to use lipsync in the future for a talking version. How it works? - The bot converts the XML database to an multidimensional array.- The user writes a question - This input is processed in the AS code - The bot searchs in the multidimensional array - The first word must be found - The bot answer the question or it responds something if the question is not found I am not programmer and the AS3 bot was hard for me, but it works. I was trying get a good code and I am work in a better search function. I hope some criticism and comment from Kirupa masters! It is in my personal site:[URL]
View 2 Replies
Aug 27, 2010
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
View 1 Replies
Aug 24, 2005
If i have two or more input boxes to create a crossword puzzle, how can i make the cursor automatically jump to the second input box after the first input box is filled with a character?
View 3 Replies
Mar 19, 2012
I have the following Application tag code in my widget:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:local="*"
width="100%" height="100%" minWidth="200" minHeight="200" layout="absolute"
creationComplete="init()"
defaultButton="{Send_btn}">
[Code]...
View 1 Replies
Jul 26, 2011
i have an one input text box, first i type text into it and press space bar at this it will become empty and ready to accept next input from starting position, i make the text box empty by
textbox.text = "";
but the cursor not set to initial position in text box it consider "" as "space" and cursor will display after one space only, i need that cursor again move to starting position..
View 3 Replies
Jun 30, 2010
I have followed this tutorial [URL] but am using Adobe CS4 not CS5, have installed Adobe Air 2 but am still getting the error:
1046: Type was not found or was not a compile-time constant: TransformGestureEvent.
now on my project as unable to get my code to recognise TransformGestureEvent
View 2 Replies
Sep 30, 2010
can i recognise a movement on a joystick with ascii codes???
View 1 Replies
Sep 27, 2007
I have a quick question that I am not 100% sure on. In my program I need flash to recognise if the object it is pulling in from XML is an: image/sound/mvie or animation. In XML the tag looks like this:
Code:
<mult_file type= "image" alt="alt text">intro.jpg</mult_file>.what I need flash to do is read the file type of it - I know how to put nodes in but how would I get it to find the type?
View 10 Replies
Oct 10, 2009
I have this number
2,555555556
and I want to round it dynamically into 2,60 how can I do this in flash?
View 1 Replies
Apr 9, 2012
I have audio placed into a controller on a page, however when i load different browsers the sound files are either no even seen by the browser or they dont work. Ive converted the files to wav. which apparently works universally for IE,Opera, Firefox and Chrome, however changing the file format does not change this situation. I know it has something to do with HTML audio tag or something but I am still unsure
<embed src="../Sounds/home_page_readout.wma" width="405" hidden="false" height="39" pluginspage="../Plugin/niftyplayer.fla" autoplay="false" controller="true"></embed>
View 2 Replies
Mar 28, 2009
After 2 nights of *almost* getting it I realized that Flash's RegExp doesn't support lookbehinds. Here are the 3 scenarios:
1) [URL]
2) <a href="http://example.com">http://example.com</a>
3) <br><br>http://example.com<br><br>
Basically what I want to happen is to ignore scenario #2. I know the solution, but I can't seem to nail it. All that needs to happen is to select the http (and everything after that) as long as it's not preceded by a "> or =", but since I don't know a way for RegExp to look backwards, I'm sort of at a loss. Here's hoping that someone has run into this issue before
View 5 Replies
Jan 28, 2011
The Spring BlazeDS integration (in our cases 1.0.5M1) allows us to define MessageInterceptor instances and register them in the message broker. what this mechanism should or shouldn't be used for?
From the API documentation I can see that the framework itself uses interceptors for Spring Security integration. We were thinking of using these interceptors as a way of enforcing our own special kind of security (we track our users using our own services in the application context), where a condition is evaluated every time a message is sent across the wire.
View 2 Replies
Feb 17, 2011
In the following complete functional Flex application the line breaks between the two links ought to be preserved when importing the input text into the TextFlow:
[Code]...
View 2 Replies
May 13, 2011
I'm having difficulties with my switch script. Below is the code:
Code:
public function resultValue():void {
switch (_calcSwitch) {
case 0:
break;
[Code]...
View 5 Replies
May 6, 2004
i have a problem adressing or targetting a attached mc when i target de mc directly it works fine but when i try it trough a variable it doesnt recognise its path anymore???
[Code]...
View 3 Replies
Jul 1, 2010
It will basically walk you through the windows to perform a typical setup, with some branching off for special cases. Essentially a main series of screen shots with text that you can scroll through using arrows, with links off to other screen shots or sequences as need. My boss wants it to be "hip and flashy", so wants me to look into Flash. But is that the best tool to use for this ? In all the Flash tutorials I have been watching I haven't seen anything that looks like that kind of application.
View 1 Replies
Feb 28, 2011
In May 2008 (about three years ago, as of the time of this posting), an engineer who worked on Flash Player 10 wrote the following in a blog post talking about GPU compositing:Just because the Flash Player is using [GPU compositing] does not mean it will be faster. In the majority of cases your content will become slower... Content has to be specifically designed to work well with GPU functionality. The software rasterizer in the Flash Player can optimize a lot of cases the GPU cannot optimize, you as the designer will have to be aware of what a GPU does and adapt your content accordingly. I realize this statement is useless unless we can provide guidance, something we can hopefully achieve in the not to distant future.
Is anyone aware of any such guidance having been provided by Adobe in the succeeding three years? The only relevant information I could find was in this article, which provides optimization tips for hardware rendering, but not for hardware-accelerated compositing, which is what the "gpu" wmode embed param turns on.Short of testing each piece of content individually, how can I determine when my content would benefit from the use of GPU compositing and when the use of GPU compositing would be a detriment
View 1 Replies
Jan 28, 2010
I have a very simple website in flash, just some buttons and minor animations.I have a stop on frame 105, and the code for the buttons on frame 1. It's all there and recognised by the script assist, but won't show up if I debug OR test the movie .Finally it's recognised the "Stop();" function, but still not executing it, says "Error 1180 - Call to a possibly undefined method Stop." Really can't work out why it's doing this, read somewhere that it could be because of a corrupt library item, but I deleted all of them and the stop function still didn't work.
View 1 Replies
Mar 1, 2003
in flash how can i make a input text box... so that when the user types in anything it will type in captials only....
View 1 Replies
May 12, 2009
I want to have a draggable input textbox on the stage (it will b placed ontop of an image of a tshirt).I want the user to be able to enter text and then move the textbox around to where they want it on the tshirt.I know how to make a movieclip draggable, I have been using this:
PHP Code:
on (press) {
startDrag(this, false, 240, 90, 290, 290) // target, lockcenter, t, l, b, r
[code]......
View 2 Replies