Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Flash AS2.0 (Polaroid Gallery)

Posted on 2010-08-17
3
Medium Priority
?
864 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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 have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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.
Suggested Courses

636 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