Scrollbar Tutorial Wanted
sup all
im making my site now, its not 100%..
my site is 500*400 pixles and i have a certain area where i want my content to be displayed (text and pictures), so i need a scrollbar.
are there any good tutorials to show me how to make how to make a decent scrollbar (i've made one, but its crap..).
thanks,
-declan
FlashKit > Flash Help > Flash ActionScript
Posted on: 01-23-2004, 02:53 PM
View Complete Forum Thread with Replies
Sponsored Links:
Scrollbar Needed Wanted Very Badly
i'm working on a site that will look better with a scrollbar the one that i have isn't working at all, it doesn't matter what I do, it won't work. And I'm about to throw it out of the window,(iff it was possible) so please please pretty please help me !!!!!!!!!!
the easterbunny
View Replies !
View Related
Tutorial Wanted
few weeks ago i had come across a tutorial to do an animation and after it was animated you can use 3d glasses to view the animation, would anyone happen to know what i am talking about... if not, thanks for reading the post... take care...
View Replies !
View Related
Tutorial Wanted
few weeks ago i had come across a tutorial to do an animation and after it was animated you can use 3d glasses to view the animation, would anyone happen to know what i am talking about... if not, thanks for reading the post... take care...
View Replies !
View Related
Wanted A Thunderstorm Tutorial
I need a good thunderstorm tutorial that someone might have seen or used. I have been searching and haven't found a suitable tutorial. I want to put it on a picture that I have. No movies please just a link to a tutorial.
Thanks in advance.
View Replies !
View Related
Wanted - Good Hot Spot & Hot Object Tutorial
I want some of my questions in my Football quiz to involve the user selecting objects instead of using radio buttons but I cannot find a tutorial.
I need the code for selecting an object, it will then change to show it has been selected and code to go in my 'NEXT' button so that it checks if the object selected is the correct answer. Anyone know a good tutorial you could send me to or can you put the code here.
Thanks a lot
View Replies !
View Related
Nice Transiton Effect Tutorial Wanted
Hi guys
Has anybody some link for tutor. on transition effect made in Flash?
I like this AS mask effect.
http://www.actionscript.org/tutorial...II/index.shtml
I try to play with shapes and make someth. similar by hand.
I would like to make it with shapes, I am not so good in AS.
I want to use it btw. two loaded SWFs.
Thanks in advance
View Replies !
View Related
Scrollbar Doesn't Work (tutorial: Object-oriented Scrollbar)
(tutorial --> object-oriented scrollbar: http://www.gotoandlearn.com/play?id=71).
I followed the tutorials instructions and this is the code that i have now:
import caurina.transitions.*;
var yOffset:Number;
var yMin:Number = 0;
var yMax:Number = sb.track.height - sb.thumb.height;
sb.thumb.addEventListener(MouseEvent.MOUSE_DOWN, thumbDown);
stage.addEventListener(MouseEvent.MOUSE_DOWN, thumbUp);
function thumbDown(e:MouseEvent):void
{
stage.addEventListener(MouseEvent.MOUSE_MOVE, thumbMove);
yOffset = mouseY - sb.thumb.y;
}
function thumbUp(e:MouseEvent):void
{
stage.removeEventListener(MouseEvent.MOUSE_MOVE, thumbMove);
}
function thumbMove(e:MouseEvent):void
{
sb.thumb.y = mouseY - yOffset;
if(sb.thumb.y <= yMin)
sb.thumb.y = yMin;
if(sb.thumb.y >= yMax)
sb.thumb.y = yMax;
var sp:Number = sb.thumb.y / yMax;
Tweener.addTween(content, {y:(-sp*(content.height-masker.height)),
time:1});
e.updateAfterEvent();
}
Does anybody see what's going wrong? I'm a beginner beginner, so all could think of to do is check if everything was typed correct. (i double checked instance names and code). But can't seem te get it to work, nothing happens when i preview swf.
No compilers errors and no syntax error. Tweener class is installed properly. PLEASE help me i've been looking for hours now.
If someone could help me, would be great!!
Sorry for my english, thank you for your time.
View Replies !
View Related
Scrollbar Tutorial
I am looking for a tutorial to create a scrollbar for dynamic text.
I can find many but I am looking for one that does NOT modify the scrollbar height.
Could anyone point me towards one?
Thanks
View Replies !
View Related
Scrollbar Tutorial
Hi
I wanna make a scrollbar -- nicely-looking and smoothly-moving alike. Something like this one: http://www.templatemonster.com/flas...lates/5109.html. Could anyone provide me with some tutorial or at least a fla file?
View Replies !
View Related
Scrollbar Tutorial
Hi
I wanna make a scrollbar -- nicely-looking and smoothly-moving alike. Something like this one: http://www.templatemonster.com/flash...ates/5109.html. Could anyone provide me with some tutorial or at least a fla file?
Thanks a lot
View Replies !
View Related
Scrollbar Tutorial?
I was wondering if anyone knew of a nice scrollbar tutorial?
I want to create a custom scrollbar, the UIScrollBar component looks quite nasty on my site. It doesn't match with the rest of the design.
I noticed that there was a tutorial for this here on kirupa. But I found that tut a bit difficult so if anyone has got another one I would like to give it a try!
So long friends
View Replies !
View Related
Scrollbar Tutorial
Hi
I wanna make a scrollbar -- nicely-looking and smoothly-moving alike. Something like this one: http://www.templatemonster.com/flash...ates/5109.html. Could anyone provide me with some tutorial or at least a fla file?
Thanks a lot
View Replies !
View Related
OO ScrollBar 2 Tutorial
I am a little confused. In this tutorial, in the ScrollBox class, lee has:
sb.addEventListener(ScrollBarEvent.VALUE_CHANGED, sbChange);
Why is the scrollbar listening for an event which is dispatched from it's own class? Shouldn't the ScrollBox class be listening for the event which is dispatched from the scrollbar and then take action accordingly? Just seems reverse from my logic, hope someone can clear it up for me.
View Replies !
View Related
Tutorial For Making My Own Scrollbar?
I'm developing a site in which I have a fixed content area. (My background image cannot repeat.) I originally thought I would just put together some sort of DHTML script with a few layers and some onMouseOver effects. However, I've decided it would simply look and function much better if I did it in Flash. The problem is, I don't know a thing when it comes to Flash. I was hoping to find a tutorial so that I could create my own scrollbar. I'd like this scrollbar to emulate your standard windows scrollbar and be linked to an external .txt file.
Is all of this possible for a newbie?
View Replies !
View Related
°°scrollbar-tutorial At Marcomedia
Hi folks,
I just have a problem with scrolling text in flash. I did exactly what they showed in the tutorial for the scrolling text at macromedia: http://www.macromedia.com/support/fl...ng_text_mx.htm
but it didn't worked. I do not know how to set the rectangle of the textbox into the color black. Do you know what I mean? I am really desperate. I write several lines into my textbox but it doesn't scroll.
Help please
-Attila
Omitofo
View Replies !
View Related
Scrollbar Music Tutorial.
Using this very shiny tutorial, http://www.kirupa.com/developer/mx/volume_slider.htm i am currently wreslting with music for my site. what i wanna do is have the music playing at a middleish volume when the file loads. I managed to get it playing straight away, but the volume was still at the minimum, and when it turns off, it wont turn on again!! i have now reverted to the original code. What do i need to change to get this working? Cheers.
View Replies !
View Related
Using Of Scrollbar In XML Menu Tutorial
I use this XML menu of Kirupa tutorials.
I use the message area (message_txt.text is name of the text field in the source of the tutorial - link above) to display the text on my site.
Now I solve the problem how make the srollbar component (srollbar component of Flash MX) invisible if ist not needed.
Can you help me?
I tried to use this tutorial, but in the http://www.kirupa.com/developer/acti...pdown_menu.htm can I not use it.
Thanks
View Replies !
View Related
Help On Skinng A Scrollbar Tutorial
i was just doing this tutorial. i made the dynamic text and added the scroll component. But when i got the skining part i lost it. It syas you have to open the library to find UI component skins, but when i pressed F11 it opened my libary but the only things in there are the symbols i created such as the scroll component. Please help
thx
View Replies !
View Related
Custom Scrollbar Tutorial
hi everyone
i'm new, and i recently completed the first part of the custom scroll bar tutorial and the file i created had a scroll bar which was out of alignment (it scrolled but started from the middle while the content started at the top). i spent a while comparing the finished source file and the one i had created. and i realised that the "registration" of the components was different. (i think it is called registration).
anyway, to cut a long story short, i automatically had the symbols with the "little cross thingy" in the centre, not the top right.
i originally began the thread to ask for help but then later realised that it was quite easy to fix, just move the graphics around within the symbols.
anyway, i'm not sure who writes the tutorials but i just think that they could also remind the viewer to make registration correct.
View Replies !
View Related
Kirupa Scrollbar Tutorial
Hi there guys...
Im having a bit of a problem with the Flash MX scrollbar skinning tutorial from Phil Barker on the homepage: http://www.kirupa.com/developer/mx/s..._scrollbar.htm
Ive pretty much followed it step by step but some parts are really ambiguous, so i was wondering if anyone could give it a go and send me the .fla for me to work from, or if you have it lying around anywhere just send it to me (please lol)
Cheers...
View Replies !
View Related
Simple Scrollbar Tutorial
Ok first of all I'd like to thank Kirupa for a great tutorial!
This has to do with the Simple Scrollbar Tutorial .
My problem is that, when I add a dynamic textbox into the content mc, it won't show up. Any idea what the cause might be, and if so, what is the fix?
Thanks!
View Replies !
View Related
Simple Scrollbar Tutorial
So i did the kirupa tutorial on simple scrollbar. It works until i extend the flash doc size so that the scrollbar mc is no longer at the top. i imagine this means that the scroll face and the content are not synchronized, but i dont know what changes to make so that they are. I found this problem as i wanted to integrate this scroll bar into a site,
any help would be awesome
thanks
View Replies !
View Related
Scrollbar Music Tutorial.
Using this very shiny tutorial, http://www.kirupa.com/developer/mx/volume_slider.htm i am currently wreslting with music for my site. what i wanna do is have the music playing at a middleish volume when the file loads. I managed to get it playing straight away, but the volume was still at the minimum, and when it turns off, it wont turn on again!! i have now reverted to the original code. What do i need to change to get this working? Cheers.
View Replies !
View Related
This Darn Scrollbar Tutorial
Yeah im trying to take this scrollbar tutorial and it says to draw a text box, but i cant make it vertically larger. what 's the deal? It doesnt say anything about this. Very confused man. scrollbar tutorial
the little white box is on the bottom in the tutorial and mine is at top for some reason. Im obviously a beginner and am trying to learn somethin here. Then when I go to the pointer tool the box dissapears. what the hell?
any input would be greatly appreciated
later,
Johnny1time
View Replies !
View Related
Problem Following Scrollbar Tutorial
Hi all,
I'm an experience programmer, but I'm pretty new to flash.
http://www.gotoandlearn.com/play?id=71
http://www.gotoandlearn.com/play?id=72
I've been following along and learning with some of the tutorials, but I can't quite seem to get the scrollbar to work right. I've written the code in object oriented classes and linked the classes to the library elements, but I am getting an error:
"1046: Type was not found or was not a compile-time constant: ScrollBox."
When I remove the linkage to the ScrollBox and just leave the ScrollBar linkage, the scrollbar works great (moves and everything), but the the content of course doesn't scroll.
Any help here would be greatly appreciated. I'm sure it's one of those stupid mistakes, but I've spent way too long on it and I'm not seeing it.
Thanks,
Dan
View Replies !
View Related
Can't Find A Tutorial On This Kind Of Scrollbar.
I'm trying to emulate the exact type of scrollbar used on mtv2's site (http://www.mtv2.com/#home/) - The one in the upper right in white. I can only find tutorials on other kinds of scrollbars, but I need one that:
-Has a custom interface (not the built-in one from flash)
-Includes the bar in the middle
-Continues sliding when the buttons are held down
If anyone could help me out on creating this, I'd appreciate it. I'm using MX 2004.
View Replies !
View Related
Scrollbar Tutorial, Source Isn't Functioning...
Hello, I just downloaded the source .fla from a text scrollbar tutorial at the following URL:
http://www.kirupa.com/developer/mx20..._scrollbar.htm
But it doesn't seem to work for me when I open it on my computer and try exporting the .swf. I've noticed this problem before when doing another tutorial ... basically, everything seems like it's working except the draggable scrollbar doesn't appear.
I'm sure there's a perfectly simple explanation for this, but I'm kind of a newb with flash. Anyhow, please help. Thanks.
View Replies !
View Related
Tutorial: Simple Custom Scrollbar
I recently created a simple custom scrollbar using the Flash Tutorial found on this site. My scrollbar (and the one in the tutorial) works fine except when there is enough information (for example: text) inside the movie clip contentMain to make its height greater than 1640. Any information that extends below H= 1640 appears invisible when one tests the movie.
Since I am not very versed in ActionScript, I was wondering if any of you who are could check to see if this is an application bug or a problem with the script in the tutorial.
Thanks.
View Replies !
View Related
Anyone Know Of A Tutorial For A Scrollbar That Snaps Content...
Hey guys.. I'm looking for a scrollbar or tutorial for a scrollbar that snaps it's scroll content to various y positions... I have a news list and each item is in a 50px high box, so when I scroll I'd like them to always show exactly 4 items at all times.. so when srolling if you release the scrollbar with an item half in view it'll round it's y position and either snap it up or down into position. Does that make sense? I know I've seen them out there.. yet surprisingly all of my searches turned up empty. Maybe I need better keywords.
Thanks!
View Replies !
View Related
Can't Find A Tutorial On This Kind Of Scrollbar.
I'm trying to emulate the exact type of scrollbar used on mtv2's site (http://www.mtv2.com/#home/) - The one in the upper right in white. I can only find tutorials on other kinds of scrollbars, but I need one that:
-Has a custom interface (not the built-in one from flash)
-Includes the bar in the middle
-Continues sliding when the buttons are held down
If anyone could help me out on creating this, I'd appreciate it. I'm using MX 2004.
View Replies !
View Related
MgPePe`s ScrollBar Tutorial Question
i have just followed this great tutorial (cheers mr. mgPePe) and it works fine...however when i tried to use it inside my movie, inside an mc on the _root timeline the hit test doesn`t work. the mask and the bar resize are working but i get no movement. i have triple checked instance names and tried to change the path of scroll_root, but nothing seems to work...any ideas please??
btw here is the code..
cheers in advance (again)
Code:
var scroll_root:MovieClip = this;
var mouseDownDrag:Object = new Object();
var mouseMoveDrag:Object = new Object();
var mouseUpDrag:Object = new Object();
// Set some variables
sizeMask = mask._height;
sizeContent = content._height;
proportion = sizeMask/sizeContent;
scrollBar._height = proportion*sizeMask;
topLimitScroll = mask._y;
bottomLimitScroll = mask._y + mask._height - scrollBar._height;
topLimitContent = mask._y+mask._height-content._height;
bottomLimitContent = mask._y;
content.setMask(mask);
// If the content is too small and doesn't need to be scrolled on the screen,
// we dont want the red Scrollbar to appear
if (sizeContent<=sizeMask) {
scrollBar._visible = false;
}
mouseDownDrag.onMouseDown = function()
{
if (scrollBar.hitTest( scroll_root._xmouse, scroll_root._ymouse, false))
{
// Figure out the difference between mouse and top point of red
scroll_root.difWithMouse = _ymouse - scrollBar._y;
scrollBar.startDrag(false, scrollBar._x, scroll_root.topLimitScroll, scrollBar._x, scroll_root.bottomLimitScroll);
// Change the way it looks
//scrollBar.gotoAndStop(2);
Mouse.addListener(mouseMoveDrag);
Mouse.addListener(mouseUpDrag);
scroll_root.onEnterFrame = function (){
var scrollMovement = bottomLimitScroll - topLimitScroll;
contentMovement = Math.abs(bottomLimitContent - topLimitContent);
percentageMovement =Math.abs(scrollBar._y - topLimitScroll)/scrollMovement;
var finale = bottomLimitContent - contentMovement*percentageMovement;
content._y = content._y - (content._y - finale)/3;
}
}
}
mouseMoveDrag.onMouseMove = function()
{
// You can put something here, but it is not required
}
mouseUpDrag.onMouseUp = function()
{
scrollBar.stopDrag();
// Change back to normal look
//scrollBar.gotoAndStop(1);
delete scroll_root.onEnterFrame;
Mouse.removeListener(mouseMoveDrag);
Mouse.removeListener(mouseUpDrag);
}
Mouse.addListener(mouseDownDrag);
View Replies !
View Related
Simple Custom Scrollbar (Tutorial Error)
Hi. I've spent a lot of time through these tutorials the past year. I was working on the Simple Custom Scrollbar tutorial today and noticed an actionscript error. However I don't know how to fix it. If anyone knows the answer I'm curious.
The Problem:
The exmaple on the tutorial page works fine. However when the scrollbar tutorial is completed the up arrow button automatically scrolls the movieclip all the way to the top. This happens even if the button is pressed just for a moment. I've checked the code many, many times (that's where I usually mess up) and the code is the same as the tutorial. So if anyone knows the solution to the code problem I'd be very grateful to know.
Thanks
View Replies !
View Related
How Do I Get Clear Text, In Scrollbar Content, From Tutorial?
i followed this guide: http://www.kirupa.com/developer/flash8/scrollbar.htm
On how to make a scrollbar (But i only want to use it for text).
The bar works perfect. But here is my problem.
If you look at my page http://www.datacomm.dk
you will see that the text below "Welcome" is perfect clear.
But the text inside my scrollbar area is Static Text, and isnt that clear..
Everytime i change the text inside the Scrollbar graphics, to Dynamic text, or Device font, it just dissapears. It only appears when i choose "Static Text".
Can anyone help mw with this, and get the same clear text, as in the "Welcome" box?
Thanks
View Replies !
View Related
Simple Scrollbar Tutorial And Dynamic Text
Thank you very much for providing the tutorials on this site. I have found them very helpful and easy to understand.
But now I have a problem.
I have worked through the simple scrollbar tutorial and got the scrolling text to work even when customising the scrollbar myself but my problem comes when I try to scroll dynamic text. Static works fine but the text area is blank in my movie if I scroll dynamic text. I want the text to be dynamic because I want to use CSS styling so I also worked through the Using CSS styling tutorial. This is fine on its own but when I combine the two, the text doesn't appear.
Before I upload my flash file for further help, I wonder if there is something very obvious that I am missing that I should have added or be doing (so obvious it isn't mentioned in the tutorials).
Thank you for you help
Lisa
View Replies !
View Related
Object-Oriented Scrollbar (Lee's Video Tutorial)
Hello People.
im trying to use Lee-s Object Oriented ScrollBar.
all is ok and scroll bar works in my swf file,
but i need to load this swf into another, when i'm trying to do this i got this error
Code:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.leebrimelow.ui::ScrollBar$iinit()
did anyone got same problem?
View Replies !
View Related
Object Oriented Scrollbar 2 Tutorial Question
In lee's latest tutorial I get the following error
5001: The name of package 'com.leebrimelow.ui' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:Documents and SettingsAdministratorDesktopFlashActionscriptcomleebrimelowuiScrollBarEvent.as
View Replies !
View Related
Dynamic Text With Scrollbar Tutorial: Image Problem
Hi,
Thanks for the great tutorials! Ive followed the Dynamic text with scrollbar tutorial which has worked fine and I have intergated it into the site I am building.... The site is AS2 flash 8.
However the dynamic text needs to include images. I am able to successfully render simple HTML tags, but for some reason I am unable to include images using the <img> tag. Then to make things even muddier, when I run the site locally, the text wraps itself around the missing/invisable images, but when I run the site online it does not.
I cant think what the problem is.
Thanks in advance,
Julian
View Replies !
View Related
Scrollbar Tutorial: Html Appears In External File
hiya!
i've used your great "external file with scrollbar UI component" tutorial. text appears and scrolls. thanks alot!
but i want to use the allowed html in the external file: bold, a href, font, etc.
i'm horrified to see that even with the html option selected, when you attach the scrollbar UI to the textfield, the html reverts to code! no bold text but the html code displays! yikes!
any workarounds?
tia,
f
View Replies !
View Related
Loading Extrenal Text Into The Custom Scrollbar Made In Kirupa's Tutorial.
Well, that title was a mouthful...
Anyways, I've tried five different tutorials for laoding external text now, and none of them work with the custom scrollbar.
What i currently have is a dynamic textbox in the content movieclip in the scrollbar.
the code for the frame is:
Code:
myData = new LoadVars();
myData.onLoad = function() {
myText.text = this.content;
}
myData.load("menucontent.txt");
And yes, the textbox has a instance name, and a variable name.
Does anyone know what I'm donig wrong?
View Replies !
View Related
Small Problem With Tutorial "Dynamic Text With Scrollbar"
UPDATE: my bad, included .fla now...
Hey guys, hope this will be a quick fix...I'm terrible at explaining problems, but heres goes.
I've been following the tutorial "Dynamic text with scrollbar" in the tutorials section.
http://www.actionscript.org/tutorial...ar/index.shtml
It works perfectly, except the "scroll box" starts above where it should. if someone could have a really quick look through the FLA, I'd reallllly appriciate it. I'm sure it's something really simple...
Thanks in advance for your time...
View Replies !
View Related
|