?
Solved

Resize/Scale Transition with Actionscript

Posted on 2007-03-21
4
Medium Priority
?
1,820 Views
Last Modified: 2008-01-09
Would like to know easiest way to get this type page loading transition: http://www.kurtnoble.com/

Was following previous EE thread: http://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Macromedia_Flash/Q_21420139.html#a13976643

 Curious what negatyve's solution was but it's no longer posted.
0
Comment
Question by:shareea
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 2

Accepted Solution

by:
seanhess earned 750 total points
ID: 18767812
Use Flash 8's Tween class on the width and height.  That looks like some kind of a bounce.
0
 

Author Comment

by:shareea
ID: 18783747
Would like sample code/fla demonstrating.
0
 

Author Comment

by:shareea
ID: 18801081
seanhess

okay - dug around  - thanks for pointing me in the right direction
0
 

Author Comment

by:shareea
ID: 18801121
In case anyone is following this thread - here's what I came up with for button named home_mc - on first frame of main timeline. If there's an easier way, all comments are welcomed:

//Button Tweens
import mx.transitions.*;
import mx.transitions.easing.*;

function Over(){
      var tw1:Tween = new Tween(this, "_xscale", Bounce.easeOut,       this._xscale, 125, 0.7, true);
      var tw2:Tween = new Tween(this, "_yscale", Bounce.easeOut,       this._yscale, 125, 0.7, true);
}

function Out(){
      var tw1:Tween = new Tween(this, "_xscale", Bounce.easeOut,       this._xscale, 100, 0.7, true);
      var tw2:Tween = new Tween(this, "_yscale", Bounce.easeOut,       this._yscale, 100, 0.7, true);
}

home_mc.onRollOver = Over;
home_mc.onRollOut = Out;
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question