[F8] Help - Scrollbar Appear On The Scene Which Do Not Contain Scrollbar Component
1. I have successfully created multiple scenes with dynamic html text fields and UIscrollbar component.
2. Each scene is a webpage, so I can click on each button to go to corresponding scene.
3. The main page contains no scrollbar component. When I publish on the web, it run perfectly for the first time loading it. However, after I visit other pages (different scene created in F8) and click on "Home" button going back to the main page, the scrollbar component exists on the page which should not contain any scrollbar.
4. I try to give each scrollbar on different scene a unique instance name, and disable it using
Code: scrollbar0._visible=false; but it doesn't work. I think maybe I include the actionscript to the wrong place or under the wrong event/action.
5. Any idea of how this happened?
Thanks, little_poem
FlashKit > Flash Help > Flash General Help
Posted on: 12-02-2006, 10:28 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Scrollbar And Scene Questions
Hello! I'm hoping someone can help me with these two questions I have.
1) I've got this website set up in 6 different scenes, and I'm having trouble getting my buttons that are within MCs on one scene to take me to, say, frame 40 on another scene. Right now I'm using the AC:
on(release){
gotoAndPlay("Scene 2", 40);
}
but it doesn't seem to work. Any thoughts?
2) I'm having trouble with a homemade scrollbar that I'm using on the same site. I've used something like this before, but I can't figure out what is wrong with it. I've attached a .fla, so if anyone get's the chance to take a look and tell me what I'm doing wrong, I would really appreciate it (note: the text is set up like it is because there are images that will be stuck within it).
Any help anyone can offer would be great! Thanks in advance!
-Colin
Scrollbar Problem - How To Load Text And Have The Scrollbar Default To Bottom Onload?
Hi,
I am currently working on a project whereby I need to display text in a scrollable area that refreshes every 2 seconds. I have the text loading ok but there is some extra functionality that I require.
At the moment I have a PHP application that uploads text files and adds the latest comment to the end of each text file. If you open the text file you can see the older comments at the top and the latest comments at the end. In the flash movie, I need the text file to load and the scrollbar to default to the bottom of the flash movie - that way, the latest comments will appear at the bottom of the screen and you can scroll up to the older comments.
I am not sure how to do this as I have just used the built in Flash components to get what I have so far.
Any help is appreciated.
Thanks,
Martin
Scrollbar Problem - How To Load Text And Have The Scrollbar Default To Bottom Onload?
Hi,
I am currently working on a project whereby I need to display text in a scrollable area that refreshes every 2 seconds. I have the text loading ok but there is some extra functionality that I require.
At the moment I have a PHP application that uploads text files and adds the latest comment to the end of each text file. If you open the text file you can see the older comments at the top and the latest comments at the end. In the flash movie, I need the text file to load and the scrollbar to default to the bottom of the flash movie - that way, the latest comments will appear at the bottom of the screen and you can scroll up to the older comments.
I am not sure how to do this as I have just used the built in Flash components to get what I have so far.
Any help is appreciated.
Thanks,
Martin
Scrollbar Problem - How To Load Text And Have The Scrollbar Default To Bottom Onload?
Hi,
I am currently working on a project whereby I need to display text in a scrollable area that refreshes every 2 seconds. I have the text loading ok but there is some extra functionality that I require.
At the moment I have a PHP application that uploads text files and adds the latest comment to the end of each text file. If you open the text file you can see the older comments at the top and the latest comments at the end. In the flash movie, I need the text file to load and the scrollbar to default to the bottom of the flash movie - that way, the latest comments will appear at the bottom of the screen and you can scroll up to the older comments.
I am not sure how to do this as I have just used the built in Flash components to get what I have so far.
Any help is appreciated.
Thanks,
Martin
Scrollbar Problem - How To Load Text And Have The Scrollbar Default To Bottom Onload?
Hi,
I am currently working on a project whereby I need to display text in a scrollable area that refreshes every 2 seconds. I have the text loading ok but there is some extra functionality that I require.
At the moment I have a PHP application that uploads text files and adds the latest comment to the end of each text file. If you open the text file you can see the older comments at the top and the latest comments at the end. In the flash movie, I need the text file to load and the scrollbar to default to the bottom of the flash movie - that way, the latest comments will appear at the bottom of the screen and you can scroll up to the older comments.
I am not sure how to do this as I have just used the built in Flash components to get what I have so far.
Any help is appreciated.
Thanks,
Martin
Scrollbar Doesn't Work (tutorial: Object-oriented Scrollbar)
(tutorial --> object-oriented scrollbar: http://www.gotoandlearn.com/play?id=71).
I followed the tutorials instructions and this is the code that i have now:
import caurina.transitions.*;
var yOffset:Number;
var yMin:Number = 0;
var yMax:Number = sb.track.height - sb.thumb.height;
sb.thumb.addEventListener(MouseEvent.MOUSE_DOWN, thumbDown);
stage.addEventListener(MouseEvent.MOUSE_DOWN, thumbUp);
function thumbDown(e:MouseEvent):void
{
stage.addEventListener(MouseEvent.MOUSE_MOVE, thumbMove);
yOffset = mouseY - sb.thumb.y;
}
function thumbUp(e:MouseEvent):void
{
stage.removeEventListener(MouseEvent.MOUSE_MOVE, thumbMove);
}
function thumbMove(e:MouseEvent):void
{
sb.thumb.y = mouseY - yOffset;
if(sb.thumb.y <= yMin)
sb.thumb.y = yMin;
if(sb.thumb.y >= yMax)
sb.thumb.y = yMax;
var sp:Number = sb.thumb.y / yMax;
Tweener.addTween(content, {y:(-sp*(content.height-masker.height)),
time:1});
e.updateAfterEvent();
}
Does anybody see what's going wrong? I'm a beginner beginner, so all could think of to do is check if everything was typed correct. (i double checked instance names and code). But can't seem te get it to work, nothing happens when i preview swf.
No compilers errors and no syntax error. Tweener class is installed properly. PLEASE help me i've been looking for hours now.
If someone could help me, would be great!!
Sorry for my english, thank you for your time.
Test Scene/scrollbar Problem
Hi 2 things;
1. When I go to test scene my image is displayed right off the topleft hand corner, how do I reset this so that it shows in the middle of the screen?
2.I'm doing a textbox with scroll bar, it works in my test scene but not when I test my movie or publish it, why is this?
I'd be so happy if you could help,
Thanks
KEY
Insert Scrollbar In Scene-not Double Post
Hi...
apparently there is something wron with my earlier post pls delete it...
I'm new here...
Anyway...Pelase someone do help me...
okay...
i've created a scrollbar with external text...
the thing is i wanna insert it in a middle of another scene...that scene is much longer...
so when i insert it directly in the middle of the other scene(cut and paste the frame) the animation goes into a loop becauze at the end of the scroll frame is a gobackandplay...
and if i insert it as a movie clip...
it works...not completely...one of the button is not workin...to be exact...the up button...so please...someone gelp me figure tis out..
ScrollBar Asset - Inserting Two Scrollbars In One Scene?
Hey guys, I downloaded the ScrollBar asset and I'm able to get it working no problem. However when I try to implement more than one ScrollBar into a scene I run into problems. Basically one will work, the other one won't.
How can I properly implement two of these assets into one scene?
Any help is appreciated, thank you.
Scrollbar UI Component
There is a textfield (which can only show a few lines of text) with instance name "tar" and var "a" on the stage. There is also a scrollbar on the stage and the target is set to the textfield (i.e. "tar").
The action of the 1st frame is:
for(i=1;i<30;i++){
a += Math.random() + newline
}
When I run the swf, the textfield do show a list of 30 random numbers, but the scrollbar doesn't work though the field show only a few lines out of 30.
So how can I actiative the scrollbar?
MX Scrollbar UI Component
This is probably easy but I can't seem to figure out what I missed.
I'm loading dynamic text from XML into a dynamic text box in Flash MX. I've set the box to be multiline, have html enabled and to show the border. The text variable is name textboxtext and the dynamic text box itself is named textbox.
I know the XML is loading fine because I used the trace() function to know that it is loading up all 67 nodes. However only about 20 of them appear in the box at one time. And the scroller I added using the UI Component doesn't seem to do anything.
I added the scroller to the stage in a different layer from textbox and it is vertically aligned. The parameters window says that its "Target text field" is textbox.
Anyone know what I'm missing to make the scroll bar actually scroll the text within textbox?
Thanks,
-- Dave Goldfeder
Scrollbar Component
Can anybody tell me how a can get rid of the arrows in the scrollbar from the window comopents?
Thanks in advance
greetings
Scrollbar Component
Hi again:
Thanks so much for all the other help from you guys. Here is another one. I have used the scrollbar component with a dynamic text box. They are in the same timeline. It works when I test the scene, but when I publish the text box does not stay the same size it enlarges lenghwise to include all the text which is off the page and the scrollbar is enabled. Are there any fixes for this? I do not have text importing into the text box, I just copied and pasted the info from a text file into the box.
Patti
Scrollbar Component
how can i change the color of the scroll bar component that comes wid FLASH MX.....????
Scrollbar Component
i am having some trouble using the scrollbar component.
check out http://www.perkinsphotography.net and go to the families section. The text in the center left is supposed to scroll. The text field is dynamic. It has an instance name and a variable name of sectionText. I have the scroller's target text field is set to sectionText.
Note: the dynamic text field and the scrollbar are both inside of a movieclip named familyPlaceholder. My text is loaded like this:
onClipEvent(load){
section = "";
sectionText = "";
loadVariables("http://www.perkinsphotography.net/SWF files/about.txt", this);
loadMovie("../images/about/jperkins.jpg",photoPeg);
}
onClipEvent(enterFrame) {
if (sectionText != "") {
loading._alpha = 0;
}
}
any help is appreciated..
thanks,
-myk
...::: Mx Scrollbar Component :::...
I am using the mx scrollbar component on one of my text fields. it works great, you just snap it on and it scrolls whatevers in the field. however, i can't seem to get it to work on text being pulled in from a .txt file! The only way i can get it to scroll the field is if i make the field an inpuit box and click inside it, only then does it display the scroll buttons
has anyone else noticed this???
thanks
Scrollbar Component
I have been tinkering about with the Scrollbar component in Flash mx. Could someone tell me if the size of the scrollbar can be adjusted to match the hieght of the text field. I am sure i was able to do this but for some reason it won't do it now
ScrollBar Component Won't
Ok, I really need a smoke.
Anyway, I've used the scrollBar Component in the past with no problems. Now I'm trying to add one to an older file that's been saved as an MX file. When I drag the ScrollBar component from the library it won't snap to the edge of the text field and won't register the instance name of the the text field. No matter what I do I can't get the two to sync up. If I open a new file and try the EXACT same thing it works fine. Is there some problem with adding components to a Flash 5 file even if I've resaved the thing as an MX file? Even setting the Target TextField Parameter to the instance name of the the text field manually doesn't work. I be stumped. If anyone has any clue why this is happening.....you'll forever be my hero. Thanks.
Scrollbar Component Help
I am trying to customize the scrollbar component and am having some issues....
I see the individual objects/skins, but where is the clip that holds them all together?
For Example:
I am trying to move the arrow on the right, to the left, but don't know where to adjust this? Trying to change the actual component doesn't seem right (not sure whats happening there)
Looked at system docs, guess I didn't get it.....any help is appreciated.
Thanks!
ScrollBar Component
I am trying to use the ScrollBar component within a MovieClip.
It is attached to a dynamic text box that is using a TXT file for it's content.
Everything works except the scrollbar. It works fine oustide the MC but not inside.
Anyone know how to fix this problem
Thanks
Scrollbar Component ?
I recently bought flash MX I saw the components ,
but I don't know how to use the scrollbar component macromedia doesn't explain it well enough or well they don't explain it.
I know I have to name my text. and then drag it over teh text so it will get stuck on it but it doesn't work does anyone know why ?? or am I doing sojmthing wrong.
damn so anoyying when something doesn't work.
Scrollbar Component
I have successfully installed scrollbars several times but this time its not happening. Mx is asking for the textfield instance name but it has one called 'text' and the scrollbar commponent(my scrollbar) recognizes 'text" as the target textfield...not sure why this is happening- any possible explanations?
ScrollBar Component
I'm creating a specialized photo-album application which shows the customers photo-sessions from the photographer, and they can select which pictures they like.
In my thumbnail preview (mcThumbNailPrev), I'm attaching my thumbnails (mcThumb[x]). Is there any way I can utilize the scrollbar component for my 'mcThumbNailPrev' to view all my thumbnails? I'm just now getting used to MX, and all I know, is that the scrollbar works on text fields. Can it be used on movieclips too? I'm sure it can be.
Any guidance?
Scrollbar Component
I have a scrollbar component attached to a dynamic text box, which works fine(almost), but it always stops scrolling at the last but one line, no matter how long the text is, when I use the mouse. If I use the keyboard to scroll it is fine and shows the last line. Any ideas how to fix this? tks
Scrollbar Component Help?
How do i get those stupid scrollbars to work on a dynamic text field? I drag the component onto it, its attached to the textfield, but when i play the movie, it doesn't scroll, its just sitting there annoying me. What else do I have to do to get this to work?
MX UI Component - Scrollbar
I've designed my own scRollers before but was trying to get the canned UI component to work for me. The Help file states I can drop it on my dynamic textfield and it should work, but I'm finding differently. It seems to target my textfield's instance name correctly. I've traced my textfield's maxscroll property to 30. But, no matter what I've tried I've got no scrolling. It doesn't even show a grab handle.
Any ideas?
Scrollbar Component
Right,
I'm no biggy on actionscript which is why im trying to learn it in the first place.
My problem is this:
I have a dynamic text box,(with scrollbar comp) enter my text locally and format as html, and everything works great.
As soon as i change this to LoadVariables with an outside text source, my scrollbar blanks out and won't do anything.
so basically how the hell do you get external text to scroll using this component?
P.S iver tried it on the stage and also loading into a MC holder clip, with no joy.
Scrollbar Component
does anyone know how to make your own scrollbar component in flash mx, just like the one that it came with but with a different look?
Scrollbar Component
How do you get the scrollbar component in Flash MX to scroll the contents of the text automatically?
Quote:
scroller.setScrollProperties(80, 0, 100);
scroller.onEnterFrame = function() {
if (scroller.getScrollPosition()<100) {
scrollerpos = scroller.getScrollPosition()+1;
scroller.setScrollPosition(scrollerpos);
} else {
scroller.setScrollPosition(0);
}
};
When I did that, the text finished scrolling at about 1/4 of the scrollbar and scrollbar continues scrolling till the end. I need to know how to set the maximum page value of .setScrollProperties to fit the amount of text I have in the textbox.
Help!
Scrollbar Component
I am using MX, and I need a scrollbar for dynamic text, but I want to use a different graphic than what is provided by the scrollbar component. I've made two buttons that scroll by attaching the .scroll action but it only scrolls 1 line per mouse click. I used the code:
on(press) {
Textfield.scroll -= 1;
}
I just need an easy way to create a scrollbar for dynamic text using my own graphics.
Please Help!
Scrollbar Component.
I am wondering if there is code, to make the scrollbar component goto the bottem, and start there.
Scrollbar Component, Please Help
just to be clear, im using flash mx not the new version
im making a flash chat program and im using the scrollbar component on a textfield, the problem im having is that when somebody sends a new message or something and the data in the textfield adds up and stuff, you arent able to scroll down to the last message, what i need is a solution to make it when new data is added to the textfield, it updates the scrollbar to make it possible to view everything in the textfield, and also i want to make it to when new data is added to the textfield, it sets the viewed position of the textfield to the bottom so the new message is viewe, help help pleeaaaase!!!!:'(
Scrollbar Component
When I load text from and external file and display it in text field, it displays correctlt but scroll bar component doesn't work. I have checked instance names and they all are 100% correct in each other's reference, I have also checked action script but no prob there. Any suggestions?
Where Is The Scrollbar Component?
Hello
I am using FlashMx2004.
I am trying to add to a dynaminc Text a scrolbar. I read that i need to use the Scrollbar component from the UI components. but i dont have any scrollbar in my UI components lists?! where is it? its not in MX2004? if not what should i do to slove the problem?
Many thanks
Adi
Scrollbar Component
Is there a way to change the movie that is being played in the scrollpane? Like when I press a button the movie will change...lets say this:
I make a new document...add a scroll component and have it call to movieA. I make buttonB and put it next to the scrollpane. When I click on buttonA I want movieB to come up in the scrollpane and when I click on another button ButtonA I want movieA to reappear...is this possible? And if so...could someone instruct me on how I would do it? Thank you.
Scrollbar Component Help
I'm making a project for biology and I got the scrollpane working. I went back and made a few changes to frame order, but basically restored it to the way it was again, and now the scroll pane doesn't work.
Help?
Scrollbar Component (PLZ HELP)
hi this iz probably really simple but I dont know how 2 get the scrollbar componet to work. How do I scroll text is really the question.
Thanx in advance
austin
Scrollbar Component
i have used the scrollbar component on a dynamic txt field for the first time but it is not working...anyone ever used them and had success/failure? any tips? the compinent is linked to the instance name of the txt field.
thanks
MX UI Scrollbar Component
Do you know how to make the scroll track transparent???? Can't seem to get it. Remember, this is the MX UI Scrollbar component....it's styled a little differently than the last one...more round.
Thoughts??
Help!!!
Blue
Scrollbar Component
I know this is an easy question, but I don't know.
How do you use the scrollbar component? I can't get it to work?
What are the steps?
Scrollbar Component
im unable to use the scrollbar component, its not scrolling the dynamic textfield with an instance "2" filled the parameters target textfield = "2" and horizontal= "false" also made the dynamic textfield scrollable... what to do pple
someone plz edit the file
Scrollbar Component
Hey, I've been asking around and gotten no responses so far, so if anyone can offer any help I'll be eternally grateful.
Everytime I drag the scrollbar component into my textbox it snaps into the upper left hand corner of the frame. Any suggestions?
Component ScrollBar
Haveing a small problem with the component scrollbar. I know how to make the dynamic text field and place the scrollerbar to it and rename the instance to what ever the text instance is. But when I publish it, the scrollbar isn't visable, but the text still moves when you click where the scrollvar would be!
Help!
Thanks guys
Scrollbar Component
Can anyone help with scrolling a text box which is loading in a txt file using the scrollbar component?
Scrollbar Component Help
I'm creating a dynamically built control panel that contains a textbox and a scrollbar. This is all resizable. It will load external text, bla, bla, bla.
Everything is working fine except the scrollbar doesn't show all of the text. When I scroll down, there is still a line or two of text. This seems like a percentage, because the more text I put in the field, the larger the amount that doesn't get shown when the scrollbar is scrolled all the way down.
The problem fixes itself when I resize the toolbox, using the small triangle button on the bottom right. Clicking this you can see the scrollbar jump a little.
I't a lot of code, but perhaps someone can help with a solution. My brain is spent right now.
Thanks.
_t
Scrollbar Component
I am in the middle of creating a website, and it contains a few parts where I use the UI Component of a scrollbar.
In the first section, loading text and scrolling it is no problem. When the user clicks on the second section, he can also scroll the text there, but when he returns to the first section, the scrollbar seems to be broken (It's grey ).
Do I have to give the component in the other section a different name? Do I have to add certain keyframes, do I need to change the instances of the textfields (which are thesame in both sections, only the loaded text comes from a different file), or maybe the actionscript which loads the text?
Scrollbar Component Help
I can get the scrollbar (component UI) to work but not display HTML (loading text into the target textfield). If I load the text into the _level0 then it displays the HTML but the scrollerbar doesn't work!
Somebody must have some experience with this? Thanks.
Scrollbar Component
hi everyone,
i'm using a scrollbar component. i built what i needed in a new file to test it out, and everything worked fine. then, when i went to do the exact same thing in an older file with other elements, the scrollbar component is missing the arrows and the scrolling functionality.
please help!!!
thanks!
rachel
Scrollbar Component
I have put in a scrollbar component on my site. The movie clip called does not show up, only a white box. I have checked the tutorials and it looks like I have done it properly.I have done it before and it works but I can't get it to work on this site. Any suggestions?
The file can be seen at:
http://www.ecaledonhills.com/Alternative/
click on header3-5.fla
All help appreciated.
Taz
|