ActionScript 2.0 :: Put Pictures And Buttons And Links In A Scroll Box Right Alongside The Scrolling Text?
Sep 19, 2003Is it possible to put pictures and buttons and links in a scroll box right alongside the scrolling text?
View 1 RepliesIs it possible to put pictures and buttons and links in a scroll box right alongside the scrolling text?
View 1 Replieswhat is the AS for making some text and pictures scroll in with the same scrollbar. is there a component in mx that i could use?
View 1 RepliesI'm having two problems. First of all, the gallery loads all pictures at once. The more pictures in the XML file, the slower they all load. Secondly, I wanted the pictures to scroll in its _y coordinate, similar to Sugar Rhyme's website portfolio (see url]...).
View 1 RepliesI have created two scroll buttons for my dynamic text field, following this guideMy problem is, that you have to click the buttons many times to scroll down to the end.How do you make it possible to "Press and hold" the mousebutton instead?My code is as follows:TextField name: scrollableTextButton Up Code:
Code:
on (press, release, keyPress "<Up>") {
currentScroll = scrollableText.scroll;
[code].....
Can anyone point me in the right direction of any tutorials that th creating a body of text that is from XML, that is scrollable (scroll bars and arrows), and will alllow for HTML links in the text?
View 7 RepliesI know ZERO about flash/actionscript and have been tasked with creating a vertical text/html scroller. This would act like a news ticker but would scroll several paragraphs of text with images vertically continuously.
Here is a sample of the data that i would like to scroll vertically:
<image>
some text here
some more text
<image>
more text
more text
This pattern would repeat and the script would continuously scroll the information. I will be pulling that data from XML as HTML but i think i have that part under control. Just cant seem to get a sample of scrolling html/text.
I've gotten to chapter 5 in my AS 3.0 classroom book but I need to use wisdom today (CHAPTERS before I gain it for myself),I need to create a custom scroll bar with buttons that function just like the UIScrollBar but more visually suited to our projects. the boss demands it.
I found several tutorials on creating the custom scrollBar, however, they don't include the buttons and I'm unable to find a tutorial on how to create a button scroller (I figured I could link them both to my "info_txt" after creating them separately).
how to create an AS3 text scrollBar WITH buttons? how to create a nice scroll effect with buttons(if creating the scroll bar and buttons apart then linking them to the same text field is not possible or a faulty way to accomplish this).
I am doing a dynamical menu they are scroll, with links, I am using as function. If I call an external swf:
function cargaranimacion(animacion){
loadMovieNum(animacion,0)
}
In the text:
<a href='asfunction:cargaranimacion, "proceso_novolen.swf">PROCESO NOVOLEN</a>
<a href='asfunction:cargaranimacion, "polimerizacion_estructura.swf">POLIMERIZACION Y ESTRUCTURA</a>
And if I am inside a swf, call a label:
function cargaranimacion(animacion) {
gotoAndPlay(animacion);
}
That is ok... But, How I do to accede to a specific label of an external swf?? I want that it loads the animation and begin to it turns from the label that I indicate.
I have a scrolling dynamic text box that has a list of links in it. They all have a different link added for each line in the list but I have been asked to make them change colour on rollover. Normally I would just create a button and rollover but I can't as the text is scrolling. Is there a way of adding AS2 or even css that means I can make each link change colour on RollOver?
View 2 RepliesI am wondering how to make a movie clip that contains automatic vertical scrolling dynamic text(from an external .txt file) I dont want to press buttons to scroll text, I need it to be constantly scrolling, then loop once the text has been read from the external txt file.
I also require each line of the dynamic text to be clickable links that will take each line of text to a specific link. Ive uploaded a zip file containing fla and swf i found which shows vertical scrolling text. However if i move any of the graphics and text field clips around the stage the text cannot be seen anymore. why is this? can you put all of the items on the main stage in a movie clip so i can resize and move the scroller around the stage?? I tried this but again the text disapeared when i exported the movie? Is this due to the x + y co ordinates in the scripting?
How can you adjust the size of this scroller without this happening? Can the scrolling text be taken from an external file and each line of text be a seperate hyperlink? Follow this link (copy and paste it into your browser window, DONT click on it): [URL]..
I'm using a list element with variableRowHeight and word-wrap set to true like in the example below: [URL]. When I scroll through the list with a mouse scrollwheel the text in the listItems also scroll. I know that this is to do with the height of the textField...
View 1 Repliesimport flash.filters.BlurFilter;
class pirateandy.scroller.BlurScroll {
public function startScroll(mc_scroll_parent:MovieClip, [code]....
i know that the scrollbar will only scroll one way, but thats not my problem, my problem is how do i actually get it freaking scroll.
coding some automatic scrolling text? i've had a look around the internet, but all i can find is text that is scrolled using buttons. what i'm after is a way of coding text so it loads up into a text box (which i will call tf) (to start off with i don't mind putting it into the code as static text), scrolls on its own, and when it get to the end, it repeats the scroll, and is neverending. i would like it to go vertical (that ups the page in case i've picked the wrong one!), and be able to pick the scroll speed so i can slow it down or make it go faster. if someone can give me some sample code to get me going that would be great, and i'll try to sort out the rest myself.
View 1 Replies[Code]...
i have the above code wherein i load data from external text file i want the text to be vertcically auto scrolling on load without any scroll bar
I'm using a list element with variableRowHeight and word-wrap set to true like in the example below:
[URL]
When I scroll through the list with a mouse scrollwheel the text in the listItems also scroll. I know that this is to do with the height of the textField...
I'm building an app where pretty much all the text is pulled in from XML, including the nav. It's linked to a MySQL database which throws XML into the app via PHP...I want the nav to be a dynamic menu made via the number of nodes in the XML file, and it'll end up looking like the 'related videos' menu on you tube. I've got this working by making a movie clip with a text field in it... the app loops through the XML, gets the number of nodes, then dynamically creates the nav via instances of my movie clip with a text field in it...
So say I've got 3 nodes, all of which are going to be nav items... The app then dynamically creates 3 movie clips, positions them onstage, populates the text field inside each movie clip with the name of the link (taken from the XML), and adds an onRelease action to each movieclip. The problem is, because of the nature of the app, the nav could grow to about 50 items over time, so I was gonna make it sit in a box with a scroll bar, like the side menu of related video clips on you tube.
I want to know if I can ditch the movieclips and just use a dynamic text field, and then make use of the scroll bar component so that, when the nav is generated, a scroll bar appears if there are too many items for the nav box to hold. In order to do this I need to know if I can launch action script via a link assigned to some dynamically created text... If not I guess I'll just have to make my own little scroll bar that affects the dynamically created movieclips but I thought I'd ask anyway!
I have been scripting this flash profile card which pulls data from multiple XML files. The problem i am having is when it comes down to pulling this 1 set of information which is accessing the attributes of an array of specific XML nodes on display after the first item it inputs a comma before each item.
My code:
---------------------------------------------------------------------- ---
xmlData = new XML ();xmlData.ignoreWhite = true;xmlData.onLoad = loadXML;xmlData.load ("../xml profiles/test.xml");
---------------------------------------------------------------------- ----
function loadXML (loaded){if (loaded){ xmlNode = this.firstChild;
[code].....
This is just a draft version of the layout i used to pull up fake data... to show the commas.Lastly i am wondering if it is possible to control the 3 text fields using 1 scroll bar or would i be better off learning how to create columns in 1 text field to display these lists.
I just made a scroll area with buttons and draggable items. All the code is written for vertical scrolling, the content I need to be scrolled is going to be horizontal. how can I rewrite this code to be horizontal scrolling? it seems like the scroll button (the one you drag along) doesn't stay confined to its scroll line either.
[Code]...
I am trying to get each of the following pictures in my flash file to link to different webpages. I have tried a bunch of different things, and can't quite get it to work right. I have put different urls on the images, but when I click on them they all go to that first url.
View 1 RepliesI need to scroll a text (only in the center of the page, the top and bottom don't move) with 2 arrows(up and down), but in this text, some words are buttons leading to other keyframes. and this text is in different colors and is formatted.
could I load a text in html and make the links in the html?
I'm trying to get my website updated, which normally would not be a big deal, except that during the course of updates, I discovered my site was created using AS1 and now I have to convert to AS3, which seems like a foreign language to me. I'm making progress, except that my latest problem relates to custom buttons.On a couple of my pages I made a static text box into a movie clip and placed it behind a mask. I made custom buttons to fit into the look and feel of my site, which control the "text box movie clip". I don't want to use the generic "UI Scroll" that Flash gives you (even though it's probably the easy way out) because it doesn't fit with my site design.I was given code to use for my buttons, but I get an error when I test my movie.The error I get is an 1120 Error: "Access of Undefined Property" on lines 3 and 14.[code]
View 4 RepliesI 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;
I just got the trial of Flash Cs5 and haven't used Flash since MX back in 04-06. Having an issue with buttons now in context of a scrolling text area. My code is set up as such:
[Code]....
Where up is the button to scroll upwards and down is...(you guessed it). Maintext is the movieclip in which my text is which each frame being the text "scrolled" further. My issue IS: This was working just fine UNTIL I added "Over", "Down", and "Hit" frames into my buttons (whereas previously they were just single frame arrows), and then when previewing my flash the cursor doesn't even recognize the buttons as such, and nothing happens if you click on either... If I got back and delete the over, down, and hit frames, BOOM, problem goes away. This seems very strange to me, I never had a problem like this in MX.
so the problem is that i was following instructions for making scrolling text with a custom button. and i put the following script (the instances are scrollUp_btn and scrollDown_btn):[code]and afther that i auto-checked it and (besides not working in the preview) it indicates these errors:[code]then i switched the '}'s for '{'s or viceversa but it shows me the opposite error. what's wrong ?
View 4 RepliesI'm trying to get this effect [URL] but, instead of scrolling through pictures from an xml I want it to load one movieclip from the library and pan in and out as shown in the demo.
ActionScript Code:
var xmlURL:URLRequest = new URLRequest("images.xml");
var xmlLoader:URLLoader = new URLLoader();
var xml:XML;
//Declares the image array
var imageArray:Array = new Array();
[Code] .....
I tried to modify this so it would work to my standards, but it doesn't... I don't even get any errors.
My AS3 project is devided in to 4 sections.
1.) load XML file directed from php site and store all data to miltidimensional array
2.) load mc from library to stage and scroll it with mouse move
3.) load pictures into previous scrolling mc on calculated coordinates
4.) add event listener to every loaded pic to open new site
here is part of code that's bugging me:
Code:
var polica_mc:libMc = new libMc;
var container_mc:MovieClip;
if (xmlLoaded == true) {
[Code].....
Problem is that pictures are not loaded into polica_mc (scrolling mc) but outside.
how to make the gallery/pictures stop scrolling 20 or 30px to the right of the webbrowser. I think something has to be added in the end of the code under IMAGES DRAGGING FUNCTION.
This is the page: [URL]
Heres the code for the scroller:
//FUNCTION UPDATE IMAGES SCROLL WHILE PRELOADING
function updateScroll() {
//SCROLL ACTIVE OR NOT
[Code].....
I want to make a dynamic textarea with loaded text from an external textfile, and then I want custom made arrow buttons to start scrolling the loaded text on mouseover (not click) andt stop scrolling on mouseout. Ala like in this webpage[url]...
The part with the loaded text is fine, but I can't manage to script the arrow buttons to do what I've just described. Even though I have searched the Internet for recipes I just find how to scroll loaded text on click or with a scrollbar
I want to make a srolling image banner where each image is a link to a website page (It's probably called a slideshow or something like that).
View 3 RepliesHow I could make a sliding/scrolling menu of images(sideways) with links and those images should dynamically loads from lets say a directory or something like that and can easily control/change image and url in a simple external text file( heres a sample of what it should look like: [URL] the bottom part. How to achieve the sliding menu image that loads dynamically.
View 2 Replies