Tweening several objects

If I wanted to make a firework clip there a number of objects
spead from one
point outside, I place all the object into one point in the
first keyframe,
and spread them round the sceen in the final keyframe. How do
I tween them?

I prefer to do everything through AS and not interested in
Tweening per ce
or other WYSIWYG.
So when modelling, say, a bottle, expoloded by a bullet, i.e.
a number of
debris of different size and shape to move apart, I place
every debris into
a separate movieclip, then position every debris-clip into a
main clip using
attachMovie(), set initial coordinates and then on which
debris set
onEnterFrame to execute a function to change coordinates.
Then I can reuse this explosion clip in other flash games by
importing it.
My concern was, to make a good effect, the number of debris
needs to be
large, and executing a movement function onEnterFrame for
every debris might
slow down the computer.
I thought that through tweening it will be less of a burden.
However in
another thread I read, that whether Tweening or AS, behind
the screen FLASH
does the same job every frame calculating coordinates of
every debris.
If this is the case, then AS is preferrable for me.
"shyaway" <[email protected]> wrote in
message
news:e316uk$oel$[email protected]..
> it depends on your needs and what you're most
comfortable with.
> for me, i go all out scripting unless neccessary
otherwise.
>
> see the Tween component in help if you are interested in
tweening with
scripts.
> also, the _x and _y could also be used.
> setInterval and setTimeout also good for moving stuff
around time based.
>
>

Similar Messages

  • Viewing data kept in "services for object" for several objects in alv grid?

    Dear Experts,
    Is it possible to view the data kept in "services for object" (The Button at topleft side of title bar of Master data header screen of objects like Functional Location/Equipment/Notification/Order) for several objects in one list like ALV?
    Please guide how to do it.
    Thanks and Regards,
    R N Sabat.

    Hi,
    The data stored in service object can be viewed latter on in change/display mode
    Kapil

  • How can I shape tween crossing objects?

    I want to shape tween multiple objects on the same layer.  When they are placed independently from each other all the time on the canvas, I have no problem to make them morph into the other shapes in the ending keyframe.
    However, when some of the objects are crossing each other in either the starting or ending keyframe, they don't morph smoothly but quite funnily. Funny phases are nested between the intended starting and ending tages.
    See the images below. What should I do to prevent this?
    Intended starting stage
    Funny interpolation
    Intended ending stage

    I believe you're only option is to tween each shape on a separate layer.

  • Have several ringtones in my itune. while synchronising 2 errors appear.1. several objects could not be found,2. an iphone was found but could not be indentified. iph.4s was new reset, ios 6

    have several ringtones in my itune. while synchronising 2 errors appear.1. several objects could not be found,2. an iphone was found but could not be indentified. iph.4s was new reset, ios 6

    Hi Grant,
    Here is what I did and so far seems it is wworking.
    1. I deleted oDesk and ShareFile. I removed them using MacKeeper (I found this application very usefull for uninstalling applications as MacKeeper looks for them all over the computer: cache, preferences, application support etc.) While for oDesk is simple as I can look myself for oDesk in any file names, whith ShareFile was a little tricky to amke it amnually as MacKeeper find files that contain Citrix name then ShareFile. I will not guess unless I would search the internet on how to manually remove sharefile from my system.
    2. I manually delete all cahe files and folders from ~Library and ~User/Library.
    3. After reboot I installed Onyx and order maintanance where I checked all its options, including but not limited to DNS caches, fonts caches, everything.
    4. After I reboot computer, I went in Disk Utility and Repaired permissions.
    Reboot again. Now seems to work fine. At least odesk Team is working properly. I will have a second thought for installing ShareFile.
    Some romanian mac users suggested to check my router connectivity and change some DNS in it. Looks like that was also a problem on some MACs. I recall the few weeks ago I had an issue with TP Link router. My computer wasn't connected to internet, though router showed that there is internet connection. I ping router from my computer and I received answer from ping. I ping google from computer, nothing. I ping google from router, was wroking. I connected the computer directly to internet without router, was wroking. When connected back through router, nothing. I contacted the guys from TP Link and they suggested to use google DNS instead of those my ISP provided. But since then I had not experienced any issue with router and internet, until now. The DNS are still those from google.
    I will keep you updated if any issues are appear again. So far, it is working perfectly as it supposed to work.
    Warm regards,
    Sebastian

  • Reference colors from several objects

    With Adobe Photoshop CS4 v11.0.1.
    Suppose you have several objects in your PSD. Maybe one is a "text layer", another is a "solid color layer (sorry, I don't know the correct English names).
    Now I want to have the foreground color of the text layer to be the same as the background color of the solid layer. Can I somehow manage both colors to rereference the same entity. So changing one should automatically change the other.
    Can this be done?
    Michael G. Schneider

    Thanks a lot for the answer.
    I am no Photoshop guru at all, and I feared that I missed a feature. Unfortunately this was not so.
    I use Photoshop for designing websites. Rather often one part of the page has to be the same color as another part of the page. It would have been nice, if something like a "pool of named colors" were possible. Items from this pool should then be usable from different parts of the page.
    Michael G. Schneider

  • How do i apply a certain tween to several objects?

    hi all,
    I'm working on a little flash project to show a card game being played out. Its just playing out a set of moves - no actual logic for actually playing the game.
    Anyhow, what i would like to be able to do is create a tween (hope thats the right term) where a card will appear in the center of the table, and then slide over to the players hands and at the same time shrink down so i can fit a few hands on the screen. So basically i need a tween that takes an object (the card), places it on the center of the screen, and then slides over and shrinks down to a specific point. So in whatever action script calls this tween, i guess i would need to feed it two values - which card it starts with, and where the card should end up.
    can someone give me some pointers as to how i'd go about doing this? I'd like to learn how to create this in the flash interface and then convert all that clicking and dragging into action script 3.0. I think it's easier to visually create the animation that way rather then trying to program it. but if there's a better way i'm all ears.
    thanks

    i'm not having much luck getting this working.
    I created a simple animation in the user interface. I then right clicked on it and selected copy motion as action script 3. That gave me the following code:
    var CardDeal1_xml:XML = <Motion duration="25" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
    <source>
    <Source frameRate="24" x="89.35" y="467.3" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" symbolName="AceHeart" class="AceHeart">
    <dimensions>
    <geom:Rectangle left="0" top="0" width="170.45" height="254.55"/>
    </dimensions>
    <transformationPoint>
    <geom:Point x="0.49985332942211796" y="0.4999017874680809"/>
    </transformationPoint>
    </Source>
    </source>
    <Keyframe index="0" tweenSnap="true" tweenSync="true">
    <tweens>
    <SimpleEase ease="0"/>
    </tweens>
    </Keyframe>
    <Keyframe index="24" x="81" y="-329.95000000000005" scaleX="0.144" scaleY="0.128" rotation="180"/>
    </Motion>;
    var CardDeal1_animator:Animator = new Animator(CardDeal1_xml, CardDeal1);
    CardDeal1_animator.play();
    How do i take this card, and replace "AceHeart" with whatever card i want to animate? I couldn't even get this above code to work at all. Tried to run it and i get an error about acces of undefined property CardDeal1. I assume CardDeal1 should be an item on the stage, because when i change carddeal1 to the name of an instance of a card on the stage, it sort of works. My movie runs, but not very well. It seems like i have to press the button to advance the animation by one frame - so i have to keep pressing it over and over to advance the animation. And then the card doesn't even stop where it's supposed to - it litterally just flies off the stage. So at this point i feel pretty clueless.
    Can this only work with an item thats already on the stage? if so, do i first need to go through the addchild function to place an instance of whatever card i want to animate and then call this motion animator thing?
    thanks in advance for any help

  • Several object add to one object problem

    Hi All
    I learn Java object concept from Beginning Java Object Book. I have a question to solve the exercise problem (chapter 14).
    I have 10 Classes, Some of them are : Section , SchedulleOfClasses, Course Class.
    The relationship between Section and SchedulleOfClasses is aggregation, and One Course can have several course.
    Now, i try to make two schedulle semester (ex SP2005 and SP2006) instance fo ScheduleOfClasses and each of schedulle has the same section ( i just make intance from Section in one time), for example for Section sec1 will be use for both semester (SP2005 and SP2006). However while i try to getSemester(), the result just print SP2006.
    May be this code will help to figure out it
    Main Method:
        public static ScheduleOfClasses scheduleOfClasses =
                  new ScheduleOfClasses("SP2005");
        public static ScheduleOfClasses scheduleOfClasses2 =
                  new ScheduleOfClasses("SP2006");
    Section c1,c2,...,c7;
    sec1 = c1.scheduleSection('M', "8:10 - 10:00 PM", "GOVT101", 30);
    sec7 = c5.scheduleSection('M', "4:10 - 6:00 PM", "ARTS25", 40);
            // Add these to the Schedule of Classes.
            scheduleOfClasses.addSection(sec1);
            scheduleOfClasses.addSection(sec2);
            scheduleOfClasses.addSection(sec3);
            scheduleOfClasses.addSection(sec4);
            scheduleOfClasses.addSection(sec5);
            scheduleOfClasses.addSection(sec6);
            scheduleOfClasses.addSection(sec7);
          // Add these to the Schedule Of Classes2
            scheduleOfClasses2.addSection(sec1);
            scheduleOfClasses2.addSection(sec2);
            scheduleOfClasses2.addSection(sec3);
            scheduleOfClasses2.addSection(sec4);
            scheduleOfClasses2.addSection(sec5);
            scheduleOfClasses2.addSection(sec6);
            scheduleOfClasses2.addSection(sec7);
            System.out.println("====================");
            System.out.println("Schedule of Classes:");
            System.out.println("====================");
            System.out.println();
            scheduleOfClasses.display();
            scheduleOfClasses2.display();
    {code}SchedulleOfClasses.java
    {code:java}
    public void addSection(Section s) {
            // We formulate a key by concatenating the course no.
            // and section no., separated by a hyphen.
            String key = s.getRepresentedCourse().getCourseNo() +
                     " - " + s.getSectionNo();
            sectionsOffered.put(key, s);
            // Bidirectionally link the ScheduleOfClasses back to the Section.
            s.setOfferedIn(this);
    public void display() {
            System.out.println("Schedule of Classes for " + getSemester());
            System.out.println();
            // Iterate through all the values in the HashMap.
            for (Section s : sectionsOffered.values()) {
                s.display();
                System.out.println();
    {code}
    Section.java
    {code:java}
    public void display() {
              System.out.println("Section Information:");
              System.out.println("\tSemester:  " + getOfferedIn().getSemester());
              System.out.println("\tCourse No.:  " +
                           getRepresentedCourse().getCourseNo());
              System.out.println("\tSection No:  " + getSectionNo());
              System.out.println("\tOffered:  " + getDayOfWeek() +
                           " at " + getTimeOfDay());
              System.out.println("\tIn Room:  " + getRoom());
              if (getInstructor() != null)
                   System.out.println("\tProfessor:  " +
                           getInstructor().getName());
              displayStudentRoster();
    {code}The result after i instance the Student Class and other class
    Line:-----
    Schedule of Classes for {color:#ff0000}*SP2005*{color}
    Section Information:
    Semester:  SP2005
    Course No.:  CMP283
    Section No:  1
    Offered:  M at 6:10 - 8:00 PM
    In Room:  GOVT101
    Professor:  Jacquie Barker
    Total of 0 students enrolled.
    Section Information:
    Semester:  SP2005
    Course No.:  CMP101
    Section No:  2
    Offered:  W at 6:10 - 8:00 PM
    In Room:  GOVT202
    Professor:  John Smith
    Total of 1 students enrolled, as follows:
    Fred Schnurd
    Section Information:
    Semester:  {color:#ff0000}*SP2006*{color}
    Course No.:  CMP101
    Section No:  1
    Offered:  M at 8:10 - 10:00 PM
    In Room:  GOVT101
    Professor:  Snidely Whiplash
    Total of 2 students enrolled, as follows:
    Joe Blow
    Mary Smith
    Schedule of Classes for SP2006
    Section Information:
    Semester:  SP2006
    Course No.:  CMP101
    Section No:  1
    Offered:  M at 8:10 - 10:00 PM
    In Room:  GOVT101
    Professor:  Snidely Whiplash
    Total of 2 students enrolled, as follows:
    Joe Blow
    Line:-----
    The Schedule of Classes for SP2005 still have SP2006 inside, i need someone to explain it to me?
    any answer will be appreciated

    take a look a Spry widgets - http://labs.adobe.com/technologies/spry/   or   Widget Browser - http://labs.adobe.com/technologies/widgetbrowser/

  • How to tween drawing object?

    I've received a number of graphics from an Illustrator user - they imported as symbols containing drawing objects.   When I opened one of these symbols and tried to tween (fade out) the drawing object, I don't have the Alpha option.   I don't use Illustrator myself and I had to install CS4 so I'm not used to that either.   I've searched for ages but can't find any info on handling Illustrator graphics.
    Any hints appreciated.
    Marion

    You can only use timeline motion tweens with symbols, so if you are trying to tween raw graphics, that will not work.  You will have to tween it as either a graphic symbol or movieclip symbol or button symbol.  If you are trying to tween using actionscript, then it needs to be a named symbol, which rules out graphic symbols.

  • Track several object at the same time

    Hi everybody,
    I`m actually trying to tracking several same objects at the same time.
    I knew how to do with only one object, and I was able to send the coordinate for each frame in excel. So great.
    But now I`m trying to modifiy the code to follow eight objects at the same time.....
    My code was already HUGE with one or two objects, but I need to add again 6 part of the same code....
    I would like to compact and contract my code to be more clear.....
    I suppose there is one solution juste after Labview vision assistant. And i`m sure that there is a way to put all the code to delete the zeros in only one for loop but I didn`nt find the right way....
    Anyway if there are some propositions or some ideas, advices..... it`s welcoming
    Thks a lot
    Sincerely
    Maxime 
    ps: I put my codewith only two patterns
    Attachments:
    Simple tracking.vi ‏146 KB

    Yeah -- you have 4 separate tracks with the same audio? Select all 4 tracks/clips in your Event and select Synchronize Clips. You end up with a compound clip in the event with all 4 clips synchronized to the audio. Open the compound clip in a Timeline and select all 4 clips. Use  Video > Transform and type in ~48% (if you want the "gutters") to resize all the clips at once. With the transform icon (lower left corner of the canvas) selected, drag each of your clips out to the four corners (or type in exact position values in Video > Transform > Position parameters.) To get the white background, you can use Generators > Elements > Shapes - set the color to whatever you like; select Rectangle from the drop down and Video > Transform > Scale to expand it to full screen. Drag the generator underneath your storyline to use as a background.
    If you don't have audio to synch to, you can create multiple storylines. Add the first clip; reset the playhead and select your other clips that will appear in a 4-up and type Q to *connect* them to the storyline. Then select each one separately and right click > Create Storyline (or type command - G). You can then open each storyline in its own timeline (right click and select Open in Timeline) and append more clips to each "track". Back in the main storyline, drag out each connected storyline to reveal any appended material. The trim control will turn red when you reach the end of media in the created storylines. Resize and arrange as described above.

  • Can't grab several objects at once

    Hi,
    I can't grab more than one object at once. I'm also not seeing the bounding boxes around the objects. I must've pressed something that disabled me from being able to grab multiple objects. Please help
    Thank you,
    Paola

    PalaciosDesign,
    you move object/s using the Selection Tool (black pointer) or the Direct Selection Tool (white pointer) by clicking on one of the selected objects and dragging, it doesn't matter if any kind of bounding boxes are displayed. You are probably talking about the Selection Edges calling them Bounding Boxes and you probably hid them by accidentally pressing Ctrl + H. You can select to show or hide the Selection Edges from the View menu.
    for example with, Selection Edges and Bounding Box hidden, select all (Ctrl+A), click and drag an object, you will be able to move all.

  • Mapping Several Objects on a 3D Image

    Hi there.  Just starting to play around with mapping images on a 3D object (I'm a novice!). 
    I'm trying to create an easter egg and would like to map a few different symbols in different positions on my egg.  Is this possible in Illustrator CS3?
    Many Thanks.

    Something like this

  • Why cant I see several objects once I set my page online?

    Working on Dreamweaver CS6
    I have been testing the webpage on google chrome the whole time and all objects are visable and function correctly. But once I set my webpage online and open chrome threw the internet, I cant see some buttons I had. How can I fix this?

    On my html code I have this code, that calls the css where my buttons are:
    <link href="css/stylebuttons.css" rel="stylesheet" type="text/css">
    This is the code that is on a css sheet (from one of the buttons). It makes a hover button by using 2 diffrent images. Both images are saved in the same folder as shown below. I tried changing the location of the image to a closer folder and it still won't work.
    /* MyPageButtons */
    .animatedButton{
              font-family: Arial, sans-serif;
              text-decoration: none !important;
              background-color: #000000;
              padding-left: 40px;
              padding-right: 40px;
              height: 26px;
              line-height: 38px !important;
              display: inline-block;
              text-shadow: 0px 1px 1px #000;
              -webkit-border-radius: 5px;
              -moz-border-radius: 5px;
              border-radius: 5px;
              -webkit-transition: all 0.2s linear;
              -moz-transition: all 0.2s linear;
              -o-transition: all 0.2s linear;
              transition: all 0.2s linear;
              background-image: url(file:///C|/Users/Practico/Desktop/Karina/Intranet/imagenes/boton_turbus.png);
              width: 92px;
    .animatedButton:hover{
              background-color: #000000;
              margin-top: 5px;
              -webkit-box-shadow: inset 0px 1px 1px #000, 0 0px 0px 0px #000;
              -moz-box-shadow: inset 0px 1px 1px #000, 0 0px 0px 0px #000;
              box-shadow: inset 0px 1px 1px #000, 0 0px 0px 0px #000;
              background-image: url(file:///C|/Users/Practico/Desktop/Karina/Intranet/imagenes/boton_turbus2.png);

  • 'select objects: click and drag to select several objects' doesn't work

    I have recently upgraded to Office 2010, and have the same problem as
    http://social.technet.microsoft.com/Forums/en-US/office2010/thread/75270638-e02b-4a78-b291-043abbca04ae?prof=required
    When I use Select - Select Objects in the Editing part of the ribbon to select multiple drawing shapes, it no longer works like in office 2007. I can't drag a rectangle in the document to select objects within an area.
    I would have guessed this is the same problem as the link I refer to, but I'm not running the beta version of 2010. It seems not to be solved.
    Anything I can do to fix this?

    I have just registered so I could reply to this thread.
    The registration process was very ... aehm ... frustrating, I was only able to fill in the correct Captcha after about 10 ties. But ... this is not unexpected, when working with a Microsfoft product. How am I supposed to know whether that bloody captcha
    wants me to to write '4Yp8' or '4yP8'. There is no way to tell. You can distinguish capital letters when it is something like A, a or H, h, but not between y and Y or P and p.
    I would like to thank all the posters for suggested workarounds. They work. Kinda - sorta ... . I was able to finish the editing of large picture (consisting of many graphics objects) that HAS to be made in word (My boss said so). All your tips saved
    me *hours* of frustration.
    I would like to tell Microsoft programmers AND their managers, that *if* the quote in the second post is correct: 
    ================
    The work needed to make the object selection work as it did in Word 2007 was out of scope for this release. It's not as
    simple as using the same feature that existed in the last version since we upgrading our graphics/art features; the way the shapes/objects need to be selected is different than how "old" graphics/art is selectable in Word 2007.
    That said, the "select object" tool that exists in Word 2010 should allow you to select individual shapes. You can select
    multiple shapes holding down the CTRL or SHIFT key while clicking shapes. You might ask how this is different than selecting shapes without turning on "select objects"; the answer to that would be to allow you to select shapes that are "behind" text, or more
    easily select rotated shapes, etc.
    ================
    You are bunch of incompetent amateurs. 
    If I used such lame excuse for missing important functionality at work, I would be very soon replaced by a more competent programmer.
    This time I am not a programmer, I am AN USER. And, as an user I do not care if your internal data structure for new objects doesn't let you do something easily. Find a way to implement that feature or change the data structure. Period.

  • Animatting several objects via Interpolator

    Hi All,
    Sorry for my English....
    Say I have many objects that I want to move via animation with the aid of Interpolator, for instance I have 20 balls. Do I need to
    create 20 Alpha Objects and 20 Interpolators? Is there a better way from optimization point of view?
    Thank u in advance
    Eyal

    Hi,
    if you want to move all the objects in the same way and at the same time one interpolator and one alpha are needed. Therefore all the objects have to be in the same TransformGroup. This TransformGroup is then controlled by the interpolator.
    If you want to have different translations/rotations for every object then every objects has to be in its own TranformGroup and you need one interpolator for each TransformGroup.
    I am not sure if one alpha can control multiple interpolators. That could be useful in the case that all interpolators should start at the same time and run parallel.

  • Mark several objects

    when marking photos in gallery each time i have to go to the options list to select it cant this be avoided.
    May be the following i would like to suggest for the software update
    1.turn off camera sound(i am from india)
    2.marking several items easily(may be after selecting the first item the edit icon could be changed to mark items or a double click could mark the second item)

    thanx bharathis 4 raising a concern.... Not sure if this is the ri8 place 4 it or not, but i will also add
    In the typing screen, i am glad that most of the screen is being occupied by keyboard, less going for the screen showing the text that has been typed, typically two lines... But when i have to go back to the first line i typed in the msg, my life gets difficult...needs to use arrow keys that processes slowly......instead there could have been a scroll bar or a up-directional key
    There are some keys that are used less/need not be so big as i feel

Maybe you are looking for

  • Inventory Aging Report in SAP BI

    Dear All, Please let me know the best way to calculate the inventory aging report for materials in inventory management . Based on the Key date we have to calculate the inventory mangement report . And the key date will be may or may not the sy-date

  • Mail Adapter requirement

    Hi Experts The current requirement in my Interface development is to use the MAIL ADAPTER  to send mails based on the below requirements Kindly let me know if it is possible and how to achieve it : 1) The scenarios is File to Proxy and the requiremen

  • Old printer with new computer

    I recently purchased a new HP Slimline 5000 series, and hooked it up to my HP Color Laser Jet 2840 Printer. Sometimes it will print, but more often I get a message saying something like the document is to complicated. What can be done about this (oth

  • Dump in ALV when Difference in Currencies

    Dear All, I am facing a problem with ALV. In my ALV there are some Currency Fields. I am using the fieldcat-cfieldname  for displaying them with correct decimal places. It is working fine if all the row is of the same currency. If two currencies are

  • Exchange servers

    were currenly connected in andover exchange and i live in winchester are server or exchange box broke down to day to the BT phone support so we wasnt getting interent they put us on another server but there on about putting us back on the one that br