MovieClip ScrollBar

I had to made a scrollbar for a movieClip created by ActionScript. All that ended with a function:
ScrollMc(MovieClip2Scroll, ScrollBarMc);
It supports all movieClip (at least I hope, tell me if not) and you can have multiple scrollbar over multiple MC (multiple scrollbar for one MC also work).
[kml_flashembed movie="http://www.metah.ch/blog/image/sampleScroll.swf" height="300" width="400" /]
Download source + exemple
This function also needs a movicClip, which contain the Scrolling graphics.
You can resize and reposition all Scrolling graphics, as it is totally actionscripted.
There are still improvements to do, I’ll fix it later.

[kml_flashembed movie="http://www.metah.ch/blog/image/ScrollMc.swf" height="400" width="450" /]

You can find other scrolling method for movieClip,
Kirupa published a good tutorial with source
.
On webxadmin.free.fr, another source

6 Comments

  • Metah Blog: Freelance Webmaster Geneva, Switzerland Powered by WordPress Entries (RSS)

  • RconR007 wrote:

    Your download link its broken.

  • Updated, thx.

  • [...] 話は戻りまして、Metahさんはblogも書かれていて、FlashLite2関連のエントリが結構あります。 また、スクロールバーのサンプルを公開されてます。僕のスクロールバーセットも無駄にしたくないので、その違いを挙げておくと metahさんのスクロールバー: ・スクリプトはクラスとして外部asファイル化。 ・スクロールバーの取っ手(トグル?)部分の高さは不変で、コンテンツの高さによって、スクロール移動量を変化させるタイプ。 僕のスクロールバー: ・スクロールバー背景の部分をクリックした時のコンテンツスクロールが滑らか。 ・上下カーソルを押したときのコンテンツスクロールも滑らか。 ・あえてflaファイルにスクリプティングし、皆さんで改造しやすく心掛けた? ・コンテンツの高さとマスクの高さの比率でトグル部分の長さが変化するタイプ。 デザイン変更のしやすさとかは同じぐらい、どちらも簡単。 [...]

  • [...] Feeds that reference kirupa.com uploading files using filereferenceSource:www.beedigital.net Jan 04, 2007 1:04 a.m.Analysisthe ability to upload files to a server from flash was one of the most requested features added in flash 8. flash implements this ability through the filereference class. this tutorial will serve as an introduction to the uploading features of the class and hopefully the example provided will help you on your way towards building your own uploadcapable applicati…[more] cest noel Source:blog webdesign-tutoriaux com Nov 14, 2006 2:20 a.m.Analysis…r lheader de webdesigntutoriaux par un header flash qui rappelle la priode dans laquelle nous arrivons. pour faire ces effets jai utilis 2 tutoriaux le premier pour leffet de neige qui tombe sur kirupa.com et lautre pour leffet de neige qui saccumule sur freegaia.com. au passage jai perdu les statistiques du site et la boite recherche qui apparaissaient dans le headerfaut que je mette au boulot…[more] as3 where is my onreleaseoutsideSource:www.arpitonline.com Nov 05, 2006 7:30 p.m.Analysisthis is the most annoying point i have reached with as3 yet. as3 does not have an onreleaseoutside event something i really needed for a menu to hide if the user clicked away from it. one implementation that i did find here involves a deeper understanding of the event bubbling mechanism. my own implementation is simpler and i just listen to a global application mouse click and see if my menu is d…[more] constant inspiration constant researchSource:www.pfpaug.org Sep 08, 2006 12:23 p.m.Analysisi recently had a speech at the art institute of philadelphia speaking to their freshmen class incoming bright eyed students eager to enter the world of media development. these are the tips i came up with for anyone starting out or seeking inspiration.reading writing and arithmetic were the foundations upon which most of us were taught when we were kids. learn the 3 rs your teacher says to you. w…[more] clone instances and keep class referenceSource:www.richapps.de Aug 29, 2006 2:03 p.m.Analysiswhile checking out the socket class i found a cool little trick. iam sure everyone knows of the possibility to clone an object with the help of the bytearray class. this method was introduced at least to me by senocular here. the function looks like this function clonesourceobject var copierbytearray new bytearray copier.writeobjectsource copier.position 0 returncopier.readobject the…[more] getting started with flash game developmentSource:troygilbert.com Aug 28, 2006 4:15 p.m.Analysisokay im going to make this quick and to the point. ill leave digging up all the details to the interested reader but that shouldnt be a problem with the likes of google etc. ill go into more detail about each element of flash game development in later posts but first for some basic concepts the flash ide by this i mean the originaltraditional flash authoring tool released by macromedia now ado…[more] as tip of the daySource:www.playfool.com Aug 01, 2006 6:43 a.m.Analysisactionscript 3.0 tip of the day from kirupaforum……[more] how to severely pwn a n00bSource:darkmotion.com Jun 19, 2006 12:36 a.m.Analysis1. wait for him to attack members of a highly respected forum 2. let him make the first move by inflating his ego 3. accept the challenge 4. pwn him here is the fun httpwww.lightning1.comforumviewtopic.phpt17……[more] how does qumana help youSource:howto.qumana.com Jun 07, 2006 9:24 a.m.Analysisrobert scoble based on a post by jonathan schwartz put up a very thoughtprovoking piece today entitled the problem facing every tech company which asks the question how do you reach the unreachable masses to see and use your technology so question 1 is how do you reach your customerquestion 2 appears in a comment by kirupa asking what everday problem does your product or service solve kirupa ri…[more] ripped 2.0Source:darkmotion.com Jun 02, 2006 8:05 p.m.Analysisyep it is happening again read……[more] ripped 2.0Source:darkmotion.com Jun 02, 2006 8:05 p.m.Analysisyep it is happening again read……[more] ciekawe miejscaSource:tomaszsroka.com May 15, 2006 5:27 a.m.Analysis….chwilami.pl mac.chwilami httpmy.opera.comwojwitblog httpblog.fotogenia.info httpwww.macnews.pljoomla httpstipule.wordpress.com reklama httpwww.frederiksamuel.comblog blog fryderyka tutki httpkirupa.com flash tutki……[more] fixing the flashembed issueSource:www.davidbisset.com May 10, 2006 5:55 p.m.Analysisstraightfoward steps to not using the embed tag for flash and get around the horrible ie functionality that now exists for flash movies…….[more] flash eolas fixSource:artlung.com May 08, 2006 12:13 p.m.Analysiskirupa.com fixing the flashembed issue this script worked on a project that may actually launch sometime soon. see also click to activate and use this control i kinda like flash. i kinda dislike it too. like all programming environments and languages it sucks but can also do cool stuff…….[more] movieclip scrollbarSource:www.metah.ch May 05, 2006 5:37 p.m.Analysisi had to made a scrollbar for a movieclip created by actionscript. all that ended with a function scrollmcmovieclip2scroll scrollbarmc it supports all movieclip at least i hope tell me if not and you can have multiple scrollbar over multiple mc multiple scrollbar for one mc also work. download source exemple this function also needs a movicclip which contain the scrolling graphics. you ca…[more] wheels magazineSource:feeds.feedburner.com Apr 22, 2006 4:43 p.m.Analysisi would resize it if i thought anybody reading this would mind. im sure everybody has a decent internet connection thatll read this hehe…….[more] ripped..Source:fadedpixel.com Apr 04, 2006 2:06 a.m.Analysisseems like one of our subscribers has been ripping off fadedpixel pretty damn bad. link here hmmmm what to do……[more] ripped..Source:fadedpixel.com Apr 04, 2006 2:06 a.m.Analysisseems like one of our subscribers has been ripping off fadedpixel pretty damn bad. link here hmmmm what to do……[more] flash re silnik do grySource:forum.webesteem.pl Apr 04, 2006 12:00 a.m.Analysisautor bayer wysany 2006.04.04 1030 gmt 2 temat odpowiedzi 1 przeszukaj tutoriale forum kirupy. jest tego qp i w rnych odmianach…….[more] smooth moves part oneSource:www.flow14.com Mar 19, 2006 2:17 p.m.Analysishow to create seamless nonlinear transitions in flash this tutorial demonstrates how to smoothly transition between external swfs. this is similar to a method described at kirupa but its a bit simpler. example download the file the fla is fully commented but if you have any questions feel free to post them here…….[more] flash related links i dug upSource:vorpal.cc Mar 11, 2006 2:41 p.m.Analysis… neither do i open source flash osflash found via a slashdot post adobe labs not entirely flash but there are some interesting betas and alphas here. they also have a public wiki. very cool. kirupa.com found this while looking for something else but it looks interesting. they have some decent tutorials. publishing to flash 8 with swfmill and mtasc create flash applications with content …[more] Feeds and posts are not affliated with ://URLFAN. They are displayed here simply for informational purposes, if you would like to remove your feed please contact us. [...]

  • [...] Metah Blog » Blog Archive » MovieClip ScrollBar [...]

Post a Comment

Your email is never shared. Required fields are marked *