I have a function that tells a movie clip to hover around, how do i turn it off though?

on roll over? I'd like to have it so that when you roll over
an invisible button over the movieclip, it will stop the motion
created by this function.
HOW is this done? I mean, I can call a function, but how can
I stop it? And then restart it when you roll off the invisible
button.
The following code is on frame 1 of my file....
Please save from this hellish problem....Thanks.
function floatMc(float_mc:MovieClip, range_num:Number,
frames_num:Number):Void {
var xMin:Number = float_mc._x-range_num;
var xMax:Number = float_mc._x+range_num- 7;
var yMin:Number = float_mc._y-range_num ;
var yMax:Number = float_mc._y+range_num - 14;
var frames:Number = frames_num;
//number of seconds for the tween to take, and how often to
start a new tween
var me:MovieClip = float_mc;
function newTween() {
//adjust the easing class as needed
var xNew:Number = (Math.random()*(xMax-xMin))+xMin;
var yNew:Number = (Math.random()*(yMax-yMin))+yMin;
xTween = new mx.transitions.Tween(me, "_x",
mx.transitions.easing.Regular.easeInOut, me._x, xNew, frames,
false);
yTween = new mx.transitions.Tween(me, "_y",
mx.transitions.easing.Regular.easeInOut, me._y, yNew, frames,
false);
var IntID:Number = setInterval(newTween, (frames*(1000/31)));
floatMc(penthouse, 12, 72);
floatMc(midnight, 12, 82);
floatMc(photo, 12, 62);
floatMc(meeting, 12, 66);
floatMc(everything, 12, 80);
floatMc(space, 12, 77);

i just answered this.

Similar Messages

  • IPhone Calendar Events ALWAYS have sound even when event on the Mac does not.  How do I turn sound OFF on these events?

    I make a new event, I set the Alert = Message (NOT "message with sound").  When event happens on the iMac there is no sound.  Same event, syched to the iPhone, has sound.
    I have deleted events, recreated, synched.  Absolutly certain Alert is "message only."  No change in behavior.
    I have checked all preferences. iCal is set to automatically add an alert but I make sure I add the alert myself without sound.
    I just found the iPhone settings/sounds/calendar.alerts and I set this to "vibrate only."  I assume this will shut off the sound on ALL calendar alerts.  That's not really what I want to do (I want sound on some events, just not on every event) but if that's the only option available I'll take it.
    Can I get the iPhone to do what I tell it to do instead of overriding my settings?

    If it is not in Airplane mode then look here:
    http://support.apple.com/kb/TS1692

  • HT3775 I just upgraded my ipad to 6.0.  I can no longer expand my audio files so that I can move forwards and backwards.  I used to get a diagonal arrow to enlarge the screen and then have a bar that I can move to navigate. Can you help?

    I just upgraded my ipad to 6.0.  I can no longer expand my audio files so that I can move forwards and backwards.  I used to get a diagonal arrow to enlarge the screen and then have a bar that I can move to navigate. Can you help?

    Hi James,
    I am listening to embedded training files on the Quick Time player (I think). They cannot be copied to protect the information.  You only have the option of listening.   I used to be able to click on the Q in the audio strip and it would provide a diagonal arrow and this would allow me to expand the bar to a full screen. I then had the bar which would allow me to navigate in case I wanted to listen again or in case I wanted to move forward.  After my upgrade, I can no longer expand the strip to a full screen with the adjuster.  Now I have not chance to take a break in listening to these audios and most of them are at least an hour long.  Thanks for your help.

  • Rollover buttons that play a movie clip.

    Hello,
       I am new to Flash and I am trying to accomplish a simulation such as this example, http://www.its-about-time.com/investinesart/coalplantvirtualtour.swf. I have all of my movie clips done, but how do I tell a rollover button to play a specific movie clip? I also want to have all the movie clips to play simultaneously via a rollover button as shown in the example. I've attached a captured image of my timeline, if that helps. I've tried everything so far, but nothing is working! What is the simplest way of doing this?
    I have this inside one of the movie clips (mc_2) in a seperate layer under - (actions)
    RO_btn.onRollover = function(){
    mc_2.play();
    On the main timeline I have an actions layer with this:
    stop();
    Thinking that this may stop all of my movie clips but it doesn't.
    Should I make an actions layer in each movie clip with this syntax huh? stop();?
    I'm frustrated!!
    Thanks, if you can help!
    MG

    Hi,
    I have made something that you are looking for.
    It will be of help to you.
    basically you will have to create a few movie clips namely:
    2 buttons: (name them a_btn, b_btn, c_btn, d_btn, e_btn)
    3 movie clips (I am taking example image1_mc, image2_mc, image3_mc)
    in each of these movieclips.place 2 frames and on second frame put your movieclip(one in one).on both the frames put stop()
    now click on a_btn and write this script
    on (rollOver) {
    _root.image1_mc.gotoAndPlay(2);
    _root.image2_mc.gotoAndPlay(2);
    _root.image3_mc.gotoAndPlay(2);
    on (rollOut) {
        _root.image1_mc.gotoAndPlay(1);
        _root.image2_mc.gotoAndPlay(1);
        _root.image3_mc.gotoAndPlay(1);
    with this all 3 animations will work simultaneously. if you need to run any one of the movieclips at a time the you can address that mc in particular
    .Say if you want only 1 mc to move at a time then put this on  btn 2
    on (rollOver) {
    _root.image1_mc.gotoAndPlay(2);
    on (rollOut) {
        _root.image1_mc.gotoAndPlay(1);
    .Dont forget to give proper instance names to movieclips.(they are in properties panel.)
    Cheers!

  • Masking a movie clip that contains other movie clips

    hi,
    i am just trying out something in flash but it just doesnt
    work.
    I have a layer which has a movie clip which contains other
    movieclips in itself.
    Masking the layer that has the main movie clip causes the
    other movieclips in the main one to disappear when running the swf.
    Does any one have any idea how to get around this???
    thanks

    Hi,
    Recently, I have been putting together a flash presentation.
    And I am just wondering if the following might help you, in your
    communication with the said swf file:
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    onComplete);
    function onComplete(event:Event):void
    event.target.content.thinggy_mc.y -= 100;
    Not the best example, but this allows you to target a mc
    within an external swf file. I think if you look up this code, you
    will have an answer ;)
    Kind Regards,
    Boxing Boom

  • We have 2 iphone 5s sharing the same apple ID.  When browsing Safari on one phone it automatically sends a link to that page to the other phone.  How do we turn this off please?

    We have 2 iphone 5s sharing the same apple ID.  When browsing Safari on one phone it automatically sends a link to that page to the other phone.  How do we turn this off please?

    @apup80
    It sounds that you are running the same iCloud account with two phones.  I recommend you to create a different iCloud account and you should be all set.
    Creating an iCloud account: Frequently Asked Questions - Apple Support
    iCloud: Remove your device from Find My iPhone

  • I recently changed my Apple ID to a new email address. My old one still is in my phone, and cannot be permanently deleted as it says that Find my iPhone is still on. I can't turn it off because I do not have the password to my old "deleted" Apple ID.

    I recently changed my Apple ID to a new email address. My old one still is in my phone, and cannot be permanently deleted as it says that Find my iPhone is still on. I can't turn it off because I do not have the password to my old "deleted" Apple ID. If you can help, please do! Thank you very much!

    I have the EXACT SAME PROBLEM and have been researching the past 2 hours!!!! Aaargh!

  • I am trying to update itunes to 11.1.1.11 and i keep getting 'erreo writing to file : C\ : Config.Ms\301ded48.rfb.Verify that you have access to that directory'. What does this mean and how can i fix it?

    I am trying to update itunes to 11.1.1.11 and keep getting message at the end ' error writing to file :c:\Config.Msi\301ded48.rbf.Verify that you have access to that directory'. What does this mean and how do I fix it?

    I had this exact same problem just now, trying to upgrade to 10.7.
    I even got that error msg when trying to UNINSTALL iTunes!
    After hours of frustration trying everyone's different suggestions, I downloaded Revo Uninstaller http://www.cnet.com.au/apps/revo-uninstaller-10610875/ which solved the problem.
    Use it to help uninstall iTunes and related software components in the following order and then restart your computer:
    1. iTunes
    2. QuickTime
    3. Apple Software Update
    4. Apple Mobile Device Support
    5. Bonjour
    6. Apple Application Support (iTunes 9 or later)
    Then you can install iTunes from scratch.
    Good luck

  • HT5826 I have PDF files that I put on my Mac iBook application, how do I sync them with other devices?

    Hi all,
    I have PDF files that I put on my Mac iBook application, how do I sync them with other devices?

    Hello there, Dhamin.
    The following Knowledge Base article has some great information on this very topic:
    iBooks: Viewing, syncing, saving, and printing PDFs on iPhone, iPad, and iPod touch
    http://support.apple.com/kb/HT4227
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro

  • When I type in "www" in the navagation space I get a drop down that shows all the web sites I have visited! How do I turn this off?

    # Question
    When I type in "www" in the navagation space of the home page I get a drop down that shows all the web sites I have visited! How do I turn this off? edit

    That drop-down shows matches from your History and/or Bookmarks. To change what is shown, see "Controlling Behavior" in this article:
    *https://support.mozilla.com/en-US/kb/Location%20bar%20autocomplete
    <br />
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    **New Adobe Reader X (version 10) with Protected Mode just released 2010-11-19
    **See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    #*Also see "Manual Update" in this article: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • This pop up box which tells me everything that I scroll over. How does one turn these off?

    So my daughter got on my mac and turned on this ID box which tells me what everything is that I scroll over. How does one turn these off?

    Turn off VoiceOver in the Universal Access pane of System Preferences.
    (62639)

  • I have IPhone 6 and when I using Viber Siri is actives itself ones I turn it off is actives my player itself as well. What can I do to stop that happen.

    I have IPhone 6 and when I using Viber Siri is actives itself ones I turn it off is actives my player itself as well. What can I do to stop that happen.

    Try turning off Siri in your Settings. Follow the steps on this page: http://www.imore.com/need-disable-notification-center-control-siri-access-lock-s creen-heres-how-ios-8
    If this doesn't help, try resetting your iPhone. This won't delete your data stored on the phone.
    Press and hold the Sleep/Wake button
    Press and hold on the Home button
    Keep holding both buttons until the display turns off and back on with Apple logo on it.
    Alternatively, you may go to Settings - General - Reset - Reset All Settings

  • Apps need to have apple id and password entered in order to use them, how do i turn that off

    apps need to have apple id and password entered in order to use them, how do i turn that off???

    Are you signed in with the same Apple ID that was used to purchase them?

  • "This connection is untrusted" shows up CONSTNATLY!!! and I cannot move the page down to get to the bottem of I understand the risks to override it. How do I do that or how do I TURN IT OFF!!!

    Even sending this message gets the" This connection is untrusted"!!!!!How is that for stupid!!! How do I turn it off or do I have to use some other site and wipe firefox off my computer.

    Just got this warning for facebook, Amazon, and Google, I have just told my clients to stop using firefox until the problem is fixed, it is a support nightmare because you have inexperienced users calling in convinced that they have a virus on their computer, and that they need to unplug the internet to prevent anything bad from happening.
    I had one customer call in and say, "it says get me out of here, Oh my God what have I done I should never have gone online"
    You know what can we have a better more accurate statement, on that warning, like Hi, thanks for stopping by this website may be sharing a security certificate with a parent organization, it may not really be a bad thing we just wanted you to know about it before you go on your merry way. Oh and by the way were going to make you jump through hoops and clicks check boxes and do this and do that before we let you go on your merry way, wait, " Are you really sure that you want to be doing this?" Do you know what your doing, perhaps you should call your ISP for advice, and get support from someone who has nothing to do with this issue.
    Thanks Guys, appreciate all the calls, perhaps I should give them your email address. $%^$%#$

  • If I have a large amount of music/movie content in the cloud, how do I get it onto my iPad/iPhone so I can hear/see it when I dont have access to WiFi?

    If I have a large amount of music/movie content in the cloud, how do I get it onto my iPad/iPhone so I can hear/see it when I dont have access to WiFi?

    If you go into the Purchased tab in the iTunes store apps on your iPad and iPhone then you might be able to redownload them from there - they should then be accessible in the Music / Videos app without you needing to be be online.

Maybe you are looking for

  • Pro Video Formats 2.0.1 Update Problem

    Hello, the "Pro Video Formats 2.0.1" update keeps reappearing in my update list, after I've already downloaded and installed the update. It will say it is installed successfully, then check for updates again, and the same update will appear. No matte

  • Wrong default layout for a new customer

    Hi all, I hope somebody can share inputs with regards to this issue. I'm assigning a default layout to one customer group (layout1 for all Group1).  When this was done, a list of customer codes were included in the list and each were ticked from that

  • 23" Cinema Display VESA adapter... in 2011?

    I need a M9649G/A for my two 23" Cinema displays from 2008ish so that I can mount them via VESA mounts... I've googled the part but no 3rd party seller has them, and it's unclear if the $40 24" and 30" adapters work on the older 23" models.  Anyone k

  • IDOC type and segment's BasisRelease number

    Dear expert, May i know is there a way to change the IDOC type and segment's BasisRelease number when i try releasing IDOC. Any special TCode? Please comment. Thanks in advance.

  • How to update apps with iOS4?

    How do I update apps in iTunes 9.2 with an iOS4 iPhone?