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




Make The Browser Scroll Bar Scroll A Flash Text Box?



Is there anyway that javascript can detect when and which scroll bar button is clicked? I want to use javascript to make the browser scrollbar scroll a flash textbox.



FlashKit > Flash Help > Flash ActionScript
Posted on: 06-30-2003, 02:41 AM


View Complete Forum Thread with Replies

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

How Do You Make Your Browser Window To Scroll To Top?
Hi there, I am working on a flash site where the user scrolls down in their browser to view all of the content, the problem is that when the user goes to the next page of the site the browser is still scrolled down to the bottom and so they have to scroll to the top of the page to view the content they must read first.

Is there any way I can avoid this without using scroll bars in flash or is there a way i can reset the scrollbar of the browser the flash site is being viewed in?

Thanks for any help guys,
Hectors

Could Someone PLEASE Tell Me How To Make This Text Scroll?
i've tried a million different things on my own, and sought help here with no luck.... PLEASE, can someone tell me how to make this text pane scroll??.... and i can't use external txt files.

i pulled the nec. essential elements from my original file and created a new sample file that is attached. i just need the text that displays in the "info" panel to scroll so the user can read all info contained.

PLEASE help......this is driving me absolutely crazy!!

thanks in advance

Can't Make Text Scroll
I'm something of a beginner to Actionscript, so I followed EXACTLY the directions in Learning ActionScript 2.0 in Adobe Flash to create scrollling text areas in my Flash site. The text does not scroll at all, and, on one of the pages, only one line of the text is showing up. Can someone help, please?

How Do I Make Text Scroll
Hi,
I want to create scrolling text similar to this website: http://www.christianlouboutin.fr/
If you enter the english site and then click on 'biography' which is the photo frame you will see what I want to achieve.
There's a slider on the right hand side which you can move down or up to view the text. It seems realy smooth and just glides - if you get what I mean.

Can anyone point me in the right direction. Maybe a website with a tutorial for idiots or even book that I can go out and buy with really good examples on how to acheive this.

Any help/advice greatly appreciated.

Many thanks in advance

Michael

Scroll Bar Show Up If Needed And Only Scroll To Dynamic Text Input Bottom... HOW
I have attached a copy of my scroll bar that i am currently using how can i make the scroll bar not show up unless needed (really not all that important but would be nice.)

The important thing is that i can setup a dynamic text box inside my item_holder movie clip but my scroller always scrolls to the bottom of the scroll box not matter if inside my scroll box i have on line of text loaded dynamicly or i have 100. So if i have 1 line of text and a large dynamic text box the scroll bar will scroll to the bottom of the scroll box even though it only has one line. See attachment and see if anyone can help. Thanks in advance. Brian

Make A Text Scroll Work...
how can i make a text scroll work in a swf file loaded in another swf file...for example i have the index.swf, and the text.swf , this last have a text scroll,and i want the text.swf loads into the index.swf.with all working well.

How D U Make Text Scroll Along The Footer?
eg. say the word "wrighteous"

first the "w" would appear then the "r", the "i" and so on.

Make Text Scroll In A Circle
how do you do this? Anyone know of a thread i can check out that explains how to use a circle as a guide for text to follow.

Here's what i'm trying to accomplish. I'd like to create a simple looking interface over a jpg.

to better illustrate this here's a link of what the interface would look like:

http://ianleelucero.com/sampleflash/followthecup.jpg

so according to the picture the text would come out in a switch blade kind of fashion.

sound simple enough? i will keep trying on my part to make this work. and thanks for any responses.

ian

Make Text Scroll Automatically?
I need to make this flash text scroll automatically. It calls on a txt file, but they want it to scroll automatically, and stop scrolling when the mouse is over it. can anyone help me?

viewable here at the left side

http://lakewood.teamcreate.com/dev/featuredhomes.htm

fla downloadable here

http://lakewood.teamcreate.com/dev/leftside_list.fla

[MX] How To Make Scroll Bar Text Fade In
Hello,

I'm trying to figure out how to make a text box with a scroll bar that fades in. I've figured out how to have text that fades in (I just converted it to a button...that might be cheating), and I've figured out how to make scrolling text (but I can't figure out how to make a scroll bar). But I can't get scrolling text with a scroll bar to fade in.

Here's what I've got so far:

www.carr-toons.net

I'm trying to do my bio section like my publications section, if you're not exactly sure what the heck I'm talking about.

Thanks in advance! I'm sure I'll be back when I finally get around to doing the gallery.

PS- I should probably mention that I'm on a mac.

Can't Seem To Make A Simple Scroll Text...
Hi,

I'm trying to do a simple scroll text in Flash, but with or without components it doesn't work. The idea is to have a scroll text that will change according to the menu item that is pressed. Ok, I made a movie clip that has a dinamic text and 2 buttons - I adapted this from a fla file. The text is to be imported from a txt file. So, in the main scene ( where the effects are, etc. ) I placed the movie in a new layer. In another layer, called actions, I wrote the code:


Code:
loadVariablesNum("intro.txt", 0);
I test the movie and although the text area has the ID name of the variable in the intro.txt, nothing happens.

In another try, I used the ScrollBar component. That worked; only, when it reached the end of the timeline ( at least I think that's the reason ), the Scrollbar would return to the initial state as for the text...

I'm really a newbie in Flash - even if the effects I was able to create surprised myself. I think my problem is not understanding movie clips and timelines ( as for scenes ).

Please, can someone help me out?

Kind regards,

Kepler

How To Make A Scroll Bar That Not Only Holding Text ?
I know how to make a scroll Bar for a box of text, but now i want to make a scroll Bar that is for a big box of information, pictures and text (just like the window[screen] 's scroll Bar, the one always on your right hand side of your screen) Can somebody help me plz !!! (i m making it for a flash website !!!)

Thank you !!!!

by Ryan...

How To Make Text Scroll Smoother
Can anyone help me make my dynamic text box scroll smoother? My Flash document is set at 30fps and I use the 'onEnterFrame' method so surely the text should scroll smoothly?!

My movie is at http://www.joesmalley.com/news/news.html and the source is at http://www.joesmalley.com/news/news.fla

Or is it because of the text length that's jerking the scrolling?

Scroll Text > Button > Load Txt File > Reset Scroll Bar...?
Hi i am looking for a tutorial or an explanation of how you can load an external text file into a text field and have...let's say 3 buttons that load the .txt files...when they are loaded...i want the scroll bar to be reset to the top of the text field/box....

any help...welcome...

ta...tiger...

Linking Text Buttons In Scroll To Image Outside Scroll Area
Hi,
I am desperately hitting my head against a brick wall - so please help me!

I have created a flash area that is divided up with an image on top and a scroll area under.

I am trying to get the text buttons in the scroll area to each change the image above and cant seem to get it to work because of the masking.

I have tried heaps and heaps of different ways and am going crazy!

PLEASE HELP ME!!!!


thanks,
kova

How Do You Make Dynamically Loaded Text Scroll?
How do you make dynamically loaded Text scrollable? I tried it to load text into a dynamic text box and add a scroll component but that don't work. Any Ideas?

Make Text Scroll While Mouse Pressed
Hi all,
I couldn't find anything in this issue,
I'm trying to get my text filed to scroll the text while the mouse button is pressed,
instead of pressing it one time after another.

I want it to be control like a normal scroll like in the system (Windows/OSX)

i did the part of reduce and increase the text.scroll to +1 and -1 and the text is moving good but like i just said i want it to scroll all the way up or down until the mouse button release.

I've tried if() and while() and i get errors all the time.
i hope someone can help me on this

Thanks!
Macpire

P.S I'm on MX2004

How Do You Make Text Change Color As You Scroll Over It?
For example on www.drakebell.com there they have his name and as you scroll over it, it changes. Does anyone know how to do that on FLASH?? if you can please email me at argh_imma_pirate@yahoo.com ASAP! thanks! =]

How Do You Make Text Change Color As You Scroll Over It?
For example on www.drakebell.com there they have his name and as you scroll over it, it changes. Does anyone know how to do that on FLASH?? if you can please email me at argh_imma_pirate@yahoo.com ASAP! thanks! =]

Make Text Auto Scroll + Blur In Same Top & Bottom
Dear all,

How can I make text field auto scroll and blur in top and bottom.

like thisclick here

it's in bottom right.

Thank.
Best regard,

Scroll Browser From Flash
I would like to have a button in flash, when clicked to makes the browser scroll to the top of the flash movie.

I have a flash movie that is 1600 pixels high. So when the movie moves to different frames, I need to have the top of the movie be shown automatically (verses showing the bottom half of the movie which might be blank).

Flash And Browser Scroll
Hi,
I want a background MC, height [20], width [screen-width], yposition bottom of the Browser window.
When the visitor scrolls up or down the Browser, this background clip should always stay on its fixed yposition, at the bottom of the Browser.
So on Scroll it would permanently update its yposition.
Is this possible?

Thank you for your help.
Luciewong

Text + Image Scroll Function With Scroll Bar. Help
Hi, tring to create a scrollable text window that can also include different text colours, styles, links and images. I have tried a few tutorials but they only seem to work with dynamic text without different colours, styles, links and images. is there an easier solution i can use..

Please help

Scroll Text With Image In Scroll Panel ? Help
Hi,

I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.

I need help to show dynamic text also in scroll pannel.

Thanks

Scroll Text With Image In Scroll Panel ? Help
Hi,

I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.

I need help to show dynamic text also in scroll pannel.

Thanks

I Found A Great MC Scrollbar, Now Help Me Make It Scroll Dynamic Text Too.
I found this great draggable scrollbar that scrolled an MC. It works like a charm and is very snazzy. What I would like to do is have the same daggable scrollbar on my dynamic text fields. Is this possible, and if so, what in the script below would I have to change??

The way I have my dynamic text fields is a very simple:code: loadVariables("bla.txt", ""); Then have the texfield have a var. called 'text' and then have the actual .txt file start with text=blablabla

Anyway, here's the script for the draggable scrollbar:
code: fscommand("allowscale", "false");
bar.useHandCursor = dragger.useHandCursor=true;
space = 50;
friction = 10;
speed = 10;
y = dragger._y;
top = main._y;
bottom = main._y+mask_mc._height-main._height-space;
dragger.onPress = function() {
drag = true;
this.startDrag(false, this._x, this._parent.y, this._x, this._parent.y+this._parent.bar._height-this._height);
dragger.scrollEase();
};
dragger.onMouseUp = function() {
this.stopDrag();
drag = false;
};
bar.onPress = function() {
drag = true;
if (this._parent._ymouse>this._y+this._height-this._parent.dragger._height) {
this._parent.dragger._y = this._parent._ymouse;
this._parent.dragger._y = this._y+this._height-this._parent.dragger._height;
} else {
this._parent.dragger._y = this._parent._ymouse;
}
dragger.scrollEase();
};
bar.onMouseUp = function() {
drag = false;
};
moveDragger = function (d) {
if ((dragger._y>=y+bar._height-dragger._height && d == 1) || (dragger._y<=y && d == -1)) {
clearInterval(myInterval);
} else {
dragger._y += d;
dragger.scrollEase();
updateAfterEvent();
}
};
up_btn.onPress = function() {
myInterval = setInterval(moveDragger, 5, -1);
};
down_btn.onPress = function() {
myInterval = setInterval(moveDragger, 5, 1);
};
up_btn.onMouseUp = down_btn.onMouseUp=function () {
clearInterval(myInterval);
};
MovieClip.prototype.scrollEase = function() {
this.onEnterFrame = function() {
if (Math.abs(dy) == 0 && drag == false) {
delete this.onEnterFrame;
}
r = (this._y-y)/(bar._height-this._height);
dy = Math.round((((top-(top-bottom)*r)-main._y)/speed)*friction);
main._y += dy;
};
};

There were up/down arrows, but I removed those just to have the dragger and the bar.

Many thanx in advance...

IE Browser Issues With Flash Scroll
I built a scrolling image for the front page of a site. On my Mac IE it's fine, on my Dell IE 6.0 I get the first 6 images coming in as streaks, on my PC at work, IE 6.0 it's fine. These are all the same versions (or so I think!) of IE yet it displays differently on some....blurring the first 6 images. Any help is much appreciated....the page is on my free web space for testing:

http://home.earthlink.net/~lorikaplan/index.htm

Browser Scroll Bars For My Flash Web?
I'm working on a web made with flash mx 2004. When I set up the html file properties to percentage 100x100 and without scale the browser scroll bars dont show up... Any ideas on how can i fix it?

...........thanks......(sorry 'bout my english....jijijijij)

Make Scrollbar Componet Not Visible If Text Length Less Than Scroll Pane
Need help how can i count text rows/length to check if less than scroll pane(dynamic text area). If less set property of scrollbar to false visibility?

THANX ALL..........

How To Not Scroll The Web Browser When Using The Mouse Wheel Over A Flash App
how to not scroll the web browser when using the mouse wheel over a flash app


i have a flash app custom scrolling bar type thing in my flash app.


i want it to work with the mouse scroll wheel, it works, but the web browser also scrolls with the mouse wheel.


how would i stop the web browser from moving?

HOW TO MAKE A SCROLL BAR IN FLASH?
Hi all!
I want to make a scroll bar in my flash screen. How can I do that??? Can any body help with the Code Snippet??? Its urgent
mAINA

Make Scroll Bar W/o Flash's
how would i do such a thing? and is there any way i can have a button and traget them to that scroll bar window..kinda liek i frames?

Make A Movie Scroll In When One Button Is Clkd N Scroll Out When Another Is Clkd
ok heres the thing...

im fairly new to the whole flash thing, i can do the really basic stuff...

but theres one thing i cant get my head around...

on the site i am creating, i have a menu (6 buttons vertical)

on each button click it loads a different page...

i have the pages set to scroll in from the right in a movie...

what im wanting is that so when u click a different button (for a different page) it will scroll the page in view out again...and then sequencially scroll the page in question in...

(am i making any sense)

ive looked all across the forum and cant find anythign remotely relating to what im after...and also tutorials/user uploaded movies etc on this site and still nothing...

i know its possible because ive seen it done else where...

if anyone has any sites...or any example movies of what im talking about please could i see them...im in serious desperation here :S

Thanks...

Goa

Flash Movie Size And Browser Scroll Bars
I have 2 flash movies. The background.swf is simply a background that has been set as 500pixels wide and 100% high. I am loading the main.swf flash movie ontop of the background.swf. Now.. here is my problem. When the browser is resized, I want the browser to recognize the dimensions of the main.swf instead of the background.swf because the browser only shows the scrollbars when the window is resized to a size smaller than 500pixels wide, ignoring the height since its set at 100%. I want the scroll bars to show up when the browser is sized smaller than the main.swf movie size which is 500px wide and 700px high.

thanks!!

If Browser Window Is Smaller Than Flash File.. Scroll?
Hey I've seen this done before.. Maybe it's Javascript or something. But if my flash file needs to be 1000/700 and the person's browser size is say 800/600, how do I make it so it scrolls?

Full Browser Flash & Minimum Height Scroll
I've got a full browser swf, and it's working fine across all browsers. However, for the folks still running 800x600, some of the lower content on some pages gets cut off,.. as expected. My goal is to set a minimum height and minimum width so if someone shrinks their browser window to a smaller height & width the browser scrollbars will appear.

So far I've been able to get it to work in everything but IE (pc). I've tried using css's min-height and min-width on a div containing the flash object. It works great... but IE and Safari don't support that. So I tried the table method found here: http://cms.beaver82.com/ and it doesn't work either. They must be using some sort of specific function inside the .swf??

So, if anyone has any ideas.. it'd be greatly appreciatted. Thanks in advance!

Flash Movie Size & Browser Scroll Bars?
I have 2 flash movies. The background.swf is simply a background that has been set as 500pixels wide and 100% high. I am loading the main.swf flash movie ontop of the background.swf. Now.. here is my problem. When the browser is resized, I want the browser to recognize the dimensions of the main.swf instead of the background.swf because the browser only shows the scrollbars when the window is resized to a size smaller than 500pixels wide, ignoring the height since its set at 100%. I want the scroll bars to show up when the browser is sized smaller than the main.swf movie size which is 500px wide and 700px high.

thanks!!

HELP: Trying To Add A Scroll Bar To So User Can Scroll Text
HELP

Hi Guys!

I am in need of help! I am using Macromedia Flash MX 2004 pro, and trying to create on online portfolio for my work.

I have a section which has a large amount of text and would like to know how to set up a 'scroll' bar. So the user can scroll the text like at the side of the a word document. I have set up a mask so the text is contained but thats as far as i have got!

If you know how or know anyone who could help me PLEASE REPLY!!

MANY THANKS PHIL

How Do I Scroll Text And Images With The Scroll Bar
Hi

I am stuck and have never used the UI scrollbar . How would I scroll images alongside text with the UIscrollbar. thank you very much..... I Really need someones help

Browser Scroll Bar And Back Button In Full Screen Flash Site
How can I use the scroll bar and back button on a full screen flash site?
thinkswedish.com is a good example
I want to have the browser scroll bar if the swf content is bigger then the screen
and I want to learn how to implement back and forward buttons

Where can I find out more about those two thing? I need to implement that functionality in a project that I' working on right now

[FCS3] Make Scroll Wheel Work On Flash Site
Yea i have a vertical scrolling flash site. How do i enable the scroll wheel on the mouse to work, because currently users must use the scroll bar to go down. Which is just not convenient or user friendly.

Scroll On Browser
Hi.. i want to know how to remove the scroll lines from the browser IF i make the movie not only in the center of the browser ... but in the whole browser , and whenever you restore the browser and make it smaller , the movie getting small also , and if i changed the screen display from 800x600 to 1024x768 the movie get bigger as it was befor ... what i mean that there is no changing whatever the browser look like ... and if you want to see what i mean .. check out this site ( http://www.eye4u.com ) and THEN CLICK (( Click here to enter our site )) ... inside you will see what i mean , hope you can help me with this, thank you very much.

Browser Scroll Bar
I would like to have my swf fill the browser window and but incorporate a scroll bar in the browser window that scrolls the flash contents. Similar to this...

http://www.mutabor.de/#/de/white/h/0/0/

Can anyone help me?

Thanks

How Can I Get Rid Of The Browser Scroll Bar On The Right Using Html?
Can anyone suggest a script that will remove browser scroll bar?

Thank you for your help!!!!

Ismar

Auto Scroll A Browser?
Where going to a new scene, is there a way to get the browser to scroll to the top?

Browser Scroll Color
How do I change the scroll color for the browser? not the scrollber in my flash movie or scrollpane but the global html browser??

Scroll Bar And Browser Window
Dear Flash Guru:

I have decided to create a vertical scroll-bar showcasing pictures that I had taken. At the same time, I would of liked for people to see each picture individually in a separate window browser once they clicked at that certain picture for a much closer detailed look. I thought at first I had figured it out, which I sort of did, but not to my advantage. The first thing I did was arranged all my pictures vertical and then added a masked layer and final a scroll button which worked perfectly. But in order for the scroll bar to have worked, I grouped all the pictures and made it into one big clipmovie.I decided to do it separately afterwards when I realize that I couldn't convert each individual picture into a button. Now, I have no idea what to do and if I separate them the scroll bar won't work. If you can help me I'd appreciate it very much.

It Possible To Reposition On Browser Scroll?
I have a flash file thats 1200px tall. When loaded into a browser many people have to scroll up and down. Well is it possible to reposition a movieclip inside of that flash file based on the browser window itself is scrolled?

I have something I want to stay in view at all times and when I scroll down it goes out of view.

The flash file is not resizing and cannot resize.

is that possible?

Thanks

FBF Using Browser Scroll If Swf Is Too Small
Subject pretty much says it all. I've been around the internet a million times looking for this answer. I've seen some sites pull it off so i know it can be accomplished.

Right now I have a FBF that uses a scroll code (written in Flash) if the window is smaller than the specified height. The only problem with this is that if the user is on IE two scrollbars appear that would indefinitely confuse the user, even tho the browser scroll is disabled.

I want to know how to use the browsers own scrolling to enable once the flash is below is below a specified height/width ( the flash move file size ).

Any ideas? Comments? Every answer is apprecited.

jamiller

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