#1 (permalink)  
Old 23-09-07, 12:11
Administrator
Living At The FlepStudio!
 
Join Date: Jul 2007
Location: Cesenatico
Posts: 4,917
Rep Power: 6
Flep is on a distinguished road
Images Scroller

Hola Che !
New free utility for Flash CS3. It's a scroller of images.
What it does:
- it reads from an XML file
- it loads the images and creates the thumbnails
- smooth effect
- at thumbs click it opens a pop up with original image

easy to configure

let us see it...*

IMAGES SCROLLER

Flash CS3+XML+Javascript







Description

Scroller of images that reads from XML file

Loads images and creates thumbnails

On thumb click it opens a pop-up with the image


Files package

main.fla

Main.as

LoadingXML.as

Caricatore.as

images.xml

cartella con immagini di prova e rispettivi pop-ups

readme.txt


Important : Open LoadingXML.as file and change the URL to XML file at line n° 34.


XML options

- source attribute contains the image's URL

- popup attribute contains the popup's URL


XML:
HTML Code:
<?xml version="1.0" encoding="UTF-8"?>
<images>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_0.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_0.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_1.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_1.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_2.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_2.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_3.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_3.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_4.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_4.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_5.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_5.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_6.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_6.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_7.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_7.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_8.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_8.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_9.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_9.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_10.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_10.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_11.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_11.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_12.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_12.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_13.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_13.html"></item>
	<item source="http://www.flepstudio.org/utilita/ImagesScroller/images/pic_14.jpg" popup="http://www.flepstudio.org/utilita/ImagesScroller/images/pop_14.html"></item>
</images>

Source files:
Attached Files
File Type: zip ImagesScroller.zip (479.4 KB, 1723 views)
__________________
_________________________________________
VIDEO CORSI ACTIONSCRIPT 3.0 creati da FlepStudio
I recommend: Essential Actionscript 3.0

- I do not reply technicians pvt messages. Open a thread please !
- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !

Last edited by Flep; 05-06-08 at 16:32.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
sponsor links
Flashmint flash templates FlippingBook-PDF publisher Flash Media Server Hosting
  #2 (permalink)  
Old 03-10-07, 11:47
Junior Member
Settled In
 
Join Date: Sep 2007
Posts: 2
Rep Power: 0
nonlogos is on a distinguished road
Hi, I have really enjoyed your site and the mastery insights you have on flash CS3 (I can't tell you how many times you saved me from nights of headache and insanity). I especially love the event scroller script. My question is how do I confine the event scroller to a part of the overall page layout. I noticed everything was set with stage.stageheight, If I am working with a larger stage with a designated area for the events (kind of like a section), I can't have the events scrolling through the entire stage. Also can you help explaining some of the codes in this utility? Especially what the relationship between array, container_mc, hit_mc, and stage.stageheight is and how the mechanism works for the events to scroll and react to the mouse? I tried to figure it out myself and not bother you, but my lack of knowledge in these respects has kept me stucked for two days...

Please help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-10-07, 13:06
Administrator
Living At The FlepStudio!
 
Join Date: Jul 2007
Location: Cesenatico
Posts: 4,917
Rep Power: 6
Flep is on a distinguished road
Hi,
the fact is the scroller has been created to be embed in HTML pages.
If you want load it into another SWF, you must recode almost all.

About the explantion, i will try to write it as soon as i have the time :)
__________________
_________________________________________
VIDEO CORSI ACTIONSCRIPT 3.0 creati da FlepStudio
I recommend: Essential Actionscript 3.0

- I do not reply technicians pvt messages. Open a thread please !
- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-10-07, 15:04
Junior Member
Settled In
 
Join Date: Sep 2007
Posts: 2
Rep Power: 0
nonlogos is on a distinguished road
Re: Images Scroller

ah..I see. Thanks for letting me know.

Thank you much!

Connie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 23-10-07, 17:37
Administrator
Living At The FlepStudio!
 
Join Date: Jul 2007
Location: Cesenatico
Posts: 4,917
Rep Power: 6
Flep is on a distinguished road
Re: Images Scroller

******update******

Have a look to my message here:
http://www.flepstudio.org/forum/down...do=file&id=103
__________________
_________________________________________
VIDEO CORSI ACTIONSCRIPT 3.0 creati da FlepStudio
I recommend: Essential Actionscript 3.0

- I do not reply technicians pvt messages. Open a thread please !
- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-12-07, 10:52
Junior Member
Settled In
 
Join Date: Sep 2007
Posts: 3
Rep Power: 0
devang is on a distinguished road
Re: Images Scroller

Hello,

I like this scroller.

But i donot want to load thumbnails & not pop ups.

Scroller width = 473 & Height = 256

All my images have same height 256 but widths are all different.

I want the scroller to load direct images.

Can somebody cleanup the code .. i dont know flash.. still i tried loading flash on my pc ... and in main.fla i changed the document size but i dont know how to stop the files from loading thumbs and pop urls...

Thankyou in advance,

Devang.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-12-07, 11:58
Administrator
Living At The FlepStudio!
 
Join Date: Jul 2007
Location: Cesenatico
Posts: 4,917
Rep Power: 6
Flep is on a distinguished road
Re: Images Scroller

Hi,

1) Set SWF size to 256 height and width as the bigger of your pictures ( or as you want )

2) Open Main.as and delete this line:
Code:
addListeners();
3) Open Caricatore.as and substitute the createThumb function with this new one:
Code:
private function createThumb():void
		{
			
			_fla.objects_array[id].w=loader.width;
			_fla.objects_array[id].h=loader.height;
			bitmap_data=new BitmapData(loader.width,loader.height,true,0xFFFFFFFF);
			bitmap_data.draw(loader);
			
			var thumb:Bitmap=new Bitmap(bitmap_data);
			thumb.smoothing=true;
			
			clip=new MovieClip();
			clip.visible=false;
			clip.addChild(thumb);
			
			_fla.container_mc.addChild(clip);
			_fla.pics_array.push(clip);
			
			clip.id=id;
			clip.name='thumb_'+id;
			
			if(id<_fla.objects_array.length-1)
				_fla.loadImages();
			else
				_fla.positionClips();
		}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 06-12-07, 10:49
Junior Member
Settled In
 
Join Date: Sep 2007
Posts: 3
Rep Power: 0
devang is on a distinguished road
Re: Images Scroller

Hello,

Cheers i have done and got it working. Below is link.

Untitled Document

Now i need to have a 10px gap in between 2 pics and it should be black colour (not white). Please help me.

http://sound.suninter.co.in/audio.htm
Above is link where finally i will put the swf.

Thankyou,

Devang
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 06-12-07, 11:38
Administrator
Living At The FlepStudio!
 
Join Date: Jul 2007
Location: Cesenatico
Posts: 4,917
Rep Power: 6
Flep is on a distinguished road
Re: Images Scroller

Hi,
i already see the 10px gap
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 06-12-07, 11:45
Junior Member
Settled In
 
Join Date: Sep 2007
Posts: 3
Rep Power: 0
devang is on a distinguished road
Re: Images Scroller

hi,

i resized the images on the left by 10px ..

Thankyou,

Devang
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
sponsor links
Reply

Bookmarks

Tags
images, scroller

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Illusion - images gallery Flep FlepStudio utilities 26 21-04-09 17:40
Scroll Continuo Images Scroller soteha AIUTO utilitą free 14 12-01-09 12:02
FullScreen images gallery Flep FlepStudio utilities 6 19-12-08 20:20
Photoshop CS3 Removing background from images Alex Ross PhotoShop 0 12-11-08 12:24
unload images karonte Actionscript 3.0 base 2 14-05-08 19:01



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
vBulletin Skin developed by: vBStyles.com
FlepStudio 2007-2009