Moving many movieclips

I'm new. I'd like to create a file that has 3 groups of
movieclips. Group 1 never moves in the users viewport. Whenever
group 2 moves, group 3 moves as well, but group 3 can also move
independently. I expect to draw all of the mc's by hand instead of
with AS, otherwise I would create them all as children of one mc
and move that. Do I just make 3 groups and move them? Is there a
way to add movieclips to one big clip after they are already drawn?
Just looking for advice on the best terms to google to figure out
how to proceed. Thanks in advance.

Or should I build three different files and import the output
swfs into one and set the rules there?

Similar Messages

  • To use the same code for many movieclips

    Dear all.
    I am using the flash to build my personal book online. I need zoom  many movieclip, my images.
    i make the code and function perfectly. But I want to find a way to use the same function for all movieclips and so, mantaining my code clean.
    mc_01.addEventListener(MouseEvent.MIDDLE_MOUSE_DOWN, Drag);
    mc_01.addEventListener(MouseEvent.MIDDLE_MOUSE_UP, unDrag);
    mc_02.addEventListener(MouseEvent.MIDDLE_MOUSE_DOWN, Drag);
    mc_02.addEventListener(MouseEvent.MIDDLE_MOUSE_UP, unDrag);
    and many others....
    function Zoom(e:MouseEvent):void
            mc_01.x = 0;  //I try here for this.x but the previews movie, called "Books" is who have changed your x value.
            mc_01.y = 0;
    I
    EDIT: For untangle, the previews movie is called MyAllPhotos and then, contain all movieclips that are each movie clip is one my images

    Hi Mr Kglad.
    And when I call a property like a X position I use this["mc_"+padF(i)].x = 0;  for substitute the mc_01.x = 0 ?
    My problem realy is inside the function. Your loop add an event to my clips and direction to function Drag and UnDrag.
    But inside in this functions, I need get some informations for the clip.
    Here the code:
    function Zoom(e:MouseEvent):void  //Sorry, but the correct name my functions is Zoom and not Drag and unDrag
               var mod:Number = 50;
               mc_01.scaleX += e.delta / mod; //in this name mc what I need to use? this, parent? I try and not function.
               mc_01.scaleY += e.delta / mod;

  • Moving a Movieclip towards its rotation?

    Hello!
    Basically, what I'm trying to accomplish is moving a movieclip towards the direction it's facing.
    I've been scoping around the net for different ideas on how to do it, but I've only found AS2 tuts.
    What I've done already is making the movieclip rotate around it's own center when the user presses either the left or the right arrow-key.
    What I'm now trying to accomplish is to make the movieclip move forward to the direction it is currently facing when the user presses up and vice versa for pressing down.
    Any ideas on how to do this?

    Yes this I did understand.
    But, the thing is, when I set these values, the player automatically spawns in the top left corner?
    The thing is.
    I still want the player to spawn in the middle of the screen, whilst allowing the player to rotate and move towards the rotation.
    How would I solve this with a Keyboard Eventlistener?..
    I'm already using a switch(e.keyCode) with the appropriate keyCodes.
    Like so:
    public function keyDownHandler(e:KeyboardEvent):void
    switch(e.keyCode)
    case Keyboard.LEFT: player.rotation -= 5; break;
    case Keyboard.RIGHT: player.rotation += 5; break;
    case Keyboard.UP: player;
    The "update" function is exactly like yours, but the thing it is doing now, is setting the players X value in the top left corner..

  • Moving many mocieclips

    I'm new. I'd like to create a file that has 3 groups of
    movieclips. Group 1 never moves in the users viewport. Whenever
    group 2 moves, group 3 moves as well, but group 3 can also move
    independently. I expect to draw all of the mc's by hand instead of
    with AS, otherwise I would create them all as children of one mc
    and move that. Do I just make 3 groups and move them? Is there a
    way to add movieclips to one big clip after they are already drawn?
    Just looking for advice on the best terms to google to figure out
    how to proceed. Thanks in advance.

    717/3163
    Hello Adam,
    (In addition to Doug's excellent answer)
    When using those move vs copy tips, a small green "+" appears to visually help you drag the way you meant:
    - If the green "+" shows, it's a copy.
    - If the green "+" doesn't show, it's a move.
    "any other tips about how to increase efficiency of the computer?"
    Well, hundreds, thousands, many undocumented...
    - Exploring your usual keyboard shortcuts and combinations, with the Option key in addition, or with the Command key, or both, or combined with mouse clicks, holds or drags, the Control key too sometimes, quite often unveils a hidden feature that you easily remember in the future because it very often really adds a plus to your efficiency.
    About shortcuts, many Apple KB articles:
    - (KB article #75459) Mac OS X keyboard shortcuts
    - (KB article #153415) Shortcuts for starting up
    - (KB article #153412) Shortcuts for freezes
    - (KB article #106567) Mac OS: Apple Pro Keyboard Shortcuts for Shut Down and Restart
    - (KB article #152140) Setting custom keyboard shortcuts for applications
    and one very nicely summed:
    - (Dave’s Picks) Magical Macintosh Key Sequences
    Try also certain combinations of
    Exposé + Tab,
    Command-Tab then ~/H/Q (with the ⌘ key hold down),
    the right-clicking in the Dock (folders icons...),
    the hold-clicking too (Finder's Dock icon),
    the Control + F keys keyboard navigation (enable with control-F1),
    keyboard navigation by hitting letters (or two or three letters) in menus or in Finder's column view,
    etc etc etc...
    Enjoy the exporation!
    Mac OS X, a wealth of such features...
    Axl

  • Moving a movieclip's location

    let's say i have _level0.box1.ball
    I want to move ball into _level0.box2 so it will become
    _level0.box2.ball
    How do I do this and have ball keep all it's original
    properties?

    I did think about it.
    Part of the way object oriented languages work is that you
    can move objects to different parents when needed. However, the
    movieclip object can't be moved at run time because of it's run
    time usage.
    For example, if you have a deck of cards, you would put 52
    card objects inside of a deck object. Then you can pass the card
    objects to the player objects and to the 'table' object. But if the
    card is always visible on the stage, it's harder to do this because
    you can't change a movieclips location. Sure you can use wannabe
    pointers, but then you get screwed on movie depths because of
    parent movie clips.
    All in all, it's a huge mess and it should be easier, hence
    why I tried to use the forums.

  • Moving many files to a new directory WITHOUT copying

    Hello,
    I'm trying to increase the efficiency of my iBook G4 by deleting all extraneous/replicated files. In addition to this, I'm trying to organize all the files that remain into sub-directories. Question: How do I move a large amount of files to a different directory without creating copies of those files? Everytime I try to execute something like this, the result is that aliases of all selected files get moved to the new directory, but the original files remain where they were. How do I get around this?
    Also, any other tips about how to increase efficiency of the computer? I have an iBook G4 running 10.3.9 Thanks.
    -Adam
      Mac OS X (10.3.9)  

    717/3163
    Hello Adam,
    (In addition to Doug's excellent answer)
    When using those move vs copy tips, a small green "+" appears to visually help you drag the way you meant:
    - If the green "+" shows, it's a copy.
    - If the green "+" doesn't show, it's a move.
    "any other tips about how to increase efficiency of the computer?"
    Well, hundreds, thousands, many undocumented...
    - Exploring your usual keyboard shortcuts and combinations, with the Option key in addition, or with the Command key, or both, or combined with mouse clicks, holds or drags, the Control key too sometimes, quite often unveils a hidden feature that you easily remember in the future because it very often really adds a plus to your efficiency.
    About shortcuts, many Apple KB articles:
    - (KB article #75459) Mac OS X keyboard shortcuts
    - (KB article #153415) Shortcuts for starting up
    - (KB article #153412) Shortcuts for freezes
    - (KB article #106567) Mac OS: Apple Pro Keyboard Shortcuts for Shut Down and Restart
    - (KB article #152140) Setting custom keyboard shortcuts for applications
    and one very nicely summed:
    - (Dave’s Picks) Magical Macintosh Key Sequences
    Try also certain combinations of
    Exposé + Tab,
    Command-Tab then ~/H/Q (with the ⌘ key hold down),
    the right-clicking in the Dock (folders icons...),
    the hold-clicking too (Finder's Dock icon),
    the Control + F keys keyboard navigation (enable with control-F1),
    keyboard navigation by hitting letters (or two or three letters) in menus or in Finder's column view,
    etc etc etc...
    Enjoy the exporation!
    Mac OS X, a wealth of such features...
    Axl

  • Selecting and moving many messages not working - try sorting by message classes

    I posted this a while back, and have an update now.
    I file my sent items.  Call me crazy, but I like to at the end of every quarter, move sent items from that quarter into sub folders.  It's usually 2-4000 items, and ever since I installed OL2010, I have had weird issues when trying to clean my Sent items.
    Example:  Select 2000 items, sorted by date from Sent Items.  Drag and drop to my 2009Q4 folder.  It then prompts me "Creating a new item from the selected items could take some time. Are you sure you want to create a new item from these 2000 items?"
    So I figured possible Ctrl is stuck down or something, so I right click, Move, select the folder.  Same issue.
    I start selecting smaller data sets.  I got to about 50-60 items at a time that I was able to move and not get that message.  I got frustrated and stopped working on it.
    This morning, I decided to re-test this.  Same issue presents itself.  So instead, I sorted by message class.  I was able to select 3800 message items.  The remaining items were messages with attachments, text/mobile messages, and calendar invite responses.
    It appears that some combination of selecting multiple message classes was triggering my issue.  I suspect the newest of them, the mobile messages to be the issue, so I deleted them, and retried, nope, same error, even selecting only the show message class types.   Would like to see this fixed, of course, and will be sending a frown with the link to this thread as well.
    Chris

    I had this problem too.  For me, simply sorting by message class, then finding all the calendar items and moving them first, then going back and doing the rest, allowed me to move them as I liked.   However, its not clear to me that I have
    all message classes (not sure what they all are), so it could be there are other message classes that cause problems when you move "mixed classes".   I do think this is an MS Outlook bug, but not clear anyone has reported it to MS.  ;-<
    You can prove this by simply selecting a calendar item and a msg, and try moving the two.  You will have this issue.
    However, you'd think that MS itself would be a vast user of MS Outlook and if we're discovering this, you'd think MS internal folks are too, so I'm deferring to them to self-resolve.   Until then, I'll just use this workaround.
    Definition of "Message classes" for others reading this...  You may have already inferred, but two examples of "classes" are a normal email (.msg) and a calendar item.  You can sort these by clicking on the "icon" field at the top of your email
    folder, just to the right of the "bell" (Reminders).   Not sure how to put a .JPG in this posting, since a picture would explain this much better than I can using words.

  • Moving a movieclip in a certain direction

    Hi!
    So, i got this movie clip (say a military tank), and i have attached to it a missile by script. When the tank moves, the missile moves with it, and when the tank rotates, the missile rotates with it. Now what i want it, when i hit the space button, to shoot the missile in the direction it is pointed to. How can i do this, please? Kindly advice how to do it please.
    Here's a video clip of my tank and missle: http://youtu.be/ksA8BM-z4kU
    Thanks for any response.
    KasunL

    if you chose your transform points wisely, you can use the tanks rotation property to direct your missile.  but don't attach to the missile to the tank.  that will be problematic for more than 1 reason.
    so you would usually look something like the following in a loop (eg, enterframe) and you may need to adjust the tanks rotation if its default rotation of 0 fails to point towards the position x axis.:
    missile.x+=speed*Math.cos(Math.PI*tank.rotation/180);
    missile.y+=speed*Math.sin(Math.PI*tank.rotation/180);
    eg,
    var m:Missile;
    var speed:int=whaTEVER;
    var tankW:Number = tank.width;
    function bF(e:KeyboarEvent):void{
    m=new Missile();
    this.addChild(m);
    m.rotation=tank.rotation;
    m.x = tank.x+tankW/2*Math.cos(tank.rotation*Math.PI/180);
    m.y = tank.y+tankW/2*Math.sin(tank.rotation*Math.PI/180);
    m.addEventListener(Event.ENTER_FRAME,enterframeF);
    function enterframeF(e:Event):void{
    e.currentTarget.x+=speed*Math.cos(Math.PI*e.currentTarget.rotation/180);
    e.currentTarget.y+=speed*Math.sin(Math.PI*e.currentTarget.rotation/180);
    if(e.currentTarget.x>stage.stageWidth||e.currentTarget.y>stage.stageHeight||e.currentTarge t.x<0||e.currentTarget.y<0){
    this.removeChild(MovieClip(e.currentTarget));
    e.currentTarget.removeEventListener(Event.ENTER_FRAME,enterframeF);

  • Many MovieClip / 1 class

    Since in AS 3.0 you can only define 1 movieClip per class, I
    would need to create 10 class for 10 movie clips that use the same
    basic class....
    I saw soemwhere in theh elpfile an example that could do it
    at runtime...
    Anyone can tell me what it s...like getDefinition or
    something...can't replace it

    Yes since if you do a circle symbol
    You need to attach this symbol to a defined class named
    circle
    Npow if you make an oval symbol
    You need to attach the symbol to a defined class named circle
    Uh oh doesn`t work
    This s basicly because you do something like:
    MovieClip Foo1 = new Circle()
    Instead of the AS2.0 Foo1.attachMovieClip("NameOfClip",
    depth)
    So now flash demand 1 class per movieclip
    So Im askng how you can create those atrun time

  • Moving a movieclip

    I would like to achieve the following:
    I have an oversized moveclip which i will place on the stage.
    When flash swf  is running, I would like to move the movieclip left, right, up or down when i mousedown. Just like the "MOVE" tool in photoshop.
    Is there a sample.fla on this?

    you can use startDrag(), stopDrag() for this.

  • Numerical way wanted of moving many keyframes ?

    Hi
    Flash CS5
    I need to move left and right keyframes until I have my animation fine tuned, I have a very long timeline of many scrolls width and having to drag KF's left and right, re scrolling a few times to do so, is a real pain.
    Is there a way of selecting a keyframe in a timeline and entering the new frame number to have it move to that frame ?
    If I have a Classic Tween with a few KF's in it and its guide layer the next row above it , can I shift that entire tween sequence on one row to a position that overlaps that sequence ..and how ?
    I also need to alter magnification on the timeline to lessen all thsi scrolling, again how ?
    Envirographics

    The option to reduce cell size on the timeline is here (but I find it sort of unusable at tiny), in the upper right of the timeline panel:
    You can select all or a portion of a sequence (from the start to the end of a single keyframe) by just double clicking anywhere inside the keyframe.
    To select over multiple keyframes just do as you're doing. Click to select the first frame anywhere you want to start:
    Scroll over to where you want the selection to end, hold shift and click to select the end:
    You're then free to drag that piece anywhere in the rest of your timeline or press cut or copy frames, then drag or paste where you want it.

  • Moving many but not all iPhoto photos between users

    My wife and I share an iMac with separate user accounts. We'd like to move lots of photos from iPhoto in one user account to another. But after we exported original images and video from one account to a shared drive, about a third of the exported images and video failed to import into the other iPhoto account. Is there a better way to do this? Thanks.

    Thanks. The error message I get is "Unreadable files. The following files could not be imported. The files are in an unrecognized format." It's odd, because they are all jpg's, they are all photos taken by iPhone 5's, and they all exported from one user's iTunes library in original format. So I wouldn't expect problems.
    We previously shared a library but for us it might be easier to manage the family photos if we each keep the set of photos that we take in our own user libraries.

  • Moving many albums into just 1 album

    hello all...i have 4 albums i would like to move to just one album and make a slideshow. my problem is, when i select all the pics from one album and drag to new album, no problem. then, when i select all pics from 2nd album and drag, the new imported pics are scattered throughout the new album. i would like to move them and keep them in order. hope this makes sense. any help would be appreciated

    applex2:
    Welcome to the Apple Discussions. Create the new album and set the sort to manual. Now try dragging each of the other albums in, one at a time and see if the order is kept. That's the only way I know of the achieve it if it is possible.
    The only other way would be to batch sequentially rename each album so that when sorted by title they would be in the order you want. Like the first album rename to A-1.jpg, etc. and the second album to B-1.jpg, etc. When you're done you can batch change the title back to the file name.

  • Itunes/moving many MP3 files in folders into CDR to get more than 80 mins

    A friend recently sent me one CDR containing 7-8 folders of MP3s consisting of about 10 hours of music. He's using a PC. I want to do the same with my Mac. Any suggestions?
    G4 Powerbook   Mac OS X (10.4.7)  

    Perhaps the whiff of illicit activity has disuaded people from answering this query, but I can assure the powers-that-be that the MP3s in question were composed of personally-recorded material going back some years that was never released (and thankfully never will be). At any rate, the problem is "solved" to the degree that I'll simply use more CDRs instead of constantly checking this message board for replies that do not materialize. If I could delete this post myself I would, but since I can't, I can only ask the man behind the green curtain to pull the plug for me. Thank you.

  • Moving many files to server with 1 or 2 errors in every folder.

    Just wondering, is there a way to move files to another location and to have the OS prompt me with the error for a given file, *but continue ahead with all the other files?*
    Some files have improper names, while others it seems are just too big... like that makes any sense, but it's only happening to files that are 400MB or so or larger.

    Just wondering, is there a way to move files to another location and to have the OS prompt me with the error for a given file, but continue ahead with all the other files?
    Tri-Backup...
    http://www.tri-edre.com/english/tribackup.html
    Can do that and provides a log showing all the problems, differences, and ways to overcome it.
    Some files have improper names, while others it seems are just too big... like that makes any sense, but it's only happening to files that are 400MB or so or larger.
    Is this copying to an MS-DOS formatted Disk?
    For error -36, might try this...
    http://docs.info.apple.com/article.html?artnum=301580
    Well, in pure Apple File System talk... -36 ioErr I/O error (bummers)
    Not very helpful, but generally means a Drive quit being Readable or Writable since starting the operation...
    http://fuzzy.wordpress.com/2006/12/10/ioerror-36/

Maybe you are looking for

  • How to change the width of column guide itself?

    i'm doing a trifold brochure and set it up that way in layout.  the space between the column guides (represented by the thin purple lines) is too narrow.  i want to make it wider.  i thought that that space was the "gutter" but when i change the gutt

  • Services for Object on Student File on WebDynpro for ABAP

    Hi all, As my query, I want to upload files to Student File. As you can see on the top left of Student File screen, SAP provides tool, Services for Object, allowing user to upload, make a note, send an object, and so on. If I want to allow web (WD) t

  • Automate Firewire Target disc mode?

    I'm thinking of getting a Mac Mini as a backup machine (both as a data back up and also in the sense that if the G5 blows up I'll have a machine to work on whilst it's repaired). In order for this to be effective, I want to automate backing up to the

  • Mass maintenance of ABAP roles

    Hello, We are facing the problem that a transaction is assigned to several of our roles. I would like to know, if there is a way to delete one transaction from different roles at once and if yes, how? Thank you in advance. Kind regards, Noemi

  • About Proxies

    Hi all give me clear information about what is proxies why we go for proxies when we go for ABAP proxy and Java proxy How to configure ABAP proxy How to configure Java proxy How to debug a proxy How to handle errors in Proxies