Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Custom Scrollbars



How do you make custom scrollbars in Flash MX?



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 07-20-2003, 04:07 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Can You Help Me With Custom Scrollbars?
I would like to make a custom scrollbar for a site I am working on but just can't find a tutorial that will show me what to do. I tried using the one that flash comes with in the components section but it does not fit with the site at all. I am including a pic which will show you exactly what I refer to.

I would be most delighted if you could help in any way. I know it must be possible because I have seen custom scrollers on various sites.

Thank you

Custom Scrollbars
I figured out how to make a dynamic, scrolling text field, but now I want to have a scrollbar other than the one flash automatically gives you. I know how to make custom buttons for scrolling, but I want a full bar with a slider, all with my own images. Does anyone know how to accomplish this? Thanks.

Custom Scrollbars
I need an .fla file if someones got it for making a custom scroll bar TO CONTROL DYNAMIC TEXT without arrows, and just the track and the bar. also, could someone tell me how to load a text file into dynamic text.

Custom Scrollbars For An MC - Pls Help
Hi all,

Hope you can help me out here. My problem is that I want to create custom scrollbars for the browser window and I want this scrollbar to be inside the swf movie. There is an example of this at: http://www.subdisc.com

But that's not all. The reason I want to do this is to get the cool "up" effect you get if you press one of the UP buttons under the images. (which I also need help with)

I'm guessing this is achieved by putting "the entire site" within an MC and getting the available Stage width and then apply this to some custom scrollbar, but actionscript isn't my strong side so I don't know how to code this. And I have no idea of how to achieve the up button effect.


Would appreciate any kind of help
Thanks in advance

Ca You Help Me With Custom Scrollbars?
I would like to make a custom scrollbar for a site I am working on but just can't find a tutorial that will show me what to do. I tried using the one that flash comes with in the components section but it does not fit with the site at all. I am including a pic which will show you exactly what I refer to.

I would be most delighted if you could help in any way. I know it must be possible because I have seen custom scrollers on various sites.

Thank you

Ca You Help Me With Custom Scrollbars?
I would like to make a custom scrollbar for a site I am working on but just can't find a tutorial that will show me what to do. I tried using the one that flash comes with in the components section but it does not fit with the site at all. I am including a pic which will show you exactly what I refer to.

I would be most delighted if you could help in any way. I know it must be possible because I have seen custom scrollers on various sites.

Thank you

Custom Cursor And Scrollbars Don't Mix
i have a custom cursor on my flash page and i also have a scroller and when the custom cursor tries to drag or click the scroll bar down it disapears. I realy need some help on this one.

Custom Scrollbars - Any Help Would Be Great
Ive been meaning to learn how-to do this for a while now, any suggestions of tutorials or help would be great

The site below has some good examples of what Im trying to do with dynamic textfields inside in or outside a movieclip:
http://www.nemesiscorporation.com/version2.htm

Component Custom UI -> Scrollbars?
Does anybody know how to make a custom UI for a component with scrollbars only when needed?

Like e.g the MX 2004 'MediaDisplay/Playback' component UI's only have scrollbars in the panel when nessesary and correct themselves when user changes the panel size.

--------------------------------------------------
Im working on custom UI for a component. I manage to get it scrolling, even relative to the document height and width (using Stage.width) see http://www.patrickjansen.net/temp/UI.zip

Then I try the custom UI out on the component itself. But when increasing or decreasing the area/size of the component parameter panel, the custom UI apparently does not detect width/height change. rescaling down cuts most of the UI off.

Does anybody know how to use code to get the widht/height properties for the Flash program Component Parameter panel?

maybe using JSAPI?
--------------------------------------------------

t.i.a for sugestions
P.

Component Custom UI -> Scrollbars?
Does anybody know how to make a custom UI for a component with scrollbars only when needed?

Like e.g the MX 2004 'MediaDisplay/Playback' component UI's only have scrollbars in the panel when nessesary and correct themselves when user changes the panel size.

--------------------------------------------------
Im working on custom UI for a component. I manage to get it scrolling, even relative to the document height and width (using Stage.width) see http://www.patrickjansen.net/temp/UI.zip

Then I try the custom UI out on the component itself. But when increasing or decreasing the area/size of the component parameter panel, the custom UI apparently does not detect width/height change. rescaling down cuts most of the UI off.

Does anybody know how to use code to get the widht/height properties for the Flash program Component Parameter panel?

maybe using JSAPI?
--------------------------------------------------

t.i.a for sugestions
P.

Custom Scrollbars In MX2004?
Is it possible? (using images for text scrollbars, I mean) I've looked and looked for a tutorial on this and all I've found is "changing the scrollbar components" and articles on how this isn't possible in MX2004. So can it be done? Surly it can, why would Macromedia remove the ability to do this?
Any ideas?

Thanks in advance

Creating Custom Scrollbars?
Ok, this is kind of a two part thing.

1.) How can i create a custom ScrollBar? I have seen tutorials on how to scroll text, but thats only with basically two buttons. It does not have an actual scroll bar.

2.) I am actually more concerned on scrolling a movieclip. Like i am making a website and there is a section for the main pages. Lets say it is 300x300 pixels. Now some of the MovieClips are much bigger than 300x300 pixels, and i would like to scroll that bigger movieclip. That would make it so i dont have to increase the size of the space given for the movieclip, you can just scroll it if it is too big.

Make sense?
Links/Tutorials would be awesome, Thanks!

Custom Browser Scrollbars
hello all

anybody know how to create a custom browser scrollbar like this:

http://www.aeiko.net/

thanks

$

Custom Browser Scrollbars
hello all

im hoping somebody can tell me how this great bit of flash was creted. its the custom browser scroll bars.
pleas see here:http://www.aeiko.net/

many thanks
s

Custom Preloader/Scrollbars......
Would someone mind teaching me how to make custom preloaders and scrollbars like the ones found here:
http://www.hallofjustus.com

Or at least point me in the direction of a good tuturial? Thanks a heap.....

Custom Browser Scrollbars
hello all

can somebody please tell me how to create my own custom browser scrollbars like this:

http://www.aeiko.net/

thanks

s

[F8] Dynamic Text And Custom Scrollbars
Hi,

I'm trying to have a dynamic loaded text scroll with a custom made scrollbar...I've managed to get the txt file to load into the Dynamic Text field instance name descText I've created all the elements of the scrollbar inside a movie clip (track, scroller button and arrow buttons) with instance name scroller.

Now I don't know how to actually get the scrollbar to scroll the text, I've done a couple of tutorials but they either use a static text with a custom scrollbar or if it's a dynamic text the scrollbar is a component...but not dynamic text and custom scroller, I've tried to tweek either codes and it doesn't work

Thanks for any suggestions

Custom Scrollbars For IFrames In Flash?
A graphic designer wants me to build a website with a fancy looking iFrame
within the home page without the typical scrollbar. She wants it to have
little dots on the right with a slider button that will make little clicking
sounds as the the scrollbar mouses over each dot. Is it possible to build
something like that in Flash? If so, are there any tutorials anywhere? I'm
somewhat of a Flash novice. Thanks.

More Help Needed Custom Scrollbars Etc With Components.
Hey,

First of all I wanted to thanks lost in beta for the help with my last question. Everything worked out perfectly.

Now, I added some scrollable text using the mx components. I have lots of experience with adobe photoshop and other raster programs. So I was wondering if there are anyways to tweak the scroll bars/buttons etc that flash automatically uses, with some of my own, preferably without going through too much trouble.

Thanks in advance again.

Chris

Help With Scrolling Dynamic Text And Using Custom Scrollbars To Scroll It
Hi all,

Thank you for the interest in my post.

I have been having real serious problems with making dynamic text and making custom scrollbars to scroll the text from a .txt file. I've had a look at the Macromedia tutorial on their site and searched for an appropriate tutorial but just can't follow it as it doesn't say which frames etc. to put the code in as I'm new to MX - I either need step by step instructions for someone or need someone to make it all for me so I can see can check out the code and visually see how it's done.

Would it at all be possible if I gave someone an .fla with my custom scroll buttons and tracker etc. for them to make the dynamic text and add the code etc. and e-mail it back to me so I can fully see how it's done please.

You will get full credit for your work on the site and a link to your site - this site is for a signed band here in the UK so the hits are likley to be very high too. If you can help me, please put your e-mail address as a reply and I'll send you the fla.

Thank you very much for your assistance - if you can help me with this, it will be very much appreciated. I hope to hear from you.

Take care,

Mark

Horrizontal Custom Scrollbars .,. Can I Change Vertical Code For Horizontal
hi if any of you use Itunes youll know there is a sort of jukebox scroller


i just want to create the horrizontal s.b. can i just change some of {this} code to make it horizontal{ive uploaded what i have so far}

Javascript - How To Change Scrollbars Into Image Scrollbars
Hello. How do you change the html scrollbar (the one that you see in the far right of your browser) with your own images? I know it's possible because i've seen it before. Thanks.

P.S.: I am aware of and I know how to change the color of the scrollbar. That is not what's expected. Also i think it's made possible by Javascript.

Are There Any Tutorials About Creating A Live Preview And Custom Icon For Custom Flash Components
Hi
I need tutorials about the custom components and how to make a live preview for them and also custom Icons,
basically I want to know if we can put an swf in the live preview field and when we are in the design view of the component that I can interact with the swf like click it and show a copyright message (all at design time not run time of the component)?

and about the custom Icons, flash asks for Fireworks PNG and when I put mine it does not show in the library???

thanks.

Custom Tabbed Menu Needing Custom Event?
Hi everyone,

I managed to solve my flash asset problem I was having last week and successfully created a for loop to loop through an array and make me my animated tabbed menu.

A brief explanation of what's happening... I have built an animated tab (animated with AS3 tweening) so when a user rolls mouse over it makes the tab image pop up from below the text then on roll out it makes the tab image drop back down again.

What I'm trying to achieve is when user clicks on tab it will keep the tab image behind it, but when the user clicks another tab it runs the animation that drops the currently selected and maintains the one just clicked.

current creation code is below.


Code:
// create main menu tab components
for (var i:int = 0; i < menuArray.length; i++)
{
var menuTab:MainMenuTab = new MainMenuTab();

tabContainer.addChild(menuTab);
menuTab.x = i * 106;
menuTab.setLabelText(menuArray[i]);

// event listeners
menuTab.addEventListener(MouseEvent.CLICK, tabClickHandler);
What is happening is I make an instance of menuTab then add it to the 'tabContainer' which is a standard flex canvas on the stage, it then obviously assigns the spacing, sets the label (public function inside flash swc). The click handler is then added which runs a public function inside the flash symbol to get the tab to stick to the top and not drop down.

Now I really can't get my head around how to get the tabs I'm not clicking on to respond to the click. I can obviously get the one I am clicking on to repond no problem by going through 'event.currentTarget' but I need to also tell the rest of them to check to see if they are currently selected, if they are then to drop down so I don't have more than one tab selected at a time.

I have tried having a public var that acts as the selectedIndex and sending that to the flash component, but again the problem is getting the other tabs that aren't being clicked the data and to do something and I have no idea how to reference them?!

Anyone please help? Is there some way I can loop through the children of the flex canvas or something?

Custom Cloting Design (Custom Tailor Store)
Hello ,
i want to develop a project for designing custom Dress Shirts.
like there will be different objects (buttons, half sleeve , full sleeve , etc)
clicking the objects or drag them to working Area , will make the full shirt ,

Like custom Tailor Store ,

Is there any thing similar any body has seen ? (any open source)
if not then how can i make it .

Any help will be really Appreciated ,

Regards.

Custom Lines Like Custom Brushes In Pshop?
Is it possible to create custom lines in mx04 in much the same way you can setup a custom brush in photoshop?

Custom Cursor + Custom Scrollbar = Problem
Ok, this is the thing: I made a scrollbar in flash, just like I made a cursor. the cursor only works when I set the settings to flash < 6 and as soon as I use the scrollbar while also using the cursor, it stops working. i suck at AS-ing and any help would be greatly appreciated.

~YF220

PS: .fla included.

Custom TreeItemRenderer Removes Custom Component
Hello,
I have created custom TreeItemRenderer in which i am trying to draw colored Hbox bar at each node except root. Intially when i click on root node it opens first child node with bar but when i open leaf node it does not showing bar and removing existing bard from other few child nodes. Its calling itemrenderer on mouseonver eventhough i have disabled. I am attaching code would please any one help me to resolve this issue.
Attaching Code here

package Adodbe.renderers
{
import flash.display.DisplayObject;
import flash.events.Event;
import flash.events.MouseEvent;

import mx.collections.*;
import mx.containers.HBox;
import mx.controls.Label;
import mx.controls.TextInput;
import mx.controls.treeClasses.*;
import mx.core.UITextField;

public class PercentCorrectTreeRenderer extends TreeItemRenderer
{

private var hBox:HBox;
private var barHBox:HBox;
private var itemLabel:Label;
private var textBar:Label;
private var fillBar:TextInput;

// Define the constructor.
public function PercentCorrectTreeRenderer()
{
super();
}

override public function set data(value:Object):void
{
super.data = value;

var treeItem:Object = TreeListData(super.listData).item;
if(!treeItem) return;
if(treeItem.Element && treeItem.Element == "Root")
{
this.setStyle("styleName", "percentCorrectTreeSection");
}
else
{
this.setStyle("styleName", "percentCorrectTreeSectionItem");
}
}

override protected function createChildren():void
{
super.createChildren();

label.addEventListener(MouseEvent.CLICK, onLabelClick);
label.addEventListener(MouseEvent.MOUSE_OVER, onLabelMouseOver);


barHBox = new HBox();
fillBar = new TextInput();
textBar = new Label();

fillBar.editable = false;
fillBar.styleName = "barStrengths";

barHBox.addChild(fillBar);
barHBox.addChild(textBar);
barHBox.setStyle("paddingLeft",200)

this.addChild(barHBox);
}

override protected function measure():void
{
super.measure();

var w:Number = data ? ( listData as TreeListData ).indent : 0;

if ( disclosureIcon )
w += disclosureIcon.width;

if ( icon )
w += icon.measuredWidth;

if ( label.width < 4 || label.height < 4 )
{
label.width = 4;
label.height = 16;
}

if ( isNaN( explicitWidth ) )
{
w += label.getExplicitOrMeasuredWidth( );
w += barHBox.getExplicitOrMeasuredWidth( );
measuredWidth = w;
measuredHeight = Math.max( barHBox.getExplicitOrMeasuredHeight( ), label.getExplicitOrMeasuredHeight( ) );
}
else
{
label.width = Math.max(explicitWidth - ( w + barHBox.getExplicitOrMeasuredWidth( ) ), 4 );
measuredHeight = Math.max( barHBox.getExplicitOrMeasuredHeight( ), label.getExplicitOrMeasuredHeight( ) );

if ( icon && icon.measuredHeight > measuredHeight )
measuredHeight = icon.measuredHeight;
}
}

override protected function commitProperties( ): void
{
super.commitProperties( );
}


override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
{
super.updateDisplayList(unscaledWidth, unscaledHeight);
barHBox.setActualSize(barHBox.getExplicitOrMeasure dWidth(),barHBox.getExplicitOrMeasuredHeight());

if (icon)
icon.y = (unscaledHeight - icon.height) / 2;
if (disclosureIcon)
disclosureIcon.y = (unscaledHeight - disclosureIcon.height) / 2;

var treeItem:Object = TreeListData(super.listData).item;
if(!treeItem) return;

if(treeItem.Element && treeItem.Element == "Root")
{
this.label.text = treeItem.Title +" - "+treeItem.NumberCorrect +" correct ("+treeItem.PercentCorrect+"%)";
barHBox.visible = false;
fillBar.setStyle("borderStyle","none");
}
else
{
if(treeItem.children.length > 0)
{
this.label.text = treeItem.Title +" "+treeItem.NumberCorrect;
fillBar.width = Math.round((200 * Number(treeItem.PercentCorrect))/100);
fillBar.height = 15;
textBar.text = treeItem.PercentCorrect + "%";
fillBar.styleName = "barStrengths";
barHBox.y = disclosureIcon.y - 5
}
else if(treeItem.children.length == 0)
{
disclosureIcon.visible = false;
this.label.text = treeItem.Title +" "+treeItem.NumberCorrect;
fillBar.width = Math.round((200 * Number(treeItem.PercentCorrect))/100);
fillBar.height = 15;
textBar.text = treeItem.PercentCorrect + "%";
fillBar.styleName = "barStrengths";
barHBox.y = disclosureIcon.y - 5

}
}
}
private function onLabelClick(event:Event):void
{
var obj:Object = event.target;
}
private function onLabelMouseOver(event:Event):void
{
var obj:Object = event.target;
}



}
}

Any help would much appriciated.
Thanks

Scrollbars=no?
hi ive got a javascript on my new site that opens it up fullscreen but theres one thing

when i put scrollbars=no in the features bitty scrollbars still appear

help

Scrollbars
hi

i was just wondering how i can insert a scroll bar in flash so it can scroll down to all the lines of text?

thanks

Scrollbars
About Flash driven websites:
Does Flash in any way support scrollbars when text blocks are too long ( as in html ) ?
If not I am afraid this is a serious problem in Flash sites containing lots of text....

Help Me - Scrollbars
Hi,

I am developing a chat application, in which i got a problem with scrollbars. what i am trying to do is, there are two text boxes one is a input textbox, where v type msgs...another one is dynamictextbox, where all the chatting content is to be displayed. The problem with this is, i am not able to scroll the content in the dynamic text area. I have used MX component for dummy text area in which the dynamic text area is initialised with some content.

does this scroll bars work only when we initialise the text area ?
then what about in my case ? as i am dynamically adding text to it, then how can i scroll it ?

u got it ? what im talking abt ?

I just want to create a window something like yahoo Instant Message window..my problem is, i dont know how to create that text area with scrollbars...upon receving/sending messages...it shud add those msgs and accordingly the scrolling shud happen.thats all..

plz help me...i got stuck up with this thing.

Thanks a looot in adv,

Still Got Scrollbars
.....Ok I have a gallon of gas and a match. Im about to smoke this pc. Third lil prolem I run into in building this thing today.
Ok www.gulottas.com/rewards/index2.html
I dont want scroll bars in that center frame. It will not need them, and its the perfect size. Its made for 1024 resolution. I will have a redirect script for those who have other. Can someone help with this scroll problem?

Scrollbars?
Is there a way to have a scrollbar in flash 5?
ive tried using mx and publishing it in 5 but it dosent work.
if anyone can help, it would be a life saver.
thanx.

Scrollbars
got it

Scrollbars And Pop-ups
i was wondering how i would design scrollbars and pop-ups within flash to use on a website.
pop-ups i would like for picture enlargements

other things i'm not sure on are:
forms in flash.
i would like to use forms for a forum type page, if not possible in flash, could someone tell me how to do it in HTML, coz i really cannot be doing with getting a free on and having banners and pop-ups all over the place.
and one more thing, a mailing list form. where a person will enter their email address in a box and when the submit button is pressed a box appears saying 'thank you, please check your mail for a conformation' or something along those lines, with a standard layout email being sent to the address.

i will be very grateful if someone could point me in the right direction.

Jim

MX Scrollbars
how the piss do you get the scrollbar to work in mx?!? I read the qasim post and that didnt help me....

Scrollbars With MX
How do I make a simple scroll bar that scrolls text in Flash MX? Can you give an example?

Thanks

Scrollbars
Trying to create my first page using Swish. Running into problems creating the scrollbar and text fields, eg, forms to submit a resume.

Help!

Scrollbars
How do you make custom scrollbars without using the flash components?

Thanks,

:// Bryan

Scrollbars
Hi, i'm new to flash, using Flash MX, and need to ask a question. I have a dynamic text field, and the scrollbars from the Flash UI components from the windows>components menu.
How do I make the scrollbars conect to the Text field?

Please help, ive tried to figure it out but can't.

Need Scrollbars In The SWF
Guys, I load an external swf in the container by clicking on the button. The external swf is bigger than the container, i want the scrollbars or buttons (work like scroll bars) so that i can see or read the bigger swf.

Scrollbars
I haven't been able to find a flashkit tutorial that explains how you can make it scoll continuously when you click on the scroll button. If it helps, my scrollbar is custom made because the default one is ugly and doesn't match my site. Can someone please help? Thanks.

Scrollbars
How do I customize the scrollbars that appear on textboxes in Flash? Ideally, I would love to be able to make my scrollbars look like the ones on the character bios page on http://www.familyguy.com/

Thanks!

Scrollbars
Hi,

I have used one of those adobe photo gallaries. The gallary uses javascript and Flash to view images. It works fine, but I can't scroll down the page eventhough it's long. So the bottom of each image doesn't appear.

Is there any way I can do to enable scrollbars? (javascript!!)

Thank you,
E

Scrollbars
I tried to attach a scrollbar to a movie clip which contains images where in they can scroll it down to see more. But I have an error which says something like scrollbars aint for movieclips but for textfields. I tried to search the Web but I couldnt find any help. Is there anyone out there who knows about this matter. I need to scroll this images, but i dunno how, any tutorials where you can link me to?

Scrollbars
I am wondering about scrollbars.. When I publish a normal movie with html in flash 2004 pro, it doesnt have a scrollbar on pc's! I have tried IE and Firefox, but to no good, I made it on a mac and a scrollbar shows up on the mac.. Any ideas? Also I heard that it should be possible to change the colour of the scrollbar, how is this done?

Thanks

Scrollbars
Newbie here,
I have been hacking my way through a website design using Flash CS3 and Actionscripts 3.0 and have hit a stumbling block.

I have used a instance of the UIScrollbar component attached to the right side of a dynamic text block. Locally it works in IE but when I view the page via Safari or Firefox web browsers my scrollbars do not work. You can see the scrollbar without the slider and use page up/down.

When uploaded IE works about half the time but Safari and Firefox will not activate the slider.

Is there something I need to add to my flash file to make the scrollbar work properly? if you go to http://www.photoesque.com/index_new.html, click on portraits then information you can get an idea of what I am asking about.

Thanks
Earl - ke5hdn

ScrollBars?
hi,

how can I add scrollbars to a movieclip?

thanks
olivarra1

Copyright © 2005-08 www.BigResource.com, All rights reserved