ActionScript 2.0 :: Dynamic Scrolling Text Box Using Kirupa Tutorial
Dec 23, 2003
I've created a dynamic scrolling text box using the kirupa tutorial. It's the tutorial that uses self-made buttons to scroll up and down. In my movie I've got 7 buttons, when one is pressed I want to display different text in the text box. I have it working by loading text from .txt files but it is slow and does not allow me to format the text as I would like. What I'm thinking of doing is creating 7 keyframes on the timeline of the scrollable text. Then in each frame have the different text that I want displayed. When I click on a button it would go to one of those frames thus displaying the corresponding text. I can't get it to work. I've changed the text box to a static text box. I can't get it to move the playhead to the next frame in the text movie clip which the scrollable text box resides in.
View 2 Replies
Similar Posts:
Aug 24, 2004
Scrolling Dynamically Loaded Text Tutorial[URL]..Best I've come across I can edit the scrollTrack-mc, but I need to edit the scrollpane window itself to change it's b/g colour ( always white ) or more importantly to make it transparent Somebody
View 1 Replies
Jun 21, 2006
modify this tutorial ([URL]) so that it does this: one of the external swf's has a button in it that loads another external swf in a different area of the stage, so now there would be 2 external swf's displayed on stage. Then, when one of the main buttons is clicked, the exit animation of the 2nd swf is played, then the exit animation of the 1st swf is played, then the new external swf is loaded in the same spot that the 1st one was.
View 2 Replies
Oct 6, 2006
Will this tutorial work on servers like this? I read through the tutorial and the author links to his own socket server. Do we have to pay big bucks for our own socket server or can a regular cheap host's server be converted to one?
View 9 Replies
Aug 19, 2011
I have incorporated the following XML guestbook on my site and it works like a charm since its inclusion on my site
[URL]
How to send a mail to me when anyone adds a message on the guestbook ?I guess it is possible as whenever one xml object is send to the php file for processing by sendAndLoad function , it can also send a mail via php .....the code that sends xml data to php in this actionscript is
Code:
myXML.sendAndLoad("processXML.php", receiverXML);
can some code be added in the processXML.php which also sends a mail vial "mail" function in php ?
View 2 Replies
May 9, 2007
I have adapted the kirupa xml slideshow tutorial.However I would like to create a up and down buttons that jog the thumbnails + or - 3 thumb images either way.Is this a case of creating an on (release) action that tells the slider to advance a specified distance??[code]
View 2 Replies
Aug 3, 2011
My query is in respect to the tutorial posted on kirupa : [URL] Now :
1) If I want to add a line of caption ,the moviclip expands in a horizontal manner. So , if I write a big description , the caption movieclip occupies whole stage width. How can i make this movieclip exapand in a vertical fashion after a fixed no. of characters
2) Suppose a button which is inside a movieclip has been applied this function , the button action doesnt work !!!! only the hover caption appears. ( specifically the button on(release) action ) !! What is the possible solution.
View 14 Replies
Sep 28, 2004
I've just tried to ammend the photogallery tutorial using XML on Kirupa... [URL] I have uploaded a test file above... the first 3 images.. i have changed the link in the xml document to my own... but they are not loading in.. heres the changes i have made to the xml document....
[Code]....
View 4 Replies
Mar 29, 2006
I have a movieclip with a grid of 9 squares (3x3) what i would like to do is have each square move either on the x or y axis into a position of another square (like one of those puzzles where you move the tiles around to form a picture...) a random square in a random direction at random intervals.I have tried editing the random movement tutorial on Kirupa, but i cannot get the effect i need.url...
View 2 Replies
Aug 1, 2007
I'm using the Kirupa tutorial of the xml auto slideshow. I need it to stop after it runs through all the images one time.How should I modify the code below in order to do that
delay = 3000;
//-----------------------
function loadXML(loaded) {
[code].....
View 3 Replies
Apr 4, 2004
[URL]i'm in the midst of extending/modifying this tutorial.... i understand the transition mc is the loading animation.... however i want to put a progress bar.. how do i achieve that..?
View 1 Replies
Apr 8, 2011
I'm trying to generate an isometric grid via code using kirupa's tutorial but it's not quite working correctly as I'm trying to convert it. I am trying to generate a 5 x 5 grid with a unique coordinate to each square, but I can only get a row to form with the coordinates showing x = 5 and y = 5 for each square of the single row. There is also an unclickable square in the corner. Here is my code:
[Code]...
View 2 Replies
Feb 24, 2009
i want an action script or tutorial for dynamic text that follow the mouse..i seen some but it work only for plash player 5 and action script 1..so if any one can give me action or tutorial for flash cs3.
View 1 Replies
Jan 11, 2009
continue the success with incorporating the scrolling thumbnails feature to my current galleries.I have done my best to incorporate the code from Kirupa's "Adding Thumbnails" tutorial to my site, but have a feeling the loader class is only MX 2004 and on, and I'm using plain old MX. I have absolutely no thumbnails showing up at all.
PS I also found two discrepancies in the tutorial:
1. Initial code to be pasted has a line such as this:
Code:
target_mc._x = hit_left._x+(eval("thumbnail_mc.t"+k)._width+5)*k;
and later in the tutorial that same code is treated as this:
Code:
target_mc._x = hit_left._x+(target_mc._width+5)*k;
2. Initial code to be pasted has a line such as this:
Code:
}else if ((_root._xmouse<=40) && (thumbnail_mc.hitTest(hit_left))){
but later in the tutorial when it's broken down it's listed as this:
Code:
}else if ((_root._xmouse<=(hit_left._x+40)) && (thumbnail_mc.hitTest(hit_left))) {
It's very difficult to test all possible variations in this, but I think I have, as there were 4 possible combinations since 2 lines of code varied. But none of them worked. Either way, would be good to know which users should be using. A little help in identifying: "snowThumbMC" is the name of my empty movie clip instance on my stage, in which I should be loading all of the thumbnails.
1. Is "target_mc" the name of an actual movie clip I should have on the stage somewhere? Or is it simply an empty one created via code to hold info?? I'm trying to figure out what exactly "target_mc" refers to.
2. Is "pictureValue" an actual value of a variable named "picture"? If so, should I have this variable on stage somewhere? I'm just not sure by reading the code (since I can't properly read it) what exactly "picture" refers to.
Code:
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 10;
[code].....
View 4 Replies
Jul 14, 2005
This tutorial found on: [URL] Is extension of: [URL] The problem manifests itself when I substitute .jpg thumbnail with .swf one. (I need this because i need transparent thumbs, so i needed to import transparent gifs via swfs - i used [URL] to convert gifs to swfs if someone is interested - It is released under the GPL. ) XML is parsed ok, and the thumbnail is visible with other .jpg thumbnails. The problem is that it is not "alive": Clicking on it doesn't change the main image, hovering doesn't change its alpha:
[Code]...
View 2 Replies
Jan 6, 2007
I'm having some problems with the XML/FLASH Photo Gallery Tutorial ([URL]). When I load the swf file into another movie the dynamic text will not display. Any thoughts to why this is happening.
View 1 Replies
Jun 18, 2009
I'm trying to create a simple scrolling text box for a web site and am following this web tutorialI'm using flash cs4 ad this relates to cs3. I seem unable to locate the instance name box anywhere.
View 1 Replies
Nov 17, 2009
That said, I would like to alter some of the code to allow the thumbnail scrollbar to begin scrolling once the page has loaded. Here is what the code looks like as it is right now.
[Code]....
View 1 Replies
Aug 5, 2009
how to create a scrolling menu. Can't find one that works though! Tried these:[url].....Running the CS4 trial.
View 1 Replies
Mar 17, 2009
My boss wanted me to make scrolling images and captions for each image when you rollover them. I made the images scroll by making each image a button and masking those images. I can't seem to get the captions right though.The dynamic text box I am using is inside the mask (because I cannot figure out how to put it on the main time line and make it work). The rollovers work when the dynamic text box is in the mask, but when I scroll through the images, the text scrolls too and some of the captions you cannot even see. The web site is below if you need to see what I am talking about.http:[url].......
I figured that what I need to do is put the dynamic text box on the main time line and not in the mask. But I can't seem to get that to work.Here is the code I am putting on the actual image buttons. My text box instance name is rOver and yes, I did embed the fonts.
on (rollOver) {
rOver.text ="caption";
}[code]..............
View 1 Replies
Dec 23, 2003
Is there anyway of making a scroller like the following but having dynamic text? So that it doesn't have that blur?
View 1 Replies
Sep 19, 2006
I have succesfully created a scrolling text field that is marked as dynamic. My problem is loading the XML text into it once I place it within a movie clip. So I have a dynamic text filed in movie clip A which is masked by movie clip B and then has a custom scroll bar attached to scroll the content. When I try to import text to place in the dynamic text field ( rather than typing the text within flash ) it doesnt show up.
View 1 Replies
Jan 20, 2010
I have an empty dynamic text field that I attached the UIScroller component to.
Clicking on a button sends text to it, but the scrollbar doesn't register the text to make it scrollable. It just gets cut off at the bottom.
View 2 Replies
Aug 24, 2010
I am trying to adjust the speed of the scroll box. It is a little too quick. I am not sure where to start.....I tried adjusting the button (_root.TextBox.scroll -= 1;) but it won't accept any smaller numbers. Can someone point me in the right direction?
View 1 Replies
Nov 14, 2009
Been away from Flash for a while and struggling to relearn. Also been working more with AS3, but I am working on something that was designed using AS2(not by me).I have a dynamic text box populated by an external xml file. Works fine, however I am having hassles getting it to scroll. I only want buttons, and not a drag bar. Tried several methods I found around the forums but nothing seems to work for me.iam.theData.textBodybuttons are btn_up and btn_dwn. Both are located inside the ima clip.
View 0 Replies
Jul 2, 2011
I have made a custom scroll bar, using tlf text converted to a movie clip that measures 903px tall. I've got a mask on it that's 314px tall.The scroll bar will scroll all the way down to the bottom of the content, but it will not scroll all the way back up. The button will go back to its place at the top of the scroll bar, but the movie clip only scrolls back up about two thirds of the way.I don't get any errors when I test the file, and I've permitted debugging in the hopes it would find an obvious mistake to no avail.Here's the code:
ActionScript Code:
// Scroll My Content function - AS3
function scrollMyContent()[code]..........
View 0 Replies
Dec 3, 2005
i made a dynamic text scroller and it is too choppy
on (press, release, keyPress "<Up>") {
currentScroll = scrollableText.scroll;
if (Number(currentScroll)>1) {
[code].....
View 2 Replies
Dec 23, 2003
Is there anyway of making a scroller like the following but having dynamic text? So that it doesn't have that blur? [URL]
View 1 Replies
Jul 16, 2004
I am using Flash MX 2004 professional
I followed the tutorial for creating a dynamic text box with a scroll bar. I am getting this error when I test the movie and when I open the swf file I can see the box but the text isn't loading.[code]...
View 3 Replies
Mar 6, 2010
I have a dynamic text field and have two buttons. All I want the buttons to do is to scroll up or down a couple lines everytime its clicked. AS2 had something like this:
body_txt.scroll += 1;
View 1 Replies