Go Back   kirupaForum > Talk > Source/Experiments

Reply
 
Thread Tools Display Modes
Old 12-11-2005, 02:14 PM   #1
rhamej
Flash dork
 
rhamej's Avatar
Location RedNeckVille TN

Posts 4,513
XML Gallery/SlideShow

Ya, thats right, another xml gallery. Stringy motivated me!!
Preview one
Preview two
zip file here
zip file two with external text
zip file three with thumbs and images

Phoenix68
added a version that has the main image resize with the browser window here


Zip files were updated at 12/12/2005. Re-download if you have an older version. Couple bugs fixed


Some things to note.
XML nodes are set up like this
Code:
<image color="0x8E94AF">
<description>image 1</description>
<pic>splat.jpg</pic>
<link>http://kirupa.com</link>
</image>
<image color> is the main background color
<description> is description
<pic> is the name of jpg. IMAGES HAVE TO BE IN A FOLDER CALLED IMAGES!
<link> is the link to go to when the main image is clicked.

The two examples are the exact same fla. This is what you have control over in the configuration layer.

a: The thumb display, wether full screen or use buttons and the way the thumbs come in, either slide up from the bottom or just blink in.
b: Colors: Thumb background, thumb preloader bar, info drop down box background, button background if "buttons" is choosen, arrow color, main image background box and hover caption background. I didnt give the option to change the text color because most will want to use thier own font anyway.
c: You also have total control over how everything is tweening. The main image box, the thumb slide left and right if "buttons" is choosen, the way the thumbs slide up if "slide" is choosen. And also the speed of how everything moves. Even the fade speed of the main image, in and out.
d: the border size around the image
e: if the first image loads or not
f: what you want the hover caption to say for the rollover and even if the node is left empty.

Here is a couple of FAQ's that I know will be asked.
1: How come I get an error that Im missing an .as file.
You need the laco tween component to make it work. Download the component here
Download the extension manager here if you dont already have it.

2:How do I change the speed of the timer.
Double click the timer_mc and just adjust the timeline.

Also, "nobuttons" and "blink" kinda work weird together. The thumbs load faster than the mc can center it self if the thumbs are cached. It doesn't break or anything, it's just cosmetic only.

The code for the fullscreen thumbs was taking from the flashlevel menu by Voetsjoeba. I do not take credit for this. But everything else is mine. And a big thanks to Scotty for helping me with a little math. Damn thumbs

Any questions let me know. I will try to answer as many as I can. But dont expect me to change anything. I think I gave you enough options as it is Any bugs you find post them here, Im only human


Josh

edit: there is no MX version, sorry.

double edit: Im already getting pms with people asking me how to install the lacoz tween and use it. I added a second zip file above that loads all the configurations from a text file. There is no .fla in that zip. If you dont have the lacoz tween installed, then whats the point

__________________
2210media
rhamej is offline   Reply With Quote

Sponsored Links (Guests Only) - Register | Need Help?

Old 12-11-2005, 03:47 PM   #2
stringy
Aged Member
 
stringy's Avatar
Location Leeds uk

Posts 5,039
Quote:
Originally Posted by rhamej
Ya, thats right, another xml gallery. Stringy motivated me!!
Preview one
Preview two
zip file here

Some things to note.
XML nodes are set up like this
Code:
<image color="0x8E94AF">
<description>image 1</description>
<pic>splat.jpg</pic>
<link>http://kirupa.com</link>
</image>
<image color> is the main background color
<description> is description
<pic> is the name of jpg. IMAGES HAVE TO BE IN A FOLDER CALLED IMAGES!
<link> is the link to go to when the main image is clicked.

The two example are the exact same fla. This is what you have control over in the configuration layer.

a: The thumb display, wether full screen or use buttons and the way the thumbs come in, either slide up from the bottom or just blink in.
b: Colors: Thumb background, thumb preloader bar, info drop down box background, button background if "buttons" is choosen, arrow color, main image background box and hover caption background. I didnt give the option to change the text color because most will want to use thier own font anyway.
c: You also have total control over how everyhting is tweening. The main image box, the thumb slide left and right if "buttons" is choosen, the way the thumbs slide up if "slide" is choosen. And also the speed of how everything moves. Even the fade speed of the main image, in and out.
d: the border size around the image
e: if the first image loads or not
f: what you want the hover caption to say for the rollover and even if the node is left empty.

Here is a list of FAQ's that I know will be asked.
1: How come I get an error that Im missing an .as file.
You need the lacoz tween to make it work. Download the component here
Download the extension manager here if you dont already have it.

2: I have the lacoz tween but nothing is working.
Im trying heavily to type all my .as with datatyping, as Im trying to move more into as2 and eventually as3. If you are on MX, you need to remove every instance in the code that has a data type assigned to a varible
For instance. If I declared a var like this( var myVar:Number=5) you need to remove ( :Number ) to make it work in MX. I think

3:How do I change the speed of the timer.
Double click the timer_mc and just adjust the timeline.

Also, "nobuttons" and "blink" kinda work weird together. The thumbs load faster than the mc can center it self if the thumbs are cached. It doesn't break or anything, it's just cosmetic only.

The code for the fullscreen thumbs was taking from the flashlevel menu by Voetsjoeba. I do not take credit for this. But everything else is mine. And a big thanks to Scotty for helping me with a little math. Damn thumbs

Any questions let me know. I will try to answer as many as I can. But dont expect me to change anything. I think I gave you enough options as it is Any bugs you find post them here, Im only human


Josh
Oi ! I make the galleries on this forum
Nice work rhamej
stringy is offline   Reply With Quote
Old 12-11-2005, 04:05 PM   #3
rhamej
Flash dork
 
rhamej's Avatar
Location RedNeckVille TN

Posts 4,513
Quote:
Originally Posted by stringy
Oi ! I make the galleries on this forum
Nice work rhamej

__________________
2210media
rhamej is offline   Reply With Quote
Old 12-11-2005, 06:10 PM   #4
mprzybylski
hi there lil buddy
 
mprzybylski's Avatar
Location Illinois

Posts 1,222
very slick my man, good work.
mprzybylski is offline   Reply With Quote
Old 12-12-2005, 12:22 AM   #5
delusion08
Registered User
bloody cool!

suggestion : on config layer, maybe an option to start the slideshow on default or not. Just a suggestion.

Anyway, great work! Thanxx..
delusion08 is offline   Reply With Quote
Old 12-12-2005, 12:26 AM   #6
rhamej
Flash dork
 
rhamej's Avatar
Location RedNeckVille TN

Posts 4,513
Quote:
Originally Posted by delusion08
bloody cool!

suggestion : on config layer, maybe an option to start the slideshow on default or not. Just a suggestion.

Anyway, great work! Thanxx..
Ya, Im working on that. Running into problems though, and my head hurts
And thanks!

__________________
2210media
rhamej is offline   Reply With Quote
Old 12-12-2005, 01:31 AM   #7
rhamej
Flash dork
 
rhamej's Avatar
Location RedNeckVille TN

Posts 4,513
Quote:
Originally Posted by delusion08
bloody cool!

suggestion : on config layer, maybe an option to start the slideshow on default or not. Just a suggestion.

Anyway, great work! Thanxx..
Added and zips updated

__________________
2210media
rhamej is offline   Reply With Quote
Old 12-12-2005, 02:00 AM   #8
delusion08
Registered User

Quote:
Originally Posted by rhamej
Added and zips updated

Yup, yup...it's working now! Thumbs up
delusion08 is offline   Reply With Quote
Old 12-12-2005, 10:36 AM   #9
scotty
Untitled
 
scotty's Avatar
Location New Fun City

Posts 13,663
Quote:
Originally Posted by stringy
Oi ! I make the galleries on this forum
LOL, and what about me?
@rhamej

scotty
scotty is offline   Reply With Quote
Old 12-12-2005, 12:06 PM   #10
wo1olf
Registered User
 
wo1olf's Avatar
cool that's some crazy stuff!!!
but is there a way to have a preloader which show that the image is loading?
and as the image is fully loaded then the preloader disappaer.

__________________
~dherve
wo1olf is offline   Reply With Quote
Old 12-12-2005, 12:14 PM   #11
rhamej
Flash dork
 
rhamej's Avatar
Location RedNeckVille TN

Posts 4,513
There is a preloader, its the bar on the thumb. You dont need a preloader for the main image because its already cached.

__________________
2210media
rhamej is offline   Reply With Quote
Old 12-12-2005, 01:13 PM   #12
stringy
Aged Member
 
stringy's Avatar
Location Leeds uk

Posts 5,039
Quote:
Originally Posted by scotty
LOL, and what about me?
@rhamej

scotty
You`re in the wrong forum, get back to "Best of"
stringy is offline   Reply With Quote
Old 12-12-2005, 01:42 PM   #13
rhamej
Flash dork
 
rhamej's Avatar
Location RedNeckVille TN

Posts 4,513
Quote:
Originally Posted by stringy
You`re in the wrong forum, get back to "Best of"

__________________
2210media
rhamej is offline   Reply With Quote
Old 12-14-2005, 05:01 AM   #14
rai_kane3
benn
 
rai_kane3's Avatar
Location The West Of The Yorkshire's

Posts 263
Holy XML Gallerys BATMAN thats quality I'm actually impressed by an xml gallery for once. I think this site should just have an XML gallery section 85% of questions and threads seem to be on the subject. Rhamej thats fantastic.
rai_kane3 is offline   Reply With Quote
Old 12-14-2005, 06:35 AM   #15
calvintage
1337 5UCK4G3
 
calvintage's Avatar
Location usa.gotoAndPlay("chicago")

Posts 189

__________________
Time goes so slowly for those who wait.
calvintage is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
XML to TextField brendanwov Best of Kirupa.com 56 05-29-2007 06:52 AM
Tutorial Suggestions? kirupa Flash IDE 59 08-27-2006 08:33 AM
Flash variables call XML Jellybean Server-Side (PHP, SQL, ASP.NET, etc.) 3 04-12-2005 06:34 PM


All times are GMT -4. The time now is 11:26 PM.

SHARE:

SUPPORTERS:

cdn
content delivery network (cdn)

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Copyright 2010 - kirupa.com Copyright 2010 - kirupa.com