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




Scroll On A Movie Loaded



Hi,

could someone tell me if it can be done to have a situation as follows :

In movie 1, there is an area reserved for content loaded from other swf movies. This area has an aproximate height of 200 pixels. Now, if the movie that is loaded is actually bigger than this given height, can I use a scroll bar component to have this movie scrolled?

If this can be done, could someone point me in the right direction to where I can find a general answer to this technic?

Thank you

Barzalou



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 03-16-2003, 07:58 PM


View Complete Forum Thread with Replies

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

Why Wont Text In Child Movie Scroll When Loaded In Parent Movie
why doesnt the text scroll when the news movie is loaded into the main movie. ive attached all files this time.

Scroll Bar Won't Drag When Movie Is Loaded Into Main Movie
Hi,

I have my main movie.
The content is an external .swf loaded with loadMovie();

The external 'content' has a scroll bar that works when the external content is tested on its own.

But, it doesn't work when the external content movie is loaded 'within' the main movie.

The cursor changes when over the scroll drag bar but it wont drag up or down!!!


Here is the code i have on the button that is the scroll handle:


PHP Code:



on(press){
    startDrag("_root.scrollbox.bar",true,452.1,3.9,452.1,330);
}
on(release, rollOut, releaseOutside ){
    stopDrag();





Anyone have an idea why this wouldn't work when loaded into another movie?

Thanks

Julian

Making A Loaded Movie Scroll
here's deal

I get a menuMoiveClip to scroll on the main Timeline (no problem)... I then save that menuMovieClip into menu.swf.
I load menu.swf into _levelX.
when I'm resetting the properties for the scrolling effect , say, setting the "x" position of the loaded movie,
setProperty(_levelX.menu.menuMovieClip,_x,number0)

I get it scrool alright >>> _level0 , and not the actual menuMOvieClip inside menu.swf wich is at _levelX !=_level0

hummm ...I get the scrolling for the parent movie but at no point I'm telling the _parent movie to move...

help please

LoadMovie And Scroll This Loaded Movie
I load a swf into another swf with loadmovie in a rectangle(for the position ). I would like to know, if it's possible
, if you have a swf(width 200 px, height 800 px), and than you load this movie in a rectangle (width 200 px, height 300 px!!!!), can you scroll this loaded movie with scrollbar?!?!

Scroll Inside Loaded Movie
I have this problem, i made a site and then i loaded a movie with a scroll inside, when i test this movie by it self it works good, but when i load it, the scroll doesnt work! Does any body knows what can i do to make it work?
Thanks a lot

Scroll Bar Will Not Reset When New Movie Is Loaded
I'm new here. Any help will be much appreciated!!

I'm building a site that has a list of banners which categorize various clothing designers by brand on the accessories page. The banners are scrolling buttons. When clicked, a banner should bring up a new set of thumbnails showing the inventory of the designer listed on the banner. Once on the inventory page, the scroll bar stays in the position of the previous banner page - making it possible to completely miss the second page of thumbs if left scrolled halfway down the list.
I worked on this for the past few days thinking that a solution must be right in front of my face - but....
website: http://www.circlesandsquares.biz - click the shopping cart/accessories. (second banner down is linked)

Here is what I did:

In first scrolling movie – banner button has this code:

on (release) {
gotoAndPlay(2);
}


on frame two I have a empty mc - "holder" and designate it as the target in which the new movie (an external swf.) “queen_bee2.swf” will replace the original.

loadMovie("queen_bee2.swf", "holder");

I tried to use the "setScrollPosition" method to reset the scrollbar with no results. Help if you can!! Thanks. (Using Falsh MX on a Mac)

Help Preloader To Play A Scroll Movie After Loaded
Hi thank you for helping,
I have just placed a preloader into my movie but my movie has a scrolling action script if that makes any sense

it plays correctly and scrolls with out the pre loader inserted but with the preloader my movie loads but will not allow me to scroll
here is my scroll script i think it is to do with this as the preloader works fine if thier is no scrolling action
script this action script is in the first frame of the movie.

_root.slider._x = _root.slider._x+1;
//when mouse moves left, navigation panel moves right
if ((_xmouse>0) && (_xmouse<500) && (_ymouse>0) && (_ymouse<200)) {
_root.slider._x = _root.slider._x+3;
}
//when mouse moves right, navigation panel moves left
if ((_xmouse>500) && (_xmouse<1000) && (_ymouse>0) && (_ymouse<200)) {
_root.slider._x = _root.slider._x-3;
}
//when navigation panel reaches it's maximum x-value it resets itself
if (_root.slider._x>1000) {
_root.slider._x = 57;
}
if (_root.slider._x<-130) {
_root.slider._x = 479;
}


please help me on this one
thank you

Scroll Bar Will Not Reset When New Movie Is Loaded - Part 2
Here are the fla files. Any help in response to the question in the forum would be much appreciated. I'll look for the answer in the forum. Thanks!!

Files: http://www.circlesandsquares.biz/Flash/

original question:
I'm building a site that has a list of banners which categorize various clothing designers by brand on the accessories page. The banners are scrolling buttons. When clicked, a banner should bring up a new set of thumbnails showing the inventory of the designer listed on the banner. Once on the inventory page, the scroll bar stays in the position of the previous banner page - making it possible to completely miss the second page of thumbs if left scrolled halfway down the list.
I worked on this for the past few days thinking that a solution must be right in front of my face - but....
website: http://www.circlesandsquares.biz - click the shopping cart/accessories. (second banner down is linked)

Thanks!!

[5] Can't Scroll Dynamically Loaded Text In Attached Movie
hi,

i've got a button that attaches a movie with this code:

on (press) {
i++;
_root.attachMovie("bio1", "bio1", i);
setProperty ("bio1", _x, random(570)+10);
setProperty ("bio1", _y, random(590)-390);
}

within this movie i loaded a text file with:

loadVariables ("./text/bio1.txt", i);

but i can't seem to get the text to scroll. i've got a scroll down button:

on (press) {
tellTarget ("/bio1down") {
gotoAndPlay (2);
}
}
on (release) {
tellTarget ("/bio1down") {
gotoAndStop (1);
}
}

why isn't it working??
yukot

[5] Can't Scroll Dynamically Loaded Text In Attached Movie
hi,

i've got a button that attaches a movie with this code:

on (press) {
i++;
_root.attachMovie("bio1", "bio1", i);
setProperty ("bio1", _x, random(570)+10);
setProperty ("bio1", _y, random(590)-390);
}

within this movie i loaded a text file with:

loadVariables ("./text/bio1.txt", i);

but i can't seem to get the text to scroll. i've got a scroll down button:

on (press) {
tellTarget ("/bio1down") {
gotoAndPlay (2);
}
}
on (release) {
tellTarget ("/bio1down") {
gotoAndStop (1);
}
}

why isn't it working??
yukot

Scroll Xml Loaded Content
Hi!

I load let's say 10 post from an xml-page (another time it could be 20 posts), but only 8 fits into the design... how do i scroll them? I load it like this:

for (var i=0; i<attractionItems.length; i++) {
attraction = _root.attachMovie("attraction", "attraction" + i, i);
attraction._x = 625;
attraction._y = (i*50)+(450);
attraction.name.text = unescape(attractionItems[i].attributes.name);
attraction.web = unescape(attractionItems[i].attributes.web);
attraction.onRelease = function() {
getURL("http://" + this.web, "_blank");
}
}

TRYING To Scroll Text Loaded From URL
I have content that I am loading into a text field from a text file on my server. I am using the ScrollBar component in Flash MX, but each time the swf loads, the scroll bar is inactive. How do I get the scrollBar to realize that there is text to scroll in the text window???

Scroll Text Loaded From An XML
I'm having trouble scrolling text imported from an XML document. I've searched for hours and can't find a thing. Any help is appreciated.

Scroll An Externally Loaded Swf ?
I was wondering if you guys could help me; I wish to create a scroll pane to sroll an external .SWF ; is this possible ?

I thought it was witht he scroll pane component, but I'm a bit rusty with flash; tried creating a scroll pane, and setting source to the name of the swf... i.e. artists.swf ... but it won't work... am I missing something... ? it is late, and it has been a long day! I would really appreciate yor replies guys !

Scroll Box Not Scrolling Once Loaded
I'm working on a project where I am loading an swf into the main swf using loadmovie into a target. The external swf is a text with a scroll bar which works fine alone but if I load it into the target of the main swf the scroller doesn't drag however the hitarea on the button is still appears to be working. Anyone got any idea what I need to do to fix the problem?

Also if I have multiple external files am I better off using the loadMovieNum command instead of loadmovie? What is the difference between them?

Scroll Bar + Loaded Text.txt = Nono
Well the eqation above seems to set me back quite a bit. So, to make the long story short - what do i do ?

(Symptoms : I load a text.txt into a dynamic text box, the text from text.txt then apears withing the box as it should - but the scrolled doesn't "see" any difference - and isn't functioning. As far as i can figure - i must refresh it somehow. How ? )

Thanks!

Making A Loaded XML File Scroll?
I've tried the scrollable text field tutorials and files here at FlashKit, but they don't work with what I'm wanting to do.

You see, for the text to scroll, the text box has to be a movie clip because of the 'onClipEvent' code. But as soon as I change the text box into a symbol, the XML is no longer loaded into the text box.

Does anyone have experience with this?

I'll post my code in a little bit, but its nothing special. Its just like any other code except its loading 'calendar.xml' into an XML object instead of using a loadVariable script.

tia

How To Scroll Loaded Text Using This Component
HI!

I downloaded the Illogicz Component Set from flashcomponents.net at
http://www.flashcomponents.net/component.cfm?nav=2&id=19

i am trying to use the slider2 componet to scroll loaded text and i can't get it to scroll the text.

I have a button that when when you press it it loads the text,then the slider2 above it .


on the button I have :

on (press) {
loadVarsText = new loadVars();
loadVarsText.load("text1.txt");
//assign a function which fires when the data is loaded:
loadVarsText.onLoad = function(success) {
if (success) {
trace("done loading");
//Now that we know the data is loaded,
//set the text content of the Text Field
//with the instance name "scroller" equal to the
//contents of the variable
mtext.text = this.var1;
scroller.setScrollTarget(mtext)
} else {
trace("not loaded");
}

}
}



thanks!

Scroll Component And Loaded Text
Hey guys,
I have a text field that has information loaded from a text file using the load variables command. When I drag a scroll component onto it, the scroll function doesnt work. I cant scroll up and down. However, if I dont load the text into the field but rather instead manually have text in the field, the scroll works. Can anyone please help me with this. I've been trying to figure it out for the past 3 hours. Thanks
Don

Scroll Bar In Conjunction With Loaded Text
Version: Flash MX
Problem: I have a dynamic text box that has text loaded into it from an alternate text file. I have a component scrollbar that is linked to the text box, however, even though there is more text than fits in the text box, the scroll bar does not work. Is there any way around this?

Thanks.SA

How To Scroll Dynamically Loaded Images
How would I scroll dynamicall loaded images. I would like to use XML but that not required.

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!

Text Won't Scroll When Loaded In Main... Why?
Hiya,

Here's my situation... I have an externally loaded text file (example1.txt) and scroller set up the way I want, and everything seems to load and scroll just fine when playing the movie (resume.swf) by itself... however, when I have that movie (resume.swf) loaded into my main movie (main.swf) I can't get it to scroll at all. You can see what I am talking about by looking at the .fla's below.

Any help would be greatly appreciated... Thanks in advance!

Gotemgreat

Dinamic Loaded Scroll Text
I've tried the tutorial about create a dinamically loaded scroll text, and it works, but when I insert the swf file into the web page with Dreamweaver MX, and I try to see the page, it doesn't work.

I see the movie, but no text is loaded. With the Flash viewer it works, but tring to see the full web page with Internet Explorer don't. Loop and Play params are selected in Dreamweaver... so has someone any idea about what I'm doing wrong?

How To Scroll Externally Loaded Images
hello all
Im in a middle of a project, in which i've to call the images from external xml file.
My requirement is that the images (in a array of 5) should first sroll from right to left , then stay on the stage for some time & then fade out.

Do anyone has done it before, it will be highly helpful to me

thanks in advance

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!

Can You Scroll Variable Loaded Text?
I used the AS tag
ActionScript Code:
loadVariableNum("/url.txt", 0);

into a skewed text box that i assigned a scroll bar component to. It works when i type text right into Flash, but when I load text the text shows up with the scrollbar inactive. Is there a way to fix this? (flash mx)

Vertical Scroll For Dynamic Loaded MC?
Hello,

I'm trying to find a good example of vertical scroll that works also with mouse wheel and the content is MC (not text area). The problem is that the content of this MC is loaded from an external swf file.

Can someone share a link? I spent 2 days searching google and there are always text area scrolls;-(

[5] Can't Scroll Dyn. Loaded Text In AttachedMovie
hi,

i've got a button that attaches a movie with this code:

ActionScript Code:
on (press) {
i++;
_root.attachMovie("bio1", "bio1", i);
setProperty ("bio1", _x, random(570)+10);
setProperty ("bio1", _y, random(590)-390);
}

within this movie i loaded a text file with:

ActionScript Code:
loadVariables ("./text/bio1.txt", i);

but i can't seem to get the text to scroll. i've got a scroll down button:

ActionScript Code:
on (press) {
tellTarget ("/bio1down") {
gotoAndPlay (2);
}
}
on (release) {
tellTarget ("/bio1down") {
gotoAndStop (1);
}
}


why isn't it working??
yukot

Scroll A Loaded Text Field In Flash 4?
Hey y'all-
Does anyone out there know how to scroll a text field in FLash 4 using externally loaded text files? Any input would be awesome, thanks!!

How To Auto-add Scroll Buttons To Loaded Text?
Hi,

Does anyone know where I can find a tutorial on how to automatically add scroll buttons to an MC when the amount of text loaded from an external file exceeds the available space in the dynamic textbox?

The closest I've found was one on http://www.nooflat.nu/ that adds a slider but no buttons but I'm sure I've seen one with buttons before - just can't remember where!

I've tried searching the forums but the dodgy titles people give their posts make it pretty difficult to find what I'm looking for - more descriptive posts please!

Thanks,
Andy

How Do You Make Dynamically Loaded Text Scroll?
How do you make dynamically loaded Text scrollable? I tried it to load text into a dynamic text box and add a scroll component but that don't work. Any Ideas?

Scroll Loaded .swf Files In Target Area
i am trying to make loaded movie clips scrollable up and down. the scrolling will be controled by buttons (an up and down button).

the problem i'm having is targeting externally loaded swf files to make them scroll.

i attached the fla i got so far.

can someone please get it working for me, it's driving me nuts.

Scroll Bar Problem On Dynamically Loaded Text
I created a text box using the Text Tool and I applied a scroll bar (component) to it. It works fine when I add some text in the text filed but when I load dynamically (using loadVariablesNum) the text the scroll bar doesn't work. I mean it doesn't resize the whole text.

What I need is to load a text from an external text file and to be able to redesign the scroll bar (component).

Anyone could assist?

Dynamic Text Loaded From A .txt File With A Scroll Bar
Hello, I've tried to do things the way the tutorial on Flash MX told me to load the dynamic text, but it seems I might be missing something. I have no idea what, or why this isn't working, but maybe someone can take a look at my .fla file and see if they can come up with a way to do things. What I'm looking to do is on frame 2 of the "site" scene, I want that text field to have a scrollbar, so i can make the text larger and easier to read. I would want to do this on a few other frames too, so if someone can let me know how to do this, it would be great. I would also like the "Treat text as HTML" option enabled as well.

P.S. I've tried to do this by taking the variable name away, and the scrollbar doesn't attach, i've tried making an entirely new field of dynamic, multiline text with nothing in it and placing the scroll bar in it and it didn't attach. I even tried it with static text and it wouldn't work! It's not like the component isn't working, I've done it when i just create a new file but for some reason it doesn't want to work with this .fla. Perhaps someone can tell me why? or What I can do?

The .fla file is located at http://www.daveking.ca/daveking.fla and i'm currently uploading it now. It's about 1.4 megs I believe.

Can A Html Page Be Loaded Into A Scroll Pane?
Can I load an external html page into a scroll pane? If so, how is this done?

Easiest Way To Scroll Loaded Txt File In Flash
i dont know how to load or scroll text in flash so i looked at the tutorials section in flashkit and the tutorials were 11 pages long. so does anyone know how to scroll loaded text in flash?

thanx
austin

Dynamic Text Loaded From A .txt File With A Scroll Bar
im using this tutorial, http://www.macromedia.com/cfusion/kn...fm?id=tn_16142 and its not working. i even downloaded the source file but i get this error,

**Warning** Scene=Scene 1, layer=Layer 3, frame=1:Line 1: The identifier 'loadVars' will not resolve to built-in object 'LoadVars' at runtime.
loadVarsText = new loadVars();

Total ActionScript Errors: 1 Reported Errors: 1

i attached the .fla.

please help! thanks.
it says its too big to attach, so i uploaded it here

SWF Loaded Into Scroll Pane Randomly Going Out Of Bounds
Hi there. I'm having an unusual problem with the SWF file I am loading into a scroll pane randomly going out of the bounds of the scroll pane. I cant seem to figure out why. Has anyone had this problem before?

If you keep clicking back and fourth between the two pages you will see that sometimes the SWF file will be out of bounds.

Here are a few example screenies:

Scroll If Loaded JPEG Doesnt Fit Target
Hi there,

Is it possible to read in the values of a jpeg once loaded into a target?

I would like to have it scroll over 2 seconds if its bigger than the specified target area.

I guess something like if moviename_x > original target dimensions, then scroll....

hmm I think I just answered my own question

Dynamically Loaded Scroll Pane Frustrations
Please help ... I have been at this for many hours and cannot move on until I've figured it out! The ScrollPane is there ... and the content is loaded properly into it. The arrows even move the content. But it isn't masked inside the ScrollPane! The content floats about freely.

Please see my code below. I dynamically create a ScrollPane using the ScrollPane Component. Then I create an empty movie clip called "content". Inside that movie clip, I create another empty movie clip called "guts". Inside of the "guts" mc, I dynamically create text fields, then I set the scroll content.

Please have a look at my code and tell me where I'm going wrong! Thanks!

Here is my code:

ActionScript Code:
_root.attachMovie("FScrollPaneSymbol", "sp", 1);

_root.createEmptyMovieClip("content", 2);

_root.content.createEmptyMovieClip("guts", 3);

_root.content.guts.createTextField("title", 4, 0, 0, 100, 20);
_root.content.guts.title.text = "Testing 1 2 3";
_root.content.guts.createTextField("title2", 5, 0, 25, 100, 20);
_root.content.guts.title2.text = "Testing Line 2";
_root.content.guts.createTextField("title3", 6, 0, 50, 100, 20);
_root.content.guts.title3.text = "Testing Line 3";

_root.sp._x = 250;
_root.sp._y = 100;

_root.sp.setSize(100, 50);
_root.sp.setScrollContent(_root.content);
_root.sp.setHScroll(false);
_root.sp.refreshPane();

Scroll Text Disappears When Loaded As An External Swf
Hi. I've searched for an answer to this problem and only found one thread with the same problem which wasn't answered. So here goes. If you have the answer then please post it.

I have a swf file that contains scrolling text (not external text. the text is written in an actionscript frame in the movie). The text and scroll arrows work fine when I preview the movie. However when this swf is loaded into the main movie the text is not visible. Can anyon help with this. Do I need to insert a _parent. before the scrollableText or aomething. Thanks for your help

Jim

How To Scroll Dynamically Loaded Text And Images?
How to scroll dynamically loaded text and images?
I was looking around the site for info on this, but only found how to scroll dynamic text. Does anyone know how to do this?

Thanks so much!!

Text Scroll, External Loaded Content
Hi there,

Can anybody help me out.

I need an scroller for some external loaded text. The trick is, that i have to use it many many times, and it would be very much work if i have toe rescript the scroller everytime. I want to have a scroller that i can scale en place wherever i want on the stage, and the actionscript needs to work always.


Can anyone help me out?

Greets Martin

Buttons To Scroll A Dynamic Loaded Text
okay I did the TUT. on Creating a text scroller but the thing is i want the buttons to scroll a dynamic loaded text.

I put in all the action on the buttons and on the dynamic text like it say on the TUT. and the problem is that it wont scroll the dynamic text. The text shows but the buttons don't work.

Can someone tell me what i did wrong or if its possible to do it.

PS
I didn't do the action for the varible because i wanted to use the dynamic loaded text.

Scroll Text Disappears When Loaded As An External Swf
Hi. I've searched for an answer to this problem and only found one thread with the same problem which wasn't answered. So here goes. If you have the answer then please post it.

I have a swf file that contains scrolling text (not external text. the text is written in an actionscript frame in the movie). The text and scroll arrows work fine when I preview the movie. However when this swf is loaded into the main movie the text is not visible. Can anyon help with this. Do I need to insert a _parent. before the scrollableText or aomething. Thanks for your help

Jim

How To Scroll Dynamically Loaded Text And Images?
How to scroll dynamically loaded text and images?
I was looking around the site for info on this, but only found how to scroll dynamic text. Does anyone know how to do this?

Thanks so much!!

Text Scroll, External Loaded Content
Hi there,

Can anybody help me out.

I need an scroller for some external loaded text. The trick is, that i have to use it many many times, and it would be very much work if i have toe rescript the scroller everytime. I want to have a scroller that i can scale en place wherever i want on the stage, and the actionscript needs to work always.


Can anyone help me out?

Greets Martin

Loaded Movie Into A MC... Why Will The Buttons In The Loaded Movie Not Work?
I have successfully loaded a game into a movieclip, no problem, however the controls for the game do not work.. rollovers etc work but not goto commands
ANY SUGGESTIONS WHY??

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