Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Use AS3 to create Flash Photo Gallery
Old 08-17-2010, 01:40 PM Use AS3 to create Flash Photo Gallery
Junior Talker

Posts: 3
Trades: 0
i was wondering how I would use AS3 to create a dynamically loading photo gallery with a horizontal scrolling thumbnail bar at the bottom and have it so that when you click on one of the thumbnails, a larger version appears above the thumbnail bar.
Artifaxx is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-18-2010, 05:13 AM Re: Use AS3 to create Flash Photo Gallery
Super Talker

Posts: 139
Name: John Davis
Trades: 0
Flash is not best way to create photo gallery. Too many limitations. There is impossible to save image to your local PC from Flash gallery.
__________________
»
Please login or register to view this content. Registration is FREE
- Interactive maps for websites
»
Please login or register to view this content. Registration is FREE
for web developers
MapMaster is offline
Reply With Quote
View Public Profile Visit MapMaster's homepage!
 
Old 08-24-2010, 03:55 PM Re: Use AS3 to create Flash Photo Gallery
Junior Talker

Posts: 3
Trades: 0
What would be the best way to create a photo gallery then?
Artifaxx is offline
Reply With Quote
View Public Profile
 
Old 08-27-2010, 11:56 PM Re: Use AS3 to create Flash Photo Gallery
Sleeping Troll's Avatar
Ultra Talker

Posts: 351
Name: Butch Begy
Trades: 0
I would use javascript and css, perhaps just css... secret is to put the image in a div and set either height or width to 100% and the other to auto when you resize the div the image resizes and the aspect ratio is maintained by auto setting. Set overflow to display and only change the parameter of the div that is set as 100% for image.

Code:
.zoom{
 overflow: visible;
}

.resize{
width: 100%;
height: auto;
}
HTML Code:
<div class = "zoom"><img class = "resize" src = "myimage.png"></div>
__________________
Sleeping Troll, EMUSE, Mind Expansion...Truly serendipity!

Last edited by Sleeping Troll; 08-28-2010 at 12:04 AM..
Sleeping Troll is offline
Reply With Quote
View Public Profile
 
Old 08-28-2010, 12:11 AM Re: Use AS3 to create Flash Photo Gallery
Sleeping Troll's Avatar
Ultra Talker

Posts: 351
Name: Butch Begy
Trades: 0
Scrolling is accomplished buy putting a div in a div

Code:
.display{
overflow: hidden;
}
HTML Code:
<div class = "display"><div class = "slide"></div></div>
repositioning the "slide" div will result in different parts of it being displayed in "display" div.
__________________
Sleeping Troll, EMUSE, Mind Expansion...Truly serendipity!

Last edited by Sleeping Troll; 08-28-2010 at 12:13 AM..
Sleeping Troll is offline
Reply With Quote
View Public Profile
 
Old 09-03-2010, 04:43 PM Re: Use AS3 to create Flash Photo Gallery
Junior Talker

Posts: 3
Trades: 0
Thanks Sleeping Troll. I'll try that out.
Artifaxx is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Use AS3 to create Flash Photo Gallery
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.66291 seconds with 12 queries