HELP Please: something to return

Hi there everyone. I was wondering if you could help me. I've tried to do a 'make-your-own-face-play' and succeeded, except one thing.

When you click on a button to see the options for hair, the four buttons come on stage for on the stage by changing their x and y attributes. But then when they click the button to see the options for hair a second time, I want to go back out of the scene and get problems. No problem of syntax or as3, but they won't go back.

Here is my code:

variable of hair
var numPressedHair:Number = 0;

Click here to see the options of the applicant

hairOption.addEventListener (MouseEvent.CLICK, hairOptionClick);

function click to see the choices of hair

function hairOptionClick(event:MouseEvent):void {}

numPressedHair + 1;

If (numPressedHair-2 == 0) {}
spikeyHairBtn.x = spikeyHairBtn.x - 8;
spikeyHairBtn.y = spikeyHairBtn.y - 244;
afroHairBtn.x = afroHairBtn.x - 8;
afroHairBtn.y = afroHairBtn.y - 244;
legoHairBtn.x = legoHairBtn.x - 8;
legoHairBtn.y = legoHairBtn.y - 244;
baldHairBtn.x = baldHairBtn.x - 8;
baldHairBtn.y = baldHairBtn.y - 244;
} else {}
spikeyHairBtn.x = spikeyHairBtn.x + 8;
spikeyHairBtn.y = spikeyHairBtn.y + 244;
afroHairBtn.x = afroHairBtn.x + 8;
afroHairBtn.y = afroHairBtn.y + 244;
legoHairBtn.x = legoHairBtn.x + 8;
legoHairBtn.y = legoHairBtn.y + 244;
baldHairBtn.x = baldHairBtn.x + 8;
baldHairBtn.y = baldHairBtn.y + 244;
}
}

If you could be pretty awesome to have a look at the flash file, so it would be cool =]

E-mail: [email protected]

Thank you!

which is logical.  you're not no change numPressedHair.

use:

variable of hair
var numPressedHair:Number = 0;

Click here to see the options of the applicant

hairOption.addEventListener (MouseEvent.CLICK, hairOptionClick);

function click to see the choices of hair

function hairOptionClick(event:MouseEvent):void {}
   
numPressedHair = numPressedHair + 1;
   
If (numPressedHair %2 == 0) {}
spikeyHairBtn.x = spikeyHairBtn.x - 8;
spikeyHairBtn.y = spikeyHairBtn.y - 244;
afroHairBtn.x = afroHairBtn.x - 8;
afroHairBtn.y = afroHairBtn.y - 244;
legoHairBtn.x = legoHairBtn.x - 8;
legoHairBtn.y = legoHairBtn.y - 244;
baldHairBtn.x = baldHairBtn.x - 8;
baldHairBtn.y = baldHairBtn.y - 244;
} else {}
spikeyHairBtn.x = spikeyHairBtn.x + 8;
spikeyHairBtn.y = spikeyHairBtn.y + 244;
afroHairBtn.x = afroHairBtn.x + 8;
afroHairBtn.y = afroHairBtn.y + 244;
legoHairBtn.x = legoHairBtn.x + 8;
legoHairBtn.y = legoHairBtn.y + 244;
baldHairBtn.x = baldHairBtn.x + 8;
baldHairBtn.y = baldHairBtn.y + 244;
}
}

If you could be pretty awesome to have a look at the flash file, so it would be cool =]

E-mail: [email protected]

Thank you!

Tags: Adobe Animate

Similar Questions

  • How can I return my menu bar the new version i.e. everything under a single button named firefox. I clicked on something and my menu bar is back to the old version, and it makes my screen look clumsy now. Help, please!

    I clicked on something by mistake and my menu bar got extended as it used to be in earlier versions of Firefox as file edit view history bookmarks tools help... all in the same line... it is now my screen look clumsy coz of the new version. So, I want the menu back bar because it is in the new version. Help, please

    You see the orange (on Linux gray) Firefox button if the menu bar is hidden, to hide the menu bar through the view > toolbars, also accessible via Firefox > Options.

    If you need access to the hidden menu bar press F10 or press and hold the Alt key to display the menu temporarily bar.

  • Despite my constant removal of Yahoo in all search preferences, it keeps returning automatically to my defaul for Firefox search. Help, please! I hate Yahoo!

    Despite my constant removal of Yahoo in all search preferences, it keeps returning automatically to my defaul for Firefox search. Help, please! I hate Yahoo!

    On Mac, this most commonly seems to be caused by Spigot or pipe modules, or something else that snuck in without being detected with other software that you downloaded.

    Please try to disable all non-essential or unrecognized extensions on page modules. Either:

    • CMD + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then, in case of doubt, disable (or delete). Especially if you find something called SearchMe.

    Often, a link will appear above at least an extension disabled to restart Firefox. You can complete your work on the tab and click one of the links in the last step.

    Is that what helps you regain control?

  • Why my up & arrow keys function changed? I didn't click something by accident? Help please?

    Why my up & arrow keys function changed?
    I didn't click something by accident?
    Help please?

    (My new kitten * power have stood on something on my keyboard - it has done this before and put the mode full-screen, but I managed to fix this)

    Normally, I scroll a web page a little at a time using the down arrow on my laptop keyboard key. Since yesterday, when I press the arrow down, the page jumps to the bottom (like pressing PageDown) and arrow high jump all the way to the top.

    How I put it back so that it scrolls a little while I press the button?

    Hello Lancs, please press F7 to leave caret navigation mode - then the behavior should be back to normal...

  • I want to return a plug-in, I accidentally deleted.i to play online snooker.can someone at - it need help please?

    I want to return a plug-in, I accidentally deleted.i to play online snooker.can someone at - it need help please?

    Hello

    1. What plugin you are talking about?

    2. on which site Web you are trying to play the game of billiards online?

    3. what web browser do you use?

    4. how exactly did you uninstall the plug?

    Plug-ins are provided by third-party providers, you can try to load the game of billiards and verification that branch is needed.

    Please come back with more information on the issue so that we can help you better.

    You can also visit the link of the article of Microsoft that will guide you on how to ask questions below.

    Suggestions for a question on the help forums

    http://support.Microsoft.com/kb/555375

  • I get an error message of complete storage - please backup and remove your something online (can not see the full error message) when converting PDF reader to point rower inacrobat DC. Help, please

    I get an error message of complete storage - please backup and remove your something online (can not see the full error message) when converting PDF reader to point rower inacrobat DC. Help, please

    Hi debg25514049,

    You will not be able to export your PDF to PPT using the service Adobe export in PDF format.

    You'll need subscription to pack Adobe PDF or the Acrobat application to convert PDF to PPT.

    Kind regards
    Nicos

  • all my pictures have disappeared? I work on a lot that I had downloaded, and then I selected, then went to create a new collection and baptized DH slideshow 2015, then press return and now it is gone! Help, please!

    All my pictures have disappeared? I work on a lot that I had downloaded, and then I selected, then went to create a new collection and baptized DH slideshow 2015, then press return and now it is gone! Help, please!

    You have created a new CATALOG... !  not a collection!  (looking at your screen-clip)

    Re-open your correct catalogue-'Lightroom Catalog.lrcat 5' in the Menu > file > open recent element.

    Select the pictures again, click [+] on the header of the COLLECTIONS Panel.

    Before going further, learn from this video tutorial-

    Lightroom CC - create custom images - YouTube Collections

  • My MacBook Pro (late2009) stalled for 2 days now trying to upgrade to El Capitan. It neither improved nor returned to Yosemite. Help, please.

    I have macbook pro late 2009. I started to upgrade to El Capitan 2 days ago. Downloaded, it stalled during installation. It has frozen about 95% installation and remained so for 2 days. Help, please.

    Try to Safe Mode Setup:

    https://support.Apple.com/en-us/HT201262

    Start safe mode and see if the problem persists:

    Restart now ' shift '.

    (Wait to take more time to start in this way because it runs a check of directory first. Also give it some time after the start because he runs maintenance routines at the beginning.)

  • tried to return my image to centre. an error code: 0x88982f52 presents itself. need help please.

    the image was in color and changed in black and white and recorded.  When I tried to open it again and he tried to get back to it, gives me a CRC error: 0x88982f52.  Help, please.  need a color picture!

    the image was in color and changed in black and white and recorded.  When I tried to open it again and he tried to get back to it, gives me a CRC error: 0x88982f52.  Help, please.  need a color picture!

    ================================================
    If you use Windows Live Photo Gallery... archive copies
    original unpublished photos. Except if they have been moved or
    deleted, you find them at the following location.

    Photo of C:\Users\%username%\AppData\Local\Microsoft\Windows
    Gallery\Original Images

    If you can't find the original Images folder... it may be hidden... try
    the following steps and their search for him once more.

    In Windows 7, follow these steps:

    Reach... Button start / Control Panel / appearance
    and customization / Folder Options / Advanced
    settings / display files, folders, and disks / OK

  • I still have trouble losing my ip address, it fails to connect. I'm sick of it. Help, please

    My server has check all the problems on this end. My computer freeze and say does not. tone I checkit told me it cannot locate my ip address. Then tried to pay for something that I can't use it properly. Please can you help me somehow?

    Hi SueWolde,

    1. what happens when you try to connect to the network?

    2. you receive an error message/code?

    3. you are on a computer in the domain?

    You may encounter network or problems of Internet in Windows for several reasons. Some common problems that can cause these problems are:

    • A wireless network adapter switch that is not enabled
    • WEP, WPA, or WPA2 key or password security issues
    • Cables that are not connected correctly
    • Corrupt or incompatible drivers
    • Missing updates
    • Network connection settings
    • Hardware or software problems

    Try these steps and see if it helps.

    Step 1

    One of the components of the Internet connection on your computer is a package of instructions called TCP/IP. TCP/IP can sometimes become damaged or altered. If you can't connect to the Internet and you have tried all other methods to solve the problem, TCP/IP can be causing it.

    See the help article to reset the Internet (TCP/IP) Protocol.

    http://support.Microsoft.com/kb/299357

     

               

    Step 2

    Refer to the help article and check if that helps:

    Wireless and wired network problems

    http://Windows.Microsoft.com/en-in/Windows/network-connection-problem-help#network-problems=Windows-XP&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

     

    Let us know the status of the issue. If you need help, please after return. We will be happy to help you.

     

  • Drive hard keeps fills, using CC Cleaner & Deffrag for a few weeks now. I do go down, & then it fills again! Help, please.

    I'm running Vista 64, SP2 and my hard drive keeps filling.

    I used CC Cleaner and Deffrag program for a few weeks now.

    (just the CC Cleaner on its own takes me awhile because I don't want to delete everything I shouldn't)

    I have moved away from home to the office and checked to see if there are "too many connections (?)" just in case it's something in the process.  Honestly, I can't say if there are too many?

    I know that I don't want to lose the ability to remote into my office... so I leave them alone.

    I wanted to delete some 'hidden' files $Recycle... but am concerned that my operation files original files are mixed in the files?

    Is there a way to return to the top... few of the restoration copies?

    AND... How can I stop this from happening?  I spent hours trying to manage it.

    It comes down, then it fills again!

    Help, please.

    Hello MetisLight,

    Here is a link to another user having the same problem.  Have you tried to try the steps listed?  Please let us know status.

    Microsoft Answers:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-performance/harddrive-filling-up/e9b60b0c-6b9d-4e12-85d9-9a875cc1aa8a

  • had a toggle for authorisation works now is not - HELP PLEASE

    This is a previous discusson

    I had a user landing page where after they login, if they were allowed that they woould go to their page, otherwise they would be redirected

    I was working and now it seems not to be, the code is used for redirection has been

    <? PHP if (! $Recordset1 ['auth']) {}

    header ("Location: http://www.websitename/your_waiting_for_authorization_page.php");

    Exit();

    } ? >

    the column in the database, phpMySQL is called auth and it is defined as

    tinyint (2) NO. 0Browse distinct valuesChangeDropPrimaryUniqueIndexFulltext

    I have a page where I can change the value 0 to 1

    the code on the landing page is

    <? php require_once('.. / Connections/nameprop.php');? >

    <? PHP

    initialize the session

    If (! isset {})

    session_start();

    }

    * Log out the current user. **

    $logoutAction = $_SERVER ['PHP_SELF']. » ? doLogout = true;

    If ((isset & & ($_SERVER ['QUERY_STRING']! = "")) {})

    $logoutAction. = '& '. htmlentities($_SERVER['QUERY_STRING']);

    }

    {If ((isset($_GET['doLogout'])) & & ($ {_GET ['doLogout'] == "true"))}

    to completely disconnect a visitor, you must delete the session varialbles

    $_SESSION ['MM_Username'] = NULL;

    $_SESSION ['MM_UserGroup'] = NULL;

    $_SESSION ['PrevUrl'] = NULL;

    unset($_SESSION['MM_Username']);

    unset($_SESSION['MM_UserGroup']);

    unset($_SESSION['PrevUrl']);

    $logoutGoTo = "... / index.html";

    If {($logoutGoTo)

    Header ("Location: $logoutGoTo");

    "exit";

    }

    }

    ? >

    <? PHP

    If (! isset {})

    session_start();

    }

    $MM_authorizedUsers = "";

    $MM_donotCheckaccess = "true";

    Restrict access to Page: grant or deny access to this page

    Function isAuthorized ($strUsers, $UserGroup, $strGroups, $UserName) {}

    For safety, first assuming that the visitor is NOT allowed.

    $isValid = false;

    When a visitor is connected to this site, the MM_Username of Session variable value equal to their username.

    So, we know that a user is NOT logged if this Session variable is empty.

    If (! empty ($UserName)) {}

    In addition to being connected, you can restrict access to only certain users based on a created ID when they connect.

    Analyze the channels in the tables.

    $arrUsers = explode (",", $strUsers);

    $arrGroups = explode (",", $strGroups);

    If (in_array ($UserName, $arrUsers)) {}

    $isValid = true;

    }

    Or, you can restrict access to only certain users based on their user name.

    If (in_array ($UserGroup, $arrGroups)) {}

    $isValid = true;

    }

    If (($strUsers == "") & & true) {}

    $isValid = true;

    }

    }

    return $isValid;

    }

    $MM_restrictGoTo = 'failed - login.php.php ";

    If (!) {(((isset($_SESSION['MM_Username']))) & & (isAuthorized ("", $MM_authorizedUsers, $_SESSION ['MM_Username'], {$_SESSION ['MM_UserGroup']})))}

    $MM_qsChar = ';?

    $MM_referrer = $_SERVER ['PHP_SELF'];

    If (strpos ($MM_restrictGoTo, "?")) $MM_qsChar = "&";

    If (isset($_SERVER['QUERY_STRING']) & & strlen($_SERVER['QUERY_STRING']) > 0)

    $MM_referrer. = « ? ». $_SERVER ['QUERY_STRING'];

    $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar. "accesscheck =". UrlEncode ($MM_referrer);

    Header ("Location:".) $MM_restrictGoTo);

    "exit";

    }

    ? >

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    $colname_Recordset1 = "-1";

    If (isset($_SESSION['MM_Username'])) {}

    $colname_Recordset1 = $_SESSION ['MM_Username"];

    }

    @mysql_select_db ($database_nameprop, $nameprop);

    $query_Recordset1 = sprintf ("" SELECT * FROM tenant_signup, name_editprop WHERE the name_editprop.prop_id = tenant_signup.prop_id AND userid = %s ", GetSQLValueString ($colname_Recordset1,"text")");

    $Recordset1 = mysql_query ($query_Recordset1, $hostprop) or die (mysql_error ());

    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    $totalRows_Recordset1 = mysql_num_rows ($Recordset1);

    ? >

    <? PHP if (! $Recordset1 ['auth']) {}

    header ("Location: http://www.propertywebsite.com/your_waiting_for_authorization_page.php");

    Exit();

    } ? >

    I don't know if it was something I did on the administration page, because I wanted to option buttons to activate the page and disable the page
    can anyone help please

    Yes!  It was a trial

  • Your help please

    I am Sherly. I bought my 5s of the Iphone to Canada in April 2016. When I return to Haiti, I lost my cell phone and I need your help please help me locate it. Pleaseeee help me. I can't believe I'm losing my cell phone. Thank you so much.

    No one here, or Apple can help you to locate your phone. If you had enabled find my iPhone before the disaster, you can connect to iCloud.com and attempt to follow the device. It is the only way to follow. Apple does not locate devices. See this document to support for more tips. If your iPhone, iPad or iPod touch is lost or stolen - Apple Support

  • Urgent need help: I run windows 10 on iMac. I can't boot into Windows 10 after update to El Capitan 10.11.5. Help, please!

    An urgent need to help!

    I've been running Windows 10 on my iMac via Boot Camp. I just upgraded to El Capitan 10.11 to 10.11.5. I don't know if it was because of this upgrade that made me not be able to return to Windows. In the windows startup disk, my windows HD and OS X HD icons are all grayed out. So, I can't select which one to be my default startup Mode of the disc. Help, please!

    Pisheng D.

    Unlock you the boot floppies pane by clicking the lock button? Look at the lower left corner of this screen.

  • Won't let me connect to Apple ID! Help, please!

    I can't connect to my Apple ID in my 5s or on the Internet. Rpet purc cannot be treated. Cannot update or download something from the App Store. Tried to change date of a coming year, changed my password to login and have my phone reatarted. Help, please! Won't reset if possible because my laptop packed and I can't back up not everything!

    Sorry for my auto correct fail here! PURC is lying be purchas and reatarted is supposed to say restarted

Maybe you are looking for