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
Solved

Flash AS2.0 (Polaroid Gallery)

Posted on 2010-08-17
3
858 Views
Last Modified: 2013-11-11
I've been editing some of the ActionScript in the original Flash file for this photo gallery - http://www.no3dfx.com/polaroid/

One thing I'm having difficulty with, is trying to create an 'exclusion zone' 60px high at the bottom of the stage, so that when the polaroids are initially scattered, this horizontal strip is kept clear.
0
Comment
Question by:Col23
  • 2
3 Comments
 
LVL 3

Expert Comment

by:grantunwin
ID: 33460379
In the actions for frame 3

change line 21 to:


var stageHeight = Stage.height - 60;

Open in new window

0
 

Accepted Solution

by:
Col23 earned 0 total points
ID: 33463907
Thanks for your reply. I tried the change to line 21 but didn't seem to have any effect.

This made me look again at the AS and found adding '-60' after Stage.height on lines 86, 93 & 97 resulted in what I was after. Thanks for pointing me in the right direction.
0
 

Author Closing Comment

by:Col23
ID: 33463926
Solution found.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

828 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