ActionScript 2.0 :: Scrolling Text And Pictures?
May 29, 2004what 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 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 RepliesIs it possible to put pictures and buttons and links in a scroll box right alongside the scrolling text?
View 1 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'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'm taking a stab at learning adobe cs4 flash. How can I combine different text and pictures into 1 picture? For example, Iposted a link of tutorials below:URL...Now say I would like a background to fade in, then the picture of a car, then the text. How would go about this? I already have all the images separated (background, car, and text using photoshop), but I would like the background to slowly fade in, then make the car slowly fade in while coming from the left of the screen, and then the text fades in.
View 1 Replies[URL] Take a look at that website. See whe you rollover one of the pictures, the other pictures fade out...Well how can I do that? I've tried some swapDepths techniques but it gets a bit confusing.
View 2 Repliesi tried:
dyntxt.htmText="Test <img src='image/pic/laugh.gif' id='laugh1'> !!";
But nothing is being embedded, except "Test !!".
I am working on making a flash site for some lingerie that I made. I have some experience but not much. Instead of placing each image into the video, I would like all of the images and corresponding text description to appear upon loading the page. Do I use XML for this or can I just create a complex array of where the image is located and its corresponding description and then program a function to load it?
View 3 RepliesI am somewhat of a beginner and have been attempting to create an entire website using Flash CS4 Everything is going quite well and the body of all of the pages are built The navigation buttons to each page are working perfectly. Now I am simply filling in the content for each individual page. Most of the pages were large enough to contain the content without requiring more room One of my pages will have a large area of text and several pictures.I became aware of the Components menu last evening and the selection of the scrollbar.I added the component to my page and sized it accordingly. It allows me to add text but not JPEG images. I was wanting to know how to utilize the scroll feature and still have text and images on the page
View 9 RepliesThe original flash has a publish setting to Flash Player 5, and I have to have the publish setting set to Flash Player 8 (actionscript 2). The original flash works with the Flash Player 5 setting however when I change it the rollover text to picture stops working.
This is the Coding for the Content
[Code]....
i am wondering how to make a text scroll with JUST the slider..no arrows?!?! also once done with that i want to add pictures/icons/links on the inside of this text scroll (in place of the text)....does anyone know how to do EITHER ONE!
View 10 Repliesi am wondering how to make a text scroll with JUST the slider..no arrows?
also once done with that i want to add pictures/icons/links on the inside of this text scroll (in place of the text)....does anyone know how to do EITHER ONE!
I design all my sites using Adobe CS4 and have recently aquired a new client that is wanting the ability to update his own site i.e. change pictures, text etc. after I have completed the design and the site is live.
View 1 RepliesI have a dynamic text filed scrolling with a drag button on a track or the mousewheel. What I am trying to do now is have the scroll button and track not visible if the content is smaller than the text field.
ActionScript Code:
//this if statement not working as should. button and track are always invisible.
//txt is text field name
if (txt.textHeight < txt.height){[code]......
Noob question, I hope. I need to create scrolling text areas with rich text format content. I know I can use the textArea component and set the htmlText property but converting all of my RTF to HTML is gonna be a major pain in the @$$. I keep getting into trouble thinking what's mindlessly easy in Director/Lingo is gonna be reasonably simple in Flash/AS3, I hoping this is just my inexperience with Flash getting in the way. Is there an easier way? I thought of embedding a PDF document but apparently that's not an option in Flash either (note: I know how to link a PDF doc, I need this text to display and scroll within the application, not just pop a new window on top).
View 6 RepliesI made an effect in swish and i saved it in to an swf file i want to load that swf file in to my flash movie in the middle in which i have some text's and pictures
View 5 RepliesI have a design. Now I want to add text to a certain area of two ovals on an arc. How do you do text that will arc to match two ovals.
View 1 RepliesI have a simple text box with a UIScrollBar component added to it.
The text box properties are set to "input text, multi line.
The problem is when I want to change just one line of the text to a bold or a different color, the whole text box contents changes. I've tried different property setting for the text box itself with no luck.
I have this code that basically reads some text from a txt file and then scrolls it across my flash document. I want it to loop, so when it gets to the end of the text, it replays it.
[Code]...
I have a simple text field that is read only and it's very long, so I just want to use a scrollbar on the right-hand side. I dragged a UIScrollbar component to this text area, I lined it up, same height, and even named the text area as the scrollbar's target, but when I compile the swf, I get a blank scrollbar next to the text and 2 other scrollbars off the the right of the text!!! I also tried adding the scrollbar via code with the same results.
View 2 RepliesI'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 RepliesI need to learn how to create scrolling text. I�ve looked around on the web but I can�t seem to find a good tutorial on it. The text does not need to be dynamic, I must be able to choose different fonts and colors for the text, and most importantly create a custom scrolling bar.
View 2 Repliesmake a text scrollbar NOT using the UIScrollbar! I have been trying to figure this out for a while.very tutorial I have used has had something wrong in the directions or something I am not looking to do. Just let me know which ActionScript to use 2 or 3.
View 2 RepliesI can get the text to scroll fine in Flash. But when I select the up arrow to go to the top of the scroll box there is a extra large gap. How do I set the script so the text stops right at the top?
View 2 Replies 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]..............
Does anyone now sample tutorial for creating horizontal text scrolling using actionscript 3 like on [url]....
View 6 RepliesI have 2 text boxes in my scene and I want to be able to scroll both of them individually. I tried using the scrollbar component but I can only get it working on 1 text box. I tried changing the linkage. Can somebody send me a link to an example of how to get this to work?
View 1 RepliesI have a scrolling static text box which scrolls up well, however when scrolling down stops showing the text toward the end of the textfield.The textfield and textfield mask are both movie clips. I have the following code on the up and down buttons:[code]
View 10 Replies