function which checks if the input text is the same as the text in the Flash file

Hello!

I'm doing a Flash AS2 project for learning the word and I would like to know your opinions and your advice on this topic:

I have Word check the task, where you have to write (text input) the correct names under these 3 photos and check if you wrote them properly with the key - "CHECK!"

It would be simple, but it is mandatory that the text of the inscription must be compared to a text file and then checked if they match.

I added a picture to better understand...

Picture1.png

Is this possible in AS2?

Thank you!

you don't know.

Use the text property of the textfield object and load the text file using loadvars.  you will have to parse text loaded using the string of flash (and perhaps array) methods.

p.s. that apple looks more like a tomato for me.

Tags: Adobe Animate

Similar Questions

  • Jerky mouse mouseover function for all while the menu (file, options, help) and the key back/forward/home too. More scrolling is choppy every Web site.

    Jerky mouse mouseover function for all while the menu (file, options, help) and the key back/forward/home too. More scrolling is choppy every Web site since the update to version 3.6 to 4 RC1.

    Gel mouse pointer when it comes across objects that use some sort of animation or gradual highlighting when hovering on (which is basically all the Firefox 4 items menu, tabs, etc.) But also a lot of things on the Web pages as the green buttons on this page that change color when you hover over them).

    After rebooting my system, however, the problem seems to have disappeared!

    [, WinXP SP3 - 4 GB RAM, Core i5 M520, driver Nvidia NVS3100M 6.14.12.5738, Firefox 4.0]

  • Skip (project) to check, because the apk file has not changed.

    Hello all, I get the message 'Skip (project) to check, because the apk file has not been modified' in the error log when I'm checking an Android APK. Since I donot have required a device or a simulator (lack of processor), I'm not able to test the signed .bar file generated by ignoring the message above.

    Please can anyone suggest a solution for the question do face. Thanks in advance.

    Hey there,

    I see something like:

    "Skip ProjetTest to check, because the apk file has not changed."

    in my Console, but not in the error log.

    If it is in the console, it's just a normal journal letting you know that the tools didn't need to check again because the project, including the manifesto, has not changed quite significantly between runs you need to double check.

    Justin

  • Floating frame by placing the flash file

    Ask yourself, is that someone can give me a hand here. I put a flash file in an existing page that has CSS. The flash file will always in the upper left corner. The file is p; laced in a table therefore must stay there but the CSS for some reason any takes over. Is there a way to show where it is placed with them disrupt the CSS too?

    flash.JPG

    First off I don't see a DOCTYPE declaration:

    http://www.w3schools.com/tags/tag_doctype.asp

    or

    http://www.w3schools.com/HTML5/tag_doctype.asp

    Then I suggest that you create a simple image the exact same dimensions as the .swf.

    width = "512" height = "288".

    and get that placed exactly where you want it on the Web page. Once that is done, then place the .swf in this space.

    Creating a type of replacement content and get this working first is the recommended method to use .swfobject (which is what you use for Flash detection).

    If you can not get the picture placed correctly... the problem has nothing to do with Flash.

    Because the Flash is placed at the top left, it seems that you could have a id or some other problem naming that takes the natural flow Flash content and implementation before the other content... or it could be because there is no DOCTYPE.

    Best wishes

    Adninjastrator

  • need help: enter the flash file in Dreamweaver site with dark background

    Hello
    I entered a SWF in a site dreamweaver with a dark blue background. When you view the site in a browser, there is a white square (the size of the flash file) which flashes for one second before the file begins to load. It is rather ugly and I was wondering if anyone knew how to avoid this white square of flashing to the top.
    I tried already to make the bottom of dark blue table and adding a dark blue square as a background image, but that didn't make a difference.
    If you do not want to see what he does, it is a link to a page: www.billmather.co.uk/portraits.htm
    Thank you in advance for any help or advice you can give me!


    Hey Horus,
    It worked! Thank you very much. Really appreciate your help.
    Have a good weekend,

    Famke222

  • Does not display the Flash files in Dreamweaver

    Flash files is not displayed in Dreamweaver or in any browser. If I insert a button in Flash, text or other files, when I hit the button "play" instead of flash holder disappears and the Flash file never shows. In the property inspector, the file is always 'no set' even when I save the file in my folder of root with a name. When I hit the "Edit" button, I get the message that the file is not found on my local disk. It of as if Dreamweaver does not create or place a Flash file. Help please!

    BOF:

    ><>
    "> src="file:///Alan's/Users/alanwhelpley/Desktop/MM_DWCS3/Chapter11/Roses.jpg ".

    You will need to rename the hard drive for dreamweaver work properly.
    The ' cause dw to not find the path.

    other symptoms would be nagging dw "homepage" is not in the
    the local site folder so it cannot generate a sitemap.

    Technical note-
    http://KB.Adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14452

    --
    Alan
    Adobe Community Expert, dreamweaver

    http://www.Adobe.com/communities/experts/

  • How can I copy unchanged object of the Flash file in my new work file.

    Hello. I changed an entry in my Flash file layer moving around various elements within the layer. I still have the original file, too. I want to put it back exactly as if it was in the original file. How can I replace the element of sprite has changed since the new file with the original of the old file?

    Thanks for any help you can give.

    Best - Catherine

    I did a lot of changes over time, and I realized only there is a better way to do it. I would therefore delete this "sprite" and put the old one back in.

    Drag your old your old library flash sprite to your new flash library.  Click on your new sprite on stage and in the properties panel, click swap.  Select the old sprite.

    Also, how would I add a blank layer of the flash file?

    in your editing panel, at the bottom, to the extreme a l' extreme gauche left is a new layer icon.  Click to add a layer.

  • Could not import the flash file in presenter

    I am running presenter 7.0 in PPT 2007. Other than the problem I have with a video file flash, it seems to work correctly.

    I created a flash video in Captivate (it is a demonstration of the short software), and I want to integrate it into a presentation using Presenter. But when I select "insert a swf file" tab in Adobe Presenter, I never have a chance to select the swf file I want.

    I expect a file at this point selection dialog box. Instead, I went to Internet Explorer and more, nothing happens.

    The flash file works fine as a stand-alone running in Internet Explorer.

    Is "Insert a swf file" the right way to add this video? Is there a better way to incorporate this Captivate video?

    A dead end I tried already: I looked at the description of the problem ' video import failed. Adobe Presenter 7.0.7', but this is not my problem. I'm running (not 7.0.7) 7.0, and the registry key mentioned on the Adobe Presenter support site (TreatFLVCheckWarningAsError) is not present on my computer.

    Thanks for your help.

    -George

    OK, I recommend all first that inquire through the Adobe update 7.0.6 or 7.0.7 via the download available to the public at http://www.adobe.com/products/presenter/.

    As for your question to import the flash file, if you use Captivate 5 or 5.5 he published in AS3 (ActionScript 3) only, and presenter 7.0.0 - 7.0.6 is an AS2 application. Therefore, your Captivate SWF files will not work in presenter. So, if you use Captivate 5 or newer, you must go to introduce 7.0.7 to SWFs to work.

    The problem you describe seems to me that you are working on a PPT file located on a shared drive. Presenter do not work with files that are not on your computer and will tend to not show the Insert Flash, video or Audio dialogs if the presentation is on a shared drive.

  • hidden behind the flash file menu

    Hello

    This is probably the answer somewhere, but I can't seem to find it. This is my first time coming to this forum. I have a good knowledge of HTML, learn CSS and just started with DW CS3.

    I have a drop down at the top of my page. In the body of the page is a flash (.swf) file. The drop-down menu falls behind the flash file. I played a bit with z-index to try and stack the elements correctly, but it doesn't seem to make a difference. I need the combo of being above everything else. Any ideas?

    Thanks in advance.

    Murray,
    Thank you for your quick response. That did the trick in IE6, IE7 and Firefox. Appreciate your help in resolving this fight almost 2 weeks to understand.

    Mike

    (P.S. What is NN6 +?)

  • Help finishing a function which checks a table

    Hi guys,.

    I need help finishing a function that checks the 6 items (indiciesOfInterestShape) in a table dynamically updated (productCode) for two types of values. the number 0 or any number between 1 and 8.

    I need the result of this function to update the variable finalNumber to a number between 0 and 6.

    If a 0 is found in all 6 clues that it will result in the final number type argument no increase.

    If a number between 1-8 is located in one of the 6 index then the final number increases by 1. And because there are only 6 clues to check the maximum number only will never be 6.

    That's what I have so far

    // indicies that are dynamically updated           4        7      10     13     16     19
    public static var productCode:Array = [C,A,1,A,1,A,A,1,A,A,0,0,A,0,0,A,0,0,A,0,0,A]
    
    public static var indiciesOfInterestShape:Array = [4, 7, 10, 13, 16, 19];
    public static var finalNumber:int = new int;
    
    public static function countShapes(productCode:Array, indiciesOfInterestShape:Array){
        for (var i:int = 0; i < indiciesOfInterestShape.length; i++){
            var indexTolookAt:int = indiciesOfInterestShape[i];
            var item:String = productCode[indexTolookAt];
            if (item == 0){
                "add zero to finalNumber"     //help needed here changing the finalNumber
                }
            else{
                "add 1 to final number"        //help needed here changing the finalNumber
                }
            }
    }
    

    Something to keep in mind, if a certain product code adds 1 to the final number index (as 1-8), but is then changed dynamically to 0, I need the number back down by 1.

    Hope this has meaning and that someone could point me in the right direction at best.

    Thanks in advance!

    // indicies that are dynamically updated           4        7      10     13     16     19
    public static var productCode:Array = [C,A,1,A,1,A,A,1,A,A,0,0,A,0,0,A,0,0,A,0,0,A]
    public static var indiciesOfInterestShape:Array = [4, 7, 10, 13, 16, 19];

    public static var finalNumber:int = 0;

    finalNumber =countShapes(productCode, indiciesOfInterestShape);

    public static function countShapes(productCode:Array, indiciesOfInterestShape:Array):int {

        var finalNumber:int = 0;
        for (var i:int = 0; i < indiciesOfInterestShape.length; i++){
            var indexTolookAt:int = indiciesOfInterestShape[i];
            var item:int= productCode[indexTolookAt];

            if (item != 0){
                finalNumber++;
            }
        }

         return finalNumber;
    }


  • Function to check for the existence of the table

    Hi all

    Is there a direct function that can let me know whether or not a particular Table exists in Oracle DB.

    TIA

    See you soon,.
    Parag

    There is no function to check, but we can write our own logic to check if it exists or not.

    CREATE OR REPLACE FUNCTION CHK_TABLE(P_TABLE_NAME IN VARCHAR2) RETURN VARCHAR2 AS
    M_EXISTS VARCHAR2 (1);
    NUMBER OF M_CNT;
    BEGIN
    SELECT COUNT (1) IN M_CNT
    FROM USER_TABLES HAS
    WHERE A.TABLE_NAME = UPPER (P_TABLE_NAME);
    IF NVL(M_CNT,0) = 0 THEN
    M_EXISTS: = 'N';
    ON THE OTHER
    M_EXISTS: = 'Y ';
    END IF;
    RETURN NVL(M_EXISTS,'N');
    END CHK_TABLE;
    /

    Satyam.

  • Can LabWindows libraries call function inherited from read the Datalog file?

    We are currently updating some old software written in LabVIEW 6.0.3 to Java. One of the features of the original software is to create data files using the function "Write Datalog" and also remind these databases later using 'Read Datalog'.  To maintain backward compatibility with old data users, we want that new software to also be able to read and display the old datalogs.  I have read several posts here about how the only way to get data off datalogs uses the function 'Reading Datalog' of the same version of LabVIEW to write the paper in the first place. I have the original LabVIEW code so I don't know the structure of the data that has been written.

    I want to know if there is the same function in LabWindows libraries.  Specifically is there is no support for a 6.0.3% version of the function of reading Datalog to support interfacing with a call to java?

    To knock out a possible solution, this software is shared with clients.  We want to avoid the way of compiling an executable separated from LabVIEW to be distributed with the main Java software which batch processes all the old data files in reading them with the old function of LabVIEW and spitting out files in a new format.  We would prefer for the old files to be transparent open into the new software.

    WARNING: I use LabVIEW for dark days before the invention of the button cancel, but never touched LabWindows/CVI. Please enter slowly so I will understand

    Thank you all!

    I guess that is not a built-in library capable of reading files datalog LabVIEW simply because they do not have a fixed format... Even in LV, you will need to pass the data structure for the opening function in order to be able to read the data back.

    Searching the forum I found this discussion that can give you useful to begin with.

    Apparently, you need detect the beginning of the section of the data file after the initials "DTLG" and rest of the header (which is the part not documented). After this point, read the file should be simple if you know the data structure the program writer used. The data > storage section of LabVIEW help can give you information about the content of the memory of each type of data used.

    A simple test, I did write the clusters with a string and an integer shows that: 1. section of data begins at offset 0x22F; 2. the cluster is poured into the file preceded an int with the length of the string; 3. documents may have a variable length according to the length of the string; 4. There are no bytes of padding between elements of the cluster; 5. records are packed in the file consecutively.

    I did this test using LabVIEW2009: it is possible that older files of LV are structured differently.

    An alternative to this is to generate a DLL in LabVIEW that reads files datalog and passes their content to the appellant. Since you are experienced in LV, you are certainly more comfortable than me by doing this.

  • Several files running and check out the script files

    I'm pretty new on SQLDeveloper and am not aware of its advanced features. I'm trying to get some help here to make my task easier.

    Here's what I'm trying to do:
    Run a lot of .sql files individually and save the results in a file.

    Is there anything SQLDeveloper that allows me to do this?

    I know that it is to be a wish, but it would be great if the output file is in excel format: P

    On a more serious note, can SQLDeveloper be run from the command prompt? Perhaps we could write a batch file to run then.

    Waiting for help on this.

    OK, it's

    spool d:\agustin\out1.txt
    @d:\agustin\script1;
    spool off
    spool d:\agustin\out2.txt
    @d:\agustin\script2;
    spool off
    spool d:\agustin\out3.txt
    @d:\agustin\script3;
    spool off
    spool d:\agustin\out4.txt
    @d:\agustin\script4;
    spool off
    

    Out1.txt

    58
    ----------------------
    58                     
    
    create table correcto.
    CREATE SEQUENCE correcto.
    

    OUT2.txt

    100 rows inserted
    commited
    COUNT(1)
    ----------------------
    100                    
    

    OUT3.txt

     drop table example1 correcto.
     drop SEQUENCE example2 correcto.
    

    OUT4.txt

    I Drop the Table
    I Drop the Sequence
    

    . :-) to help with my English is wellcome :-).

  • stop loading the flash file - leave it only in a certain range and then stops

    Hello

    have a problem with a flash page I design...

    I want the. SWF file to be opened but no donwloaded up to what a key is pressed but does not know ho to do...

    I'll be more specific:

    frame 1, I have an object (movieclip) which consists of a logo with a blur... effect after 1-2 seconds, the blur effect disappears, and you can see the logo. the logo itself is a button that will send the user to the next section on the main stage.

    on frame 2 of the main stage, I have a preloader that shows a progress bar and percentage of the page loaded... everything works fine

    the problem is that when you open the swf file, in that it begins to download the hole flash site and when you press on enter the site is already loaded and you don't see the progress of the preloader bar...

    I want only 1 framework the main stage to be loded, then I stop loading (download) the SWF file until you press ENTER.

    Enter when you press on I want the flash site to load and so you can see the preloader in action...

    can I put a code on the layer of action on the 1 setting that stops the loading of the movie (the first image is loaded and play the effect of blurring of the logo). and another code on the second image (where the preloader is visible) which includes the donwloading?

    Thank you much for the help!

    Hello

    you are right, you will find yourself with two swf files.
    I hope you're on Actionscript 3.0:

    ...
    
    enterButton_btn.addEventListener(MouseEvent.CLICK, loadMyApp)
    
    ....
    
    function loadMyApp(e:Event=null):void {
         var ldr:Loader = new Loader();
         ldr.contentLoader.addEventListener(Event.COMPLETE, onComplete);
         ldr.contentLoader.addEventListener(ErrorEvent.IO_ERROR, onError);
         ldr.contentLaoder.addEventListener(ProgressEvent.PROGRESS, onProgress)
         ldr.load(URLRequest('mysite.swf'));
    }
    
    function onProgress(e:ProgressEvent):void{
         trace(e.bytesTotal/e.bytesLoaded * 100 +'% loaded');
    }
    
    function onError(e:ErrorEvent):void{
         trace('Ooops something went wrong: '+e.text)
    }
    
    function onComplete(e:Event):void{
         addChild(e.currentTarget.content);
    }
    

    Take a look at adobe's reference http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/

    Kind regards

    Booya

  • moviescript works not when the flash file is on stage

    My keydown script on will not work as long as I have a swf file on the stage that has a text entry field in the first image, which I use to set a variable in the swf file.

    Even if I go to another image of the SWF without the input of text field, I can't yet use keydown to the Director.

    If you know the tricks of jargon that would be great.

    Or plan B would be to set the variable in the Director and send it to a swf that has no text entry field.  But I'm not sure how to pass variables to a swf file.

    And the jargon that I saw online does not work for my swf named 'digitalclock' that has a variable "hours":

    Sprite () 'digitalclock'). setVariable (hours, 1,)

    Or plan A would be if you know clocks to digital reading to the Director who may have their departure hours and minutes set by the end-user.

    Thank you

    There are many possible solutions.

    Here is a demonstration that is too simplistic.

Maybe you are looking for