11 Replies Latest reply on Jan 30, 2011 2:26 PM by dharmes

    Animation

    dharmes Level 1

      http://www.weddingorg.com/avant-garde2/avant-garde2.html

       

      How can i do this so of animation on flash

        • 1. Re: Animation
          kglad Adobe Community Professional & MVP

          use masks.


          1 person found this helpful
          • 2. Re: Animation
            dharmes Level 1

            Can you kindly step by step process on how to do that please?

            • 3. Re: Animation
              kglad Adobe Community Professional & MVP
              1 person found this helpful
              • 4. Re: Animation
                dharmes Level 1

                Thank you for your help


                • 5. Re: Animation
                  dharmes Level 1

                  "Draw 10px X 10px linear rectangle, and then reduce that opacity like what we shown below"

                   

                  does that mean width and the height should 10px?

                  • 6. Re: Animation
                    kglad Adobe Community Professional & MVP

                    10px = 10 pixels (the default unit of measure in flash).

                    1 person found this helpful
                    • 7. Re: Animation
                      dharmes Level 1

                      can you kindly draw me a sample of the box please

                      • 8. Re: Animation
                        kglad Adobe Community Professional & MVP

                        select the rectangle tool, choose a stroke/fill and draw a rectangle.  while it's still selected change the rectangles width to 10 and its height to 10.

                        1 person found this helpful
                        • 9. Re: Animation
                          dharmes Level 1

                          op_alpha.jpg

                           

                          in regards to the image above, does that include stroke and fill?

                          • 10. Re: Animation
                            dharmes Level 1

                            hey i have already worked it out


                            • 11. Re: Animation
                              dharmes Level 1

                              i have made a introduction with a audio and controller. I am facing one problem. I will like to play as soon as some one enter the page but it does not.

                               

                              My action script is pasted below and kindly advise me for any changes that can be done

                               

                               

                              var soundReq:URLRequest = new URLRequest("Sonu Nigam_Alka Yagnik - Suraj Hua M.mp3");
                              var sound:Sound = new Sound();
                              var soundControl:SoundChannel = new SoundChannel();
                              var volumeControl:SoundTransform = new SoundTransform();
                              var resumeTime:Number = 0;
                              sound.load(soundReq); sound.addEventListener(Event.COMPLETE, onComplete);
                              up_btn.addEventListener(MouseEvent.CLICK, increaseVolume);
                              down_btn.addEventListener(MouseEvent.CLICK, decreaseVolume);
                              function onComplete(event:Event):void
                              {
                              play_btn.addEventListener(MouseEvent.CLICK, playSound);
                              stop_btn.addEventListener(MouseEvent.CLICK, stopSound);
                              }
                              function playSound(event:MouseEvent):void
                              { soundControl = sound.play(resumeTime);
                              pause_btn.visible = true;
                              pause_btn.addEventListener(MouseEvent.CLICK, pauseSound);
                              play_btn.visible = false; play_btn.removeEventListener(MouseEvent.CLICK, playSound);
                              }
                              function pauseSound(event:MouseEvent):void {
                              resumeTime = soundControl.position;
                              soundControl.stop();
                              play_btn.visible = true;
                              play_btn.addEventListener(MouseEvent.CLICK, playSound);
                              pause_btn.visible = false;
                              pause_btn.removeEventListener(MouseEvent.CLICK, pauseSound);
                              }
                              function stopSound(event:MouseEvent):void {
                              soundControl.stop();
                              play_btn.visible = true;
                              play_btn.addEventListener(MouseEvent.CLICK, playSound);
                              pause_btn.visible = false; pause_btn.removeEventListener(MouseEvent.CLICK, pauseSound);
                              }
                              function increaseVolume(event:MouseEvent):void {
                              volumeControl.volume += .5;
                              soundControl.soundTransform = volumeControl;
                              }
                              function decreaseVolume(event:MouseEvent):void {
                              volumeControl.volume -= .5;
                              soundControl.soundTransform = volumeControl;
                              }
                              pause_btn.visible = false;