A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Virtual host

Hybrid View

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

    Virtual host

    I have a virtual host, you can ask for information and take you to the right place

    Code:
    on (release, keyPress "<Enter>") {
    	if (_root.pregunta.text="como puedo conocer las actualizaciones fiscales" || "conocer las actualizaciones") {
    		_root.cuadro.gotoAndPlay("productos");
    		_root.pregunta = "";
    	} else if (_root.pregunta.text="como puedo pagar mis impuestos" || "como puedo pagar mis impuestos") {
    		_root.cuadro.gotoAndPlay("sitios");
    		_root.pregunta = "";
    	} else if (_root.pregunta="administrador del sistema" || "contactar al administrador") {
    		_root.cuadro.gotoAndPlay("contacto");
    		_root.pregunta = "";
    	} else {
    		_root.pregunta = "";
    		_root.cuadro.gotoAndPlay("contacto");
    	}
    }
    But it takes you always to the 1st link "sitios", it doesnt matter what you write, do you know why?


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

  2. #2
    Senior Member bluemagica's Avatar
    Join Date
    Jun 2008
    Posts
    766
    you need ==, not =
    If you like me, add me to your friends list .

    PS: looking for spriters and graphics artists for a RPG and an Arcade fighting project. If you can help out, please pm me!

    My Arcade My Blog

    Add me on twitter:

  3. #3
    Game Player - Developer scheletro's Avatar
    Join Date
    Mar 2005
    Location
    México living in Barcelona
    Posts
    1,121
    WHAT? Shame on me, I looked bad, as a newbe

    I think i wasnt to tired to make that big mistake, lol, thanks !!


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

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