Need to stop cursor moving when external swf loads???

Hi, I am using a magnifying glass as part of my portfolio but when I click on another section and this loads an external swf above the main movie, because you can still see the main movie below, you can see the magify glass still moving as you move the cursor above??
you can see what I mean at :
www.zoeglazebrook.co.uk
any ideas how I can stop the magnify glass moving while i am on the external swf above?

OK, I wasn't following what that code was doing before, but try replacing all the code I gave you before with this (put it all on the timeline, and remove that function from the movie clip):
var mGInt;
magnifyingGlass.onPress = function(){
     startGlass();
function startGlass() {
     magnifyingGlass.startDrag("", true, 215, 120, 1080, 660);
     mGInt = setInterval(updateGlassImage,100);
function stopGlass(){
     magnifyingGlass.stopDrag();
     clearInterval(mGInt);
function updateGlassImage(){
     largeobject._x = (original._x-magnifyingGlass._x)*2;
     largeobject._y = (original._y-magnifyingGlass._y)*2;
     updateAfterEvent();
webBtn.onRelease = function()
     disableBtns();
     stopGlass();
     loadMovieNum("Advertorial/Advertorial.swf", 1);
function enableBtns():Void
      webBtn.enabled = true;
function disableBtns():Void
      webBtn.enabled = false;

Similar Messages

  • Stop Cursor moving on Return?

    How can I stop the cursor moving when pressing Return on a completed cell in a simple Spreadsheet. I fill a cell up, then press return and the cell below comes alive. How can I stop this from happening as default system or indeed as a system peculiar to a particular Spreadsheet?
    Thanks
    altv
    PS: It is Numbers 09, V2.1 and iMac with OSX lion 10.7.4.

    select the table you want to change this behavior for, then open the table inspector and uncheck the "Return Key moves to the next cell" check box:

  • Need buttons on base movie to become inactive when external movie loaded

    Hi,
    I am working on a portfolio website and I have all my navigation with buttons linking to other pages, on the base level. All the buttons are  scattered around the stage and when one of these buttons is clicked an external movie is loaded in the centre of the page.
    The movie is a big white box with a slideshow of images from my portfolio in the centre of the stage.
    My problem is that the buttons on the base level are easily clicked by accident, even though you cant see them with the white box.
    Is there anyway I can stop the base movie clip working, once a button is clicked? When the user has finished looking at my slideshow images then they press a close button.
    Code used for button on main timeline:
    swfBtn.onRelease = function()
        loadMovieNum("graphicLayouts.swf", 1);
    Code used for Close button on external swf:
    on (release) {
         unloadMovieNum(1);

    In your case I'd recommend writing the said above two function on main timeline. It should go something like this:
    function enableBtns():Void
         BTN_1.enabled = true;
         BTN_2.enabled = true;
         // ... and so on
    function disableBtns():Void
         BTN_1.enabled = false;
         BTN_2.enabled = false;
         // ... and so on
    Now, in the function where you call the loadMovie method (it's on the main timeline, right) just write:
    disableBtns();
    And in the external swf file, where you unload your swf write:
    _level0.enableBtns();
    It should work if I didn't bug anything.

  • Need to stop Email Notification when Transaction is Saved For later

    Hi Team,
    We are getting mail notification when any transaction is Saved for later. We need to stop this mail notification because for every transaction we are getting mail ? is there any possiblity that we can stop this activity for mail notification only for transaction SAVED FOR LATER.
    Details are:
    Application : 12.1.3
    Responsibility - Manager Self Service , HR Professional
    Kindly reply with your valuable suggesions.
    Thanks in Advance.
    Basaw

    I think u need to check ur work flow settings , where mailer will do this sending mail work
    please check the set up for that , and check with any wf expert once

  • Do we need to stop DPM backups when updating SP2013 with CU

    Hi - planning to install the Dec14 CU and want to know if it is required to Stop DPM protection when running PSConfig?
    Our DPM guy says DPM protection cannot be paused - only stopped and this would remove the Protection group completely and we would need to reconfigure afterwards. He thinks that because DPM bacup is different to SQL in that it only reads the T Logs to synchronize
    every 15min after the daly full backup at 8PM - so as long as we avoid running PSConfig when the full backup runs it should be no problem
    I have always had SQL backups stopped when updating SharePoint - is the DPM guy right that I don't need to worry about DPM syncs?
    Thanks
    J

    Hi,
    As my understanding, your DPM guy is correct. DPM utilize VSS to protect your database, so there should be no impact when you upgrade SharePoint with DPM up. If you are not assured to do this, I suggest you set up an all in one test environment to test it.
    Meanwhile, I would like to share the DPM Application Data Synchronization Process
    for your reference.
    https://technet.microsoft.com/en-us/library/ff399014.aspx
    Thanks,
    Reken Liu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How can I stop timeline sounds in external swf files from playing during loading?

    I am having a problem with timeline sounds in external swf files playing during loading in a main swf. Can anyone help me?
    Here is some of the code from the main swf. I hope I have included enough.
    Thanks.
    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    import flash.display.Loader;
    import flash.events.ProgressEvent;
    import flash.events.Event;
    import flash.net.URLRequest;
    import fl.events.SliderEvent;
    import flash.media.SoundTransform;
    preloader_mc.fill_mc.scaleX = 0;
    var swfA:Array = ["part1.swf","part2.swf"];
    var frameA:Array = [];
    var currentLoader:Loader;
    var swfTotalFrames:int;
    var tl:MovieClip = this;
    var st:SoundTransform = new SoundTransform()
    var index:int = 0;
    loadNextF();
    play_slider.enabled = false;
    function loadNextF():void{
                    tl["loader_"+index] = new Loader();
                    tl["loader_"+index].name = index.toString();
                    tl["loader_"+index].contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,progressF);
                    tl["loader_"+index].contentLoaderInfo.addEventListener(Event.COMPLETE,completeF);
                    tl["loader_"+index].load(new URLRequest(swfA[index]));
    function progressF(e:ProgressEvent):void{
                    var fractionLoaded:Number = index/swfA.length+e.bytesLoaded/(e.bytesTotal*swfA.length);
                    preloader_mc.fill_mc.scaleX = fractionLoaded;
                    preloader_mc.tf.text = (100*fractionLoaded)+"% Loaded";
    function completeF(e:Event):void{
                    tl["loader_"+index].contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS,progress F);
                    tl["loader_"+index].contentLoaderInfo.removeEventListener(Event.COMPLETE,completeF);
                    SoundMixer.stopAll();
                    var mc:MovieClip = MovieClip(tl["loader_"+index].content);
                    mc.gotoAndStop(1);
                    frameA.push(mc.totalFrames);
                    index++;
                    if(index<swfA.length){
                                    loadNextF();
                    } else {
                                    // all loads complete.  start play.
                                    restart_mc.buttonMode = true;
                                    restart_mc.alpha = 1;
                                    tl.addEventListener(Event.ENTER_FRAME,playUpdateF);
                                    tl.removeChild(preloader_mc);
                                    preloader_mc = null;
                                    play_slider.enabled = true;
                                    playpause_mc.alpha = 1;
                                    currentLoader = tl["loader_0"];
                                    tl.addChild(currentLoader);
                                    MovieClip(currentLoader.content).play();
                                    sliderParamsF();

    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    import flash.display.Loader;
    import flash.events.ProgressEvent;
    import flash.events.Event;
    import flash.net.URLRequest;
    import fl.events.SliderEvent;
    import flash.media.SoundTransform;
    preloader_mc.fill_mc.scaleX = 0;
    var swfA:Array = ["part1.swf","part2.swf"];
    var frameA:Array = [];
    var currentLoader:Loader;
    var swfTotalFrames:int;
    var tl:MovieClip = this;
    var st:SoundTransform = new SoundTransform()
    var index:int = 0;
    loadNextF();
    play_slider.enabled = false;
    function loadNextF():void{
        tl["loader_"+index] = new Loader();
        tl["loader_"+index].name = index.toString();
        tl["loader_"+index].contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,progressF);
        tl["loader_"+index].contentLoaderInfo.addEventListener(Event.COMPLETE,completeF);
        tl["loader_"+index].load(new URLRequest(swfA[index]));
    function progressF(e:ProgressEvent):void{
        var fractionLoaded:Number = index/swfA.length+e.bytesLoaded/(e.bytesTotal*swfA.length);
        preloader_mc.fill_mc.scaleX = fractionLoaded;
        preloader_mc.tf.text = (100*fractionLoaded)+"% Loaded";
    function completeF(e:Event):void{
        tl["loader_"+index].contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS,progress F);
        tl["loader_"+index].contentLoaderInfo.removeEventListener(Event.COMPLETE,completeF);
        SoundMixer.stopAll();
        var mc:MovieClip = MovieClip(tl["loader_"+index].content);
        mc.gotoAndStop(1);
        frameA.push(mc.totalFrames);
        index++;
        if(index<swfA.length){
            loadNextF();
        } else {
            // all loads complete.  start play.
            restart_mc.buttonMode = true;
            restart_mc.alpha = 1;
            tl.addEventListener(Event.ENTER_FRAME,playUpdateF);
            tl.removeChild(preloader_mc);
            preloader_mc = null;
            play_slider.enabled = true;
            playpause_mc.alpha = 1;
            currentLoader = tl["loader_0"];
            tl.addChild(currentLoader);
            MovieClip(currentLoader.content).play();
            sliderParamsF();
    ///////////////// start sliders /////////////////////////////////
    sound_slider.addEventListener(SliderEvent.CHANGE,soundSliderF);
    function soundSliderF(e:SliderEvent):void{
        st.volume = e.value/100;
        tl.soundTransform = st;
    play_slider.addEventListener(SliderEvent.CHANGE,playSliderF);
    play_slider.addEventListener(MouseEvent.MOUSE_DOWN,playSliderDownF);
    //play_slider.addEventListener(MouseEvent.MOUSE_UP,playSliderUpF);
    function playSliderDownF(e:MouseEvent):void{
        tl.removeEventListener(Event.ENTER_FRAME,playUpdateF);
        stage.addEventListener(MouseEvent.MOUSE_UP,playSliderUpF);
    function playSliderUpF(e:MouseEvent):void{
        tl.addEventListener(Event.ENTER_FRAME,playUpdateF);
    function playSliderF(e:SliderEvent):void{
        SoundMixer.stopAll();
        var frameNum:int = Math.ceil(swfTotalFrames*e.value/100);
        var partialTotalFrames:int = 0;
        for(var i:int=0;i<frameA.length;i++){
            partialTotalFrames += frameA[i];
            if(partialTotalFrames>=frameNum){
                break;
        partialTotalFrames -= frameA[i];
        //trace(i,frameNum,frameNum-partialTotalFrames);
        if(currentLoader!=tl["loader_"+(i)]){
            tl.removeChild(currentLoader);
            MovieClip(currentLoader.content).stop();
            currentLoader = tl["loader_"+(i)];
            tl.addChild(currentLoader);
        if(playpause_mc.currentFrame==1){
            MovieClip(currentLoader.content).gotoAndPlay(frameNum-partialTotalFrames);
        } else {
            MovieClip(currentLoader.content).gotoAndStop(frameNum-partialTotalFrames);
    function sliderUpdateF(e:Event):void{
        var playedFrames:int = 0;
        for(var i:int=0;i<Number(currentLoader.name);i++){
            playedFrames += frameA[i];
        playedFrames += MovieClip(currentLoader.content).currentFrame;
        play_slider.value = Math.round(100*playedFrames/swfTotalFrames);
    function sliderParamsF():void{
        swfTotalFrames = 0;
        for(var i:int=0;i<swfA.length;i++){
            swfTotalFrames += MovieClip(tl["loader_"+i].content).totalFrames;
    ///////////////// end  sliders //////////////////////////////////
    ///////////////// start playpause restart ///////////////////////
    playpause_mc.addEventListener(MouseEvent.CLICK,playpauseF);
    playpause_mc.alpha = .2;
    restart_mc.addEventListener(MouseEvent.CLICK,restartF);
    restart_mc.buttonMode = false;
    restart_mc.alpha = .2;
    function playpauseF(e:MouseEvent):void{
        if(!e.currentTarget.toggle){
            MovieClip(currentLoader.content).stop();
            tl.removeEventListener(Event.ENTER_FRAME,playUpdateF);
            e.currentTarget.gotoAndStop(2);
        } else {
            MovieClip(currentLoader.content).play();
            tl.addEventListener(Event.ENTER_FRAME,playUpdateF);
            e.currentTarget.gotoAndStop(1);
        e.currentTarget.toggle = !e.currentTarget.toggle;
    ///////////////// end playpause //////////////////////////////
    function playUpdateF(e:Event):void{
        sliderUpdateF(e);
        var playingFrame:int = MovieClip(currentLoader.content).currentFrame;
        if(playingFrame==frameA[Number(currentLoader.name)]){
            // next loader
            MovieClip(currentLoader.content).stop();
            SoundMixer.stopAll();
            MovieClip(currentLoader.content).mute();
            var nextIndex:int = Number(currentLoader.name)+1;
            if(nextIndex<swfA.length){
                tl.removeChild(currentLoader);
                currentLoader = tl["loader_"+nextIndex];
                tl.addChild(currentLoader);
                MovieClip(currentLoader.content).gotoAndPlay(1);
            } else {
                tl.removeEventListener(Event.ENTER_FRAME,playUpdateF);
                playpause_mc.gotoAndStop(2);
                playpause_mc.toggle = !playpause_mc.toggle;
                //playpause_mc.alpha = .2;
                // all swfs have completed play
    function restartF(e:MouseEvent):void{
        MovieClip(currentLoader.content).stop();
        tl.removeChild(currentLoader);
        SoundMixer.stopAll();
        MovieClip(currentLoader.content).mute();
        currentLoader = tl["loader_"+0];
        tl.addChild(currentLoader);
        if(playpause_mc.currentFrame==1){
            MovieClip(currentLoader.content).gotoAndPlay(1);
        } else {
            MovieClip(currentLoader.content).gotoAndStop(1);

  • External swf loader probs

    HI, we have a situation which has done our heads in for two
    days non-stop,
    We have a pre-loader loading the area's and then have the
    loadmovienum to load in additional swf's now when we use the nav
    bar at the top of the page, it opens the right file but when it
    loads the page it moves onto the next load movie for some reason
    with out stopping, even though the stop command is in place....
    We have uploaded the dodgy version which you can test and see
    what problems we are having, the contact page is the same as the
    service page for the moment, but you will see the contact page
    display the "cloned" service page then it restarts the whole movie
    Here are the URL's to the zip file with all the swf's and
    fla's including the live what we have done so far online version.
    http://www.drsolutions.co.uk/premiere/wwwroot/
    http://www.drsolutions.co.uk/premiere/fla/premiere.zip
    Please reply asap thanks
    PS WE ARE USING FLASH 8

    Ok... I figured out how to get the swf to play correctly. I
    changed my publish settings to Flash 8 Player. This worked in
    getting the external swf to load... Now I ran into a new problem,
    hopefully someone can help me with this.... I need the swf to load
    in a VERY specific location, and at the EXACT scale as the original
    swf file. I have attempted to accomplish this by opening the
    original file that I am attempting to load. I selected all of the
    elements on the page, and looking at the X and Y coordinates, as
    well as the over all pixels measurement... then I placed these in
    numerals in the fields for the loader component in the "mother"
    file. I previewed it, and the placement and scale are wrong... how
    do I overcome this?? How can I control where the loader component
    loads and at what scale?
    Ken

  • Problem with external swf loading

    this is the code I'm using that works
    onClipEvent(load){
    this.loadMovie ("2.swf", "b");}
    Text
    and when I use another swf to load, it won't work anymore.
    Any help would be apreciated

    you can't decrease the total time it takes for you external swfs to load.  you can start those swfs loading in the background (while on frame 1, for example) but you need to be careful to preload only 1 swf at a time and not restart its download if it's already been started.

  • Problem with Error 5005 and with external SWF loading

    I am creating a relatively simple 10-12 minute animation. I've broken the animation into 34 different movie clips that I control on the timeline by using a timer delay.
    When I try to export them all together I get the error:
    ",Line 1: Error 5005: Unknown Error optimizing byte code."
    However, when I split the presentation into two halves with the same exact frames and code I don't have the problem.
    I thought loading an external SWF at the end of the first movie would be a good way to connect everything. However, the SWF continuously loads and won't play through the way it looks when you open the actual SWF file.
    This is my code for the external loading:
    var xpos:Number = 0;
    var ypos:Number = 0;
    var swf:MovieClip;
    var myLoader:Loader = new Loader();// create a new instance of the Loader class
    var url:URLRequest = new URLRequest("aamc-2e-slide1.swf");// in this case both SWFs are in the same folder
    myLoader.contentLoaderInfo.addEventListener(Event.INIT, doneLoading);
    myLoader.load(url);
    function doneLoading(evt:Event):void
              trace("doneloading");
              swf = MovieClip(myLoader.content);
              stage.addChild(swf);
              swf.stop();

    I have the same/similar issue whether the stop is there or not.
    Yes, it is all on one frame.
    Without the stop, the SWF just continously loops on top of itself.

  • External swf loader

    Hey all,
    In the site that I am designing. I am using a Loader to load
    extenal swf's onto the background of my site.... I created the
    loader, gave it an instance name, and then gave it a content path
    to the swf file that I want to load. I previewed the page, and it
    all loads fine in the "mother" file, but when the content is
    supposed to load into the Loader, the loader simply turns opaque
    white and nothing happens... what am I missing here?
    Best,
    Ken

    Ok... I figured out how to get the swf to play correctly. I
    changed my publish settings to Flash 8 Player. This worked in
    getting the external swf to load... Now I ran into a new problem,
    hopefully someone can help me with this.... I need the swf to load
    in a VERY specific location, and at the EXACT scale as the original
    swf file. I have attempted to accomplish this by opening the
    original file that I am attempting to load. I selected all of the
    elements on the page, and looking at the X and Y coordinates, as
    well as the over all pixels measurement... then I placed these in
    numerals in the fields for the loader component in the "mother"
    file. I previewed it, and the placement and scale are wrong... how
    do I overcome this?? How can I control where the loader component
    loads and at what scale?
    Ken

  • How to detect the end of an external swf loaded into a container

    Hi,
    I'm having trouble finding a solution for this problem, can somebody help me?
    I have a main swf that will load external swfs into a container. I need to detect the end of the loaded external swf in order to start to load and play a new one into the same container.
    The problem is that i do not know what the length of the external swfs will be, and will have no control over the development of them, so i cannot place a variable at the end of their animation which would allow me to detect from the main movie its end.
    I also cannot rely on the _totalFrames property because the loaded swf might not have all the animation inside its main timeline.
    Is there any way to achieve this goal?
    Thx

    Ok... Its as i thought... unfortunatly...
    Gonna mark your latest post again as possible solution, just in case someone comes with any sort of out of the box thing...
    Thx for your help Kglad

  • External .swf Loading?

    Hello.
    I am having trouble making a button load an external .swf file!!!
    I have a made a flash file, and in the navigation; once a Button is pressed it should load another .swf file but I can't get the Button to load another .swf despite numerous attempts, and Google searches!!
    Can someone please tell me how to do?? :-o
    Make a Button load an external .swf file once pressed!!?
    I'm trying to do this in AS2!
    Thanks so much!

    in your event handler you will want code that looks like
    loadMovie("circle.swf", mySquare);
    mySquare is defined earlier as a movie clip.  You can see the information about loadMovie here

  • What happened to the 'stop' icon? Firefox is so slow, I need to stop cursor swirl.

    I am using Windows XP PRO 32 bit on a desktop
    When I updated Firefox last week....(approx 86h May, 2014) so many things changed, one of these is now the cursor swirl is going all the time, well almost...about 80-% of the time I am on FF.........before, I could use the 'X' icon (stop) to stop it....why has this feature been removed? Surely most browsers have a stop icon? Well, I'm not an expert at all, but the ones I have seen all have one, anyway....
    I am not happy about all these changes....it's just made things worse, I am getting more notices of plug ins stopping working than ever before. I always thought up-dates fixed these things & made the product better, not worse....grrrrr
    Can anyone tell me why it is gone, and if I can restore it, please?
    Thanks
    Sylvia

    Firefox uses a combined Stop/Reload/Go button that is positioned at the right end of the location bar.
    *You get a Stop button during page loading that changes to a Reload button when the page has finished loading
    *You get a Go button if you modify the location bar content
    *Middle-click the Reload button to duplicate the current tab to a new tab
    ;[[Image:New tabs and toolbar - Win8]]

  • Mouse cursor problem when external display connected

    When my external Apple display is connected to my MacBook Pro (Retina, Mid 2012, 10.10.2) the cursor jumps to a spot on the external display and will not release from it. I move the cursor anywhere and it jumps back to that original spot. Cursor operates normally when the external monitor is not attached. I've used the monitor for a few years with no problem, but this started just recently. I do not use the external monitor daily and I cannot recall doing anything that might have triggered this problem. Any ideas on a fix? Thanks.
    Bill

    Just an update to close this. Call Apple Support. An advanced support tech walked me through several procedures. Eventually, the problem disappeared after deleting a bunch of plist files and startup items. Which particular file caused the problem we don't know. But problem gone and I will monitor going forward. Hopefully it was a one-time corruption of one of the preference files.

  • Is there a way to keep animated gifs moving when a page loads? At some point it just stops but the next page is still loading

    I am working on creating a website that has this "loading" image gif when I go to another page (php). Yes, ajax is cooler but i'm no expert and seo thing keeps me from using it thus i'd go for something this simple. I already tried and realized it works on chrome but not on firefox, what am I missing? Not even sure if this is the right place to ask

    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
    The helpers at that forum are more knowledgeable about web development issues.
    You need to register at the mozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=25

Maybe you are looking for

  • Is there a way to create a picture from a video clip in Imovie?

    Hello everyone, I want to take a part of the video and make it a picture (jpeg) or anything like that. Is it possible in Imovie or other programs? Thanks Gregg

  • Animation presets import trough Adobe Bridge Browser

    Hi guys, I am sure that in previous versions of AE I could "Browse Presets" trough Bridge, double click on selected preset and it would import into AE. Now, in CC and CC2014, when I browse presets, and double click on selected one it shows error (" U

  • Connecting to youtube

    When I press the YouTube icon on the main menu after about 60 seconds I get the message "cannot connect to Youtube". When I try to connect to youtube via my home wi-fi network using Safari, I get a message "You either have Java Script turned off or a

  • Sound Profiles

    Hello all, I am very confused about what the following pertain to in changing volumes/ring tones: -Browser (Web browser? If so, what's the sound for?) -Level 1 messages -Messenger- Alert -Messenger- New Message -Tasks (is this for the calendar?) Also

  • Databases Panel Error

    I have setup a datasource in coldfusion 7, which works fine. When I try to use the Databases Panel and Bindings panel in Dreamweaver 8, Dreamweaver displays the full filepath to the database file instead of the names of the tables. Example: My databa