Rotating Menu/Panels. How to stop them onRelease?

Hi all,
I got this script from a tutorial site (
http://www.actionscript.org/showMovie.php?id=1284).
It's a 3D rotating menu/panels, reacting to mouse movement. On
mouse click, it will expand to a certain size, but I can't stop the
rotation. How can I stop the rotation with the specified panel
facing front when mouse release, and return to rotating and its
original size upon second mouse click??
And, I notice it's a little buggy, the panel shink to a size
smaller than original size when you do a quick click while it's
still expanding. :S
I don't know how I can attach the codes here because all the
codes are all over the instance and frames. Perhaps you can check
out the original tutorial
http://www.actionscript.org/showMovie.php?id=1284
Many thanks!! I really appreciated it!

Not sure if it helps, here are the codes from the FLA file:
this._visible = false;
var numrotos = 3;
for (n = 0; n < numrotos; n++){
newroto = "roto" + String(n);
this.attachMovie("roto", newroto, n + 1);
this[newroto].theta = n * 360 / numrotos;
this[newroto].panel = 31;
this[newroto].radius = 100;
this[newroto].contents.gotoAndStop(n + 1);
} // end of for
this.title.swapDepths(100);
if (_root._ymouse < 120 || _root._ymouse > 280) {
speed = speed * 0.950000;
} else {
speed = -_xmouse / 50;
this._visible = true;
on (press)
if (out)
_parent.pressv = -2;
out = false;
else
_parent.pressv = 2;
out = true;
} // end if
if (pressv != 0)
this.panel = this.panel + pressv;
pressv = pressv * 0.95;
if (pressv < 0.200000 && pressv > -0.200000)
pressv = 0;
} // end if
} // end if
theta = theta + _parent.speed;
xbit = Math.sin(0.017453 * theta);
ybit = Math.cos(0.017453 * theta);
this._xscale = ybit * this.panel;
this._x = xbit * this.radius;
this._alpha = 30 + (ybit + 1) * 50;
this._yscale = this.panel + (ybit + 1) * 3;
stack = Math.round((ybit + 1) * radius * 2);
if (stack == 100)
stack = 101;
} // end if
this.swapDepths(stack);

Similar Messages

  • Since upgrade to kitkat, getting "312" calls on phone. How to stop them?

    Since upgrade to kitkat, getting "312" calls on phone. How to stop them?

        Lets put an end to these calls, Nitzie! Do the calls come from more than one number? Have you answered these calls to see what the purpose of the call is?
    You can also block these numbers from calling you with our Call and Message Block. Here is how:  http://vz.to/MqEgqB
    Thank you,
    LenaA_VZW
    Follow us on Twitter @VZWSupport

  • I added a new email account and now I'm getting 2000 emails. Does anyone know how to stop them?!

    I added a new email account and now Im getting over 2000 emails. Does anyone know how to stop this?!

    Wait until it finishes. It's just downloading the headers of the emails in your account and caching them offline for quick access. Once it has finished it will go back to just downloading new emails as normal.

  • HMI FILES - HOW TO STOP THEM SHOWING ON EXT HARD DRIVE?

    Hi - this was posted on the Nov 8, 2012 2:16 PM and it's still hapening any suggestions
    Hi there I'm not sure where to post this one:
    I have an external Toshiba Hard Drive that I use to copy film over from my Mac. I sometimes pug it into my Humax PVR and most of the files play What I don't understand is when I watch them via the Humax it creates a 'HMI flle'.  I can see this file sowing up when I connect the drive to my Mac.
    Is there a way to prevent this? No biggie, just like to keep this in order.  I'm assumingthe drive is formatted correctly?? MS-DOS (FAT32)
    I can't reformat the drive now if it isn't as there are too many files but it would be handy to know for future reference.
    Cheers.

    Thank you so much BDAqua. I turn the Time machine off now.
    About the format type, Macbook automatically did it. I guess format type is Mac OS Extended. I tried to connect this external HD to Windows PC but the PC cannot recognize it. So, I cannot recover from PC where I have recovery software. Do you have any idea how to let PC recognize this external HD?
    I try to find the way but it seems I have to reconnect the HD back to Mac and try to recover on Mac. Is that only way? Do you have any suggestion? Thanks again.
    Pat

  • I don't know where these new pop-up program windows are coming from, but if I don't learn how to stop them , I'm quitting Firerfox!!

    Recently, these full program windows have been popping up everywhere! They are annoying and rude! I have the "Pop-ups blocked" in the options section, so how do I stop these?

    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Okay so lately someone has been trying to phish my computer but i dont know how to stop them. Can anyone give me some suggestions? And is it possible i can report these people to the police?

    ok so lately someone has been trying to phish my computer but i cant really do anything about it. I cant use Youtube and it sometimes doesnt let me go on any social networking sites. Is it possible for me to report these people to the police for tampering with my computer? And how can i make sure they stop

    HellO:
    Is it possible for me to report these people to the police for tampering with my computer
    As far as I know, phishing is not a criminal act.  If you fall for it, you might be considered less than the brightest bulb in the lamp.
    Phishing is a common problem for most of us.  In my case, I report it to the web site involved ( a bank, for example) for their follow up.
    Barry

  • ID's are stored and I can't find out how to clear them, I want to know how to stop them from being stored

    even when i set up this user profile the autofill had my email address even though I have never used this feature before. I want to be able to clear ID's and stop the auto fill.

    *Click the (empty) input field on the web page to open the drop down list
    *Highlight an entry in the drop down list
    *Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    * Firefox > Preferences > Privacy > History: "Remember search and form history"
    * https://support.mozilla.com/kb/Form+autocomplete

  • I used to be able to turn off my apps by holding down the icon but since the update it wont work. have they changed how to stop them running

    I used to be able to turn off my apps by holding down the icon and then it would turn off, now when I do the same thing nothing happens. Have they changed the way you turn off apps since the new update.

    Double tap the home button and swipe upwards on the preview of the App (not the App Icon).
    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf

  • I am getting hundreds of emails from community please tell how to stop them.  I have already changed my email preferences it did not work help

    Getting hundreds of emails from community forum.  Have tried changing email preferences.  HELP PLEASE

    no it isn´t.
    I already had these settings but still received 100+ mails a day with lots of topics I never even had read...
    now I deactivated ALL notifications.

  • Ezpoweradss - How to stop them?

    I am plagued by redirects and pop-up new pages/tabs from ezpowerads.
    The only responses to a Google search reveal nothing about this name other than ezpoweradds.com which recommends uninstalling the program upon which it was piggybacked - here is the exact wording-
    "In case you are not interested to see ads, you can easily uninstall or re-install the third party software it was bundled with and make sure you uncheck the "get advertisment" (or similar) check-box"
    Ad-aware and malwarebytes have both failed to find or remove ezpowerads. Anyone else been affected? anyone know WHICH "third party" software it is connected to? Nothing that I can spot.
    In hope . . . . . .
    Mike H

    Scan with All of the programs below.
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.

  • HT3702 I have paid once for one month subscription for al jazeera sport live app. I just released after few months that they are automatically charging me on monthly bases. How i can stop them charging me for something i did not use and i did not authoriz

    I have paid once for one month subscription for al jazeera sport live app. I just released after few months that they are automatically charging me on monthly bases. How i can stop them charging me for something i did not use and i did not authorize?

    You possibly set up an auto-renewing subscription with the app - there are instructions on this page on how to manage them, including how to stop them : http://support.apple.com/kb/HT4098

  • How come when i start my firefox i get these advertisememts. how do i stop them there is no opt out button

    When I start my mozilla page i get these advertisements and can not figure out how to stop them. It causes me to click no then leave this page etc. I can not find an opt out button.Thank you for helping me.

    Firefox does not have Ads included, so it is most likely either your home page, or some software (possibly a virus) that is making these adds appear.
    Try to run a few programs to remove any viruses:
    * [http://www.malwarebytes.org/mbam.php MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://windows.microsoft.com/MSE Microsoft Security Essentials] (A good permanent anti-virus if you don't already have one)
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    After that, Run a Firefox Reset:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Then, finally, I suggest installing something like Ad-Block Plus to fully remove ads. [https://adblockplus.org .adblockplus.org]

  • How to stop HP Annoying Status Message Windows?

    Before posting this message now (July/2014) I've searched for related posts here. I found one from 2009, whose author got a solution through an answer only in 2012 (pasted bellow).  I have the same problem: I'd like to stop the invasive alert messages from HP Solution Center without uninstalling the software, which is very good, but for these annoying stupid messages.  I say stupid messages, because everytime I seat in front of my desktop it insists telling me, for example, that I have a problem: the language in my HP printer doesn't match the language in my computer.  But this is not a problem, it is my personal option! Anyway, HP Solution Center keeps poping up everytime I awake my screen and this is really annoying, even it its messages were accurate.  HOW TO STOP THEM? As I said, the solution found here in the forum after 3 years (2009-2012) doesn't work for me, because there is no "status messages" in my "device settings" (Windows 7), so I could turn them off.  I'd appreciate any help!
    SOLUTION: To stop HP Annoying Status Message Windows.[ Edited ]
    ‎05-26-2012 01:05 AM - last edited on ‎05-26-2012 10:13 AM
    Hi, Friend I have solution how to stop HP Annoying Status Alert .
    WIndows 7
    First Click START>CONTROL PANEL>PRINTERFAX>
    Select Your Printer And Go to Properties
    Click Device Setting > Select Status Message OFF Option
    Press APPLY And Ok
    Reset Your Computer

    Hello Fernando_int, and welcome to the HP Forums.
    I see you are recieving false errors.  I would like to assist.
    I would suggest Uninstalling the Printer Software.
    Once it is uninstalled, I would suggest putting your system into clean boot mode within the Microsoft configuration.  You can do so by following this document: How to perform a clean boot in Windows.
    Once the computer is in clean boot mode, I would suggest reinstalling the HP Printer Install Wizard for Windows.
    Good luck and please let me know the results of your troubleshooting steps. Thank you for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • How to stop request for admin password when sending files to trash?

    I am requested the admin password when ever sending a file to trash using the mouse or the context menu.
    How to stop this annoying request?
    It was not like this before.
    I am working on a non admin account for security reasons. I got admin details here of cause.
    Thanks for you help!
         Till Kopper

    I gave my working account admin abilities in the system preferences. logged out and back in. Run the command line "sudo rm -rf ~/.Trash" as Topher Kessler suggested. Now my own password was accepted (before this ine and the admins accounts one failed). No there is no annoying request for the admin passowrd when sending a file to trash. changed my work account for no admintrative in the system prefs and logged out and in.
    Problem solved.
    THanks to Topher Kessler!
    (how to give you now the 10 point you deserve?)

  • How to stop playlists from shuffling

    My playlists started shuffling themselves and I can't work out how to stop them - need help please!!

    Start playing a song - any song.
    Tap on the album artwork area to bring up the scrubber for the song playing.
    To the left of the scrubber is the repeat icon/selection. To the right of the scrubber is the shuffle icon/selection.
    If the color of the shuffle icon/selection is blue, shuffle is selected. Select the icon to change the color of the icon to white which means it is off.

Maybe you are looking for

  • Passing data from a Table in a Dialog to a Listbox in a Internal Frame

    Hi All, Currently I have 2 .java classes. In the first class, DisplayListBox.java, it would have listboxes in it and a textbox with a button, Find. Upon clicking on the "Find" button, it would create a dialog window and call the second class, TableSe

  • The Managed Bean in the faces-config.xml File

    I am still very new to JSF. I am confused about the managed bean. For example, I have a button in my web page. A click on this button invokes an action; say, ListAction.java. In this ListAction class, I instantiate a business delegate; say, ListPerso

  • Oracle apex and extjs grid table

    hi im new to extjs and i was wondering if someone can help me with this; i want to create a report in oracle apex and put the output in extjs grid table for example i want to view the output of select * from all_objects in grid table thnx in advance

  • Internet Explorer 12 support OS.

    I heard about the new ie12 with chrome/Firefox design :) but i hope ie12 will  be support on Vista,7 and 8.1 That would be good for reputation of internet explorer.

  • Oracle Database releases and versioning

    After trying to install Database 10g on multiple platforms, I have a few questions that I hope someone won't mind answering: - Why is the syntax for key binary commands so different between one release of a single version? For example: primary emca c