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
FlashKit > Flash Help > Flash General Help
Posted on: 05-13-2003, 11:57 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Scroll Component Doesn't Work?
Hi,
I've got a site that looks like this (click the button to enter): [link]
As you can see the text-field has got more text, but the scroller doesn't work. The text is loaded from a info.txt file. When I write a bunch of text right into the text-field instead, the scroller works just fine. Why isn't it working when I load the text from a text-file!?? Please help me..
Scroller Component Doesn't Update New Scroll Max *$&#^@^
Ok, I'm posting this after almost 3 hours surfing other threads about the same thing, but no answer.
I'm modifying a guestbook I think I got from here at FK, and my mod includes the scroller component.
when I reload the guest book text from the external file, the scroller doesn't scroll! here's the link:
http://www.mike-watt.com/phpTests/GuestBook.html
notice the black box? click inside the text field and type something. the box does a little animation when you type. I used the "onChanged" function to do that. But the onChanged function doesn't seems to listen to when new text is loaded in. Go ahead, sign the guest book, and after pressing submit, the box don't move when the new entry loads. What is going on here. Macromedia, you are so stupid to not have thought of this!!!!!!!!!!
Please help...
Thanks,
MB
Stupid-ass Scrollbar Component Doesn't Scroll. Wrf I Should Just Call It 'bar' ?
what's the deal with this scrollbar component? i followed the helpfile's instructions: create dynamic textbox, name instance, drag scrollbar onto textbox, it auto snaps, matches length, and links to the box.
when i test, the scrollbar arrows are greyed out, and i can't scroll. i am, however, able to scroll the textbox itself by selecting the text. wtf?
Scroll Pane Component Doesn't Work On Server
I have a movie which loads up a lot of other movies, pulling much of it out of xml files. Works lovely on my computer. Problem occurs when I upload the site to my server. Suddenly one of these parts, a Flash component called 'cspThumbnails' which basically loads a group of thumbnails, doesn't load the thumbnail .jpgs. The contentPath of cspThumbnails- 'mcEmptyMC2'- does load, I can see it.
I've checked the paths to the .jpgs numerous times, and have other pictures that are loading fine.
The actual code where this stuff occurs looks like this:
code:
this.cspThumbnails.contentPath = "mcEmptyMC2";
for(i=0; i<=_root.aContentArray.length-1; i++) {
this.cspThumbnails.content.createEmptyMovieClip("m cHolder"+i, cspThumbnails.content.getNextHighestDepth());
this.cspThumbnails.content["mcHolder"+i].createEmptyMoveiClip("mcJPEG", 1);
this.cspThumbnails.content["mcHolder"+i].mcJPEG.loadMovie(_root.aContentArray[i][1]);
this.cspThumbnails.content["mcHolder"+i].index = i;
this.cspThumbnails.content["mcHolder"+i].onRelease = function() {
loadFullImage(this.index);
setCaptionText(this.index);
}
}
I'm stumped, man. Like I say, the line that defines the contentPath works, because "mcEmptyMC2" shows up-- it isn't actually empty. On my computer locally all of this works just fine. Uploaded to the server however and the thumbnail .jpgs don't show up.
Now the loadMovie command calls a path stored in '_root.aContentArray[i][1]'-- but thos paths work fine in other parts of the movie, so I'm thinking there must be something about the Flash ScrollPane component going on.
Argh!
thanks,
Richard
Mouse Wheel Doesn't Scroll The Browser When Component Added [flash8]
Hello everyone,
I have a 700px heigh movie, which makes the browser scrollbar appear on most resolutions.
If I focus on the html part the mouse wheel works fine; however if I bring the focus to the flash movie (simply clicking on it) it doesn't work anymore!
This started to happen when I added the numericStepper component to the stage even if the focus is not on it.
Does anyone have any lead on how to fix this? else I'm going to get my hears pulled by the flash-accessibility-sucks people.
Thanks a lot
fred
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
Dynamic Nav In A Scroll Component
Hey Gang,
I have a buttons being dynamically generated onto the stage using XML. This works. I placed it a movie clip....it still works.
I try to use it in a Scroll Pane component found in Flash MX....it stops working!!!
This component calls a movie clip from the library and places it within itself. The movie gets loaded properly, but the xml buttons are not generated onto the stage. Does anyone know why?? I can give you my FLA is you need to see it.
FYI::: This is the code I'm using to generate the buttons:
navArray = new Array();
navNameArray = new Array();
urlArray = new Array();
desDevLoaded = function () {
var mainNode = desDev_xml.firstChild;
navItems = mainNode.childNodes.length;
for (i=0; i<navItems; i++) {
var objName = mainNode.childNodes[i].attributes["NAME"];
targetMovieClip.attachMovie("navButton", objName, bDepth++);
navArray[navArray.length] = objName;
targetMovieClip[objName].thisUrl = mainNode.childNodes[i].attributes["url"];
navNameArray[navNameArray.length] = mainNode.childNodes[i].firstChild;
targetMovieClip[navArray[i]].description = navNameArray[i];
if (bDepth != 1) {
targetMovieClip[navArray[i]]._y = targetMovieClip[navArray[i-1]]._y+targetMovieClip[navArray[i-1]]._height+4
;
}
}
};
// new xml object
desDev_xml = new XML();
desDev_xml.ignoreWhite = true;
desDev_xml.master = this;
desDev_xml.onLoad = function(success) {
// callback
if (success) {
trace("hi")
this.master.desDevLoaded();
}
};
// xml load
desDev_xml.load("bandsman.xml");
Dynamic Text Scroll Component
hello,
i am building a chat room and have a dynamic textfield that eventually gets filled with peoples messages.
i have attached a a component scroll bar but it doesn't seem to work.
it's like it only seems to work when you have the text in there already and it can't seem to update itself and see how much text is in the box.
thanks for your help. howard.
Dynamic Text In Scroll Bar Component
i have a chart created with many dynamic text fields that get
information from other variables within the movie.
I've made this chart as it's own movie clip symbol, which i've
placed inside a scroll bar component.
when the i test the movie, the dynamic text in the movie clip chart, inside the scroll bar component, overlaps the scroll bar component edges. the graphics for the chart stay within the scroll bar component, only the dynamic text isn't hiddin within the confines of the scroll bar.
why?
any help is appreciated.
jbrd
Dynamic Text In A Scroll Component
i haven't been using flash for real long and suprisingly have run into a problem, although, i have no idea why it isn't working. here's the dilemma: (using MX)
i have an instance of a scroll pane component called scrollPane located in the main movie, it automatically loads a file called news.txt. The goal is to have a new txt file load as the user clicks a button, however, this isn't happening. i've tried a million things, but this is the code i was told to use.
on (release) {
scrollPane.loadURL("bio.txt");
}
any ideas? i can send the fla file if anyone needs clarification.
thanks a bunch.
Dynamic Text Scroll Component
This is pretty much what my problem is : (taken from another post I found in search)
"okay, I kinda fixed that problem by manually adding a whole load of spaces within the dynamic text field in Flash to enable it to scroll before the text imports on loading. Seems to work but it's not very tidy - especially as I'm doing this so that the content can be altered on a regular basis by a non-flash user. Is there any way to write a code or something so that the dynamic text field can work out how much space it needs to scroll, rather than having an excess of 'empty' text area? Or will I need to predetermine how much space the non-flash user has to play with? The scroller is an MX component btw - dunno if that makes a difference...
thanks all"
I am making a dynamic texy box wit a scroller. I am using the flash scrollbar component. When you enter text into it directly from flash, that will be the # of spaces that is always able to be scrolled. If you put in 10 spaces, then type that is dynamiclly loaded that has 12 spaces will not scroll all the way. If something is loaded with like 3 spaces, it will have a blank area where the side box can slide down.
ANYONE KNOW HOW TO FIX THIS ?
Dynamic Hight On Scroll Component
Hi
I have downladed the "dynamic_scroller.fla" (I think it was the one made by by kirupa chinnathambi).
It works fine, but I can't figure out how to set the hight dynamically! The textField I have set up can have different hight depending on how much space another textField (header) above needs. Think of HeaderText and a bodyText that togheter use a fixed height
(fixed height = header._height + body._height)
The scroll then needs to bee set to a height that fits the body textFields height. If I just set
myScrollCompMc._height = body._height
...the scroll will be squeesed or streched sometimes.
Do you know a better way to do this. How can I attach the scroll comp after I set up the textFields and when I know the body height.
Is there a way to set(mayby reload in some way) the height on the scroll by some code/function?
Plz help me.
PS. I am not so fimiliar with AS 2.0
I only wrights in AS 1.0 ...so far! DS.
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
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
Problems With Dynamic Text In Scrollpane/scroll Component
hi,
whatever i use...a scrollpane or a dynamic textbox with a scroll component thingy...if i load in too much dynamic text, it only shows like the last sentence of my dynamic text, the rest is no where to be found and, of course, now that my dynamic text is "shortened" for some reason, the scrollbars aren't activated.
i want to load some news text and for this it will be somewhat long. has anyone experienced problems with the scrollpane or scrollbars components when the dynamic text being loaded is somehwhat large? if so, does anyone, p-l-e-a-s-e, have a solution to this? ive been searching through the forums for an answer but i havent found much. most of the posts that touch on this subject are left unanswered.
if you want to see my problem, here is the address:
my problem here
oh, and another thing...the text has also become smaller (the text on the left is the right font size).
thanks for the help, people!
kat
Using Buttons To Change Scroll Component's Dynamic Text
i haven't been using flash for real long and suprisingly have run into a problem, although, i have no idea why it isn't working. here's the dilemma: (using MX)
i have an instance of a scroll pane component called scrollPane located in the main movie, it automatically loads a file called news.txt. The goal is to have a new txt file load as the user clicks a button, however, this isn't happening. i've tried a million things, but this is the code i was told to use.
on (release) {
scrollPane.loadURL("bio.txt");
}
any ideas? i can send the fla file if anyone needs clarification.
thanks a bunch.
Scrolbar Component Wont Scroll My Dynamic Text Field?
OK guys so .. what gives!!!!!!
I have a dynamic text field on my stage, i drag the scrollbar component onto it, it resizes and takes the text field's instance name in its target parameter.
BUT THE THING DOES NOT GIVE ME A SCROLL BAR AAARRRGGGG
I am a very experienced Flash user but can i gett his thing to work - can i %&*"!
It works with an input field but not with a dynamic one - is this the case or should it work with both?
gilesb
Scroll Bar Component Tweak To Make It Work Guestbook's Dynamic TextBox?
I have a guestbook which is dynamically loaded. Problem now is that I need a scroll bar for it. (using flash MX)
I've made a lot of scrollable dynamic text boxes using flashMX's handy scrollbar component, but it won't work for the text box for my guestbook.
The dynamic text box for my guestbook has a variable called GuestBook, and is PHP driven.
I am used to calling the dynamic text box's instance name to scroller and then adding an action to the 1st frame of the movie....
loadVarsText = new loadVars();
loadVarsText.load("text.txt");
loadVarsText.onLoad = function(success) {
if (success) {
trace("done loading");
scroller.html = true;
scroller.htmlText = this.var1
} else {
trace("not loaded");
}
};
with var1= at the start of my text.txt file to call up the text. This works flawlessly.
Now... unfortunately my guestbook is a bit different, the guestbook text box's instance name is empty, but is given a variable name instead, GuestBook.
The 1st frame of the movie has the following actions..
NumLow = 0;
NumHigh = 10;
loadVariablesNum ("GuestBook.php?NumLow="+NumLow+"&NumHigh="+NumHig h+"&R="+random(999), 0);
stop();
It calls up the guestbook info without a problem, i can add to my guestbook without a problem, i just need a scroll bar! Been trying to make it work for hours
Any suggestions? thanks soooo much!
Can't Scroll With Scroll Bar From Component
Flash Gurus,
I have a dynamic text field that loads txt from an external source. I slapped a scroll bar next to it ( from the components menu) when I command enter nothing happens . I see the text ( the part that fits in) but can't scroll.
Properties as follow :
Dynamic Text field has var assigned ( for the external text) and an instance name
Scrollbar Has above instance name in target Text filed
I don't know what else I can include.
Can anyone help ?
thanX
Dynamic Text/scroll Bar Component Changing Text Formatting
I would apologise if this has been answered before but I have done a quick search & was unable to resolve it & I'm up against a dead line.
I have a dynamic text field onto which I have placed a scroll bar component problem I have got is that the dynamic field has now lost all of it's formating -the header was orginally slightly larger & of a different font.
Anyone please tell me how to resolve this.
Thanks
SWF Doesn't Scroll
I loaded an SWF file into a dynamic text field. But the SWF doesn't want to scroll (normal scrolling not thru tweening). I wonder why! I have been trying to solve this problem for a week now, but to no avail. Please help!!
LoadMovie Doesn't Scroll
I create a movie with scrolling text box - which worked fine.
but when I LoadMovie it onto my main movie, scroll bar doesn't work!!
Someone help me please!!
(The tutorial I used is at http://www.flashkit.com/movies/Inter...3587/index.php)
Text Doesn't Scroll
I have this fla file.
the text (istance name "bellezza" doesn't scroll. I'm using 2 bottons with a script attached...but text doesn't move.
Script seems to be right.
what's wrong?
please help.
thanks
Scroll Doesn't Stop :(
I wrote this code for scrolling content:
ActionScript Code:
onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { var uppressed = true; updateAfterEvent(); }}onClipEvent (enterFrame) { if (uppressed) { if (count != 125) { _parent._parent.news._y -= 5; count += 5 } } updateAfterEvent();}onClipEvent (mouseUp) { uppressed = false; updateAfterEvent();}
and for opposite:
ActionScript Code:
onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { var dnpressed = true; updateAfterEvent(); }}onClipEvent (enterFrame) { if (dnpressed) { if (count != 0) { _parent._parent.news._y += 5; count -= 5 } } updateAfterEvent();}onClipEvent (mouseUp) { dnpressed = false; updateAfterEvent();}
When I scroll down it works and stops when count reaches 125, but when I scroll up it doesn't stop and scrolling down doesn't work anymore... Any help?..
Scroll Doesn't Stop :(
I wrote this code for scrolling content:
ActionScript Code:
onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { var uppressed = true; updateAfterEvent(); }}onClipEvent (enterFrame) { if (uppressed) { if (count != 125) { _parent._parent.news._y -= 5; count += 5 } } updateAfterEvent();}onClipEvent (mouseUp) { uppressed = false; updateAfterEvent();}
and for opposite:
ActionScript Code:
onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { var dnpressed = true; updateAfterEvent(); }}onClipEvent (enterFrame) { if (dnpressed) { if (count != 0) { _parent._parent.news._y += 5; count -= 5 } } updateAfterEvent();}onClipEvent (mouseUp) { dnpressed = false; updateAfterEvent();}
When I scroll down it works and stops when count reaches 125, but when I scroll up it doesn't stop and scrolling down doesn't work anymore... Any help?..
Profession MX Doesn't Have Scroll Bar?
hi I'm new here.
Got a question:
in the MX version the scroll bar can be created with the scroll bar component, right?
How come there isn't in the Professional MX? I can only see scroll text area.
If that's true, then how can I make a scoll bar in the Professional MX?
Millions of thanks
Text Scroll Doesn't Work?
View this link for a better understanding:
http://www.geocities.com/dimple_gyrl/sorce_movie2.html
I want to have a text field display next to the bitmaps (as a description of the bitmaps) But I don't know why the text is not loaded and the scrollbar is not even showing when I posted up on the web (the scrollbar was there when i tested the movie in flash)
This is what I did:
I created two layers and four frames. One layer contains the text field and the other layer contains the scroll arrows. I labeled frame #2 "load" and frame #4 "end" in the text field layer.
Here is the script I have for each frame in text field layer:
frame #1:
loadVariablesNum ("./text.txt", 0)
frame #2:
if (text ne "")
{
gotoAndStop ("end");
}
frame #3:
gotoAndPlay ("load");
frame #4:
stop();
I think the actionscript that I'm having are right but for some reason, the text wouldn't load up.
Can you tell me what i'm doing wrong?
Thanks for your help!!!
Anh
This Doesn't Make Me Scroll Slowly
Hey, I was hoping to write a function that would scroll an object slowly.
This seemed like a good concept, but it doesn't work.
This is in my actions layer:
Code:
var DelaySeconds = .5;
var LastTime = new Date();
function waitDelay(){
// This function returns true if the current
// time is at least DelaySeconds >= to
// global variable LastTime.getTime
CurrentTime = new Date();
if ((LastTime.getTime() + (DelaySeconds * 1000)) > CurrentTime.getTime()){
trace("LastTime was: "+LastTime);
LastTime = CurrentTime;
trace("LastTime is: "+LastTime);
return(true);
}else{
return(false);
}
}
Notice that I have two trace()'s in the "TRUE" portion of the if. If this evaluates to FALSE, nothing should be output.
This is on a button:
Code:
on (rollOver){
while (TheVerse._y > -43){
if(waitDelay()){
TheVerse._y -= 14;
}
}
}
What happens is the items moves across the screen instantly. Trace info shows up and the output is not 500 ms appart. It's much less, here is the output:
Code:
LastTime was: 1001819222355
LastTime is: 1001819222405
LastTime was: 1001819222405
LastTime is: 1001819222405
LastTime was: 1001819222405
LastTime is: 1001819222405
LastTime was: 1001819222405
LastTime is: 1001819222405
LastTime was: 1001819222405
LastTime is: 1001819222405
LastTime was: 1001819222405
LastTime is: 1001819222405
LastTime was: 1001819222405
LastTime is: 1001819222405
LastTime was: 1001819222405
LastTime is: 1001819222415
LastTime was: 1001819222415
LastTime is: 1001819222415
LastTime was: 1001819222415
Any idea what I'm doing wrong?
Thanks,
Why Doesn't This Rollover Scroll Work?
Please can anyone help!! I'm trying to have a rollover scroll which makes the image scroll when the mouse passes over the directional arrows.
But I can't seem to get the image to stop at either ends! anyone know why?
See example: http://www.jchequer.co.uk (this link shows what i'm trying to achieve, and that the left hand side stops but right doesn't!)
oh and one more thing.....will i be able to have links within the rollover scroll? as a type of navigation???!
can you please explain how? do i just include the links within the movie clip?
are there any tutorials anyone knows?
Cheers.
OnPress Doesn't Scroll Continuously
Hello,
My btns don't scroll continuously when I use onPress -
How would I get the scrolling function to repeat itself while the btn is being pressed?
Code:
_global.mainTL = this;
//load an image into the pic clip inside the window clip
//create scrollable clip
mc_win.scrollRect = new flash.geom.Rectangle(0, 0, 300, 200);
//--------------------------------- end initialization -----------------------\
//--------------------------------- code for scrollers -----------------------\
btn_up.onPress = function() {
target = mainTL.mc_win;
var scrollUp = target.scrollRect;
var scrollmax = target._y;
if (scrollUp.y>scrollmax) {
scrollUp.y -= 10;
target.scrollRect = scrollUp;
}
};
btn_down.onPress = function() {
target = mainTL.mc_win;
var scrollDown = target.scrollRect;
var scrollmax = scrollDown.height;
if (scrollDown.y<scrollmax) {
scrollDown.y += 10;
target.scrollRect = scrollDown;
}
};
//--------------------------------- end scroller code -----------------------\
stop();
Cellrenderer Doesn't Refresh Upon Scroll
I'm finding that the only way I can refresh a datagrid containing jpegs, rendered with cellrenderer, is by setting a scroll event on the datagrid, then resizing the column to the same value inside this event's function.
Is this a known problem?
UIScrollbar Doesn't Scroll Through All The Text?
Hi all, I have a small-ish text field with a decent amount of text in it which must be scrolled through to view it all. I've added a UIScrollBar component (using AS3), and it shows up fine and scrolls the text fine, but it doesn't scroll all the way down to the bottom of the text, just a little ways into it. If I use my mouse wheel and scroll the text that way, then scroll bar position indicator suddenly shrinks and then I can use the scroll bar clear to the end of the text. But if I don't use the mouse wheel to do this, I can't use the scroll bar to get to the end of the text. I've tried using the update() method of the scroll bar after filling the text field with it's content and attaching the UIScrollBar component to it. What am I missing here so that I can use the scroll bar to scroll all the way down through the text instead of just a little ways?
Help Scrollpane Doesn't Scroll All Content
I've got something weird going on. I've got news page (news.swf) with the scrollpane component which loads an external swf (newscontent.swf). Both files are in the same directory.
Just added some more text in newscontent.swf (thus making the scrollable area larger), but the scrollpane stop half way. It worked fine before.
The document size of newscontent.swf is large enough to hold the text. And no additional actionscript is used.
Can anybody tell me what I've done wrong, if at all...
Thanks!
Scroller Doesn't Scroll When Loaded
Hello, I'm making a new site but I got stuck. I hope someone can help me 'cause I just don't understand what I'm doing wrong.
I made a "site" in which I load the other parts of the site, for example "scroller" (both in attachment). If you open "scroller" you'll see it works just fine (I wish it would only skip one line at a time but that's not that important). When you open "site" it loads "scroller" in it but the scroller doesn't work anymore?!?
What did I do wrong? I guess it has something to do with the referrence path, but I can't find the sollution.
Please help me if you know how to fix it.
Thanx a lot!
Scroll Pane Doesn't Work
Hi,
I am creating a portfolio website and I was trying to use the scroll bar for my text box but for some reason it doesn't snap to the correct size when I drag and drop the scroll bar from the components list. please can someone help me
Regards
OnPress Doesn't Scroll Continuously - Help?
Hello,
My btns don't scroll continuously when I use onPress -
How would I get the scrolling function to repeat itself while the btn is being pressed?
Code:
_global.mainTL = this;
//load an image into the pic clip inside the window clip
//create scrollable clip
mc_win.scrollRect = new flash.geom.Rectangle(0, 0, 300, 200);
//--------------------------------- end initialization -----------------------\
//--------------------------------- code for scrollers -----------------------\
btn_up.onPress = function() {
target = mainTL.mc_win;
var scrollUp = target.scrollRect;
var scrollmax = target._y;
if (scrollUp.y>scrollmax) {
scrollUp.y -= 10;
target.scrollRect = scrollUp;
}
};
btn_down.onPress = function() {
target = mainTL.mc_win;
var scrollDown = target.scrollRect;
var scrollmax = scrollDown.height;
if (scrollDown.y<scrollmax) {
scrollDown.y += 10;
target.scrollRect = scrollDown;
}
};
//--------------------------------- end scroller code -----------------------\
stop();
Help Scrollpane Doesn't Scroll All Content
I've got something weird going on. I've got news page (news.swf) with the scrollpane component which loads an external swf (newscontent.swf). Both files are in the same directory.
Just added some more text in newscontent.swf (thus making the scrollable area larger), but the scrollpane stop half way. It worked fine before.
The document size of newscontent.swf is large enough to hold the text. And no additional actionscript is used.
Can anybody tell me what I've done wrong, if at all...
Thanks!
Scroller Doesn't Scroll When Loaded
Hello, I'm making a new site but I got stuck. I hope someone can help me 'cause I just don't understand what I'm doing wrong.
I made a "site" in which I load the other parts of the site, for example "scroller" (both in attachment). If you open "scroller" you'll see it works just fine (I wish it would only skip one line at a time but that's not that important). When you open "site" it loads "scroller" in it but the scroller doesn't work anymore?!?
What did I do wrong? I guess it has something to do with the referrence path, but I can't find the sollution.
Please help me if you know how to fix it.
Thanx a lot!
My Scrolling Text Doesn't Scroll
Well People,
Here I am with another problem. I am following the Kirupa tutorial on "Scrolling Dynamically Loaded Text". Once again I have followed the tutorial exactly, but it doesn't seem to be working.
This is what I'm seeing. When I preview the movie I see the first several lines of text in the text area, but the text is not formatted in the manner I chose in the properties dialog box. The text box scroll bar does not move and the text doesn't scroll.
What could I possibly be doing wrong? Any help is greatly appreciated.
Thanks,
Kelly
My Scrolling Text Doesn't Scroll
Ok guys,
That same problem from last night is still occuring. I did exactly what the tutorial stated, but it doesn't scroll. From all that I have done it appears that it might have something to do with the formatting of the text file - not sure though. would someone please look at my attached files and see if they can figure out what I'm doing wrong?
Thanks,
Kelly
Scroll Pane Doesn't Work
Hi,
I am creating a portfolio website and I was trying to use the scroll bar for my text box but for some reason it doesn't snap to the correct size when I drag and drop the scroll bar from the components list. please can someone help me
Regards
Text Scroll Up Doesn't Work
Hi
I need help.... I have button for up movement.
On rollover,my text will move up.
I put my text inside a movieclip,
and in my button I put script like this
on(rollOver ){
_root.mainmov.stextScroll._y-= 5;
}
//stextScroll is my instance name on the stage where my text located inside.
but when I test it...my text move up once but it doesn't loop
can you help me on this??
because what I need to do is
1. on rollover, text will go up as long as the cursor is in the area of button.
2. on rollout, text is in stop.
thanks in advance.
Scroll Menu Btn Doesn Work
Hi, I have a scroll bar navigation with couple of button in it, here's the code
ActionScript Code:
stop();
ym = 0;
//function to set the ypos of the movieclip
function ypos(bar_length, mul) {
hpos = 0;
scroll_length = 250;
incr = bar_length/scroll_length;
ym = _ymouse;
if (_ymouse<=10) {
ym = 10;
}
if (_ymouse>=240) {
ym = 240;
}
scroll_y = (hpos-ym)*mul;
y_pos = (scroll_y*incr)+hpos;
return y_pos;
}
menu.onRollOver = function() {
menu.onEnterFrame = function() {
// call function ypos
y_pos = ypos(1000, .75);
with (menu) {
_y += (y_pos-_y)*.4;
}
};
};
menu.onRollOut = function() {
delete this.onEnterFrame;
};
menu is the main bar contains bunch of little buttons from btn1 - btn10,
when I try to apply
ActionScript Code:
menu.btn1.onRelease = function(){
trace("test");
ir returns nothing, it just doesn't work no matter how I click, I don't know if it's the function causes this, but it just doesn work...please help...thanks a lot~~
sorry for the long code, but if you take a look at the handler and stuff you should find the problem, I just can't...HELP~~
Scrolling Thumbnails (Doesn't Scroll)
Hello,
As you can see in the code below I did not finish the tutorial because upon testing the scrolling ability it did not scroll. I checked his code next to mine a few times and didn't see anything that stuck out. Is there something in the code that I am missing that makes it to where my panel doesn't scroll when I put my mouse over it?
Code:
panel.onRollover = panelOver;
function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}
var b = stroke.getBounds(_root);
function scrollPanel() {
if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}
if(panel._x >= 89) {
panel.x = 89;
}
if(panel._x >= -285) {
panel.x = -285;
}
var xdist = _xmouse - stage.width / 100;
panel._x += -xdist / 7;
}
Also...for some reason one of my thumbnails is acting up, and the "over" outline keeps flashing on and off when my mouse isn't even over it. So no scrolling, and then the thumbnail incident.
Thank you!
The Scrolling Navigation Bar Doesn't SCROLL But Jumps? - H E L P
Errr....
sorry folks... but this wasn't what I wanned...
I mean.. I wanned the NAVIGATION BAR... to KEEP SCROLLING TILL the even was "on mouse over" and retain its current x position on mouse out (both for the left arrow and the right arrow).
The tutorial helped me to only move the movie clip either to the right or to the left by a set number of pixels. Thus the navigation bar... doesn't SCROLL.. but JUMPS by the set number of pixels
Anywayz... lemme be patient...
Quote:
Originally posted by sathishfido
Hey dude...
Thanx a tonne...
Lemme work on it and see if I can... errr.... accomplish this mammoth task..
Else, I'd post yet another one....
Wish me luck..
Quote:
Originally posted by Mudgett
one of may ways to do it would be to...
on button right of level 2 you could add the action to the button.
on (release (whatever instance you want)) {
_level1.mc_name._x -= speed to scroll;
}
on left button
on (release (whatever instance you want)) {
_level1.mc_name._x += speed to scroll;
}
if you put a mask in the mc then you will only see the links links scroll and not the entire mc when viewing it
Simple Scroll Text Doesn't Work...?
Hi,
Today is "questions day" as far as I'm concerned.I'm kidding - but I'm starting, and that's the worst part.
I've already put another question previously. Now I have a new one: I created a text box ( dynamic text ) that I called "textField". Now, I'm trying to make a simple scroll. So I put two buttons ( up and down ).
From one movie, i took this code:
on (rollOver)
{
textField.scroll += 1;
}
on (rollOut)
{
textField.scroll += 0;
}
but it doesn't work.
What is the problem? I tryed the Macromedia mx tutorial example, and it doesn't work either.
Can anyone help me out?
Regards,
Adamastor
|