Solved

Image/Movie loader that can expand to fullscale

Posted on 2010-11-22
2
489 Views
Last Modified: 2013-11-11
I'm putting some finishing touches on my website, which is flashed based. I'm using actionscript 2.0, as I haven't familiarized myself with 3.0 yet.

I have created a stage that has thumbnails of images and movies on the left and a Loader (mx.controls.Loader) on the right that loads content from the thumbnails. That works fine and dandy, but what to also be able to do is to click on the loader and have to image have its own popup layer within flash. This layer would be larger than what's in the loader and would have a concise description of the image/movie below it.

So basically you click on a thumbnail, it loads in the loader. Then if you wanted to see the work at full detail, you click on the loader and the image would expand on a layer on top of the stage.

This these two websites are pretty close to what I'm shooting for.
http://guerrilladigital.cc/portfolio.php 

http://justinhileman.com/portfolio

What I like about these examples is the graying of what's below it and the ability to resize dependent of the image.

See my screenshot to see what I'm working with. If I need a different kind of loader, that's fine with me.
loaderSS.png
0
Comment
Question by:colorrot
2 Comments
 
LVL 19

Accepted Solution

by:
moagrius earned 500 total points
ID: 34210427
those sites are using what's called a "lightbox" - if you google for lightbox, you'll find dozens of free open source lightbox plugins.  they use javascript to create a html elements and add them to the document.

technically you could call the javascript functions from flash, but that might be a little unwieldy depending on your setup.

you could definitely recreate the same kind of functionality in flash, bit it would be pretty involved.  you'd want to dynamically create a container movieclip, fill that with 50% transparent black, then other clips to hold the image, close button, captions, etc., then add logic and event management to close it and destroy it.  it's probably not something that's within the scope of the board.
0
 

Author Closing Comment

by:colorrot
ID: 34307907
I found Shadowbox to be a good solution for flash, as they describe on the site how to incorporate to flash. However unfortunately I haven't been able to get captions to work on it yet (just a title), as it wasn't designed to have any.
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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
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…
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 set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

813 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

9 Experts available now in Live!

Get 1:1 Help Now