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
FlashKit > Flash Help > Flash ActionScript
Posted on: 08-21-2005, 10:34 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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
Scroll Movieclip - Stop At Certain Point
Hi. I figured out the code below to make a movie clip scroll up and down. However, the problem is that it will keep scrolling forever. Does anyone know how I can get it to stop at a minimum and maximum vertical height?
Code:
var scrollUp = function() {
test_mc.onEnterFrame = function() {
this._y -= 5;
}
};
var scrollDown = function() {
test_mc.onEnterFrame = function() {
this._y += 5;
}
};
scrollup_mc.onRollOver = function() {
scrollUp();
};
scrollup_mc.onRollOut = function() {
delete test_mc.onEnterFrame;
};
scrolldown_mc.onRollOver = function() {
scrollDown();
};
scrolldown_mc.onRollOut = function() {
delete test_mc.onEnterFrame;
};
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();
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..
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
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
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
Scroll Pane Content Doesn't Work
ok, so i've got a movie with a scrollpane (god these things are a hassle) on the stage. the movie tells the scrollpage to load content from an outside swf called testes.swf (short for testimonials). in testes.swf, there are a series of invisable buttons on top of client testimonials. when you press the button, it calls a startDrag for a movie that is sitting off the stage. the button code is such:
on (press) {
hedy.startDrag(true);
hedy._visible = true;
}
on (rollOut) {
hedy._visible = false;
}
this all works fine then the testes.swf is previewed by itself, but when it is loaded as content into the scrollPane, the button functions don't work. is it a file path issue? please help me! this is the last problem in a very frustrating process that has beenthe creation of this project.
thanks,
morgan
Please Help With Gallery Scroll
Hi...
Ok, i know its been done to death! But...
Client really would like a gallery preview, whereby the sequence of
thumbnails scroll left and right according to the movement of the mouse.
(shy or attract)
Is there a tutorial about that would cover this subject?
Thanks cliff
[CS3] Web Gallery With Scroll
Hello
I am new at this forum
I need some help .. I need to do something like this http://www.nike.com/nikeskateboarding/paulandclark/
Not the all page, i just need to do the gallery with the scroll
Somebody can help me?
P.s Sory my english i am from Portugal
Scroll Gallery
I want my site having a scroll gallery jus like this website
http://graphictherapy.com/index2.html
i cant seem to do it, anyone wanna help out?
cheers
Xml Gallery - Scroll
Hello!
I have this xml gallery only made in actionscript 3. I would like to be able to add unlimited pictures and then scroll through the thumbnail horizontally. So I guess I should add a mask and a scrolling function but I don't know how to do this in AS3? Can anyone help and do I explain myself properly???
Here is my code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
var fadeTween:Tween;
var imageText:TextField = new TextField();
var imageLoader:Loader;
var xml:XML;
var xmlList:XMLList;
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.load(new URLRequest("images.xml"));
xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);
function xmlLoaded(event:Event):void
{
xml = XML(event.target.data);
xmlList = xml.children();
for(var i:int = 0; i < xmlList.length(); i++)
{
imageLoader = new Loader();
imageLoader.load(new URLRequest(xmlList[i].attribute("thumb")));
imageLoader.x = i * 125 + 25;
imageLoader.y = 5;
imageLoader.name = xmlList[i].attribute("source");
addChild(imageLoader);
imageLoader.addEventListener(MouseEvent.CLICK, showPicture);
}
}
function showPicture(event:MouseEvent):void
{
imageLoader = new Loader();
imageLoader.load(new URLRequest(event.target.name));
imageLoader.x = 25;
imageLoader.y = 125;
addChild(imageLoader);
imageText.x = imageLoader.x;
imageText.y = 530;
for(var j:int = 0; j < xmlList.length(); j++)
{
if(xmlList[j].attribute("source") == event.target.name)
{
imageText.text = xmlList[j];
}
}
fadeTween = new Tween(imageLoader, "alpha",None.easeNone,0,1,1,true);
}
imageText.autoSize = TextFieldAutoSize.LEFT;
addChild(imageText);
Xml Scroll Gallery FLA
trying to get the launch window to work...
"when you click on a pic within the scroll gallery, the popup won't pop up?
errrrr
SEE ATTACHED FILES
open tbody.html
the grey button loads the gallery in LEVEL 10
Scroll Gallery
I have to do something similar to this gallery
any suggestions? where should I start?
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
Button Scroll Works But Drag Bar Doesn't (Scrolling MC)
Hi there,
I followed a tutorial that enabled me to scroll an MC with buttons and a drag-able bar. The original tutorial was for a vertical scroll, but I changed everything Y to X and modified what I thought were the correct things, to convert it all to a horizontally scrolled MC, but alas, only the buttons work. The drag bar does a weird thing when you click it, and scrolls vertically and moves up on the stage. I have been experimenting for hours but my brain is squish. Can anyone pleeeaasse help me figure out what Im going wrong?
Here is a link to a page that shows the SWF, and you can download and please look at my FLA:
http://www.lucid-life.com/scroll-mc.html
Many many many thanks in advance,
Cheska
Flash Custom Scrollbar Doesn't Scroll All The Way Back Up Again
Hello!
I used this tutorial to make a custom scrollbar that works great and lets me scroll my buttons+text up and down, but I have one problem!
My scrollbar won't scroll all the way back to the top again, only most of the way.
See my SWF here.
Does any wise person have any insight as to why?
Thanks
Scroll Bar Doesn't Work Well With Button With Action Script
I tried to attach a scroll bar to the dynamic text field. If I just assign a number for a loop to print strings to the dynamic text filed directly, the scroll bar can be seen. However, if I add a button for text inputs then create a loop to print strings in the dynamic text field, the scroll bar is not visible and can't be scrolled. The dynamic text field is assigned with an instance name from the beginning. Can somebody help, please? Thank you so so much. The codes with the button function is below:
sum=0;
display="";
//button action
enterButton.onRelease= function()
{
display="";
for(i=0;i<input;i++)
{
sum=sum+i;
display= display +i +", ";
}
//Add the sum to the display
display= display +"
"+ "The sum of the above numbers is:"+sum;
}
Flash Custom Scrollbar Doesn't Scroll All The Way Back Up Again
Hello!
I used this tutorial to make a custom scrollbar that works great and lets me scroll my buttons+text up and down, but I have one problem!
My scrollbar won't scroll all the way back to the top again, only most of the way.
See my SWF here.
Does any wise person have any insight as to why?
Thanks
Thumbnail Gallery Scroll Through
Would anyone know how to create a thumbnail gallery that uses only 2 scroll buttons to move through the gallery. Also including the use of actionscript
Thumbnail Gallery In Scroll Bar Box
Hello:
I don't even know if this is possible but this is what I'm looking for. I want to have a Scroll Bar Box that contains numerous thumbnail pictures where the person can click on the thumbnail and display the larger version on the otehr side of frame. Is this possible? I already knwo how to link the thumbnail to another frame, but just not sure on how to get thumbails in a scroll bar box.
Jonathan
|