ActionScript 2.0 :: Make An Object / Text Quake Using It?
Feb 5, 2004Is there a way to make an object or text quake using actionscript? I'm looking for a sort of earthquake feel to the movement.
View 4 RepliesIs there a way to make an object or text quake using actionscript? I'm looking for a sort of earthquake feel to the movement.
View 4 RepliesIs there a way to make an object or text quake using actionscript? I'm looking for a sort of earthquake feel to the movement.
View 4 RepliesOkay, so i have a circle symbol and i want to have my text around the circle, do i have to adjust each letter seperately until i get them all in uniform or is there some way to "warp" the text as you can in photoshop?
View 3 RepliesI'm trying to make text chat application using shared object. I'm using api Shared.getRemote("so",m_nc,true); to make the data persistent. It makes the file with extension fso. I want to save the chat history in notepad for further reference, and also load that data as per requirement.
View 1 RepliesJust played around with tween classes first time and cannot find a way to make text or shape to "elastic" from all sides of object instead of "elastic" object to down and right:
Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;[code].....
I am currently trying to create an app using flash AIR.I would like to find some more information on how to make an object snap to another ojbect then follow its path, eg. a person object is already on the stage, then drag an arrow to the object which snaps to it, then on play button it follows the arrow path. all in pure actionscript, no guide layers.
View 1 Repliesi wanna make an object ease after another object that is easing... like a motion trail. but the objects just go to the corner of the screen....and won't ease after each other.
View 10 RepliesIm working on a small project and it involves a guy which you move with the arrow keys. The arrow keys add to his x, y velocities and his position is updated accordingly. How can i get this man to grab onto an object and spin around it (like when you grab pole and letting your momentum swing you around) . I can make him grab the object but I dont know how to modify his x,y speeds to simulate the arc.
View 4 RepliesI'm still new to AS3, and I was wondering how to make an object point in the direction of another object and move towards it if they are a certain distance from one another. I haven't been able to find out how to do this from the Adobe devnet, so I thought I'd ask here.
View 1 RepliesThe following is that long only because I gave examples of what I want to know, not because it is complex .I have three basic questions regarding AS 3.0 classes.
1. How can I make a class object interact with an object on stage?
For example, when I have a square (mc_Square) with class "square" attached to it and I want it to trace "Colliding!" and print the X and Y of the mc_Box on contact with an on-stage *hollow* box (mc_Box) that has no class attached to it.how to do it vice-versa would also be awesome .
2. How can I make a class object interact with the same class object? For example, when I have two squares (mc_Square) that both have the class "square" attached to it and when they collide, it prints the X and Y of both of them.
3. How can I make a class object interact with a different class object?
For example, when I have two squares mc_Square1 with class "square1 (that also has a variable Primary=true written in it)" and a mc_Square2 with class "square2"; When they collide, the one with Primary=true would be removed and it's X,Y position traced.
make a circle object movie clip call ball and make a rectangle object movie clip call mc and paste this coding.
[Code]...
can anyone explain about the movement about D? the D is talk about the distance if i go -X,way my ball go ++ to +x?
I am still trying to come to grips with how make an object snap to another ojbect, then follow its path with pure ActionScript (snap an arrow oject to a circle, then the circle follows the direct of the arrow when play button in hit).I am trying to create an application aimed towards something like this url...I have got my drawing line working but do now know how to make the object follow the line, here is how I have drawn my line on the stage.[code]
View 1 RepliesIs it possible to create gradient text with text in a text field, without using a different object?
I have three text fields sitting right next to each other, to create a row. Some times the text is longer than the width of the text field, I don't want to widen the the text field to make it fit, I just want to fade the last 20 - 50 pixels of the text out.
Is this possible to do without using an object above it, such as a gradient?
I'm trying to make a text box that loads text from a text file. I've accomplished that, and now I want to have it so when I click a button is loads another var from the file by changing the end number. Here is my code:
myNotes = new LoadVars();
myNotes.onLoad = function() {
i =1 ;
[Code].....
I have a map of the US and each state has a rollover that changes the color of the state...what i am trying to figure out is how to click on the state and have text appear to the side of the US map and have that text stay up until the user clicks on another state.
View 16 RepliesCan someone explain why the text of a dynamic text object disappears at runtime when rotated?It happened when I rotated a MovieClip object via actionscript that contained a dynamic text object. So, to test whether this happens all the time, I created a movie clip again with a dynamic text object in it, populated the dynamic text object with a single letter, and rotated it by hand and ran the movie - the letter disappeared.
LOL in a happy, rare accident, I discovered the answer myself. Page 432 of the Flash 8 Actionscript Bible says, "Aside from just allowing text to look the way you want it to look, embedded fonts actually enable your Textfield objects to do some things they wouldn't otherwise do. For example ... a TextField object that uses device fonts (nonembedded fonts) cannot be rotated nor can you change the alpha. But once you embed the font, you can do both of these things."
How: (for dynamic or input text objects) clicking the Embed button in the Property inspector.Note, this will increase the size of your swf. Just embedding the lowercase and uppercase letters from a-z of one font increased the swf filesize from 3-9KB.
I'm trying to get the letters in a word (each letter is an individual text object) to cycle through three different colors when clicked. Right now, all they do is change from their original color, blue, to black when clicked. No further "cycling" occurs. I'm appending the code. The part of interest is (probably?) in what is presently (and inaccurately) the "traceTextEvent()" function/method. It starts around line 90 of the code.
[Code]....
I'm using the dynamic text scroller from [URL] found at [URL] Here's a link to my zipped files too... [URL]
1) I can't figure out how to have URL links in the text that loads.
2) How can I make the scroller refresh to allow for new text in the dynamic text area. The content changes alright, but the scroller stays in the same position and if it wasn't needed initially, the scroller disappears and doesn't return on new text.
I would like to make a text field background-color snap to text length not the text field itself, do you think it would be possible?
a pictures tells more than a thousand words.
I have many text elements in my flash file - how do I modify the text to make it all caps? Is there an easy way where I can select all of them in one go and make them all caps?
View 7 RepliesI know this is a tutorial on this site but I'm having trouble finding it, and its been a while so I can't remember exactly how to do it. I just need to make a dynamic text field that you can edit via text file.
View 12 RepliesIs there any way to make line breaks when you load text into a dynamic text box, other than using html? And if not, could someone give me an example of how to do it using html?
View 12 RepliesBy typeing the text in the input box while staying on frame1, DOSEN'T show on the dymanic_text_box2 on frame 5?? How to make the dymanic_text_2 apply it's text when the text is been typed staying on frame 1?
View 3 RepliesI know this is a tutorial on this site but I'm having trouble finding it, and its been a while so I can't remember exactly how to do it. I just need to make a dynamic text field that you can edit via text file.
View 12 RepliesI'm having some troubles with the use of interface and inheritance in AS3. I've done lots of OOP in the past and what I'm trying to do seems obvious to me, but doesn't work in AS3. The question is : Is it possible to override a function that return an Object of class A, and make it return an Object of Class B which extends A ? It seems not to be possible, since I'm getting a signature error in Flash, when compiling. For example, the following set of class do not compile (the code in function definition doesn't matter):
[Code].....
How do I make some text inside my scrollable text field linked.
EG:
(Scrollable using the UI scrollbar)
Test1
Test2
Test3
I want to link Test1 to frame 1, Test2 to frame 2, etc.
How can i make a text blinka via a dynamic text area? what do i need to make this?
View 3 RepliesI have a dynamic text box that acquires text from a txt file.
Sometimes the text is greater than the text field so I want to be able to show a page up and page down button. However I do not want these displayed if the text does not exceed the field.
Currently the buttons are always displayed.
I understand how to get the text field info, I do not understand the "easy" bit of only loading the buttons if the text field size is exceeded.
hey i need to figure out how to make a text field that will display text with else/if functions, basically on my program with a certain output i want a certain phrase to appear depending on which output. how would i go about doing this?
View 1 Replies how to make the text already in the input text box disappear when you click on it.
For example:
|enter email| - this is loaded when the page is loaded
|_________| - then disappears when you click to type
: : I thought it would be very simple, but i guess not : :