How do i move objects in an assigned order?

I need help urgently!
I have 14 bricks, and want each one to fall down the screen
in a particular order.
I'm guessing I'll need to use an array, but I am really new
to actionscript and need basic instructions on what to do...
thanks
(this is my fla so far, the user has to match the puzzle on
the right as the bricks fall in an assigned order)
Using Flash MX

(in order as in.. right after the other or right after they
land...)
this is right after the other (with a given time to drop the
next)
if they are all seperate boxes, do something like this:
on the onClipEvent(load), put an order, like drop=1,
drop=2,drop=3
onClipEvent(load)
drop=2
time=0
onClipEvent(enterFrame)
time++
if(time>drop*12) //12 frames before dropping the second
one
**your drop code
if you want them as duplicated, do this:
duplicatedmovie=[the duplicate movieclip code]
duplicatedmovie.drop=1
and in the movieclip that you are duplicating, add this:
onClipEvent(load)
time=0
onClipEvent(enterFrame)
time++
if(time>drop*12) //12 frames before dropping the second
one
**your drop code
basically the same code except that the drop was set in
different areas.
I hope it helps, but I'm not sure if it was what you were
looking for.

Similar Messages

  • How do I move objects from other package to a newly created one?

    How do I move objects from other package to a newly created one?
    Thanks!

    Dear Anthony Pham ,
    for changing objects from one package to another package
    open that object for example Report
    open the report and than click GOTO select OBJECT DIRECTIORY ENTRY
    than it will open a popup in that popup click the change and give the new package
    Thanks
    Surendra

  • Animation: how can I move objects (and their transform keyframes)?

    Hi,
    I have created a project with a group of layers which all move (have transform keyframes set up).
    Now I want to move the group, but when I do this and then run the animation, the position of all the transform keyframes I have set up remain in the same place.
    Is there some way to move a group of objects and the location of their transform keyframes at the same time, or will I have to go through each keyframe and move them individually?
    Thanks!
    Jack

    > PLEASEEE HELPP
    You need to get some understanding of HTML and CSS to know
    why building a
    web page is not like using a page layout program or even a
    word processor.
    Unfortunately that will require some effort on your part.
    You cannot just place things on the page in HTML - you need
    to build an HTML
    infrastructure to hold the elements you want to appear on the
    page, and to
    hold them in the location where you want them to appear. As a
    simple
    example, consider a 1 row by 2 column table, where each
    column is set to 50%
    width, and the table itself is 800px wide. An image placed
    into the second
    column will be located exactly 400px from the left margin of
    the page
    (assuming a) the image is less than 400px wide, b) the table
    has zero
    borders, cellspacing and cellpadding, and c) there is nothing
    wider than
    400px in the first column.
    Make sense?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "afsheenm" <[email protected]> wrote in
    message
    news:fftbo8$cok$[email protected]..
    > hi, its my first time making the website so i have no
    clue about anything.
    > how
    > can i move text box? i mean i wrote something and want
    to move its
    > position
    > like up or down, how can i move it? also tables??????
    sometimes i can move
    > them
    > , by chance but i have no clue how i did it? PLEASEEE
    HELPP.
    >

  • How can i move objects?

    hi, its my first time making the website so i have no clue
    about anything. how can i move text box? i mean i wrote something
    and want to move its position like up or down, how can i move it?
    also tables?????? sometimes i can move them , by chance but i have
    no clue how i did it? PLEASEEE HELPP.

    > PLEASEEE HELPP
    You need to get some understanding of HTML and CSS to know
    why building a
    web page is not like using a page layout program or even a
    word processor.
    Unfortunately that will require some effort on your part.
    You cannot just place things on the page in HTML - you need
    to build an HTML
    infrastructure to hold the elements you want to appear on the
    page, and to
    hold them in the location where you want them to appear. As a
    simple
    example, consider a 1 row by 2 column table, where each
    column is set to 50%
    width, and the table itself is 800px wide. An image placed
    into the second
    column will be located exactly 400px from the left margin of
    the page
    (assuming a) the image is less than 400px wide, b) the table
    has zero
    borders, cellspacing and cellpadding, and c) there is nothing
    wider than
    400px in the first column.
    Make sense?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "afsheenm" <[email protected]> wrote in
    message
    news:fftbo8$cok$[email protected]..
    > hi, its my first time making the website so i have no
    clue about anything.
    > how
    > can i move text box? i mean i wrote something and want
    to move its
    > position
    > like up or down, how can i move it? also tables??????
    sometimes i can move
    > them
    > , by chance but i have no clue how i did it? PLEASEEE
    HELPP.
    >

  • How do I move object locations in my layout?

    I need to move a table structure in my layout 3 lines down from the header image and text?
           Thank-You.

    I never found a good solution for this, but I do the following:
    Add 3 Label Elements on top of your table, and change their properties as following:
    design = light
    width = 100%
    *there is also a "paddingTop" attribute for your table that you can use; but its is very limited.
    hope this helps,
    harman

  • Help!! How do you keep objects in the same order in a 20 page doc when inserting a new object?

    I am creating a catalog of pictures only, as objects.
    They are organized alphabetically, 4 images per page as a 2x2 grid, for 20 pages.
    I want to insert a NEW object (image) in the middle of these 20 pages, and want all the objects after it to shift over one spot to make room.
    How do I get the objects after the inserted ones to shift, as text would if you inserted more text in the middle of a paragraph?
    I can't figure out how do do that (without just putting the images in a text box and in-line, but then I lose all the spacing controls)...
    Thank you!
    Lawrence

    ID ships with a free Image Catalog script in the sample scripts. You don't need to buy one.
    And that isn't going to do what you want, exactly. You'd have to re-run the script each time you add an image to make a new file, and you don't get to set the sort order yourself.

  • Object key and sales order

    hi how can i link object key and sales order fields in SD

    <b>bkpf-awkey = coes-awkey</b>
    here <b>coes-awkey</b> is <b>sales order number</b>.
    or even...
    <b>bkpf-awkey = vbak-vbeln</b>
    Message was edited by:
            Ramesh Babu Chirumamilla

  • HT1848 when i purchase ringtones and they download directly to the music app on iphone, how can I move them to SOUNDS in SETTINGS so I can assign to various functions please?

    when i purchase ringtones and they download directly to the music app on iphone, how can I move them to SOUNDS in SETTINGS so I can assign to various functions please?

    You would have to create the ringtones.
    Google will find several way to do this.
    You cannot buy ready made ringtones from your computer.

  • How can you move the objects from one server to another?

    how can you move the objects from one server to another?

    Hi,
    Collecting objects for Transporting
    1. rsa1->transport connection
    2. left panel choose 'object type', middle panel choose 'infocube' and 'select objects'
    3. then choose your infocube and 'transfer'
    4. will go to right panel, choose collection mode 'manual' and grouping only 'necessary objects'
    5. after objects collection finished, create request
    6. If they are $TMP, then change the package.
    7. When you click the Save on the change package, it will prompt for transport. Here you can provide an existing open transport request number, or if you like here itself you can create a new one.
    8. You can check the request in SE09 to confirm.
    Releasing Transport Request  
    Lets say you are transporting from BWD to BWQ
    Step 1: In BWD go to TCode SE10
    Step 2: Find the request and release it (Truck Icon or option can be found by right click on request #)
    Note: First release the child request and then the parent request
    Steps below are to import transport (generally done by basis )
    Step 1: In BWQ go to Tcode STMS
    Step 2: Click on Import queue button
    Step 3: Double Click on the line which says BWQ (or the system into which transport has to be imported)
    Step 4: Click on refresh button
    Step 5: High light the trasnport request and import it (using the truck icon)
    Transport
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/1d733b73a8f706e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0b/5ee7377a98c17fe10000009b38f842/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/224381ad-0701-0010-dcb5-d74236082bff
    Hope this helps.
    thanks,
    JituK

  • How do I move an object from one photo to another and then change the scene, i.e.  winter to sum?

    How do I move an object from one photo to another and then change the scene, i.e.  winter to summer?

    OK.
    Open the picture with the new scene. This will be your canvas.
    Open the picture with object A, select it with one of the selection tools, go to Edit>copy
    Go back to the new scene/canvas, Go to Edit>paste
    Repeat for object B
    Use the move tool to position A & B, each on its own layer. Use the corner handles of the bounding box to resize, if necessary
    You should have 3 layers: Background layer, and the 2 layers with A & B
    Note: It's best if the resolution of the 3 picture files is the same value.

  • How to make text/objects move nonlinear speed on AE CC?

    Hi,
    I was wondering two questions:
    1) how to make "text holders" that has small animation. Here is an example from a video http://www.youtube.com/watch?v=5oSWt84VoAg (0:41).
    2) how to move objects with increasing speed and soft slow down. I know how to change speed, but how to make it so that it is only accelerating and slowing down? Same examle can be found from the clip above with the place holders and texts.
    Thank you for your help. If there is same kind of discussion going on please let me know. I could not find it.

    All of what you want to do comes down to the fine art of learning how to magle curves in the graph editor, which is nothing you can learn from just watching totorials. You learn it by doing and collecting experience.
    Mylenium

  • How do I move a 3D object in 2D space?

    I'm trying to get used to the new way of doing things in CS4. Once I've created a MC and rotated it in 3D, how can I move it across the screen w/o rotating it further? I have a MC that rotates over several frames, and once it reaches the last one, I want it to stop rotating, then begin to slide in an X direction (while reducing the alpha). But no matter which tool I use or what I do on the timeline, the object is stuck in place and will only rotate and not move. Even the 2D X and Y settings in the properties panel are grayed out.

    If you have rotated it in 3D, when you change the spatial (X, Y) properties, the perspective is going to change based on the 3D rotation. So the appearance will change if you move it on the Stage, based on that 3D. That means it will look "correct" over the tween, based on where it is on the stage.
    If you do want to have your instance not change over a period of time, you could insert the keyframes and make sure the values are not changing. It doesn't stop it from being 3D, but it will stop whatever property from tweening. Or if you really need to tween in 2D you need a new tween span -- split the span  (in that the "skew" creating the 3D appearance absolutely doesn't change between two frames based on the instances stage position), remove 3D for that section ( split and 3D are both available by right click on the span), and then use Onion Skin to modify the instance (or trace the 3D instance and replace the instance in the 2D tween).
    Or, based on the original post if you want to just stop 3D rotation but retain the 3D-ness of the instance (the skewed-ness, etc), you could just make the last rotation keyframe before the end of the tween on the Rotation Y property.
    I may be able to help more if you describe what you'd like to achieve with the "2D" part of your tween.

  • How to move object in z direction using the mouse

    I have some problems with java3d. Could you please help me with it?
    I am designing a user interface and so would like to allow the user to
    interactively move the objects in the 3d world, using the mouse. But
    presently I can allow them to move it only in the xy plane. How can I
    move them in any other plane also?
    Thank you

    Take a look at the class com.sun.j3d.utils.behaviors.mouse.MouseZoom. Also look at "Getting Started with the Java 3D API", chapter 4 on interaction, which can be found on the Java3D collateral web page.

  • How to select and move objects on multiple layers

    Coming from Photoshop...  how do I move the contents of multiple layers across the page at one time?
    In photoshop, i would click on one or more layesr in the Layers panel, and then use the move tool to move them all on the page. How do I do that in Fireworks? It seems to be too basic to be documented anywhere I have seen but the interaction is very different. I tried  ctrl-clicking on multiple layers and sometimes is seems to work. the objects are selected and I can move them. Other times, it just refused to select anything or it only select the object within one of the selected layers.
    It sort of looks like selecting a layer selects objects in that layer unless the layer has a child layer. Is that true? Seems a strange limitation if it is.
    I saw a comment somewhere that suggrested grouping and ungrouping which seems a little complicated for a basic editing action. Also, if it won't select the objects on all of the selected layers.
    I'm guessing that I'm missing a basic concept in Fireworks here.

    I found that It worked if I selected a layer, if there is a child layer
    then shift>select and ctr+click other layers or objects. You could also
    lock layers/objects you don't want to move and use Select>Select All, if
    you are moving most items.

  • Help, How do i get objects to move with the click of a mouse button?

    I am developing a game where by an object can move around the screen by either using the keyboard or the mouse. I have figured out how to control the object using the keyboard. But the mouse control is proving difficult. Can anyone give me some suggestions on how to tackle this?

    This is better !:
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    public class MoveO extends Frame implements MouseListener
         Label obj = new Label("@");
    public MoveO()
         setBackground(Color.pink);
         addWindowListener(new WindowAdapter()
        {     public void windowClosing(WindowEvent ev)
              {     dispose();
                   System.exit(0);}});
         setLayout(null);
         add(obj);
         obj.setBounds(110,130,20,20);
         obj.setBackground(Color.red);
           setBounds(1,1,600,460);
         setVisible(true);
         addMouseListener(this);
    public void mouseEntered(MouseEvent m){}
    public void mouseExited(MouseEvent m) {}
    public void mouseClicked(MouseEvent m){}
    public void mousePressed(MouseEvent m){}
    public void mouseReleased(MouseEvent m)
         move2(m.getPoint());
    private void move2(Point mto)
         Point ofr = obj.getLocation();
         Line2D.Double line = new Line2D.Double(ofr.x,ofr.y,mto.x,mto.y);
         Rectangle2D.Double r = new Rectangle2D.Double();
         r.setRect(line.getBounds2D());
         if (mto.x >= ofr.x) 
              for (double x=0; x <= r.width; x++)
                   for (double y=0; y <= r.height; y++)
                        if (line.ptSegDist(r.x+x,r.y+y) < 0.25)          
                             obj.setLocation((int)(r.x+x),(int)(r.y+y));
         else
              for (double x=r.width; x >= 0; x--)
                   for (double y=r.height; y >= 0; y--)
                        if (line.ptSegDist(r.x+x,r.y+y) < 0.25)          
                             obj.setLocation((int)(r.x+x),(int)(r.y+y));                
    public static void main (String[] args) 
         new MoveO();
    }Noah

Maybe you are looking for

  • Sort Code

    Hi All For countries like GB / US we have SORT code for banks which should get populated when making SWIFT payments (MT103). I can see only Bank number and Reference fields in Payment transactions of the Vendor Master Record. Is there any field which

  • Where I can find general ledger totals, exist a function?

    Hi, Someone know if exist a function or bapi to extract the general ledger totals like the table FAGLFLEXT. Because I use in my code a select for the table FAGLFLEXT but I don't need the key fields of the table to make a search and I use other fields

  • How can I access the option selected in ui:radioButtonGroup in javascript

    Hi, I'd like to access the option selected in ui:radioButtonGroup in my javascript. I tried doing something like this to no avail: <ui:radioButtonGroup binding="#{ReportParameter.reportTypeButtonGroup}" id="reportTypeButtonGroup" items="#{ReportParam

  • Macbook Pro 2011 - Freeze/Ask for Restart

    I just purchased the new Macbook Pro 15 inch from the apple store. Seriously a beast compared to my Late 2006 Macbook. Surprised at how much of a difference it truly makes. I sold my old Macbook to help pay for the MBP and haven't looked back. Now i'

  • O2cb_ctl: Internal logic failure failed to add mode

    I am getting following error message when I try to start or enable o2cb on 2 node RAC. the OS is oracle enterprise linux 4.5. cluster.conf file us updated manually and ocfs2console is alos showing the details of hosts. changes have been propogated as