Solved

Resize/Scale Transition with Actionscript

Posted on 2007-03-21
4
1,818 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 250 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 June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course 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

While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
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 record live broadcast.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

696 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