Scrolling Texts Dynamiclly Loaded (newsBar)
Well, its been a while since my last question here, but i got to a point where i can't find the solution...
i need to make a news bar like the one on tv news at the bottom... the text has to be loaded from a Xml file because it will be updated daily (one node after another ) therefore i dont know how big the textField has to be... and how to scroll it to the left... i think the solution should be like the scroll bar component in Flash but i dont know how!!!
any help would be really apreciated!!
Ultrashock Forums > Flash > ActionScript
Posted on: 2005-01-07
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Re-size Dynamiclly Loaded Swf?
Hi, I'm trying to build a movie clip "movieLoader" that when promted will load one of a series of external swfs into itself. The problem is that all the swf's to be loaded are different sizes, so I'm trying to find a way to make the "movieLoader" clip know the dimensions of the incoming movie and resize itself accordingly without distorting it.
Any suggestions welcome.
Cheers
Dynamiclly Loaded .swf Files
Hello All!
I created a flash web site where I'm dynamically loading all the .swf files into one. I'm using Flash 8, Actionscript 2, Flash Player 8. The goal was to break up the file size of the project and load the .swf files via four buttons 'HOME' 'PEOPLE' 'RESEARCH' 'PUBLICATIONS' repectively. I was able to do this using the following code for the buttons.
button_name.onRelease = function () {
createEmptyMovieClip("container", 1);
loadMovie("people.swf", "container");
container._x = 0;
container._y = 0;
}
This works great but now it seems like all the .swf files are all loaded into the same file and the flash page runs slower when going from one to the next. I can tell they are still there bc the buttons in the 'PEOPLE' .swf are active when I hover over there X, Y position.
Anyone have any idea how I can alleviate this problem? I would assume that I need some kind of 'if' statement that deletes the previous .swf file that was loaded, but, I am unable to wrap my brain around the logic.
The hiearchy of the flash site is as follows
-HOME PAGE:
Loads the home page movie clip and image with buttons at the top for navigation. The buttons are 'HOME' 'PEOPLE' 'RESEARCH' 'PUBLICATIONS'
Click on 'PEOPLE' loads 'people.swf'
Click on 'RESEARCH' loads 'research.swf' within research.swf there are a series of buttons that load other .swf files dynamically.
Any help will be greatly appreciated.
-Atris
Check The Status Of Dynamiclly Loaded Mp3
Sorry if it's around, couldnt find any info to help me on this one
If I am using the code:
myMusic = new Sound(myMusicMc);
myMusic.loadSound("wink.mp3", true);
And I want the sound to connect to the _root .swf to
tell it that it's begun to play so I can start the opening animation.....
~ Thanks for any suggestions.
Check The Status Of Dynamiclly Loaded Mp3
Sorry if it's around, couldnt find any info to help me on this one
If I am using the code:
myMusic = new Sound(myMusicMc);
myMusic.loadSound("wink.mp3", true);
And I want the sound to connect to the _root .swf to
tell it that it's begun to play so I can start the opening animation.....
~ Thanks for any suggestions.
[AS] Scrolling Multiple Dynamic Texts
I'm having a little trouble finding a good way to scroll multiple dynamic text boxes via the same scrollbar. They're all the same height and aligned together, but I want them to scroll together as well. Any suggestions? Please help if you can
-edi0t
How Do I Substitute Texts In Loaded Swf?
Hi, I've been looking for a clue how to do this but haven't found a solution yet.
I'm loading animated swf's into movieclips based on XML that I am parsing in my main swf, and for translation purposes I sometimes need to substitute the textdata of the textfields in the loaded swf's. I've declared instance names for the textfields, "text1", "text2", and have put a name in the "var" field for each textfield, in this case "textobj1" and "textobj2".
After I have loaded the swf into a movieclip that I have called "myMc", I've tried to list it's objects using this code with no result:
Code:
for (var myObj in myMc) {
trace('Found: '+ myObj + '.' + typeof(myMc[myObj]));
}
// this returns nothing
While this code in my main swf produces nothing, the same code put in the swf that is loaded, and looping over "this" returns:
Code:
for (var myObj in this) {
trace('Found: ' + myObj + '.' + typeof(this[myObj]));
}
// this returns output:
Found: textobj1.string
Found: textobj2.string
Found: $version.string
Found: text1.object
Found: text2.object
If I somehow could get help in accessing these textobjects I could easily write the code to replace the textdata myself.
Is there any way of accessing these textobjects without adding code to the loaded swf's? And if not, how do i go about it?
Thx!
Same Css, Different Loaded Texts And Flags.
Hello!!! I need your help!!!
I'm starting in Actionscript 2.0 with Flash MX 2004.
I'm making my web site in 3 languages (Spanish, Italian and English).
I don't want to make 3 differents sites, i use this example:
" http://www.kirupa.com/developer/mx2004/cssfile.htm "
But I would like to know:
How can I load 3 text with the same CSS?
I would like to load the text clicking on the differents flags (movieclips) in a "_parent" movie flash. How can be maintained the option selected?
Thank you very much for spend your time reading this!!!
And excuse my English.
2 Identical Scrolling Texts, And Yet One Doesnt Work
i've created 2 MC which each are pretty much identical. each contains some scrolling text, and the buttons to scroll it. inside the MC is code to scroll the text:
up_btn.onPress = function () {
pressing = true;
movement = -1;
};
up_btn.onRelease = function () {
pressing = false;
};
down_btn.onPress = function () {
pressing = true;
movement = 1;
};
down_btn.onRelease = function () {
pressing = false;
};
_root.onEnterFrame = function () {
if (pressing == true){
scrollWindow_txt.scroll = scrollWindow_txt.scroll + movement}
};
pretty standard right. that code worked with lots of other text. and yet this time its only working in one of the MCS and not the other.
although i realise this is 90% something i've missed somewhere, is there ANY reason why the code in one MC could conflict with the other MC. i dont see how as the code is encompassed purely in its own MC, and variables shouldnt be affected outside it.
Trying - XML Newsbar
I´n not very good em AS, I´m trying to do some XML Newsbar, i can do to show the dynamic text and I can put some link.
I would like to know, How can I do to change to the next text, without click, he make some animation botton to the top, and when he comes back, he bring next text, and so on.
Almost like this example.
http://www.flashden.net/item/flashxml-news-ticker/1019
I attach my file to show what I try to make so far.
Sorry about my English
Masking Dynamically Loaded Texts
hello all, i'm new to this forum, so please be patient...
i have a movie clip called txt inwhich i have a dynamic text field called textBox. i'm annimating this MC with the actions:
onClipEvent (enterFrame) {
if (_root.status == true && _y<=ziely3) {
_y += speedy;
if (_y>=ziely3) {
_root.status = false;
}
} else if (_root.status == true && _y>=ziely3) {
_y -= speedy;
if (_y<=ziely3) {
_root.status = false;
}
}
now i want to mask this MC, i.e. the dynamic textbox in the MC, but as soon as i mask either textbox or MC, the text is no nolonger visible once i export the movie to the flash player...
and an other question, does anyone know, why my soundloops sound terrible, once i switch them to stream? as long as they are on start on event they sond fine, as soon as i turn them to stream, they sound as if they were encoded at 8kbs (although they are 96kbs) changing the streaming property of the sound does not have any influence on what i hear once play the movie in the player... very confued
please help
[Edited by mister mister on 03-25-2002 at 06:35 AM]
Scrolling Texts Font Looks "scrungy"
Made a dynamic textfield that loads text from a external .txt file.But when i test the flash,the font looks all pixelated.The normal way used font looks fine and i wouldn´t want to change it.Anybody know whats up?!
Loading A WMV Dynamiclly
I found this nice movie player here (http://www.flashkit.com/movies/Anima...8184/index.php) But can anyone help me get it so I can load the movies dynamiclly rather then actually in the flash movie? Thank you.
Redrawing Box Dynamiclly.
hey all! I am working of a small flash site for a friend that uses api drawing to wrap around her photographs. I am trying to redraw the box around the image depending on the size of the image. i.e. if one is tall and the next is wide I want the API box to tween to the next size through script and then load in the new image. The loading part is easy but the scaling I am having trouble with.
When I run my function all the code runs and the varibles change my problem is that the box is not drawing its self out? If someone could help me out I would really appericate it alot.
Here is what I have done.
I have a function that is called changeSize() and I can it on a set intreval like this: myInt = setInterval(changeSize, 50, 205, 372); where 205 = the newWidth and 372 = the newHeight. But I am getting no image drawn out. All my varibles play out when they are traced but I still don't see my lines. Here is the code in a whole.
ActionScript Code:
startX = 50;
startY = 50;
heightY = 0;
widthX = 0;
changeSize = function (newWidth, newHeight) {
/*
trace("heightY = "+heightY);
trace("newHeight = "+newHeight);
trace("widthX = "+widthX);
trace("newWidth = "+newWidth);
trace("startX = " + startX);
trace("startY = " + startY);
*/
// top line
this.createEmptyMovieClip("top", 1);
top.clear();
// clears when this is re-ran
top.lineStyle(1, 0x000000, 100);
top.moveTo(startX, startY);
top.lineTo(widthX+startX, startY);
// right line
this.createEmptyMovieClip("right", 2);
right.clear();
// clears when this is re-ran
right.lineStyle(1, 0x000000, 100);
right.moveTo(widthX+startX, startY);
right.lineTo(widthX+startX, heightY+startY);
// bottom line
this.createEmptyMovieClip("bottom", 3);
bottom.clear();
// clears when this is re-ran
bottom.lineStyle(1, 0x000000, 100);
bottom.moveTo(widthX+startX, heightY+startY);
bottom.lineTo(startX, heightY+startY);
// left line
this.createEmptyMovieClip("left", 4);
left.clear();
// clears when this is re-ran
left.lineStyle(1, 0x000000, 100);
left.moveTo(startX, heightY+startY);
left.lineTo(startX, startY);
updateAfterEvent();
heightY -= (heightY-newHeight)*.2;
widthX -= (widthX-newWidth)*.2;
if (newWidth - widthX<=1) {
widthX = newWidth;
//trace("widthX = newWidth");
}
if (newHeight-heightY<=1) {
heightY = newHeight;
//trace("heightY = newHeight");
}
if(widthX == newWidth && heightY == newHeight){
clearInterval(myInt);
trace("deleted intreval!");
}
};
myInt = setInterval(changeSize, 50, 205, 372);
stop();
any help would be greatly appericated. thanks guys!!!
-corban
TBKS.US
Stuck On Moving A Background Dynamiclly?
Hi
Im am trying to make one of these effects where you have a background, let's say, 4 times as big as your stage. the stage has a mask so you only see what is on stage, then when you click everything seems to move to another point of the background...
sort of like looking on a 4x3 foot poster standing 2 inches away from it...you would have to move your head around the poster to see it all..
If I just set the property I don't get this cool slide effect I have seen...
I remember doing one in swish a couple of years ago, but there I used "tell target"...bet flash has a better way.
could someone tell me a tutorial or just wich commands to look into..
if you don't understand the question(it's kinda hard to explain)but think you got the answer, drop a line and I'll find a site that uses this effect...
Thanks
Dynamiclly Created Buttons And Script
how can i add my button scripts (rollover, click etc) to a dynamically created movieclip. the dynamic movie then has a library based movie attached to it
ie
createEmptyMovieClip("BUTTON"+i, getNextHighestDepth());
where = 100 + (i * 100);
attachMovie("NAV_BUTTON", "BUTTON"+i , getNextHighestDepth(), {name:elename,_x:where, _y:100});
thanks for any direction
Scrolling In Loaded Movie
Using Flash 5 I am loading a SWF into my main movie.
The SWF I am loading contains scrolling text using a mouseover event and movie clip which works fine when tested in it's own right.
When the SWF containing the scroll is loaded into a movie clip in the main movie the scroll stops working - the button rollovers recognise the mouseover but the actioscript isn't working and the text doesn't scroll anymore.
Searched the boards but cannot seem to find anything relating to this - all help welcomed.
[F8] Scrolling Loaded Pictures Up
hi there all
what I want is simple .,but I could not get it to work
I want to load about 200 picture to flash, these should scroll up untill they finish , kind like a scrolling film .
hope I made myself clear thank for any help I appriciate it
Scrolling Xml Loaded Thumbnails
hi
i have designed a dynamic gallery that loads images via XML using the following coding
Code:
var x_xml = new XML();
x_xml.ignoreWhite = true;
x_xml.onLoad = function(success){
if (success) GeneratePortfolio(this);
else
trace("Error loading XML file");
}
x_xml.load("talkphotography.xml");
var thumb_spacing = 81;
function GeneratePortfolio(x_xml){
var portfolioPictures = x_xml.firstChild.childNodes;
mainImage.image_mc.loadMovie(portfolioPictures[0].attributes.image);
for (var i = 0; i < portfolioPictures.length; i++){
var currentPicture = portfolioPictures[i];
var currentThumb_mc = menu_mc.createEmptyMovieClip("thumbnail_mc"+i,i);
currentThumb_mc._x = i * thumb_spacing;
currentThumb_mc.createEmptyMovieClip("thumb_container",0);
currentThumb_mc.thumb_container.loadMovie(currentPicture.attributes.thumb);
currentThumb_mc.title = currentPicture.attributes.title;
currentThumb_mc.image = currentPicture.attributes.image;
currentThumb_mc.onRelease = function(){
mcl.loadClip(this.image, mainImage.image2_mc);
}
}
}
var mcl:MovieClipLoader = new MovieClipLoader();
var mclL:Object = new Objext();
mclL.onLoadInit = function(){
TransitionManager.start(mainImage.image_mc, dissolving);
}
mcl.addListener(mclL);
mcl.loadClip(this.image, mainImage.image2_mc);
import mx.transitions.*;
import mx.transitions.easing.*;
var dissolving = {
type: PixelDissolve,
direction: 0,
duration: 6,
xSections: 20,
ySections: 20,
easing: Regular.easeInOut,
numStrips: 20,
dimension: 1
};
i have to be able to scroll the thumbnails loadeding into menu_mc with back and next buttons.
i am not sure how i would do this any advise.
would i just move the menu_mc x coordanate. with menu_mc._x =
thanks
Lee
Scrolling In Externally Loaded Swf
I have a mc that loads an external swf into it...
The external swf has a custom scrollbar I made to horizontally scroll images. It's code:
ActionScript Code:
stop();
import mx.transitions.Tween;
import mx.transitions.easing.*;
slider.grip.onPress = function() {
this.startDrag(false, 0, 0, 852-this._width, 0);
slide();
};
slider.grip.onRelease = function() {
this.stopDrag();
delete _parent._parent.content_mc.onEnterFrame;
};
slider.grip.onReleaseOutside = function() {
this.stopDrag();
delete _parent._parent.content_mc.onEnterFrame;
};
//
function slide() {
content_mc.onEnterFrame = function() {
contentWidth = this._width+300;
scrollLoc = (-slider.grip._x*((contentWidth-(852-slider.grip._width))/slider._width))+24;
var scrolling:Tween = new Tween(content_mc, "_x", Normal.easeOut, content_mc._x, scrollLoc, .1, true);
};
}
slider.grip.onRollOver = function() {
this.gotoAndStop(2);
};
slider.grip.onRollOut = function() {
this.gotoAndStop(1);
};
the rollOver/out, release/outside and press functions all work properly... but the images aren't scrolling.
This only happens when the swf is loaded into the main swf, if you open the external swf on it's own, the scrolling works just fine.
any help?? (external_swf attached)
Scrolling Text Within Loaded SWF
Hi,
I'm not the best AS writer, so here's my problem.
I am creating scrolling text using the mask feature. I have a "control" MC that scrolls the block of text up and down. If I run the movie by itself, my scrolling text works fine. When I load that MC into my main movie, the scrolling no longer works. I'm positive that my problem lies within me being able to call to the control on the right "level".
As I understand it, in my main movie, all my artwork and stuff there is on the _root level. I am loading my movie into _level0 since I don't want it on _root. I am not clear on how to specify the controls from there on out.
I have attached the two .fla files that this involves. Can you point me in the correct direction and show me the error of my ways.
Thanks
David
Scrolling Loaded Movies
Ive made two simple up/down buttons, that "scrolls" a loaded movie by the following code (lets say the movie is loaded to level 5):
_level5._y += 5;
Very simple.
Well, Id like to be able to hold down the button and have the movie scroll continously, like the scroll++ code does for textboxes.
Is that possible?
Thanks
Scrolling Loaded Movies
Ive made two simple up/down buttons, that "scrolls" a loaded movie by the following code (lets say the movie is loaded to level 5):
_level5._y += 5;
Very simple.
Well, Id like to be able to hold down the button and have the movie scroll continously, like the scroll++ code does for textboxes.
Is that possible?
Thanks
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?
Scrolling Loaded Text In MX
I'm having trouble scrolling text. I'm using script taken from an old movie of mine which works, but when put into my new file doesn't work. Am I missing something?
inside the mc img4_mc i have a text box with the variable name 'display'
I have a movie clip containing the scroll buttons to the side of this. the script on this mc is:
ActionScript Code:
onClipEvent (enterFrame) {
if (pressedUp==true) {
display.scroll--;
}
if (pressedDown==true) {
display.scroll++;
}
}
and the script on the scroll arrows within this mc is:
for the up button
ActionScript Code:
on (press) {
pressedUp = true;
}
on (release) {
pressedUp = false;
}
for the down button
ActionScript Code:
on (press) {
pressedDown = true;
}
on (release) {
pressedDown = false;
}
on the main timeline of img4_mc I have the following script to load in an image and text from a text file:
ActionScript Code:
stop();
loadMovie("images/digital01.jpg", "portfolioimg");
this.loadVariables("texts/digital_img1.txt");
so the text from texts/digital_img1.txt loads into the 'display' text box, but it doesn't scroll when I click on the scrolling buttons.
Any help would be very much appreciated.
thanks
e
Please Help Me With Externally Loaded Text And SCROLLING
HI!
I have a text file from notepad that I called in on a frame loading :
Code:
loadVariablesNum ("aboutus.txt", 0);
and that's fine. THEN, I have it scrolling by assigning this action on the UP button:
Code:
on (press, keyPress "<Up>") {
if (aboutus.scroll>0) {
aboutus.scroll = aboutus.scroll-1;
}
}
and this on the DOWN button:
Code:
on (press, keyPress "<Down>") {
if (aboutus.scroll<aboutus.maxscroll) {
aboutus.scroll = aboutus.scroll+1;
}
}
and it works fine,
MY PROBLEM IS : it only scrolls every time you press down, so the user will be click click click click click click click click click click click click click click click click click click click click click click to the bottom.
how do I get it scrolling nice down when you press down - so it scrolls until you release?. THIS HAS TO HAPPEN FROM A LOADED TEXT FILE, so masks and stuff won't work,.
PLEASE HELP
Scrolling Loaded Text Files
Hey guys,
Need some help asap.
I just did the tutorials on VFX on how to load a text file and make is scroll.
However, it doesn't quite scroll ... it just jumps to the bottom etc. Does anyone know of a better tutorial. I basically need it to scroll as opposed to jump.
TIA!
Thanks. Adele
BTW, how do I put a link behind a loaded text file? Is it even possible?
Scrolling Loaded Variable Text?
Hey guys, I've got a little app that I’m building and in it I need to load external text files of varying lengths into a single text box. they don't have to load at the same time but when I load a file that has too much content for the text box I want a scroll bar to pop up. Any idea how to do this? I'm stumped!
Scrolling Text Loaded From XML File
I had posted a question yesterday on how to get the old scroll property working with a text box that had loaded text from an XML node. Recieved no replies.(maybe cause I didn't express myself clearly.) But thats okay, just made me rack my head harder and not be so lazy! Anyways. For anyone else that might have run into this problem ( just me. everyone else probably already knew this.) When you assign the text variable you need to concatenate qoutes around the variable thats holding your XML node! Then it works!
myNode=myXml.childNodes[0];
myTextBox= ' " ' + myNode + ' " ' ;
Thanks everyone for not posting replies. ( really, i mean it! ) Wish I had more time to hang out in these forums.
Bye
Scrolling Loaded Text From .txt File
I am trying to use the flash ui component scrollbar
with a Dynamic Text box that i am loading text into from
various external .txt files. The text loads fine but the
Scrollbar does not seem to realise that the text needs to
Scroll. I have made sure the Scrollbar component is linked to
the text box. Is there something straightforward that I am
missing. I thought it was just a case of dropping the component
onto the Text box and away you go! Am I wrong. Maybe it is
because the text is loaded from an external file? I just dont know.
Could someone please put me out of my misery.
Cheers in advance.
Scrolling Dynamically Loaded Text
I need to load text from a .txt file into a dynamic text box. That's realatively easy....the problem I'm having is getting the scrollbar component to work with the loaded text.....
I have read through macromedias tutorial on this very topic but either don't understand it or it doesn't work..... I'm betting I just don't get it.....
Can someone lay it out in another manner for me..
thanks,
Scrolling Dynamically Loaded Text - How?
I'm using a custom scroller, which scrolls text inside a MC called textinfo - the text is just static text - this works perfectly, I can format and add as much text as I like and it scrolls nicely.
However, one one page, I need to do the same thing but the text needs to come from an external txt file. When I do this, I have to set the text box properties to 'Dynamic' - when I do this and play the movie - the text is invisible.
Basically, how can I scroll dynamic text with my custom scroller?
thanks
Scrollbar Not Scrolling Loaded Text From Php
i set a scroll bar to the text box and if i type stuff in before, itll scroll that... but when i load text into it from php it wont scroll anything. i didnt use any action script, just dragd it to text.
can someone help fix this?
Scrolling Dynamicly Loaded Images
hi there,
ok. I have a list, which is some txt and its corresponing image which in the end should both be loaded into flash externally.
Now I want to scroll the whole thing nicely.
I am managing to scroll the text fine with dynamic txt-box and an external .txt file...but I dont know how I can incorporate the image which should scroll alongside with it .
Any sugestions?
cheers,
sandra
Scrolling Dynamical. Loaded Images
hi there,
ok I am still using 5..
I want to load in imgages in dynamically and then scroll them....
I create empty movies and then have the action on the frame "load movie"..which all works fine...just to get them to scroll I dont have a clue...always just copied the code, without undertsanding it..
Is there a tutorial you can point me to?
thanx for the help...
s.
Scrolling An Image In A Loaded Movie
Hi all,
I have 9 different images which are loaded into an empty movieclip when a corresponding button is pressed. What I need to do is create 4 buttons that will scroll the images up/down, and left/right. I have tried creating these buttons in the same .swf as the image, and they work fine, they scroll the image. But when the image movieclip is loaded, the buttons don't work anymore. My question is what could be causing the buttons to stop working?
Thanks,
Rick
Dynamically Loaded Scrolling Text Help Please?
Hi Folks,
I've not looked at this stuff in a while and now I'm trying to use Flash MX 2004 Professional and I'm not that familier with it. I have a text box with dynamically loaded text that I want to scroll but.... not just a line at a time with each click, but smooth scrolling when you hold down the button.. can anyone direct me?
It seems that in this version the scrollbar component isn't there and I can't get scrollpane to work... please, any help is most appreciated, thanks!
Jim
New Post Scrolling:.zip File Up Loaded Now
Hi all I have been trying to modify and build my own scroller. A couple of points:
1.At the moment it seems to be scrolling the wrong ways(!) and isn't 'contained' within the scroller buttons. I have put it in a zip and would be greatful for any ideas to show me where I am going wrong so I can change it.
2.The other point is if I want to click on an images to show an image not in the .swf do I do that with actionscript on the button or javasript? What would that actionscript be?
http://download.jupiter.come2store.c...hscrollbar.zip
?externally Loaded Scrolling Thumbnails?
I was able to load the external .swfs on the on (release) just how I wanted preloader and all, but now the images no longer scroll when loaded by using this code below...
http://www.montelloagency.com/2006Site/
Code:
on (release) {
mcLoader = new MovieClipLoader();
loadListener = new Object();
mcLoader.addListener(loadListener);
mcLoader.loadClip("ads.swf", SlideshowHolder_mc);
loadListener.onLoadStart = function() {
SlideshowHolder_mc.stop();
};
loadListener.onLoadProgress = function(mc, loadedBytes, totalBytes) {
preloaded = Math.floor(loadedBytes/totalBytes*100);
loaderText_txt.text = preloaded+"% loading please wait";
bar_mc.xscale = preloaded;
};
loadListener.onLoadComplete = function() {
loaderText_txt._visible = false;
bar_mc._visible = false;
SlideshowHolder_mc.play();
};
}
Can anyone tell me if I am missing something?
Thanks
Scrolling Dynamic Loaded Text
Ok here is the situation, I have a button that I use to load in text from an outside source. Then I have an up and down button to scroll through this text. The problem is I can't seem to figure out how to get the buttons to work correctly to make the text scroll. Can any one help??!!
Textfield Scrolling In Loaded .swf Not Working
Hey folks, new to posting here, long time user of the tutorials.
I set up a textfield scroll as a tutorial here intructed. Works great in that .swf alone. However, the .swf is called into the main movie via loadMovie.
As a .swf called into the main .swf, the scolling doesn't work. Seems so simple, yet I have failed to find the problem.
I just have two arrow movie clips that are used to move the text field up adn down. The up arrow has the following ActionScript on it:
ActionScript Code:
onClipEvent ( enterFrame ) {
if (lPressed) {
_root.ClientList.scroll += 1;
}
}
What do I need to change so that it'll work when called into the main .swf?
Regards,
Cole
Scrolling Dynamically Loaded Text
The text field scroll property scrolls text vertically by the line. I was wondering if there's any way to scroll dynamically loaded text by the pixel?
Rob
Scrolling Dynamically Loaded Text - Help
I followed the Scrolling Dynamically Loaded Text tutorial & it worked great. The only problem I am running into is I have a huge space after each line. I can't seem to figure out what code to use so I can add <BR> from html at the end of each line.
Test site http://www.rbvll.org/final.html Choose Standings, majors & the file will load but there are spaces.
Properties:
Dynamic Text
Instance Name - scroller
Selectable Text Button
Action Script:
loadText = new loadVars();
loadText.load("majorstandings.txt");
// creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.majorstandingstext;
};
Any help would be greatly appreciated.
Thanks
Deb
Scrolling Dynamically Loaded Text
Ok,
http://www.kirupa.com/developer/mx/dynamic_scroller.htm
i had no problem doing this. BUt my question is now if i load this movie into another one. What must i change?? where do i change the level or something??
I have just got into flash, i used to made everything in swish, but now swish doesnt satisfied my needs.
thx
Scrolling Dynamically Loaded Text Help
This tutorial by Kirupa http://www.kirupa.com/developer/mx/dynamic_scroller.htm I cannot get to work for me. I don't know where the dynamic text that I want to be scrolled should be typed siince I am in MX2004. If you would like to see my .fla just ask. Thanks!!!!
-Dean
Scrolling A Movie With Xml Loaded Data
i'm trying to load xml data into a movie clip that can then be scrolled. when it is loaded, the scroller moves the clip's y position down, and not up. it's fixed when i add an empty text box over the clip, but i don't want to do that, because that limits the size of the menu, and makes you scroll through empty space.
any suggestions?
.flas are attatched.
Scrolling Dynamically Loaded Text Help
hi,
i've been triing to make it work for 2 days and still nothing appear in my movie. i can see the scrolling and all but no text. i need this beceause it for a client he knows nothing of cumputer so for him writing in a note pad is simple.
maybe it my txt thats is not in ascii i dont know. if you could help me in anyway it would be greatly appreciated.
thanx in advance.
Scrolling Dynamically Loaded Html?
The problem:
I created a textbox and dynamically loaded an html file. However, when I attach a scroll bar to the textbox, the scrollbar dosen't work. The scrollbar does work if it's just a plain text file (.txt) but if its html that's loaded, the scroll stops working.
What do I do??
Joe
|