Need a click and drag script for multiple layers.

Hi. I'm realitivly new to Flash and Action Script.
For a Majour project school asignment i am trying to create an interactive map for a hypothetical theme park, and i'll cut to the chase, i need a script that allows the player to drag the content of two or three layers around the screen upon mouse click, similar to this example:\
http://www.dreamworld.com.au/content/drw_2008_shopping.asp?name=ParkMap
I will have a layer for buttons (probably called Buttons) and a layer for the map graphic (Probably called Map), similar to this tutorial:
http://www.republicofcode.com/tutorials/flash/interactive_map/
If anyone could produce, or has a script lying around that could do this; i would really apreciate it.
This assignment has a large impact on my UAI (universities admission index).
Thanks for your time,
Pat

Thanks for your help. I really appreciate it.
The problem is; this is the script i am using to make the map interactive:
import mx.transitions.Tween;
import mx.transitions.easing.*;
var cities:Array = ["muscat", "sohar", "dubai","abu_dhabi"]
function mover (targetX, targetY){
currentX = marker_mc._x;
currentY = marker_mc._y;
var xTween:Tween = new Tween(marker_mc, "_x", Strong.easeOut, currentX, targetX, .5, true);
var yTween:Tween = new Tween(marker_mc, "_y", Back.easeOut, currentY, targetY, 1.5, true);
for (var i = 0; i<cities.length; i++){
var my_btn = this[cities[i]+"_btn"];
my_btn.myCity = cities[i];
my_btn.onRollOver = function() {
mover( this._x, this._y);
marker_mc.gotoAndStop(this.myCity);
And when the buttons are made to be part of a movie clip with the image i am using for the background this script does not work.
The script is located in a layer called "Actions", if that is of any help at all.
Any ideas?
I am sorry if I am being a newsense.
Thanks

Similar Messages

  • Command+click and drag to select multiple files

    Hi everyone,
    I switched about a year ago and recently joined this group. I love OS X and will never go back to windoze, however after recently upgrading to Tiger, I went to command+click and drag to select multiple files in order to drag them to the trash, all I succeeded in doing was to drop one file into the next folder down. Did I miss a check box somewhere, or something. It feels like windoze now, having to command+click individual files to select more than one, or use the edit menu to "select all".
    I'm not going back to Panther just to get back this feature I miss, and was hoping there is a way to get it to work in Tiger, any suggestions?
    eMac G4 1 gig superdrive   Mac OS X (10.4.3)   768 megs sdram

    You might find this easy to do in column view:
    1. Select a group of contiguous files by clicking on the first, then hold down the shift key and click on the last one you want, all files between first and last will be selected.
    2. To add an odd file here and there to the group hold down the command key and click on the file.
    Thus you can quickly select an entire group in the middle with click/shift click, then add additional files individually to the selected group.
    Francine
    Schwieder

  • Click-and-drag to select multiple points in puppet warp

    Hello Community,
    Puppet Warp is a great tool. But sometimes I want to isolate an area and only rework that spot, while keeping everything else in place. To do this I have to go around clicking everything to pin it down. I'm wondering if there's a way to automatically pin all possible points, or click-and-drag to create pins at all intersecting points of the web.
    Or something like that to easily pin everything down.
    Cheers,
    Emmy

    Well, I normally find the solution here if there is one, so it looks like there is none.
    Adobe peeps, can you please take note of my comment? It would really be nice if that was possible.
    Cheers,
    Emmy

  • Click and Drag to Select Multiple Grids

    Hello,
    I am trying to create a Java application that will represent a simple paper timesheet for multiple jobs. I am trying to keep it as close as possible to an actual timesheet that I already have to fill out weekly.
    I will try to describe the sheet.
    Each day has a grid that's basically 4 x 24. There is a grid for each 15 minute block in the day. And each row accounts for 1/4 of the day or 6 hours. Then there are 7 groups, one for each day.
    The way I would like to designate the hours on the electronic time sheet is to select a group of cells and then press a pushbutton to color code the selected grids.
    I did some searching and found a way to create the grids and individually change the patterns/colors/etc for each grid on a mouse click here:
    http://forum.java.sun.com/thread.jspa?forumID=54&threadID=477343
    This is a good start but I haven't been able to find information on how to select grids and then perform an action.
    Is this something I should try to do with a table?
    Any suggestions would be appreciated.

    I guess I should state how much of a newbie I am.
    I did take a summer Java course at a community college this summer and I have some other programming experience (mostly Matlab).
    The course covered a lot of the language but it wasn't exhaustive. We covered (in no particular order) Arrays, Interfaces, overloading, inheritance, loops, actionlisteners, Layout managers, exceptions (a little) One thing that we really didn't get into were packages.
    We did some GUI design, but not a whole lot.
    The programming that I do with Matlab is very similar to C. (i.e. highly procedural not Object Oriented) so I think that's where some of my stumbling blocks are. I feel pretty comfortable reading Java code and using the API (sort of) but I didn't even know that 2D intersections existed.
    I have just started using eclipse last week. My previous coding was just done with textpad, so I am trying to get used to compiling code and building projects (and .jars) with an IDE.
    Thank you for the tips. I am going to keep looking around and see what I can find.

  • HT3622 I need different facetime and messenger details for multiple ipods on one apple id how do I do this when in itunes?

    I have an iphone and my 2 children have Ipod touch they have to be set up under my apple id to be able to purchase apps. But we all want to have separate facetime & messenger accounts. My contact list seems to have appeared on one of my childs ipod touch. How can I set up separate accounts but under one apple id.

    Answers that I know :
    a, yes - I have an iPad, iPhone, and iPod Touch linked to my account on the same computer/iTunes and haven't had any problems with it
    b, you only need to purchase the app once, it can then be copied onto all your devices. Some of my apps are on all three of my devices. If you get newspapers or magazines then I believe that some only allow one download of each magazine/newspaper, so you may not be able to have them on each device.
    c, as long as you have your own Game Center accounts then you should be able to - I've never used it
    d, yes, you can have them on all your devices, you don't need to multi-purchase them
    e, I think that you will each need your own email address for them - in Settings > iMessage you can link an email address with messaging, and similarly for FaceTime (Settings > FaceTime) - that way messages/calls will only go to the correct person. Using FaceTime ; there is also some info on the built-in apps in iPad's manual and iPod's manual
    f, all content purchased via an iTunes account is tied to that account, and they cannot be copied or transferred to a different account. So any content purchased on your wife's account will remain tied to her account. You can have more than one iTunes account authorised on a computer's iTunes (Store > Authorise This Computer), so you can have her content as well as yours on the computer that you sync to.
    g, don't know, I've not made any in-app purchase
    h, with the device connected to and selected on the left-hand side of your computer's iTunes, then on the tabs on the right-hand side you can control what is synced to that device. Those selections should then be remembered each time you re-connect that device, so you can have different selections for each device and you shouldn't have to re-do the selection each time you connect it.

  • Applications crash immediately when I click and drag object. Every time in every Adobe program.

    Application crashes when I click and drag object. Any time I am in an adobe program on my new computer (OS X Yosemite 10.10.1, 15 inch macbook pro 2.5gHz) say Illustrator for example, it will be fine until I inevitably need to click and drag something.
    It immediately crashes, every single time. Same with Premiere, same with AE, same with photoshop. This is a brand new computer and I've tried all available versions CC2014, CC, and CS6. Anybody have some idea of what is happening? I've also tried using a bluetooth mouse to see if it's a problem with the touchpad. How could clicking and dragging cause every single application to crash 100% of the time.
    Thank you in advance!

    Yosemite sometimes has problems, often related to "default" permissions needing to be changed
    -one person's solution https://forums.adobe.com/thread/1689788
    -http://blogs.adobe.com/creativecloud/creative-cloud-and-yosemite/
    -https://helpx.adobe.com/x-productkb/global/mac-os-yosemite-compatability.html

  • Click and drag: object jumps to another location (not lag)

    Hi,
    I'm having a really annoying problem with Photoshop CS4, This is hapening since I updated to CS4 about a couple of months ago.
    I've already updated my drivers and did a reset of the photoshop preferences. So if you could take a look at my problem I would really be thankfull!
    Sometimes when I...:
    When I use the Hand tool to browse trough the artboard it suddenly jumps to a random place on my artboard.
    When I try to drag any item to another position it jumps somewhere not supposed to.
    When selecting something with the rectangular marquee tool, drawing a shape, placing a gradient, transform tool.....
    This is hapening with every tool I need to click and drag. (And yes I!m using a decent mouse it works perfectly with other Adobe software)
    I don't think it's lag caused by my hardware beacause everything is running verry smooth except the above-mentioned problems. And these problems al happen in an instance.
    Photoshop CS4
    Windows Vista 64bit
    Core2Duo T9400 @ 2,53GHz
    8GB Ram
    Nvidia Quadro FX 770M
    Can anyone Help me? Thanks in advance!

    I did an upgrade to windows 7, Problem fixed

  • How do I reorder songs in a playlist in the new itunes??? I can no longer just click and drag. When I click, it doesn't move!!!! Need help ASAP- trying to prepare for an aerobics class and need songs in a specific order!

    How do I reorder songs in a playlist in the new itunes??? I can no longer just click and drag. When I click, it doesn't move!!!! Need help ASAP- trying to prepare for an aerobics class and need songs in a specific order!

    Vera,
    Use View > View Options, and set 'Sort By" to "Manual Order."
    Then you will be able to drag-n-drop songs up and down the list.

  • Need steps to create ant scripts for publishing and deploying projects.

    Need steps to create ant scripts for publishing and deploying projects.
    Have got ant, Oracle BPM Enterprise WL edition installed , Need to know what are the other configurations to be done.
    Any working example would help me to understand, please do mail me at [email protected]
    Thanks in advance.
    -Sree

    Sreekant,
    Please find the build file to publish and deploy.
    <project name="deployProject"
    xmlns:fuego="antlib:fuego.tools.ant.enterprise"
    xmlns:fuego.j2ee="antlib:fuego.tools.ant.j2ee" default = "publish">
              <property file="./Properties/fuego_deploy.properties"/>
              <fuego:passport id="fuego.passport"
    directoryid="${fuego.directoryid}"
    preset="engine" />
    <target name="publish" description="Publish and deploy processes" depends = "takeInputs">
    <!-- Open a session to the Oracle BPM directory -->
    <fuego:session
    passportref="fuego.passport"
    verbose="true"
                   properties="${fuego.basedir}/conf/directory.xml"
    haltonerror="true" >
    <!-- Publish processes -->
    <fuego:publish fpr="${fuego.project.name}"
    deploy="true"
    engine="${fuego.engineName}"
                        importdata = "${fuego.importdata}"
                        automaproles="${fuego.automaproles}"
                        automapbuspars = "${fuego.automapbuspars}"
                        automapvars="${fuego.automapvars}"
                        automapconfigs = "${fuego.automapconfigs}">
    </fuego:publish>
    </fuego:session>
    </target>
    <target name= "takeInputs" >
    <input
    message="Please enter admin-username:"
    addproperty="fuego.participant"
    />
    <input
    message="Please enter admin-password:"
    addproperty="fuego.password"
    >
    </input>
    </target>
    </project>
    and find the properties I have used..
    fuego.basedir=C:\OraBPMEnterpriseHome
    fuego.directoryid=default
    fuego.engineName = bpmengine
    fuego.project.name = E:/antExamples/Project/CommonUtilities
    # If the below property is true then ant script imports data from the project, as defined in Studio.
    # This includes importing:
    #      •Holiday and Calendar rules
    #      •Organizational Units
    #      •Roles
    #      •Resource configurations
    #      •External Variables
    fuego.importdata = true
    #If the below property is true ant script automatically map abstract roles to real ones with the same name.
    fuego.automaproles=true
    #If the below property is true ant script automatically map business parameter variable names (as defined in the project design) to an business parameter variable id with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapbuspars = true
    #If the below property is true ant script automatically map external variable names (as defined in the project design) to an external variable id with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapvars=true
    #If the below property is true ant script automatically map External Resources configurations (as defined in the project design) to real Configurations with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapconfigs = true

  • Scripting a mouse click and drag

    does anyone know how to script a mouse click and drag. I tried XTools. No luck. What about Cliclick. I had tons of success with TextCommands but I dont know how to get OSAX plugin code to work. Thanks in advance.
    I am trying to move a desktop clock (QuartzClock) from the center of the screen to the side.

    I tried (unsuccessfully) to find a mouse move and click solution in Applescript.
    My search brought me to this site: http://www.geekorgy.com/index.php/2010/06/python-mouse-click-and-move-mouse-in-a pple-mac-osx-snow-leopard-10-6-x/
    The following python script will move an object from position 60.100 to 60.300
    #!/usr/bin/python
    import sys
    import time
    from Quartz.CoreGraphics import * # imports all of the top-level symbols in the module
    def mouseEvent(type, posx, posy):
    theEvent = CGEventCreateMouseEvent(None, type, (posx,posy), kCGMouseButtonLeft)
    CGEventPost(kCGHIDEventTap, theEvent)
    def mousemove(posx,posy):
    mouseEvent(kCGEventMouseMoved, posx,posy);
    def mouseclickdn(posx,posy):
    mouseEvent(kCGEventLeftMouseDown, posx,posy);
    def mouseclickup(posx,posy):
    mouseEvent(kCGEventLeftMouseUp, posx,posy);
    def mousedrag(posx,posy):
    mouseEvent(kCGEventLeftMouseDragged, posx,posy);
    ourEvent = CGEventCreate(None);
    currentpos=CGEventGetLocation(ourEvent); # Save current mouse position
    mouseclickdn(60, 100);
    mousedrag(60, 300);
    mouseclickup(60, 300);
    time.sleep(1);
    mousemove(int(currentpos.x),int(currentpos.y)); # Restore mouse position
    See also:
    http://developer.apple.com/mac/library/documentation/Carbon/Reference/QuartzEven tServicesRef/Reference/reference.html
    http://developer.apple.com/graphicsimaging/pythonandquartz.html
    Tony

  • Can`t left click and drag clip into timeline..Need advice

    Can`t left click and drag clip into timeline, or drag clips around in timeline.
    Can insert into timeline from Source Window but can't drag from source window.
    Can cut and paste within timeline.
    Restarting cs5 doesn`t help, but restarting computer solves problem for a while.
    Tried many mouses, but that didn`t help.
    Have no idea how I got the name OLD PRO, must have been drinking champagne years ago, because I am a bumbler par excellence!
    Message was edited by: old pro

    Thank you so much for asking
    In the Project Panel a left click highlights the asset but ignores the drag.
    In the timeline, a left click highlights the panel and when I try to drag it gives a flicker but that's all.
    I can cut and paste in the timeline.
    A restart of CS5 has no effect. Restarting the computer solves the problem for a while.
    Four different mouses--same problem.
    Doug

  • I can't click and drag my Frank Deford Podcast to my Ipod.  I have being doing it for years and about a month ago it stopped working.  I do not understand

    I can't click and drag my Frank Deford podcasts to my ipod.  I have being doing it for years and now it doesn't work.  Please help.

    Am experiencing same issue, ipod classic, ever since I upgraded itunes the first week of November. Have completed the 5 R's, noted that my device sych is failing- although device connectivity passes? Have you run this diagnostic?

  • Is there any way to disable right click and drag and drop for photos on iweb?

    Re: protecting photos when using iweb as your web designer...
    Is there any way to disable right click and drag and drop for photos using iweb?  I have seen tutorials about creating a text box around each image - but is there a better way? 

    However, there is no way you can prevent someone from making a screenshot of the image as it is displayed on the screen no matter what application you use to create the web page.
    You can add a watermark to dissuade the casual "thief" but those who are serious about stealing the photo for their own use can remove the watermark with some effort.
    OT

  • Click and drag to control frame advance

    I have a layer that contains a movie clip, instance name wwr_mc, which has nineteen frames. I have figured out how to script a roll-over function to continously move from one frame to another by rolling over the prev, or next buttons, using this code:
    wwr_mc.gotoAndStop(10);
    var t:Timer=new Timer(250,0);
    var dir:int;
    t.addEventListener(TimerEvent.TIMER,onNextFrame);
    next_btn.addEventListener(MouseEvent.ROLL_OVER,right);
    next_btn.addEventListener(MouseEvent.ROLL_OUT,stopIF);
    function right(e:MouseEvent): void {
        dir=-1;
        t.start();
        wwr_mc.nextFrame();
    prev_btn.addEventListener(MouseEvent.ROLL_OVER,left);
    prev_btn.addEventListener(MouseEvent.ROLL_OUT,stopIF);
    function left(e:MouseEvent): void {
        dir=+1;
        t.start();
        wwr_mc.prevFrame();
    function stopIF(e:Event): void {
        t.stop();
    function onNextFrame(e:TimerEvent): void {
        wwr_mc.gotoAndStop(wwr_mc.currentFrame + dir);
    This type of navigation, while functional, is not really codusive to what I'm trying to accomplish. I would like to be able to click and drag the mouse and have the frames advance forward or backward depending on the direction of the mouse movement.
    I tried using the MOUSE_Move event with very limited success.
    Any suggestions would be helpful!
    Thanks!

    I don't see anything via that link that I can relate to this posting.
    If you want to make the change in frames happen solely based on the direction (x) that the mouse is being moved, then you need to test the current position of the mouse against the last known position...
    var startPosition:Number = mouseX;
    wwr_mc.gotoAndStop(10);
    stage.addEventListener(MouseEvent.MOUSE_MOVE, onMouse);
    function onMouse(e:MouseEvent): void {
        if (mouseX-startPosition >= 0) {
            wwr_mc.nextFrame();
        } else {
            wwr_mc.prevFrame();
       startPosition = mouseX;
    I am not sure what you find as being too fast.  When you are doing things relative to an extended event, such as a mouse being moved for some time, then it is highly likely that the event will execute the event handler function repeatedly... as fast as the frame rate of the file allows.  So if you want more control of the rate at which mouse moves effect nextFrame/prevFrame function calls, then you need to build in some form of delay.  In the example below, it takes the form of removing the mouse move event listener for a short period using a timing function (setTimeout in this example, though you could use the Timer class as well)
    var startPosition:Number = mouseX;
    var delayTime = 250; // 0.25 sec
    wwr_mc.gotoAndStop(10);
    stage.addEventListener(MouseEvent.MOUSE_MOVE, onMouse);
    function onMouse(e:MouseEvent): void {
        stage.removeEventListener(MouseEvent.MOUSE_MOVE, onMouse);
        var currentPosition:Number = mouseX;
        if (currentPosition-startPosition >= 0) {
            wwr_mc.nextFrame();
        } else {
            wwr_mc.prevFrame();
       setTimeout(setListener, delayTime);
    function setListener(){
       startPosition = mouseX;
       stage.addEventListener(MouseEvent.MOUSE_MOVE, onMouse);

  • Mouse click and drag through turntable animation

    Hi all,
    First - thanks for taking the time to look through and possibly helping me with this question.
    I'm just getting to grips with flash cc actionscript 3.0 - so I apologise in advance to my not so technical jargon.
    In the past I have used actionscript 1.0 to create an interactive html file that contains a turntable animation of a 3D model. Users can mouse click and drag to the left or right to 'spin' the model around - however what they are really doing is scrubing through the timeline which contained 360 images of it from 360 degrees. Similar ideas can be found here: Interactive Thyroidectomy
    Now annoying I can't use the old code any more as I'm working in the latest flash cc actionscript 3.0
    So how do I do the same thing but in actionscript 3.0?
    So I've worked this bit out so far
    On my main stage I have two layers - actions layer and another layer with my movie clip (movieclip_mc)
    In the actions layer so far:
    movieclip_mc.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
    movieclip_mc.addEventListener(MouseEvent.MOUSE_UP, onMouseUp);
    function onMouseDown(event:MouseEvent):void
      movieclip_mc.addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
      //I should put something in here about mouseX  - but no idea what
    function onMouseUp(event:MouseEvent):void
      movieclip_mc.removeEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
    function onMouseMove(event:MouseEvent):void
    //I have to put something in about total frames - width of movieclip_mc etc but I'm not sure how   
    // this is what someone else did on another forum - but I'm not sure what it means:
         var delta:int = backgroundClip.mouseX - clickedMouseX;
       var wantedFrame:uint = (clickedFrame + delta * clip.totalFrames / backgroundClip.width) % clip.totalFrames;
       while (wantedFrame < 1)
      wantedFrame += clip.totalFrames;
      clip.gotoAndStop(wantedFrame);
    Also I think i need something in the beginning like.....:
    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    import flash.display.Sprite;
    var clickedMouseX:int;
    var clickedFrame:uint;
    var backgroundClip:Sprite = getChildByName("background") as Sprite;
    var clip:MovieClip = getChildByName("animation") as MovieClip;
    clip.stop();
    clip.mouseEnabled = false;
    .....but I'm a bit confused about what all of it means
    So I understand the principle but no idea how to actually make it work - Could anyone help explain it to me or help with the code?
    Thanks so much to anyone who can offer some help
    Catherine

    Hi Ned,
    sorry to bother you again on this subject -
    the script...
    function onMouseMove(event:MouseEvent): void {
      movieclip.gotoAndStop(Math.round(mouseX/movieclip.width*(movieclip.totalFrames-1))+1 )
    worked fine - but when you click and drag on the movie clip it didn't always get to the end of the movie and never carried on through the frames back to the beginning like i wanted it to (such as this one does Interactive Thyroidectomy)
    So I went back to the older 2.0 script and played with it a bit to be :
    function onMouseMove(event:MouseEvent): void {
      changeDistance = movieclip.mouseX - startX;
      travelDistance = startFrame + changeDistance;
      if (travelDistance > movieclip.totalFrames) {
      movieclip.gotoAndStop (travelDistance % movieclip.totalFrames);
      } else if (travelDistance < 0) {
      movieclip.gotoAndStop (movieclip.totalFrames + (travelDistance % movieclip.totalFrames));
      } else {
      movieclip.gotoAndStop (travelDistance);
    .... which almost works but it is very stuttery to mouse over and then it has this output error..
    mouseDown
    ArgumentError: Error #2109: Frame label 2.3500000000000227 not found in scene 2.3500000000000227.
      at flash.display::MovieClip/gotoAndStop()
      at flashdoc_fla::MainTimeline/onMouseMove()
    ArgumentError: Error #2109: Frame label 3.6499999999999773 not found in scene 3.6499999999999773.
      at flash.display::MovieClip/gotoAndStop()
      at flashdoc_fla::MainTimeline/onMouseMove()
    ArgumentError: Error #2109: Frame label 4.949999999999989 not found in scene 4.949999999999989.
      at flash.display::MovieClip/gotoAndStop()
      at flashdoc_fla::MainTimeline/onMouseMove()
    ArgumentError: Error #2109: Frame label 6.25 not found in scene 6.25.
      at flash.display::MovieClip/gotoAndStop()
      at flashdoc_fla::MainTimeline/onMouseMove()
    ArgumentError: Error #2109: Frame label 7.600000000000023 not found in scene 7.600000000000023.
      at flash.display::MovieClip/gotoAndStop()
      at flashdoc_fla::MainTimeline/onMouseMove()
    ArgumentError: Error #2109: Frame label 8.899999999999977 not found in scene 8.899999999999977.
      at flash.display::MovieClip/gotoAndStop()
      at flashdoc_fla::MainTimeline/onMouseMove()
    ArgumentError: Error #2109: Frame label 11.5 not found in scene 11.5.
      at flash.display::MovieClip/gotoAndStop()
      at flashdoc_fla::MainTimeline/onMouseMove()
    ArgumentError: Error #2109: Frame label 12.850000000000023 not found in scene 12.850000000000023.
      at flash.display::MovieClip/gotoAndStop()
      at flashdoc_fla::MainTimeline/onMouseMove()
    ArgumentError: Error #2109: Frame label 14.149999999999977 not found in scene 14.149999999999977.
      at flash.display::MovieClip/gotoAndStop()
      at flashdoc_fla::MainTimeline/onMouseMove()
    ArgumentError: Error #2109: Frame label 15.449999999999989 not found in scene 15.449999999999989.
      at flash.display::MovieClip/gotoAndStop()
      at flashdoc_fla::MainTimeline/onMouseMove()
    ArgumentError: Error #2109: Frame label 16.75 not found in scene 16.75.
      at flash.display::MovieClip/gotoAndStop()
      at flashdoc_fla::MainTimeline/onMouseMove()
    mouseUp
    I've obviously put some code in the wrong place - could you help me find out what it might be?
    I haven't labelled any frames odd numbers such as 15.4499999999999989 or labeled scenes than number either.
    I can send you my scene if that would help?
    Thanks very much for your time Ned
    (p.s Or maybe if it is easier you might offer some guidance as to how i can change the action script
    function onMouseMove(event:MouseEvent): void {
      movieclip.gotoAndStop(Math.round(mouseX/movieclip.width*(movieclip.totalFrames-1))+1 )
    to allow it to be more like Interactive Thyroidectomy

Maybe you are looking for