ActionScript 2.0 :: Scrolling Text With Actions?
Nov 22, 2003
Is there any way that can I scroll text from an external .txt file BUT to include links IN the text that will make an action to be performed?
I mean... loading external text that by clicking on a word or phrase an onRelease action can be assigned to it.
an example I've seen is in tobymac.com in the news menu , the scrapbook section. the text is loaded from external file and it have an action. It works just as any button in flash
View 3 Replies
Similar Posts:
Aug 14, 2005
having a dynamic text box set the actions for an object, so the user can see whats going on. Any ideas?
View 4 Replies
Jul 20, 2003
Can u put actions on dynamic text?????
P.S. Im a n00b at actoinscript and will happily accept tutorials
View 11 Replies
Jun 19, 2011
I have a series of frames one the timeline. Each frame has a graphic and a mouse click leads to the next frame. Think Myst.
[Code]...
When the middle frame is returned to, clicks no longer change anything. I believe that the actions of the 'left' frame are replacing the one's in the middle frame so then it is told to gotoAndStop to itself.
I'd like to know if that is indeed what is happening and how I can make it stop.
View 1 Replies
Jan 20, 2010
I 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]......
View 8 Replies
May 21, 2009
I'm having a text box on my stage and I want to change the text dynamically from the actions.What I did was:
1. Create a text box a put it on stage
2. convert it to symbol. It is an instance of volPercent and the name is volPercent_
3. I put this code on the actions for that frame
volPercent_.text = "[100%]";
The error I get is 1120: Access of undefined property volPercent.
View 3 Replies
Aug 13, 2011
Over the course of four nights in April and May of 1941, Belfast was attacked by the German Luftwaffe bombers. Their aim was to destroy strategic targets in the city which were aiding the British War Effort.What I want is for users to be able to select the word 'German Luftwaffe' and then they will be brought to another frame with information on that topic.
View 1 Replies
Mar 15, 2003
I am using Flash5 to build a site. I have a main page with navigation bar to get around. The word "menu" is sitting on the right of the stage which contains the actions:
on(press) {
gotoandplay("expand")
}
which opens the nav bar on the bottom of screen. This works fine. However, the text was blurry on my site, so I switched the text from static to dynamic text, which solved the blurriness problem.
BUT, after switching the text, I discovered my "menu' button is not behaving as before.
Can one assign actions to dynamic text? If not, what do I do to still have legible text? Again, the menu bar and other links were working fine, but when switched to dynamic text, none of the navigation works.
View 4 Replies
Jun 23, 2009
I found a thread on actionscript.org that showed a way to load functions from text in a dynamic text box. It works using "asfunction". I tried it and it worked.However, load that dynamic text into a TextArea component and it doesn't call the function anymore! Is there a way to do it?
View 3 Replies
May 14, 2009
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 Replies
Sep 29, 2010
1. Can i put another set of actions in frame 2 of the actions layer?i tested but it doesn't seem to work..it has 836 rows of code and it's getting annoying when tryin to search for a function..
2. I am not that familiar with classes, i usually put all the code into movieclips or in actions layer.. i am not sure if i can call a function from a actionscript class..
3.I am curios if there is any way i could specify an alternative for the if statement like in this pseudocode:
if ( apple is not clean BUT is tasty)
{
eat(apple)
}
View 5 Replies
May 8, 2011
I have started to use input texts and passing them to outputs etc.I was wondering, is there a way in AS2, to, for example if someone enters a value that's between 150 and 200. Accepts it, and the code somehow recognizes the range if value from 150 to 200, perform a function (for example setProperty on something to visible true) a different function would apply if someone enters a value between 100 to 150.
View 10 Replies
Jun 11, 2005
I am trying to make a search interface that behaves much like searching in iTunes and Spotlight in that the list is updated instantly as the user types something in the search field. However, I would like the lines that result to be clickable and to fire actions inside flash (as opposed to launching an URL). Is this possible?I've gotten the basics down. Here's what it looks like and here's the source FLA file. The results are displayed as tabbed lines of text in a single text field. Is there any way to make these lines clickable without replacing this way of displaying the results with multiple, duplicated button/mc-intances?
View 6 Replies
Jul 28, 2007
I have a movie clip instance on the stage called textContainer_mc.
On frame 25 in this mc I have a dynamic text field with an instance name of infoText_txt.
Im trying to access the text field via my actions frame on the root timeline like this;
HTML Code:
textContainer_mc.infoText_txt.text="welcome";
The problem is if I put the text field on frame 1 of the textContainer_mc the text field shows but if its on frame 25 it doesnt.
I need it on frame 25 because I want the text to show up after an animation has played.In other words I want the textfield to stall from showing until the animation inside textContainer_mc has finished playing which takes 25frames.
View 2 Replies
Mar 19, 2004
I want to load music through a text file with actions:
Code:
<a href="asfunction:_global.loadSound.myMusic.mp3"><font color="#FF0000">play</a></font>
It doesn't work though. Does anyone know how to do this?
View 12 Replies
Feb 20, 2011
I 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 Replies
Mar 3, 2011
I 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.
View 2 Replies
Feb 12, 2011
I'm trying to create text using html so I could format it in html.So I created a textbox, gave it an instance name, selected "Dynamic Text" and clicked "Render text as html".When I click F9 (to get to the Actions Panel) to insert my html code, I get the message "Current selection can't have actions applied to it".How do I insert html into the Actions Panel to format text?
View 3 Replies
Apr 14, 2010
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]...
View 6 Replies
Feb 4, 2011
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 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
Jan 13, 2009
I 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 Replies
Mar 27, 2009
make 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 Replies
May 8, 2009
I 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
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
Mar 28, 2009
Does anyone now sample tutorial for creating horizontal text scrolling using actionscript 3 like on [url]....
View 6 Replies
Jul 3, 2009
I 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 Replies
Aug 18, 2009
I 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
Aug 24, 2009
below is a link to a super simple movie that I have of text scrolling/moving horizontally across the screen.The only issue I have is at the quality of the scroll/movement. it is inconsistently jerky, sometimes when it first starts getting on the screen and leaving the screen sometime all the time and sometimes when it leaves the screen.I have had this issue with other movies and scrolling things across the screen horizontally I had to increase the frame rate to 30 fps and extend the time line but it never really got to be a smooth scroll.
View 1 Replies
Sep 30, 2009
i'm looking to make a text box that the user can control the scrolling, i've made it how i want it to look already, but i haven't got a clue where to start as to how to make it actually work.here's how i've got it set up so far, okay this is gonna take some explainingi've got the document made up in AS2, the movieclip known as 'Philosophy_tween' is on the main timeline, and inside that movieclip are two more child movieclips, one for the text and another for the scrollbar.the text movieclip is set to scroll upwards, behind a masking layer using a motion tween on the parent movieclip, whereas the scrollbar movieclip motion tweens (inside itself) the scroller button. look at the attached image
View 5 Replies