Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Images Scroller

This is a discussion on Images Scroller within the FlepStudio utilities forums, part of the Tutorials category; Hello, great scroller so far. There is only one thing....how would it be possible to change the acceleration of ...


Go Back   Forum Flash CS3 Flash CS4 > English Forums > Tutorials > FlepStudio utilities

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 14-12-07, 10:51
Junior Member
 
Join Date: Dec 2007
Posts: 2
Rep Power: 0
mugdiman is on a distinguished road
Re: Images Scroller

Hello,

great scroller so far.

There is only one thing....how would it be possible to change the acceleration of the scrolling so that the speed is dependent from the proportion to the stage and not from the proportion to container_mc.

That means, when the mouseX is around the middle of the stage (stage.stageWidth/2) the movement should stop or slow down in any case no matter where we are proportional to the container_mc.

At the moment, this is not the case. I increased the number of images to around 50 floating in line so the ratio is around 8. When I move the mouse on the movie clip in the middle of the stage now, it can happen that the image I wanted to view slides out of the stage very very fast........
Adjusting the speed in ax doesn't help here as well, it can just slow down but the problem remains.

you see any fast solution for this or would it require complete rewriting?

Thanks, Dennis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #12 (permalink)  
Old 14-12-07, 10:57
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,488
Rep Power: 6
Flep is on a distinguished road
Re: Images Scroller

Hi there

The moveMe function in Main.as should do this:
Code:
private function moveMe(evt:Event):void
		{
			if(boo)
			{
				var distance:Number=stage.stageWidth/2-mouseX;
				/*var arrX:Number=mouseX*ratio+stage.stageWidth/2;
				var dx:Number=arrX-evt.currentTarget.x;
				var ax:Number=dx*.1;*/
				evt.currentTarget.x+=distance/10;
				check(evt.currentTarget as MovieClip);
			}
			else
			{
				evt.currentTarget.x-=speed;
				check2(evt.currentTarget as MovieClip);
			}
		}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #13 (permalink)  
Old 14-12-07, 11:20
Junior Member
 
Join Date: Dec 2007
Posts: 2
Rep Power: 0
mugdiman is on a distinguished road
Re: Images Scroller

perfect! thank you very much for the quick help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #14 (permalink)  
Old 08-01-08, 21:32
Junior Member
 
Join Date: Jan 2008
Posts: 2
Rep Power: 0
Aragon is on a distinguished road
Re: Images Scroller

Hi there, is it posible to load png files or swf files in the images scroller? And il like to know if i can start the image scroller so that it is moveing immediately and looping also.
Greetings, Aragon.

Last edited by Flep; 09-01-08 at 07:29..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #15 (permalink)  
Old 09-01-08, 07:30
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,488
Rep Power: 6
Flep is on a distinguished road
Re: Images Scroller

Hi Aragon and welcome

You can load PNG or SWF, just change the url's inside of the XML file.

I's moving immediately, and looping too
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Flash Multi Gallery
  #16 (permalink)  
Old 09-01-08, 08:41
Junior Member
 
Join Date: Jan 2008
Posts: 2
Rep Power: 0
Aragon is on a distinguished road
Re: Images Scroller

thx for your reply, but it dosent work right yet. im tring to load swf files so that they look and work the same as the origonal swf i want to load. I need a tranceparent effect !

I also want to link to a webpage, not a popup!

Here are my test links:
main
battlefield2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #17 (permalink)  
Old 10-01-08, 08:23
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,488
Rep Power: 6
Flep is on a distinguished road
Re: Images Scroller

About main sample, it is scroling if you do not go over it with the mouse and when it gets the last image it invertes the direction ( is that a loop ? )

About the links instead of popups:

- change the urls of the ' popup ' attribute inside of images.xml
- open Main.as and change openPopUp function as following:
Code:
private function openPopUp(evt:MouseEvent):void
		{
			var js:URLRequest=new URLRequest();
			js.url=objects_array[evt.currentTarget.id].pop;
			navigateToURL(js,'_self');
		}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #18 (permalink)  
Old 10-01-08, 12:38
Junior Member
 
Join Date: Jan 2008
Posts: 12
Rep Power: 0
energyhigh is on a distinguished road
Re: Images Scroller

hello there flash guru,
i finally used and uploaded the image scroller and it works succesfully on my website on the desired size that i wanted.could you explain me how i could reduce the size of the loader (1/20 etc.) and the color of it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #19 (permalink)  
Old 11-01-08, 07:58
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,488
Rep Power: 6
Flep is on a distinguished road
Re: Images Scroller

Simple, it's a textfield inside of main.fla
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #20 (permalink)  
Old 13-01-08, 21:54
Junior Member
 
Join Date: Jan 2008
Posts: 4
Rep Power: 0
PLUGGER is on a distinguished road
Re: Images Scroller

well after pulling my hair out all day trying to get this to work

i installed flash cs3 to have a look at main.fla, and now when i run this embeded into a webpage i get this error


Quote:
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://www.plugger.info/interbrush/images.xml
at LoadingXML/::loadXML()
at LoadingXML$iinit()
at Main/::loadXML()
at Main$iinit()
can you point me in the right direction

Last edited by PLUGGER; 13-01-08 at 21:55.. Reason: spelling
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

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 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 9 17-11-08 06:31
FullScreen images gallery Flep FlepStudio utilities 3 13-11-08 15:51
unload images karonte Actionscript 3.0 base 2 14-05-08 20:01
Scroll Continuo Images Scroller soteha AIUTO utilitą free 13 29-02-08 12:22
Grey scale images with Actionscript 3.0 Flep Tutorials 0 27-09-07 21:04


All times are GMT. The time now is 18:02.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406