Solved

Flash AS2.0 (Polaroid Gallery)

Posted on 2010-08-17
3
862 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
[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
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

729 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