Solved

Image/Movie loader that can expand to fullscale

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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…
Suggested Courses

751 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