Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Image/Movie loader that can expand to fullscale

Posted on 2010-11-22
2
Medium Priority
?
494 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses

715 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