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




Newbie Scroll Question



I used Jesse's scrolling text tutorial to create scrollable text in a dynamic text field. It worked great! But . . . when I nest that movie inside another movie, the scroll buttons do not work. I'm assuming I have to make some modification to the path in my MC. Right now it reads:

if (_root.up) {
_root.text.scroll += 1;
} else if (_root.down) {
_root.text.scroll -= 1;
}

Do I need to modify the button script as well?



ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 03-12-2003, 08:50 PM


View Complete Forum Thread with Replies

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

Newbie W/ Yet Another Scroll Question
I have this dynamic text box and I have the buttons set up to scroll on press, but I can't figure out how to keep it scrolling if you hold the mouse button down. It will only scroll one line at a time. I'm attaching the files, but I'm not sure if it will work, as the last few times I have tried to attach something, I've had to post it separately.

Custom Scroll Bar For A Newbie
It's me again. errr.. Just wanna ask how to make a custom scrollbar without using components. i wanna put a scroll bar in my news section here take a look James Florentino Creative Design Studios

thank you guys in advance.
Note: If someone has already made this post about custom scroll bars, please send me the forum link and let me reply before you delete this thread thanks.

Newbie: How Do I Make An Area Scroll? Please Help
Hello,

I am quite new to Flash, very new to CS3 and have no idea about actionsript.

I am really quite desperate for some help, advice, anything, I spent the whole of yesterday looking for tutorials!

I have made a tab that when you put your mouse over, it plays a movie clip of the tab sliding out to reveal thumbnail pictures. The thing is, there are too many thumbnails to fit on the tab so I really want to make it scroll! I think I read on a message board yesterday that you can't put buttons into movie clips. Is that right because I want the thumbnails to link to certain frames in the flash file when they are clicked. If need be I can remove the movie clip and not have the sliding effect, if that makes sense.

I would very much appreciate anyone reading this to tell me if this will be too difficult to acheive for a newbie? I have attached the file if you would be so kind to check it out.

Many thanks,

Helen

Getproperty/scroll-im A Newbie Kinda Help
Hi

I have this movie scrolling a movieclip on the x axis.
It actually works to my suprise but when I load it into another movie it doesnt. Ive tried to add this.getproperty etc and a bunch of other stuff but no luck.

The instance name of the clip to scroll is listan

The button.

PHP Code:



on (press) {
     xrightnow = GetProperty(/:listan,_x) ;
     targetx = xrightnow+50;





Then I have a movieclip called actions thats dragged out to main. It goes a little something like this.

PHP Code:



startx = GetProperty(/:listan,_x) ;
moved = /:targetx-startx;
setProperty(/:listan, _x, startx+(moved/9)); 




So please help me rewrite this so it works when loaded into another movie.

Scroll Button Problem (newbie)
i built an email form following these instructions:

http://www.kirupa.com/developer/acti..._php_email.htm

and can get the thing to work, except i can't get the message box buttons to scroll...the instructions didn't include how to setup the up/down buttons, so i just copied them and the code for them from the example...as far as i can tell, everything is the same...here's the AS code for the buttons, and i attached the form i created too, maybe there's something i'm totally spacing on.

scroll up:

ActionScript Code:
on (press) { form.body_txt.scroll--;}


scroll down:

ActionScript Code:
on (press) { form.body_txt.scroll++;}


i've tried messing with this thing for a while now, still can't get the stupid buttons to scroll the text... any ideas?

thanks in advance,
cev

Newbie, Page Flip V2, With Scroll Bar?
I'm currently using Page Flip v2 action script and am having trouble incorporating a scrolling text box mc on top of one of the pages.

This thread has an example of the script so I don't have to re-paste the code up here, (pages.http://www.kirupa.com/forum/showthread.php?t=214911) but basically everything works independently but when I try and incorporate my scrollbar movieclip within one of the page flip movieclips it doesn't function.

Is this even possible before I put much more time into figuring it out?

Thank you.

Scroll Button Problem (newbie)
i built an email form following these instructions:

http://www.kirupa.com/developer/acti..._php_email.htm

and can get the thing to work, except i can't get the message box buttons to scroll...the instructions didn't include how to setup the up/down buttons, so i just copied them and the code for them from the example...as far as i can tell, everything is the same...here's the AS code for the buttons, and i attached the form i created too, maybe there's something i'm totally spacing on.

scroll up:

ActionScript Code:
on (press) { form.body_txt.scroll--;}


scroll down:

ActionScript Code:
on (press) { form.body_txt.scroll++;}


i've tried messing with this thing for a while now, still can't get the stupid buttons to scroll the text... any ideas?

thanks in advance,
cev

Newbie Having Trouble With Scroll Bar Component.
I can get the scroll bar to work fine if the text is already in the text box, but when I load it from an outside .txt file, I can't get it to work. What's the problem? Is there a trick to external text files and scroll bar components?

Newbie Help - How To Scroll Dynamic Text With GUI Component?
I am trying to use the Macromedia scroll bar component to scroll a text field. When the text is set as input, everything works fine. When I change to a dynamic text field, it stops working.

Can anyone point me in the right direction for doing this with the scrollbar component that Macromedia provides?

Thanks,
WayGee

Newbie Scroll Pane Component Troubles
I am working on a scroller with 54 images.
I've decided to use a scroll pane component but I really don't know what I'm doing in that there is a great deal of code that has been prepackaged for me and not only do I not know how to recreate it but I have absolutely no idea where to find it or the skins to modify it, but I suppose that's for another post.. The pressing problem of the hour is this: it loops and won't function with the left and right arrow keys. I'm familiar enough with flash to put the 54 images in a movie clip containing 9 frames with 6 images on each. If I put a stop action on each frame, the scroll pane won't acknowledge any thing beyond the 1st frame and it seems pretty pointless to have a constantly moving movie in a scroll bar! I thought I took care of the properties and perameters but I'm clearly missing some thing. Unfortunately the .fla is too big due to my 54 images and I don't have stuffit on my lap top. If I can ftp it to some body that's fine..
thanks in advance guys!

Newbie..need Code To Change Color Of My Scroll Bar
sliderColor = new Color(sliderButton);
trackColor = new Color(track);
arrowColor = new Color(arrows);
sliderColor.setRGB(myColor);
trackColor.setRGB(myColor);
arrowColor.setRGB(myColor);

hmm...i got a scroller that i want to turn white and black
this is what it is set to..
what is the code ? is it hex color code? this is weird

help would be appreciated thanks.

Gibbosniper Vs Munkie Or Newbie Vs Newbie
Ok Gibbosniper,

This is the start of the thread, for our contest of Newbies brains in action. Let us set a time limit of sorts, and go from there.

Again, I am far from an MX master, I just started just over a week ago, so it might take a while for me to produce something worthy of public display, but if you are patient, so am I.

Game on!

Munkie!

Keyboard Control-for A Very Newbie Newbie
I was wondering if there is a simple way to control flash animations when
pressing a key on the keyboard. Example: Scene 1 is an animation of a
circle, this scene will continue to loop until I press the 'f' key, and
then the flash movie will change to Scene 2 where we see the circle
explode. I looked around flashkit.com and found some tutorials, but I
think they used an earlier version of flash, because I can't find the
instance properties in order to change the action from mouse click to key
press. I own flash professional 8. Anyway, I can use as much help as I
can get, so if you know of an action parameter in which I can execute
this...action, it would be greatly appreciated! Thank you for your time!
-Timmy

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

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

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.

Change Vert Scroll Script To Horiz Scroll
I found this tutorial for a scrollbar. It works great for vertical scrolling (ex:http://www.matthewterry.net/safetyguide.html click any section), but I want to change it to scroll horizontally, for another project.

Can someone help me change it to affect horizontal scrolling?

On the content's movie:

onClipEvent(load){
goY = this._y;
myY = this._y;
ySpeed = 0;
clicked = false;
delay = 2;
barDis = 380;
barPercent = 0;
}
onClipEvent(enterFrame){
if(math.round(myY) != math.round(goY) || clicked == true){
barPercent = (_parent.scroller.scrolllever._y/barDis)*100;goY = 116.7 - ((340/100)*barPercent);
myY = this.setonescroll._y;
ySpeed = (myY-goY)/delay;
this.setonescroll._y -= ySpeed;
}
}

On the scroller:

on(press){
startDrag(this,0,0,0,0,_parent._parent.setone.barD is);
_parent._parent.setone.clicked = true;
}
on(release, releaseOutside){
stopDrag();
_parent._parent.setone.clicked = true;
}

Thanks,
Matt

Please Help Me Place The Arrows Of My ScrollPane Scroll Bar Together On One End Of The Scroll Track
I have a scrollpane component with a movie clip of some thumbnail images.

I just want to have its scrollbar arrows together on one end of the track (or together ANYwhere) instead of having them at opposite ends of the scroll track.

I have been able to customize the appearance of the scrollpane and its scrollbar using the HaloTheme library, but that approach has so far been of no use in getting the arrows together.

I cannot tell you how deeply any help will be appreciated. I will probably sob and mewl with gratitude, the way I imagine someone lost in a vast rain forest for many weeks mewls when rescued. I am desperate. I am going insane. Please, please help me.

Modifying Position Of Scroll Arrows In Scroll Pane
Does anyone out there know how to modify the code of the standard Flash component scroll pane to allow you to place the arrows anywhere you want on the page? I was able to go in and assign x and y coordinates for them, but they seem to be linked to the bounding box somehow and whenever I raise or lower them the box follows suit, which ends up cutting of the content inside the box...

I didn't post any code because there is so **** much of it and I can't figure out where it is that the position of the arrows is linked to the position of that ****ed box (this is what I suspect the problem is, but please tell me if you know different!)!!!

HELP!!!!

Modifying Position Of Scroll Arrows In Scroll Pane
Does anyone out there know how to modify the code of the standard Flash component scroll pane to allow you to place the arrows anywhere you want on the page? I was able to go in and assign x and y coordinates for them, but they seem to be linked to the bounding box somehow and whenever I raise or lower them the box follows suit, which ends up cutting of the content inside the box...

I didn't post any code because there is so **** much of it and I can't figure out where it is that the position of the arrows is linked to the position of that ****ed box (this is what I suspect the problem is, but please tell me if you know different!)!!!

HELP!!!!

Scroll Bar Component Doesn't Scroll When Dynamic Txt Is Used?
I have a dynamic text box with the Flash UI component "Scroll Bar" attached to it. It works and scrolls fine when you enter text directelly into the dynamic box but when you use the loadVariables command to load an external txt file into it, it fails to scroll the text?
Is there a way to get it to scroll?

thx Bk9

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 Page Scroll Bars/boarder
anyone have idea how to change the scrollpane scroll bars in 2004 and how to get wride of the border?

Scroll Gallery [doesn't Scroll After Particular Point]
Hello guys,

I have got this script from one of the opensource files on flashkit and want to use it for one of my requirements. Basically all I want to do is, scroll images vertically based on mouse movement. I've done that already but the issue is that when I have over 10-15 images, it doesn't scroll as there is no place left for the mouse to go further down. If you have a look at the attached file, you'll know what exactly I am talking about. Ideally, if mouse is held downwards, the images should keep scrolling untill it reaches it's end.

Can anybody have a look at the fla and help me out.

Cheers,
D

Scroll Wheel - Control Page Scroll?
Alrightly... So I have a flash file that is 750 x 1000 px and is embedded into an html page. Since it's height is a 1000px in order to see the whole flash file one needs to scroll down on the page. This is fine except that when people are working with the flash file (have clicked on it) and then want to use the scroll wheel it won't scroll the html page..

I realize this is because in flash you can assign your own properties to the scroll wheel. But is there a way to have the scroll wheel perform it's normal function of scrolling the html page?

I'm not sure if there is an easy way or if I would have to write some code for flash to call javascript to scroll the page? I know people must have run into this problem before and probably have some good solutions.

Thanks in advance

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

Changing Quality On Scroll :: Scroll Plane
Hi There,

Does anyone know a easy way of getting the flash movie to change quality when a scroll plane is scrolling... I have loads of content in the plane and need to set the quality to low whilst scolling to improve performance....

at the moment I have this code.

Code:
var dragQual:Object = new Object();
dragQual.scroll = function(eventObj){
_quality = "LOW"
}
tDragObject.addEventListener("scroll", dragQual);
but it only sets the quality to low, once the user has finnished scolling I want the quality to go back to best....

Any Ideas?

Scroll Large Image With Out Scroll Bars
Does anyone know how to do this, not profient in Flash.

This is the effect I am after

http://www.moochi.co.nz/collection.html

Thanks

Change Horizontal Scroll To Vertical Scroll
Hi,

I've flash source code that is having a horizontal scrolling. Anybody can help me to change this to a vertical scroll.

Pls check the attached file.

thanks in advance...

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

Changing Quality On Scroll :: Scroll Plane
Hi There,

Does anyone know a easy way of getting the flash movie to change quality when a scroll plane is scrolling... I have loads of content in the plane and need to set the quality to low whilst scolling to improve performance....

at the moment I have this code.

Code:
var dragQual:Object = new Object();
dragQual.scroll = function(eventObj){
_quality = "LOW"
}
tDragObject.addEventListener("scroll", dragQual);
but it only sets the quality to low, once the user has finnished scolling I want the quality to go back to best....

Any Ideas?

Scroll Large Image With Out Scroll Bars
Does anyone know how to do this, not profient in Flash.

This is the effect I am after

http://www.moochi.co.nz/collection.html

Thanks

[scroll] Scroll That Reacts To The Mouse Wheel
Hy guys,

Do you know how can I make a scrollable text that reacts to the mouse wheel. Here you can see an example: link here

Look at the news section, or at the about us section.

The majority oh the text scrollers on the web didn't react at the mouse wheel. I found this site and I was surprised when I found that I can scroll with my mouse wheel.

Hope some one knows how they do that.

Thx.

Newbie Asking A Newbie Question
Thanks for looking at my post. I am very new to Flash and I want to make a simple movie withsome text. I know how to insert text and customize it, but I wanted to know how I could jazz it up a bit. Add some effects to it. I was wondering if anyone could help show me how to make it shine, or glimmer, or glow, or something of tht sort, you know? You know on the Ultrashock logo when you put your mouse over it, it shines? I wanna know stuff like that. Can anyone help? Is there a tutorial or we page I can go to? Thanks in advance, and thanks for looking even if you can't help...

Scroll Box Buttons - Constant Scroll?
Yo,

I've made a scrolling text box, but I cant figure out how to have it so when I simply hold my cursor over the up or down scroll button the text box will constantly scroll in the corresponding direction. I've tried while/for/do loops and I'm stuck, how would you do this utterly simple task?

Also, does anyone know how to make a working scroll bar? One that a user can click like a real windows environment window?

Scroll Bar With Buttons To Pics That Don't Scroll
Hi, I'm trying to make a scroll bar that has buttons in it, so that when you click on one of the buttons a pic shows up in the back ground...Trouble is that My pictures scroll also with the bar and I would like for them to stay stationary behind the scroll bar...Does this make any sense?

Thx Ezekiel

Scroll Pane Scroll Speed.
Can anyone tell me how to change the speed of scrolling for the scroll pane in MX? I have looked all over for it, but find nothing. When I am scroll it moves like half a line at at time...I'd like to see it faster.

Thanks

OnRollover Scroll Down...ondrag Scroll Up
Hey guys,

I was wondering if you guys could help me create a flash component for a site I'm working on right now. What I need is a scrollpane type thing, where when the user rolls over the content area, the content will begin to scroll down, and when the user rolls out, the content stops scrolling. Also, the user will be able to drag the content up (not down, they will only be able to drag the content up, they will rollover to make the content go down).

Could you please help me with this?

Thanks.

Nick

Scroll Component Dont Scroll
my scroll component dont scroll

please can you look why?

thanks

jan

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

Scroll Bar - Scroll Pane Issue
I have a scroll pane issue that I can't seem to solve. The issue is, if I load my scroll pane with an image and then on mouseover of the scroll pane change my cursor, I can no longer use the scroll panes scroll bars with my new cursor. If I remove all of my zoom code and just change the cursor the result is the same.

this is my code:

Code:
this.zoom_in.onPress = function() {
var zoomin = false;
pictures.onRollOver = function() {
zoomin = true;
Mouse.hide();
this.attachMovie("mag_in", "cursor_mc", this.getNextHighestDepth(), {_x:this._xmouse, _y:this._ymouse});
};
pictures.onMouseMove = function() {
this.cursor_mc._x = this._xmouse;
this.cursor_mc._y = this._ymouse;
};
pictures.onRollOut = function() {
zoomin = false;
Mouse.show();
this.cursor_mc.removeMovieClip();
};
pictures.onMouseDown = function() {
if (zoomin=true) {
if (pictures.content.myLoader.scaleX>=1600) {
this.zoom_in.enabled(false);
bgSound.start();
} else {
pictures.content.myLoader.scaleX *= 1.5;
pictures.content.myLoader.scaleY *= 1.5;
trace(Math.floor(pictures.content.myLoader.scaleX));
}
pictures.invalidate();
}
};
};

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

Help Me Turn A Pele Scroll Into A X And Y Scroll
ive built a site using a " pele scroll" and im wanting to create a site similar but it moves on an x and y axis. (see www.skichute4.com.au for site built)
can anyone point me in the direction of a tutorial or reference to help me out
thanks

Mouse Scroll Instead Of Drag Scroll
Hello everyone,

i want to change my scroll effect from a drag to a mouse scroll.

i have an example of the drag scroll, anyone know what bits of the code I have to change?

I Want The Mouse Scroll For My SCroll Pane
Hey all,

This one is my favorites that Ive found, but you can't scroll with your little scroller on the mouse.

Is there something I need to set to true to allow this, I was going to post the code for this but it was too long, so I attached the file.

Scroll Pane Scroll Bars
I would like to know the action script that I can use to simulate pressing the up and down arrows on the scroll bars within my scroll pane. Does anyone know how to do this. This code would go inside another button I have outside the scrollpane.

And if possible how to simulate the scroll bar too.

thanks

Mouse Scroll Instead Of Drag Scroll
Hello everyone,

i want to change my scroll effect from a drag to a mouse scroll.

i have an example of the drag scroll, anyone know what bits of the code I have to change?

OnRollover Scroll Down...ondrag Scroll Up
Hey guys,

I was wondering if you guys could help me create a flash component for a site I'm working on right now. What I need is a scrollpane type thing, where when the user rolls over the content area, the content will begin to scroll down, and when the user rolls out, the content stops scrolling. Also, the user will be able to drag the content up (not down, they will only be able to drag the content up, they will rollover to make the content go down).

Could you please help me with this?

Thanks.

Nick

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