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




Scrolling With Flash...



Is there a way to make it so that you can scroll up and down using the scroll ball on your mouse with flash?

I know on html sites I can scroll just fine, but on my site I try to scroll up and down but I can't. Is there a fix for this?



FlashKit > Flash Help > Flash General Help
Posted on: 08-15-2004, 05:40 PM


View Complete Forum Thread with Replies

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

Using Flash Scrolling Text Box To Create Scrolling Schedule
Hi All,

For work, I'm creating a PowerPoint presentation which needs to include a really long schedule. I wanted this schedule to crawl up the screen. I thought of doing this part in Flash and inserting it into the PPT. Has anyone had luck with this sort of thing using PPT and Flash? Is there a better strategy. I have CS3 Web and Production and will be doing this portion of the project this weekend and thought I'd ask some pros. Is there another CS3 product that might be better. I am more Familiar with After Effects but haven't used it for anything quite like this before.


Thanks!

Flash Script - Scrolling Menu With A Scrolling Background
This is a dedicated thread for discussing the SitePoint article 'Flash Script - Scrolling Menu With A Scrolling Background'

Scrolling Flash Pane On Scrolling Web Page
This is a repost, but I've still not figured out a solution.

I have a Flash movie that appears on a webpage. The Flash contains scrolling content ( scrollpane, text field, whatever).

The containing webpage is tall, and therefore also has scrollbars.

My Problem: When users try to use the MouseWheel to scroll through my Flash scrolling data, the browser page scrolls as well. It's very annoying.

I would like to be able to have the MouseWheel scroll my Flash scrolling content when it's over the flash, but scroll the webpage when it's not over the Flash.

Does anybody know a way to supress wheel-based browser page-scrolling while my mouse is over a Flash movie??? Is there a way to eat/stop propagation, whatever, of the wheel event in the brwoser, either from Flash or from Javascript?

Simple /:xpos Scrolling, However Load External .swf When Scrolling Stops
Hi guys I need some help with a simple horizontal slider. (See attached)
Basically I have a horizontal slider with 3 buttons which make the slider go to a specific position using:

on (release) {
/:xpos = -376;
}

Now what I want to happen is that when the button is pressed I want it to load an external .swf movie (say video.swf onto level 1)

I have tried just adding using:

on (release) {
/:xpos = 0;
loadMovieNum("video.swf", 1);
}


which just loads the movie and then scrolls. However I need it to be the other way around. It scrolls to the location and then loads the movie.

I would really like it to use some type of statement telling it that if xpos = -350 then load .swf onto level 1 and if xpos has not yet reached -350 to do nothing.

However the major principal is to get the scroll and then the load, rather than the other way around.

Cheers
Dom

Scrolling Text Field That Stays Scrolling On Rollover
on (rollOver) {
mytext.scroll--;
mytext.maxscroll = x;
}

Here is my code, you have to keep clicking the button to scroll the text field, how do I code it to just have the mouse rollover the button and the text field will continue to scroll automatically? Thanks.....

Fancy Scrolling, Need That Slidy Scrolling Effect For Text
Can anyone point me to a tutorial where the textbox speeds up and slows down the scrolling when u hit the arrows...kinda like www.jossstone.co.uk

On Press Scrolling Problem. Scrollbar. Scrolling. Button
How do I make this actually work for on press? It works fine for when you just click it, but the on press function doesnt work.

thanks for any help.




on (press) {
textbox.text._y += scrollVal;
if (textbox.text._y>upperLimit) {
textbox.text._y = upperLimit;
}
lineLoc = slider.line._x;
linelength = slider.line._width;
slider.handle._x = ((textbox.text._y/lowerLimit)*lineLength)+lineLoc;
}

How To Smooth The Movement (scrolling Background And Scrolling Menu ) ?
hi! i'm new here and also a beginner in flash.. i need some help on how to smooth the movement in my flash project.. scrolling background with scrolling menu.. i got this script from a tutorial and i did some adjustment on it.. but somehow both the background and menu movement are not smooth as i want. its kept jerky along their movement. this is the script that i use to move both background and menu.. hope someone can help me to repair or to alter this script.. thanks! =)

//scrolling background with scrolling menu
//when mouse moves left, background and menu moves right

if ((_xmouse>-0.5) && (_xmouse<230) && (_ymouse>-0.1) && (_ymouse<450)) {
_root.back._x =_root.back._x +6 ;
_root.menu_mc._x =_root.menu_mc._x +10 ;
}

// when mouse moves right, background and menu moves left

if ((_xmouse>400) && (_xmouse<616) && (_ymouse>-0.1) && (_ymouse<450)) {

_root.back._x =_root.back._x -6 ;
_root.menu_mc._x =_root.menu_mc._x -10 ;
}
if (_root.back._x>1309.5) {
_root.back._x = -79;
}
if (_root.back._x<-697.8) {
_root.back._x =679;
}
//----------------------------------------------
if (_root.menu_mc._x>1200.5) {
_root.menu_mc._x = -99;
}
if (_root.menu_mc._x<-730) {
_root.menu_mc._x =569;
}[/size][/size][/size][/size]

(quickie) Scrolling HTML Field Not Scrolling To The End
Hey guys and girls,

I've got some data from a file displaying in a wrapped, HTML textfield. text is formatted and appears as expected but as i try to scroll, it only scrolls one line down and stops.

the maxscroll property returns 5, and the scroll goes down to 2 and for some reason won't go further down.

but, and here's the fun part driving me f*3%# nuts... if i select the field and then use arrows, i can scroll it that way... but then once i've done that, the buttons work too. I tried using the selection object .. but nothing... and i've turned off the HTML and seen that scroll (probably coincidently) would have a maxscroll of 2.

so question is... what the ****? how can i get thing to work? thanks world. peace.

Question: Text Scrolling Vs. Clip Scrolling
I'm working on a scrollbar right now, and have it working quite nicely for scrolling a movie clip. But I began to wonder, which is better, scrolling a clip with text or scrolling the text itself?

Any thoughts on this flash community?

Personally, I like the fact that you can implement easing and get a smooth scroll by scrolling the clip, but then again, with the scroll wheel now available for the text scrolling, that's cool too.

Anyway, just curious on everyone's thoughts on this. Which do you like to see when you visit a site?

Automatic Scrolling On Mouse Over For Text Scrolling
hi all, ive made a scrolling text box with an up and down button as listed in the tutorials. i know how to make it move 1,2,3,etc lines at a time when the mouse is over but what code/variable do i need to replace the number with to make the text scroll continously as long as the mouse is over it?

thanks
bast

Stopping A Scrolling Thumbnail Scrolling On Its Loadup?
Firstly hey all hope you can help me with what is hopefully an easy question.

Firstly I've made a vertical scrolling verison based on the actionscript of this Tutorial. However because of the lopped motion Tween it begins scrolling instantly after its loaded. I want it to load frozen until the mouse is rolled-on is there anyway in actionscript or by editting the tweens to make it this possible???

This link is an example of my thumbnail scroller (sorry for the shameless self promo of my website!)
http://seantooley.com/pages/Scars&Sp...sGallery15.htm

This is a link to the tutorial I used (tutvid.com) Though it was good!.
http://www.youtube.com/watch?v=2TrIQ...1DBDD6&index=5

Lastly the actionscript if it helps. which I hope someone can! I would be a very grateful man to whoever can provide the answer !!

_root.onEnterFrame = function(){
if(_root._xmouse<240) {
myVar=false;
}
if(_root._xmouse>2) {
myVar=true;
}

if(_root._ymouse<13 and myVar==true) {
ImageBar.prevFrame();
}
if(_root._ymouse>445and myVar==true) {
ImageBar.nextFrame();
}
}

Thanks again Sean Tooley

Scrolling A Dynamically Created Mc (rollover Scrolling)
I've been trying to find a way to do this for a while...

Anyone have any good tutes, examples on creating the horizontal scrolling menu with dynamically attached clips? the style where if the user mouses over the right hand side of the menu it slides left, etc?

there's lots of tutes out there for simple scrolling but not much that take a dynamically sized clip into consideration!

thanks for any input.

Scrolling Photo Gallery But Not Flat Scrolling, Please Help Out
Hey everyone...

First off all, I thank you all to read my first thread in this website and also thanks Kirupa to give me chance to learn from you all masters.

As I am designing a website in which I am stuck where there is a flash script required. I am looking for a script which makes a small 5 to 6 Image scrolling photo gallery.

My problem is I don’t want flat gallery I am looking for a gallery which shows the perspective image coming from a deeper wall (e.g. image attached). In this Image below asume gray is a piller and the image have to scroll from the deep part of the piller in perspective.

Hope you guys and gals can help me.. I'm really stuck here.

Thanks
Rupesh

My Scrolling Pane Won't Stop Scrolling OnRollOut...
I'm having trouble getting the scroll to stop, and can't find a problem in the code. It's in a movie clip called "timeline."


Code:

panel.onRollOver = panelOver;
function panelOver() {
   this.onEnterFrame = scrollPanel;
   delete this.onRollOver;
}
var b = stroke.getBounds(timeline);
function scrollPanel(){
   if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax){
      this.onRollOver = panelOver;
      delete this.onEnterFrame;
   }
   if (panel._x>=-900) {
      panel._x = -900;
   }
   if (panel._x<=-3100) {
      panel._x = -3100;
   }
   var xdist = _xmouse-0;
   panel._x += Math.round(-xdist/7);
}


You might notice that I have timeline specified in the var b bit of code, which was the only way I could get it to scroll smoothly - otherwise, it scroll jerky and only a few hundred pixels.

Scrolling In FLASH 4... Can Anybody Help?
Okay henchmen! Listen up! I am working in Flash 4 and want to have two scroll buttons that will move a movie clip up and down only on the y-axis. Basically, how can I tell flash to move a certain symbol up and down (how do I specify its position and how can I add/subtract to this value in order to move it?)? Also, it would be great if someone could help me out on the Drag 'mouse follow' effect thingie, but again, only on one axis, and using Flash 4 actionscripting! Thanks in advance!

Scrolling In Flash 5
HELP!!!!!

im new at this and i dont know hpow to scroll make scrolling text
can anyone tell me step by step??
i have been using flash for 1 week now and am stuck.

like i said step by step any help will be appreciated

thank you

Flash 5 Scrolling
I have created a scroll bar template using all clipEvents where everything is based on _y positions and heights, and FINALLY got all(almost) of the bugs out. But to my disdain, if the text or images, which are contained in the scrolling MC, is longer that flash 5's workspace, it just gets cut off when you scroll to that point in the swf.

The code is pretty long for this so I am hope I am being clear enough without having to post it.

Any help or info would be greatly appreciated.

Thanks

Flash Scrolling
is there an action in flash that can keep a movie clip centered in the middle of the stage so when it moves up (for example), so does the stage.

Scrolling In Flash?
Hi, i have a large piece of text that needs to be scrolled in flash (about 600-700 words). I know how to produce a movie clip tweened in order to give the illusion of the text scrolling up and down using masking etc, and also the method of using actionscript at the _y property.

These, however, with a large piece of text cause the text to move ridiculously slowly and in turn the rest of the movie cloggs up (even on my high spec machine) and it is generally, a poor user experience.

What is the BEST way to do something like this in MX? There must be something designed for longer pieces of text. Anyone point me in the right direction?

Flash Scrolling
I am new to flash and would like to know how I can put a scrollbar in a flash site. I know that in Flash MX there is a scrollbar component but that is just for dynamic text (so I understand) but I am looking for a way to add a vertical scrollbar so that I can scroll my site down. Is there a way? Could someone at least point me in the right direction.

Scrolling In Flash
I want to do a very simple scroll, but it seems that i can only find complicated tutorials. All i want to do i have a series of images, and an up and down arrow. When clicked i want them images to scroll according to the button. Any help on this please?!!!!?!?!?!

Flash Scrolling Bar Help Please~~
hi, i am making a Flash site for my school as a project. with my layout, i dont get enough room to put alot of infomation. so i want to add a scroll bar (if one even exists in flash )

how do i add/make a scroll bar for my flash web page?

if its simple enough, please give me the codes (which so far people gave me codes) or if its too long, please direct me to a webpage that teaches me how to make it.

thanks for your time~~!!!!

Flash - Swf Scrolling
Hi all,
Have a deadline and really want to know the following:

I am doing a website with basic navigation buttons.

The website is for a business and is text heavy. Each page has differing lengths of text, so I have set each page up with the same width.

Under the comand of modify, I have only changed the length of each page where there is a lot of text. My theory was that when I published the flash, I would get a scroll bar on the side - Is this possible.

I know I can make a scroll bar within a text box and have dynamic text, but I really want the whole page to scroll.

Could anyone sugest in laymans terms to me if this is possible or am I only dreaming?????

Um is there a piece of code I could put in the actions to make this happen and if so where do I put it?

Sorry If I explained that badly.
I hope someone out there can help a retard.

Flash RTS Scrolling
I was wondering if the following scenario would save reasources.

Im making a small RTS (Real Time Strategy) game and I was wondering if I made it so that when building and units go off the screen they are removed from the stage and there coordinates would be stored in an array with what they were and then if you scroll back over an area that would bring the unit or building back into view it puts in back on, before your scroll over that area.
Then I could still move them arround by calling there coordinates in the array.
I hope that makes sense.

What do you guys think?

Scrolling In Flash
Hello, I am building a commercial site and have a few problems. Both of witch I think can be fixed by scrolling. I need to use actionscript to scroll the internet explorer window. Here is why:

My flash page is longer than the average web browser is tall. So, the obvious solution is for the user to scroll internet explorer to see the rest of the flash object, but once the user has activated the movie clip, the scroll button on the mouse no longer works. This is a problem. Second, if a user does scroll to the bottom of the page, and clicks on a link that takes them to a later frame in the same scene, it takes them to the same "scroll position". I.E. they are now looking at the bottom of the new page, when they should be looking at the top. My website can be found at http://www.deerparkselfstorage.com. Any help would be appreicaited here.

[CS3] Flash Scrolling
hi

i want to have a scrolling calendar similiar to the one at
http://www.nba.com/raptors/ (on the left hand side)

i cant figure out how to do it because i only know how to make it scroll forward...but how do you make it scroll backwards. im not sure if your supposed to use reverse frames or not...anyone have any insights or ideas that might help me out?

thanks
Ratman84

RSS Scrolling Bar In Flash
I am wanting to make a rss news feed that scrolls over the bottom of the movie. I want to create it dynamcially with an xml file. The user that creates the xml can make this what ever size they would like it to.

Does anyone know of the best way to accomplish this?

Scrolling XML In Flash?
Hi everybody

I've been playing around some more with external XML, thank you whoever helped me with this, and I've run into a... relatively big problem. I've made this blog sort of thing, where it lists updates from the most recent to the least recent. These things are contained in an XML file. However, I stick a scrollbar on it, and I can't scroll!
Does it have something to do with not being able to scroll using external XML, is the scrollbar not working correctly, or am I messing it up myself?

Here's what the xml looks like:

Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<totalUpdates>
<update>
<date>15.07.06</date>
<time>18:43 PM</time>
<message>YES! HACK-U IS IN THE SYSTM! YEH!</message>
<sender>hack-u</sender>
</update>
<update>
<date>15.07.06</date>
<time>18:45 PM</time>
<message>the intruder has been caught and set on fire. all is well.</message>
<sender>patrick j. derieg</sender>
</update>
<update>
<date>01.08.06</date>
<time>16:31 PM</time>
<message>how come no one is at the meeting?</message>
<sender>patrick j. derieg</sender>
</update>
</totalUpdates>
I also included all the files.

Please help me out...

Patrick J. Derieg

Scrolling In Flash...?
Hi - Im designing my own portfolio and im just stuck at the moment in the development stage.

On one of the pages i wish to have a scroll bar to scroll down and up. I can make a scroller work on a text box, but that that can only store text in it. Is there a way i can have a scroller which will scroll down with images and other stuff???

Please - Help me!

ben

Flash And Scrolling
Hi there,

Just a simple question really. It doesnt really seem commonplace to create flash movie that make use of the browsers scroll bars.

I want to create a flash site with a HTML feel and i want the page to extend below the static browser space, so the user will have to scroll.

Ive noticed that its really commonplace to design flash sites that are completely static in the browser, ive not seen any that make use of the browser scrollers.

My question is, is it ok to make flash movies that are bigger than the static browser space or does this cause any sort of problems???

thanks

Scrolling In Flash...?
Hi - Im designing my own portfolio and im just stuck at the moment in the development stage.

On one of the pages i wish to have a scroll bar to scroll down and up. I can make a scroller work on a text box, but that that can only store text in it. Is there a way i can have a scroller which will scroll down with images and other stuff???

Please - Help me!

ben

Scrolling Down In Flash?
Hi ,

I have been asked to code a site which has a lot of information . Therefore they will need to scroll down to read all the stuff . Can you do this kind of website in Flash or is it best to tackle in HTML?
Kind regards
Melissa

Scrolling In Flash MX
i dont even know where to begin,
how do i start ?

Scrolling In Flash :(
Hey there guys thanks for taking a look at my post,

Im having trouble getting my scroll to work, here is my fla file:

www.avidandpetro.com/actions.fla

i've been following this tutorial:
http://www.flashkit.com/tutorials/I..._-559/index.php

currently here is what my scroll is setup to do:
the button is :
on (press, dragOver) {
scrollUp.gotoAndPlay(2);
}
on (release, releaseOutside) {
scrollUp.gotoAndStop(1);
}

this calls this movie which on frame 2 is:
currentScroll = _parent.windowtext.scroll;
max = _parent.windowtext.maxscroll;
if (currentScroll> 1) {
_parent.windowtext.scroll = currentScroll-1;
}
frame 3 is goto and play frame 2
frame 1 is stop

any ideas?

Thanks
-Pete

Scrolling Flash
Hi eveyone i just join the fourm, and im new to flash I have three images scrolling across the stage I want the first image to start onto the left side of the stage as the last image leaves the right side of the stage stage. can anyone help?

Thaks
Herb49

How To Scrolling Text In Flash 4
Hello all

can anyone help me, I try to make thew text scrolling in flash, I thinking I may done something wrong.. my text is scrolling but no line space is between, text didnot alling, all the text just apper like block text... can any one give me a idea how to make scrolling text like normal well format text ...aling , space , line space etc... also how can I highlight some text in the scrolling text , so I can make link (like website address or email links etc)

PLEASE HELP ME STEP BY STEP .......

thank you very much

my emal gary.liu@ntlworld.com

A Question About Scrolling In Flash 5...
I would like to know how to create buttons that can scroll text up or down in Flash 5.

Thanks,
Grant (webmaster of KA)
http://grantsanimations.ohgo.com

Flash 6 And Scrolling Mice
Someone knows if flash6 will support the other 3 buttons on the new mice (scroll click/up/down) and let us code for them?

Regards,
Leo

Scrolling Thumbnails Using Flash....
I want to put my portfolio on my
site, but would like to have
thumbnails that scroll and when
clicked on, the scroll stops and
a window with the image pops up.
How can I make one in Flash, without
it getting too complicated?

Thanks
Melissa

Text Scrolling In Flash MX
Hi all.

Sorry that I had to ask the same question I asked a few weeks ago. Couldnt find my original thread, wasnt looking that hard anyway.

Ok now. Can s/one here please direct me to a tutorial on creating text scrolling in Flash MX?

Thanx a lot.

Flash 5 - Scrolling Within An Image?
Hi Everyone,

I am working on a Flash project and I am using Flash 5. What I would like to do is mimic the effect of scrolling within a web browser. I have to use screen shots from a web application in this project to act as a user tutorial for new users. I want to demonstarte how the product works. I already know how to create motion tweens and add effects, etc... but this one seems a little tricky. I basically need to have the contents of the window scroll down but leave the container (browser) section in place. I have tried using two different images but I can not get a smooth transformation because I have to use two layers (at least I think I do?).... Anyway, if anyone understands my dilemma and has some advice I would really appreciate it...

TIA

PM

Scrolling Text Box In Flash 4?
I have Flash 4. I want to make a scrolling text box and scrolling movie clip. The only tutorials I can find for this effect are only in Flash 5. Are scrolling text boxes possible in Flash 4? If so, where can I find a tutorial?

Thanks . . . .

Oh, another question . . . is it possible to manually enter Flash 5 actionscripts into Flash 4? For example, "onClipEvents"?

Auto Scrolling In Flash
Hello everybody,

I have connected a flash file with SQL Server. The flash file is retrieving data from a table and showing in the file. What I want to do after display is that the data should scroll automatically in the file. I have been able to scroll on onMouseOver and on onClick events, but am unable to do the same on onLoad event.

Please could anyone help me in solving this problem.

Thank you
Vishal Yajnik
[Edited by vishalyajnik on 08-30-2002 at 03:43 AM]

Flash 5: Scrolling Text Box
I have a design with a scrolling text box in it. Currently the "up" and "down" arrows are jumpy. They scroll 2 lines at once with each click. I'd like to push the "up" or "down" arrow once and have the textbox continue to scroll. The Action script I'm currently using is:

on (release) {
main.scroll = main.scroll-2;
}

How do I modify it to allow scrolling to continue once you have pressed the "up" or "down" buttons?

Thanks.

Scrolling Component In Flash MX
Hello.

My web-site address is http://www.samsonknightdesign.com , the problem I am facing , is that when you go into the news section <-- arrow pointing that way under samsonknight news. I am unable to get the scrollbar component to scroll the text down.

I have tried the following things:

1, make the date text box. and the more news text box all dynamic text box. As yet i have beenw ithout success as by having dynamic text, i am unable to really change text colour at certain places as well as losing the ability to link certain text to certain web-site (click here).

2. When the date and the main text box use the same variable for the scrollbar, the scrollbar does not work.

Can someone please help me , as this is really baffling me.

FLASH 4 Scrolling Text
I'm still using flash 4, and I want to create scrolling text. when I paste my text though, it wont put in spaces for paragraphs how can I get the line breaks in for this?

Scrolling Work Within Flash
HELP!

i am a graphic design degree student who has got to produce a website in flash showing my work.

i would like to have my work on a kind of scroll banner so when you hold the mouse at the right hand side of the screen whatever is off the stage to the right hand side will slide on and the same with the left hand side? do you know how i can do this?

Using Scrolling Windows In Flash...
I am helping a friend in the development of a website that is made in flash. He has done all the flash parts, and he created these windows that can scroll up and down through a .txt file that's on the server. These text files can also read html tags. I need to know how to open a link from these files in a new, smaller window centered on the screen. I know target=_blank works, but I can't do window sizes with that. I tried throwing in a <script> tag for javascript, but I get run time errors because it wont read the code. He said he created these windows using action scripting. Is there any way to do something like I have explained? Thanks for any help!

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