Solved

Image/Movie loader that can expand to fullscale

Posted on 2010-11-22
2
487 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
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 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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

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

18 Experts available now in Live!

Get 1:1 Help Now