Solved

Image/Movie loader that can expand to fullscale

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses

615 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