A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [RESOLVED] Wizard 666 clone - Text box question

  1. #1
    Game Player - Developer scheletro's Avatar
    Join Date
    Mar 2005
    Location
    México living in Barcelona
    Posts
    1,121

    [RESOLVED] Wizard 666 clone - Text box question

    Hi

    I made a LISA or wizard 666 Clone, do you remember that old game that used to run in OS2, A virtual ouija board in wich the user cheat his friends making them believe LISA answer all the questions

    Maybe you know the new version

    http://www.peteranswers.com/

    Well, mine is almost the same, with the difference that in mine I made a little bit more creepy layout

    I was wonder....
    Is it posible to have a flash runing and make the text box I want active?
    I mean, like in yahoo, you open yahoo and when you finish the loading the cursor actuvates the search text box, so there is no need to click on it

    I wont do it because in some browsers is necesary to click on the flash to activate it, so I wont need to make the text box active, I just wonder if its possible to make it active when some one load my flash, just to start writing when it finish the load

    NOTE: Im planning to make an english version of LISA, but if you want to try mine is here


    http://www.fantasmas.com.mx/lisa.html

    In case you want to try it, clic on the first text box and open the answer with ":" so you can put the answer and nobody will see it, they just will see "lisa, por favor contesta" (lisa, please answer) and close your answer with "." after that clic eny key just to finish the fake sentence, if you dont do it you can write what ever you want in the box

    After you put your answer just click on the second box and type your question, then press enter and surpise, if someone doesnt know these tricks in the 3rd try he will have a scary surprise
    Last edited by scheletro; 05-20-2007 at 11:41 AM.


    "I love to make them as I love to play them"

  2. #2
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    Quote Originally Posted by scheletro
    Is it posible to have a flash runing and make the text box I want active?
    Try

    Selection.setFocus("txtboxname");

  3. #3
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,377
    Yeah, the command is setFocus(nameOfTextBox). Check out the info in the help file.
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

  4. #4
    Game Player - Developer scheletro's Avatar
    Join Date
    Mar 2005
    Location
    México living in Barcelona
    Posts
    1,121
    Work just perfect, thanks guys !!!

    Do you think this also will help to make the flash active with out clicking inside the flash like in some browsers to make the game active?


    "I love to make them as I love to play them"

  5. #5
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    No. You need to use something Adobe calls Active content meaning the swf is embedded into html by javascript:
    http://www.adobe.com/devnet/activecontent/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center