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.
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]..............
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.
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?
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.
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]..........
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]...
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;
I have a few text based pages on a site i am trying to build which contain dynamic text (contained within a database, which can be changed from elsewhere). These are loaded into a dynamic text box of a fixed size that fits within my page. This all works great. I have created two scroll movieclips (which act as buttons, one for up, one for down) which when clicked cause the textbox to scroll up or down as relevant. These work fine as well. The problem i'm having is I only want the scroll buttons to appear if they are required (ie if the text within the text field is larger than its height so you need to scroll to read it all), but i cannot work out how to find the height of the actual content (as opposed to the height of the predefined dynamic text box). I can obviously create the textbox as autosized, then find it's height, then compare it to the desired height and (if it's larger) manually change it's height and display the scroll buttons, however i cannot imagine this is the most effective way to do it at all? I'm sure there is a standard, logical way to do this but i cannot seem to find any reference to it online or in the forums, but maybe because i'm searching for the wrong thing
I am a complete newbie to Flash. I'm tyring to build a scrolling text box that automatically scrolls. On mouse over, I want the scrolling to stop so users can click on an item in the text box. All of the items will be tied to external hyperlinks. I want to populate the text box with an external file. I've done some searches on Adobe, but haven't found anything that takes me through the whole process.I have the complete Adobe Master Collection. So if this is easier in Flash Catalyst, let me know. I know how to buid a manual scroll box in Flash Catalyst. Could I export this to and add the auto-scrolling?
I am very very novice to actionscript, so probably my question will sound a little silly.I am trying to put an arabic text to scroll with a custom scrollbar. So I found a nice video in youtube about doing that with a dynamic text field. It works wonderful for latin characters (left to right and separated letters) but unfortunately not for arabic characters (they don't get connected). Actually, I don't care to use just a movieclip with the text instead of the dynamic text field. But I don't know how to change the actionscript code for the movie clip instead of the dynamic text field.
Here I show you the code for the scrolling text in a dynamic text field (it's a short code), on the stage I got just the dynamic text field (instance name: texto_txt), the scrollBar (a vertical line, instance name: scrollBar_mc) and the scroller itself (a little rectangle, instance name:scrollHandle_mc):
I have created a custom scrollbar for some dynamic text ("services_txt") under a movieclip ("servicestext_mc" with the instance name services_mc). The name for the scroller is scroller_mc.
The scrollbar works fine, but it doesn't seem to want to connect to the text box. I keep getting error message 1120: Access of undefined property services_txt.
I've tried scrolling my text several ways and seem to keep getting this error - I have a feeling it's because I've inputted the text manually and forgot to do something, instead of using an external text loader. Here is the code I've inputted:
var scrollPercent:Number = 0; var minScroll:Number; var maxScroll:Number;
I have been going round and round with the problem of needing to put scrolling dynamic text into a movie clip. I have read many tutorials and forums, but just can't seem to find the right fix for my particular situation...have tried embedding fonts, using various paths, work arounds, etc.
I am editing some action script I did several years ago. I would like to use a wipe-in (mask) affect so that the text scrolls in when called, but I cannot get anything to work without the dynamic text being on the main stage...because of this, the text shows up all at once. Am creating this in a separate file to import into a holder in the main movie. I'm pretty sure this is a path issue.
Dynamic Text = aboutContent Movie Clip = about_mc
Here is the code I am working with:
//Create variable for Scroll Direction var scrollDirection:String; //Create LoadVars for About content
[Code]....
If you have time, I also need to find out how to set up elements in my Main Movie to load in sequence, rather than all at the same time.
I am using flash CS3 and the flash scroll bar components to display scrolling text. This feature uses the dynamic text box. Well I have several pop up windows. A few of them need dynamic text so they can be scrollable because it is a lot of text. The issue that I am having is that in comparison to the static text...the text looks different but it is the same font?
How can I tell when I have reached the bottom of the dynamic text(agreeText) when using the mouse wheel. I have a scroll bar(scroller) and to know when I get to the bottom I use the follow...
ActionScript Code: scroller.addEventListener('scroll', evokeAgreement); function evokeAgreement(evt){ if(scroller.scrollPosition > 164) ....
I am programmer , C# is my programming language.I started known about FLASG a few day ago. I am very, very interesting about its.My boss want i make a text display in bottom screen and scrolling from right to left (same as display on TV).But, i used to keyframe to solved this solution but they are slowly and not smooth. Now i want text display running smoother.I not good at Flash .
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.
I have used the Scrolling Dynamic Text Tutorial and it works great. I have a url in the file that I want people to click on to launch within the movie. My problem is I can not figure out the code to do this.
Action Script code loadText = new loadVars(); loadText.load("league.txt");
Check out the fla and xml links below. The xml loads in and is processed fine but I can't seem to get it to display in the scrolling clip. The scrolling clip used to work fine with static text but now doesn't at all. link to folder: [URL]
I have a dynamic text field within my site that I want to load in text from an external .txt file. I also want to add a scrollbar to this field so that you can have more text than can fit in the textbox at anyone time. I have found this AS3 code to load the external text (from my 'vacancies.txt' file) in to my text box (vacanciesbox_txt):
Code: var my_req:URLRequest = new URLRequest("vacancies.txt"); var my_loader:URLLoader = new URLLoader(); my_loader.addEventListener(Event.COMPLETE, loadText); my_loader.load(my_req); function loadText(event:Event):void{ vacanciesbox_txt.text = my_loader.data; }
This all works fine and the text is loaded in as I want - The problem I have is that when I add a UIscrollbar to the dynamic text field from the flash components, it doesn't display and/or work when published.
I am tweening text slowly like a marquee style, and I cant seem to get it smooth (it's stuttering and jerky). I am embedding the font, converting it to a bitmap, turning smoothing on, then using GTween for tweening it. If I use a very high frame rate I can see it gets smoother (I am using 24fps) but it should already be better than it is at 24. However, I would like to apply a higher framerate to this movieclip, how do I do that with AS3?I found this method, but updateAfterEvent() is outdated (only for onMouseMove, etc..) :
function timelineFaster() { nextFrame(); updateAfterEvent();[code]....
In general I would like to learn more dynamic control of individual movieclips, this could be a powerful weapon to have Whats the best technique? (prefer in scripting...)
I have used the Scrolling Dynamic Text Tutorial and it works great. I have a url in the file that I want people to click on to launch within the movie.[code]
I have to load some external data in a text box and scroll it vertically with a constant speed. And also give link to each sentence seperatly.what i have done is scroll text vertically,but it doesn't show all the text line as text file could have many lines even 100+.
I know this is simple but I dont know how to do it. code so that when you scroll the mouse wheel up and down, the number in a dynamic text box will also go up and down relevant to which direction you scroll the wheel on the mouse.
I've got a dynamic text box loading text. In the interface there are three buttons to increase or decrease font size. The text box has the usual Flash scrollbar component. When you click on the large font size, you can still scroll, but eventually the text gets cut off.[code]Does any one know a trick to get the increase the font size without it getting cut off?