Solved

Flash AS2.0 (Polaroid Gallery)

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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. …
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 live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to record live broadcast.

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now