How can I repeat my flash animation (my frames)?

Hi Flash forum members
Can you help me somebody: How can I repeat my flash animation (my frames) many times?
I will be looking forward to hearing from you,
Sultan

It depends on what you mean and how your design is done.
You can copy and paste frames as many times along a timeline as you, though creating a movieclip of one set and placing that to extend the full length of the timeline would produce the same result.
If the problem is that your animation stops when it is done, you need to be sure to not have any code in place that will stop it.

Similar Messages

  • How Can I Make a Flash Animation for TV?

    I'm learning flash animation and am wondering once I save the flash file to a dvd format, how does the end-user navigate when they put the dvd into their TV? Do I need to design and incorporate a menu for the end-user? If so, how does the TV remote control navigate through this menu that was created on a Mac computer? Thank you for your help, I really appreciate it.

    I don't know a lot about this subject but thought I'd give it a shot to answer.  You can use Adobe Encore to create menu systems for your DVD title screen.  As far as Flash is concerned I think you can import your animations into Encore's menu system though I'm not exactly sure how.  If you want to just make an animation that will be played back without interactivity you would just export your Flash animation as a Quicktime MOV file and import it into After Effects for further editing and finishing.  Once you render your mp4 (h.264) from AE you can bring this into Encore to author for your DVD.

  • How can I download adobe flash for my 2006 imac OS 10.4.11? Lost it recently and repeated attempts manage to download but it then does not work.

    How can I download adobe flash for an imac intel using 10.4.11? This disappeared recently and although I go to adobe and download successfully, when I try to access video on web it says I need to download adobe. Very frustrating. Can anyone help?

    Looking at Adobe's site there is version 10.3 for Intel Macs running OSX 10.4 or 10.5.  There is version 11 for Macs running OSX 10.6 or newer.  Most web sites don't really need the newest FlashPlayer, but if you are trying to view one that really does intensive video then maybe it does require Flash 11.  You aren't very specific as to which exact error message you are seeing.
    If a site does require FlashPlayer 11 then you will have to upgrade your operating system.

  • How can I export an Flash archive to Powerpoint or into  a Visual basic form

    How can I export an Flash archive(Flash cs4 profesional)   with animation to Powerpoint or into  a Visual basic form ?,

    How can I export an Flash archive(Flash cs4 profesional)   with animation to Powerpoint or into  a Visual basic form ?,

  • How can I create an arrow animation for my map

    Hi all ,
    I am new and would like to create an arrow animation moving to show a path on my map.
    how can I show this arrow animation on my jpg image?
    do I have to convert my image to gif first?
    do you have any tutorial for this so please show me.
    it would be better to be a step by step so I can better underestand each step.
    Iam using fireworks mx2004.
    thanks for any help.
    Regards

    The JPEG format does not support animation, so if you want to add a moving arrow to a map, you'd need to make an animated GIF or a Flash movie.
    If your map is a large image, then adding the frames to make an animated GIF could make very big file and that wouldn't be good. Another thing to keep in mind is that a JPEG image can have millions of colors but an animated GIF can only have 256. If your map is a line art (a drawing), then usually the GIF or PNG formats give you a better result, anyway as the JPEG format introduces noise and color shifts which are normally not noticed on photographs.
    I searched Google for "animated gif in fireworks mx" and this tutorial looks like it might be helpful:
    http://www.disdatdesigns.com/fireworks/animation1.shtml
    In your case, you would share your map across the frames and each new frame would have a different arrow on it.
    Good luck!

  • How do I save my flash animation as a .mov or any youtube acceptable format?

    I would like to upload my animation to youtube, however youtube accepts certain selective file formats. I cannot export my animation with the selective file formats:
    .MOV
    .MPEG4
    MP4
    .AVI
    .WMV
    .MPEGPS
    .FLV
    3GPP
    WebM
    Can someone please tell my how to save any adobe flash animation/video into one of the above formats? thank you!

    .PREL is a Project file... you need to go to The Elements Tutorial Links Page http://forums.adobe.com/thread/1275830 and read the links about sharing

  • How can I save a Flash or .swf file in AVI format without losing quality?

    How can I save a Flash or .swf file in AVI (or another video) format without losing quality?

    As long as you don't have code in your animation then just hit File->Export->Export Movie, then configure the options.
    Here's an article on exporting sound, images and video. Just skip on down to exporting AVI and it explains the process. The codec is in the Video Compression section. When you click Settings for Video Compression, the codec is in the drop-down at the top. There's various kinds but to get lossless quality AVI you'll have to choose Uncompressed / None for full quality. Again, the file will be huge and you'll need to use another program (like Adobe Media Encoder) or Microsoft Windows Media Encoder, etc, depending on what format you intend to compress it ultimately.
    http://helpx.adobe.com/flash/using/exporting.html#exporting_video_and_sound

  • How do i stop my flash animation from constantly looping even though i added stop code?

    how do i stop my flash animation from constantly looping? I can't seem to find the answer. I put the stop(); code on it's own layer and at the end of the timeline. it still doesn't work when i test it or publish. I'm new to Flash.

    if you're publishing for html5, use:
    this.stop();
    to stop the timeline that contains the code.  if you want to stop other timelines, you must reference them.  eg,
    mc1.stop();
    mc2.stop();
    mc2.mc3.stop();

  • How can I repeat a for loop, once it's terms has been fulfilled???

    Well.. I've posted 2 different exceptions about this game today, but I managed to fix them all by myself, but now I'm facing another problem, which is NOT an error, but just a regular question.. HOW CAN I REPEAT A FOR LOOP ONCE IT HAS FULFILLED IT'S TERMS OF RUNNING?!
    I've been trying many different things, AND, the 'continue' statement too, and I honestly think that what it takes IS a continue statement, BUT I don't know how to use it so that it does what I want it too.. -.-'
    Anyway.. Enought chit-chat. I have a nice functional game running that maximum allows 3 apples in the air in the same time.. But now my question is: How can I make it create 3 more appels once the 3 first onces has either been catched or fallen out the screen..?
    Here's my COMPLETE sourcecode, so if you know just a little bit of Java you should be able to figure it out, and hopefully you'll be able to tell me what to do now, to make it repeat my for loop:
    Main.java:
    import java.applet.*;
    import java.awt.*;
    @SuppressWarnings("serial")
    public class Main extends Applet implements Runnable
         private Image buffering_image;
         private Graphics buffering_graphics;
         private int max_apples = 3;
         private int score = 0;
         private GameObject player;
         private GameObject[] apple = new GameObject[max_apples];
         private boolean move_left = false;
         private boolean move_right = false;
        public void init()
            load_content();
            setBackground(Color.BLACK);
         public void run()
              while(true)
                   if(move_left)
                        player.player_x -= player.movement_speed;
                   else if(move_right)
                        player.player_x += player.movement_speed;
                   for(int i = 0; i < max_apples; i++)
                       apple.apple_y += apple[i].falling_speed;
                   repaint();
                   prevent();
                   collision();
              try
              Thread.sleep(20);
              catch(InterruptedException ie)
              System.out.println(ie);
         private void prevent()
              if(player.player_x <= 0)
              player.player_x = 0;     
              else if(player.player_x >= 925)
              player.player_x = 925;     
         private void load_content()
         MediaTracker media = new MediaTracker(this);
         player = new GameObject(getImage(getCodeBase(), "Sprites/player.gif"));
         media.addImage(player.sprite, 0);
         for(int i = 0; i < max_apples; i++)
         apple[i] = new GameObject(getImage(getCodeBase(), "Sprites/apple.jpg"));
         try
         media.waitForAll();     
         catch(Exception e)
              System.out.println(e);
         public boolean collision()
              for(int i = 0; i < max_apples; i++)
              Rectangle apple_rect = new Rectangle(apple[i].apple_x, apple[i].apple_y,
    apple[i].sprite.getWidth(this),
    apple[i].sprite.getHeight(this));
              Rectangle player_rect = new Rectangle(player.player_x, player.player_y,
    player.sprite.getWidth(this),
    player.sprite.getHeight(this));
              if(apple_rect.intersects(player_rect))
                   if(apple[i].alive)
                   score++;
                   apple[i].alive = false;
                   if(!apple[i].alive)
                   apple[i].alive = false;     
         return true;
    public void update(Graphics g)
    if(buffering_image == null)
    buffering_image = createImage(getSize().width, getSize().height);
    buffering_graphics = buffering_image.getGraphics();
    buffering_graphics.setColor(getBackground());
    buffering_graphics.fillRect(0, 0, getSize().width, getSize().height);
    buffering_graphics.setColor(getForeground());
    paint(buffering_graphics);
    g.drawImage(buffering_image, 0, 0, this);
    public boolean keyDown(Event e, int i)
         i = e.key;
    if(i == 1006)
    move_left = true;
    else if(i == 1007)
         move_right = true;
              return true;     
    public boolean keyUp(Event e, int i)
         i = e.key;
    if(i == 1006)
    move_left = false;
    else if(i == 1007)
         move_right = false;
    return true;
    public void paint(Graphics g)
    g.drawImage(player.sprite, player.player_x, player.player_y, this);
    for(int i = 0; i < max_apples; i++)
         if(apple[i].alive)
              g.drawImage(apple[i].sprite, apple[i].apple_x, apple[i].apple_y, this);
    g.setColor(Color.RED);
    g.drawString("Score: " + score, 425, 100);
    public void start()
    Thread thread = new Thread(this);
    thread.start();
    @SuppressWarnings("deprecation")
         public void stop()
         Thread thread = new Thread(this);
    thread.stop();
    GameObject.java:import java.awt.*;
    import java.util.*;
    public class GameObject
    public Image sprite;
    public Random random = new Random();
    public int player_x;
    public int player_y;
    public int movement_speed = 15;
    public int falling_speed;
    public int apple_x;
    public int apple_y;
    public boolean alive;
    public GameObject(Image loaded_image)
         player_x = 425;
         player_y = 725;
         sprite = loaded_image;
         falling_speed = random.nextInt(10) + 1;
         apple_x = random.nextInt(920) + 1;
         apple_y = random.nextInt(100) + 1;
         alive = true;
    And now all I need is you to answer my question! =)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    package forums;
    import java.util.Random;
    import javax.swing.Timer;
    import javax.imageio.ImageIO;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class VimsiesRetardedAppleGamePanel extends JPanel implements KeyListener
      private static final long serialVersionUID = 1L;
      private static final int WIDTH = 800;
      private static final int HEIGHT = 600;
      private static final int MAX_APPLES = 3;
      private static final Random RANDOM = new Random();
      private int score = 0;
      private Player player;
      private Apple[] apples = new Apple[MAX_APPLES];
      private boolean moveLeft = false;
      private boolean moveRight = false;
      abstract class Sprite
        public final Image image;
        public int x;
        public int y;
        public boolean isAlive = true;
        public Sprite(String imageFilename, int x, int y) {
          try {
            this.image = ImageIO.read(new File(imageFilename));
          } catch (IOException e) {
            e.printStackTrace();
            throw new RuntimeException("Bailing out: Can't load images!");
          this.x = x;
          this.y = y;
          this.isAlive = true;
        public Rectangle getRectangle() {
          return new Rectangle(x, y, image.getWidth(null), image.getHeight(null));
      class Player extends Sprite
        public static final int SPEED = 15;
        public Player() {
          super("C:/Java/home/src/images/player.jpg", WIDTH/2, 0);
          y = HEIGHT-image.getHeight(null)-30;
      class Apple extends Sprite
        public int fallingSpeed;
        public Apple() {
          super("C:/Java/home/src/images/apple.jpg", 0, 0);
          reset();
        public void reset() {
          this.x = RANDOM.nextInt(WIDTH-image.getWidth(null));
          this.y = RANDOM.nextInt(300);
          this.fallingSpeed = RANDOM.nextInt(8) + 3;
          this.isAlive = true;
      private final Timer timer = new Timer(200,
        new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            repaint();
      public VimsiesRetardedAppleGamePanel() {
        this.player = new Player();
        for(int i=0; i<MAX_APPLES; i++) {
          apples[i] = new Apple();
        setBackground(Color.BLACK);
        setFocusable(true); // required to generate key listener events.
        addKeyListener(this);
        timer.setInitialDelay(1000);
        timer.start();
      public void keyPressed(KeyEvent e)  {
        if (e.getKeyCode() == e.VK_LEFT) {
          moveLeft = true;
          moveRight = false;
        } else if (e.getKeyCode() == e.VK_RIGHT) {
          moveRight = true;
          moveLeft = false;
      public void keyReleased(KeyEvent e) {
        moveRight = false;
        moveLeft = false;
      public void keyTyped(KeyEvent e) {
        // do nothing
      public void paintComponent(Graphics g) {
        super.paintComponent(g);
        //System.err.println("DEBUG: moveLeft="+moveLeft+", moveRight="+moveRight);
        if ( moveLeft ) {
          player.x -= player.SPEED;
          if (player.x < 0) {
            player.x = 0;
        } else if ( moveRight ) {
          player.x += player.SPEED;
          if (player.x > getWidth()) {
            player.x = getWidth();
        //System.err.println("DEBUG: player.x="+player.x);
        Rectangle playerRect = player.getRectangle();
        for ( Apple apple : apples ) {
          apple.y += apple.fallingSpeed;
          Rectangle appleRect = apple.getRectangle();
          if ( appleRect.intersects(playerRect) ) {
            if ( apple.isAlive ) {
              score++;
              apple.isAlive = false;
        g.drawImage(player.image, player.x, player.y, this);
        for( Apple apple : apples ) {
          if ( apple.isAlive ) {
            g.drawImage(apple.image, apple.x, apple.y, this);
        g.setColor(Color.RED);
        g.drawString("Score: " + score, WIDTH/2-30, 10);
      private static void createAndShowGUI() {
        JFrame frame = new JFrame("Vimsies Retarded Apple Game");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.getContentPane().add(new VimsiesRetardedAppleGamePanel());
        frame.pack();
        frame.setSize(WIDTH, HEIGHT);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
      public static void main(String[] args) {
        SwingUtilities.invokeLater(
          new Runnable() {
            public void run() {
              createAndShowGUI();
    }Hey Vimsie, try resetting a dead apple and see what happens.

  • How can I use adobe flash player on iPad2

    How can I use adobe flash player on iPad 2?

    You cannot.  Adobe does not make it for ipad.
    This has been discussed over and over and over and over and over and over again on these forums.  Please do a forums search - right side of this page.
    There is no need to add yet another thread on this very tired subject.
    Adobe has announces d that they are selling a platforms that will allow ipad users to view flash content.  This is nothing that users will have.  The developer of the video will have to do this.

  • How can I install adobe flash on my firefox when it keeps opening automatically in Chrome?

    How can I install adobe flash on my firefox when it keeps opening automatically in Chrome?

    Flash Player Plug-in (All other browsers)
    That's the installer, regardless of what browser you download it with.

  • How can I script a Flash .exe file to always stay on top of all other windows?

    Hi All,
    I'm new to action script, and I just need this one script
    > How can I script a Flash .exe file to always stay on top of
    all other windows?
    Basically what i want to do is have a flash-created
    step-by-step instructional movie, but for the movie to remain on
    top of all windows so the instructee is able to follow the
    instructions on-screen...
    It would be preferable to not have to buy another product
    just to do this... as I said, this is the only scripting I need.
    Thanks in advance
    Cheers
    Rick

    if you create your exe with mProjector you can use one of its
    new AS
    commands to do this.
    setZOrder
    http://www.screentime.com/software/mprojector/docs/mWin_setZOrder.htm
    all APIS
    http://www.screentime.com/software/mprojector/docs/index.html
    Demo
    http://www.screentime.com/software/mprojector/demo.html
    mProjector installs new classes and help into Flash, to
    enable them you
    must build your app with mProjector (its input is your swf)
    John Pattenden
    Screentime Media - Flash Tools since 1997
    http://www.screentime.com

  • How can I install adobe flash player on my iPod mini.

    How can i install adobe flash player on my Ipad mini?

    Adobe has not made a version of Flash for the iPad.
    Kappy explains why. https://discussions.apple.com/message/19446567#19446567
    5 Flash Player Alternatives http://www.techshout.com/features/2011/01/flash-player-for-ipad-apps/
    Top 4 browsers supports flash player on iPad and iPhone
    http://mashtips.com/flash-player-ios/
     Cheers, Tom

  • How can I install Adobe Flash Player on my Mac/Yosemite?

    How can I install Adobe Flash Player on my Mac Pro/Yosemite?

    Zoeykm wrote:
    How can I install Adobe Flash Player on my Mac Pro/Yosemite?
    Download the DMG installer from Adobe here and run it.

  • How can I install adobe flash for my iPad 2

    How can I install adobe flash for my iPad 2

    Search before posting please.  This question has been asked and discussed over and over and over and over and over and over again.
    You can't.  Adobe doesn't make a version of Flash for iOS.

Maybe you are looking for

  • How to display Checkbox instead dropdown in OIM 11g using request dataset

    Hello, I am trying to display as check boxes instead of dropdown in requestor screen using request dataset. It still shows dropdown. Here is my request dataset. Is there anything wrong?? <?xml version='1.0' encoding='UTF-8'?> <request-data-set xmlns=

  • Is it a Bug of JDK?

    JSlider m_Slider = new JSlider(); m_Slider.setMajorTickSpacing( 10 ); m_Slider.setSnapToTicks( true ); when the system use windows lookandfeel,it works properly,but if the system use MetalLookAndFeel, the last sentense doesn't work,I use jdk1.4.1 is

  • Online numbers- problem with activation

    Good afternoon, Today , buy two online numbers - payed via credit card. Payments was successful, but online numbers still don't activate. I'm from Germany. who can help in this case?

  • Shared service error

    I am using HFM 11.1.1.2 version and able to access my application in workspace. In shared sevices,when I right click the application and select Assign access control, it will show the following error. "HTTP Status 404 - /interop/security/bpm/launcher

  • Where to download NW Gateway 2.0

    Hello Gateway Users, I want to set up an NW Gateway 2.0 system. I have the SAP Note 1569624 in front of me an there is written that i can download  gateway 2.0 from swdc. The path is: Installation and Upgrade -> Browse Donwload Catalog -> SAP NetWeav