Solved

Flash AS2.0 (Polaroid Gallery)

Posted on 2010-08-17
3
856 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Google Chrome Blank White Screens 13 300
bandwidth 5 71
Animating text  - electrons orbit around letter M 12 79
Movies become choppy/laggy after playing for 5 episodes or more 8 111
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 come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
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.
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.

821 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