Moving W/o Tweening
Does anyone know how to make the objects in your flash move without tweening? example, I have 2 retangles and I want the 1st rectangle to move left and bounce at the edge of the scene. and the 2nd rectangle move to the same direction but not the same speed.
rectangles are: rectangle1 and rectangle2
FlashKit > Flash Help > Flash ActionScript
Posted on: 11-10-2003, 06:06 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Moving MCs Without Tweening?
Hello gracious helpers,
I am trying to move two or more MC's to two or more different positions on the stage with the press of one button. Is there a way to do this without tweening?
-scigoat
Moving & Tweening AS 2.0 Style
Hello there,
I'm trying to replicate a nice sliding effect I've found on a website, I've tried to use only Actionscript 2.0 OOP. From the OOP point of view I think I suceeded but the effect isn't there yet.
To have an idea what I'd like to do:
http://fabio.antanix.net/floater/v0.2.html
To get what I've done so far:
http://fabio.antanix.net/floater/v0.2.fla
http://fabio.antanix.net/floater/Board.as
http://fabio.antanix.net/floater/Item.as
The effect in itself is very simple.
There is a series of rectangles (lines would do as well):
+----+----+----+----+
When you rollOver a rectangle this rectangle expands, and all the other rectangles just keep fixed on the first rectangle edges:
+----+-------+----+----+
onRollOut everything comes back to its initial state:
+----+----+----+----+
So far so good.
Now, in some particular case you'll end up by having the whole set of rectangles moved from the initial position, try to understand this diagram:
Code:
Code:
+----+----+----+----+ (init)
+----+-------+----+----+ (n.2)
ˆ
+----+----+-------+----+ (n.3)
ˆ
+----+----+-------+----+ (n.4)
ˆ
+----+----+----+-------+ (n.5)
ˆ
+----+----+----+----+ (no Hover)
Well, what I'd like it to do is just go back when I'm not hovering anything. But it is a bit complicated considering that I want a white space between images.
Check my example it'll be clearer:
http://fabio.antanix.net/floater/v0.2.html
As you can see it all works with some crazy things happening in the background.
PLEEEEEEEEEASE, help me debuggin this algorithm!
Tweening Alpha Fade Without Tweening?
can this be done in one frame with a loop?
i have tried searching for anything like this in the movies and on the board.. guess i am just not asking the right question to the search engine....
anyway,
i have a button. onRollOver i would like to get the current _alpha of a moveclip (MC) and increase the _aplha of that clip by an increment to 100.
onRollOut this process would reverse.
i would like this to all happen in one frame if possible with the ability to set the speed of the fade through a variable.
definately not asking anyone to do this for me (unless you are feeling generous, haha) but at least point me in the right direction.
thanks.
kc
djshank@optonline.net
Moving Vertical Bar Which Holds Moving Thumbnail Images When Mouse Is Over
Hi!
im not completely new to Flash MX - have utilised all basic animation tween/morphing /buttons
and very simple action script- movie controls - stop , back ,forward etc
however i need a moving bar feature, e.g. a moving news reel or a vertical bar which holds a number of images i.e.10 and
when the mouse is over - i want it to move downwards and when is not over the feature i want it to stop moving
(or even instaed of the feature to automatically scroll images i could also use a button to press to move through the images)
then: the thumbnail images from the moving feature i need to be selectable which then produces a larger version of the image on
another section of the page.
i dont no if i put this thread in the right forum!
if any one knows of any tutorials or has any suggestions to help implement this feature
i would appreaciate any help!
- dont really know where to start with it!
thanks
(i have looked at the flash kit tutorials but havent found what im looking for
dont even no if this is more of an animation or action script questions)
Slowly Moving Smoothly - Moving Photos And Pixel Smoothing
So, I'm slowly....very slowly moving a small thumbnail across my stage. The problem is that when the pic moves over a pixel it looks choppy, I want it to look smooth. The border of it looks especially choppy, it's distracting from the site.
Is there a pixel-smoothing option for the stage? or some equivalent?
Does my question even make sense?
Please help.
Thanks
Moving Running Forward But Elements Moving Off Stage
I'm positive I've done it by the book. All symbols on the stage - one by one dragged them off the stage creating timelines - about 6 layers. Play the movie and all the elements start on the stage and move off. Just the way I wanted it but in reverse. Simple vertical and horizontal motions. My mistake must have been in the beginning somewhere - but where ?
Moving Menu And Not (yet) Moving Arrows
Hi,
The title I guess say it all, huh?
But just to be sure.
I have a main menu wich goes right or left. Depends what categorie you choose. When it goes left I have to load a arrow movie wich goes left and for right has to load a moviw arrow which goes right (and not wrong). Thats means that there are two movies: arow left movie and arrow right movie. And both have to react at the moving menu, which were to load and play.
So first level would be the menu which ships from right to left.
Second level (under the menu) one of the arrow movie has to load depending which direction the movie goes.
(now Im confused. What was there I wanted??? A, right!)
I figured out that maybe its more confortable to load it from the library but also if it can be loaded from external files I dont mind. (I did the container thing before so I understand it a bit.
The arrow movies are movies played in the background, as the menu remains on top all the time.
The script for animating the menu is:
onClipEvent (load) {
_root.newposition = "null";
}
onClipEvent (enterFrame) {
current = getProperty(_root.drop, _x);
if (_root.newposition<current) {
distance = current-_root.newposition;
setProperty("_root.drop", _x, current-(distance*.1));
}
if (_root.newposition>current) {
distance = _root.newposition-current;
setProperty("_root.drop", _x, current+(distance*.1));
}
}
Moving Mouse Image Moving
hi everybody. i'm using flash professional 8 and i want to create something like this: http://www.kenzoparfums.com/FR/home/home_FR.html when moving the mouse on the stage the hole stage moves. how do i do that? thank you
Moving Objects: Moving Keyframes?
Can I move multiple layers on a timeline, so that they will all move. Basically I just want to move the location of the multiple layers.
Whenever I do this, it seems to move only some of them and thus the whole animation is messed, different starting points and ending points...a big mess.. It makes me want to cry.
Seems like there is an easy answer or I might just be the biggest chump on the planet.
Case
Moving Objects: Moving Keyframes?
Can I move multiple layers on a timeline, so that they will all move. Basically I just want to move the location of the multiple layers.
Whenever I do this, it seems to move only some of them and thus the whole animation is messed, different starting points and ending points...a big mess.. It makes me want to cry.
Seems like there is an easy answer or I might just be the biggest chump on the planet.
Case
Moving The Stage After Resizing - Or Moving All Objects On The Stage? Heeeelp
Hello! I'm in dire need of help!
I've been forced to resize the stage of my movie but as the stage is expanded to the right and down everything ends up in the wrong place. So I wonder:
Is there any way to move the stage rather than the contents thereon?
or
is there a way to move all the content on all layers and even all scenes simultaneously?
or
is there a way to expand the stage equeally on all sides rather than just right and down?
THANKS ALOT TO WHOEVER COULD HELP ME!
Freddy D, Stockholm, Sweden
Tweening
I need help with a motion tween. Does anybody have a website I could go to to find out how to do it?
Tweening Using X And Y
Hey there folks_
I've seen this done a 100 times on sites and never could figure out how its done.
I have a background MC that i want to be able to tween from its current position to new positions, no matter where it is on the stage. For instance, when I click on the menu option "Gallery" I would like the background to shift to the left a little. If I click on " BIO" i want it to shift completely to the left.If I click on " Contact" I want it to go to a different place, But i want it to be able to tween from its current position (whether its in the Gallery state, Bio state, Contact state, so on) Without having to build out every scenario...
Something like you do a 'tell_target' then 'set_property' and choose '_x (X Position)' and give it a new position.
does this make sense?
Thanks
Donnie
[Edited by donniefrisco on 02-20-2002 at 06:26 PM]
The Little Tweening Box That Would ...
OK, here's the effect I want to accomplish:
The text in my Flash site will be contained in boxes. In my perfect world, the box will start its life as a 1 pixel dot, expand to being a wider line, which will in turn expand (top and bottom)to being a nice grown up box. Looks good on paper, but for some bizarre reason I can't get it to happen, no matter how much I play with the shape tweening.
Help!
Cheers,
Xenon.
Tweening
If got a bit of a problem. When i've tweened an cirkel into an box, I can't tween the box anymore??? Is there a way to do it. It seems the cirkel has turned into an symbol. There's probably an simple solution, but im a bit new so if you can help me please do.
Tweening & AS
Can ActionScript stop the tweening of a MC by modfying it's propertys?
Plz, anyone, help with this one
I've found this problem: I've got a constant-loop-tweening MC, but when I try to modify a property of it by ActionScript, the tweening stops. I've tried changing it's depth and modifying it's color, but both options result in the AS executing and the tweening stoping.
Does anyone can give me a hint to solve this prblm?
Thanks.
Tweening In Xp
Okay I have an easy compatibility error, IN XP(i think) the alpha tweening with my (static) text won't work for some reason, I recently switched to XP and it wont work now, it did as of 3 days ago on my other computer(98), any suggestions would be helpful..
~Zakarus2001
Tweening With AS
How do you motion tween with action script..
I kind of have the basic idea but I can't seem to get it to work properly.
Thanks in advance.
Tweening A Gif Into Another Gif ?
I have a gif and i'd like to tween this gif so that my start position is just a bunch of colours and my end position the full logo (same colour scheme, but with text).
So i'm trying to use the end point gifs and tween inbetween, but it's not working.....motion tweening doesn't give a morph, but i'm gettin an error with shape tweening.
how do i do this???
thx guys...you're all great! tammy.
Tweening ?
Im using a brightnesstweening on a movieclip, so that the brightness is 99% in frame 1, and 1% in frame 15.
Is there a way to do that, using scripting, so that my filesize is reduced ???
thanks
Per Haar.
Tweening
how come sometimes I tween an object it doesn't do the animation in between the keyframes but simply changes on the keyframes? What causes this problem? I have text that I broke apart and made into graphic symbols. when I tween them some are fine and work but some don't.
how do I fix it besides retyping everything in and breaking it all apart again, etc...
thanks
Tweening?
Hi all
My problem goes:
I have 18 pictures(gif) in my movie.
I've tried tweening a drawing I changed gradually in flash but when I try tweening the gif´s nothing happens
Is it possible to tween them? I wont work for me!
Is it the format?
Sorry for asking such a stupid question
Tweening
Hi guys-
I'm using the Photo Slideshow template from Flash MX (the one with the fish and underwater scenes)...modified it to my own taste....however, now, I need the photos to fade in and out when a new one is loaded. You can load the template in Flash to see how it is setup now. One pic per frame. Where exactly do I need to do the tweening, and will it still go to the next picture when the "next" button is clicked? Do I have to change actions anywhere? Thanks in advance for the help.
Tweening Help
ive created a animation and i have a play and stop button on it but when i test the movie and press stop,the motion stops but the shape tweening and other things carries on!. im wondering how do you stop all the movie including the shape tween and when you press play the movie starts up again bu using script?
please help
Tweening
I have Flash MX for Mac OS X and I am having trouble with shape/color tweening. I can't find the "Panel" menu under "Windows" like the book says it's supposed to be (my book is for Flash 5). Where is the Pane menu? Or is it under a different name? Either or, how can I set my Tweening to Shape/color? Thank you very much.
Tweening
Hey, I just got Flash MX, and I want to do some shape tweeniing, but I can't find the "Panels" menu under "Windows" where the book says it should be (my book is for Flash 5). Does anyone know where I can find it? Or is it under a different name? Either way, how can I do shape tweening? Thank you very much. ^_^
Tweening
Hey,
I just got Flash MX, and I want to do some shape tweeniing, but I can't find the "Panels" menu under "Windows" where the book says it should be (my book is for Flash 5). Does anyone know where I can find it? Or is it under a different name? Either way, how can I do shape tweening? Thank you very much. ^_^
Tweening
why can't i do it? i create the keyframe, change the image and insert motion tween (i want to make it unfold) but it won't do it, it stays a dashed line
sometimes it also changes it to a group so i can't change it either sometimes. please help
while im asking for help, how come i can't color shapes i have drawn?
Tweening
Here's the deal:
I created a piece of text, and then converted it to a graphic. In a new layer, around frame 60, I create a new keyframe and place an instance of the symbol above the screen. 15 frames later, I place another keyframe and move the symbol down onto the screen. I create a tween between the two.
Now, when I run this in Flash 5 (Enter key) it tweens fine. A solid arrow appears on the timeline. But when I test it, publish it to Flash or HTML, the text doesn't appear at all. Any clues as to why it's doing this?
CPU And Tweening Using AS
I have a client that wants an image scroller in flash similar to that you see on www.corbis.com
In addition to the pictures scrolling, they want some of the pictures to fade in and out while text describing the picture is fading in and out in contrast to it, so if the pic is a giraffe, the giraffe inage would fade out and the "giraffe" text would fade in.
So, I got the scroller working pretty well, and used some AS to set up a two frame loop to change the _x value each time the MC loops for each image and then change the _x value to wrap the image to the right side when it scrolls off of the left side, so the scroller moves smooth.
I upped the frame rate to 36 FPS to make the pics move smoother, and not totally kill the user's CPU cycles.
However, now that I am adding the fade in/out of the words, the images move slower and choppier...I don't want to up the frame rate much more and kill older machines, but I need this thing to run much smoother.
Anyone have any tips on this? I warned them that the more stuff you have "moving" on the screen, the choppier it will run, but you know the deal....they just say "fix it"
HELP!
RH
Tweening Help
This is probably a really easy question to answer. I'm really new at this and have been trying to make something like a movie reel opening where there is a circle with a line going around inside of it and then numbers counting down. The problem is that when I tween the line, instead of staying the same size throughout the whole tween, it shrinks in size and then expands in size. I've tried adding shape hints, but that doesn't seem to help. What should I be doing? Thanks in advance for you help.
Tweening?
Hey guys,
ive stumbled at a really nice effect. It is found at:
http://www.jamesgood.net/
You have the "frames" that resized at another different size....(shrinking and expanding)
Ive searched this forum, and one thing that a understand, for im a noob, was found here: http://www.kirupaforum.com/forums/sh...threadid=24605
(But for me that was just one picture, and not loading one pict into another....
I thought it would be best to try it in this section..so....i hope theres someone who can explain it in a very simple way (maybe tutes), cause im kinda lost here....thank you guys/girls..
(if you have anything, plz post it here, i would really appreciate it!)
Thnx Bokkie
Tweening Help
I really need help. I am a n00b with flash, and i am trying to make a shape tween. I understand that i cannot use symbols in tweens. But I have a jpeg image from photoshop that i want to do the tween effect with. How would i go about converting the image (bitmap or symbol) into something that i could use in a shape tween?
Tweening
trying to figure out how to do a non-basic tween. Here is what I mean. I can take a box and make it grow or shrink easy enough. Now here is the tricky part. I want to take the same box and have a 1 pixel border (gray) with a fill (white) on a white background. I want frame 1 to have this white box with 1 pixel gray border very small say 5px x 5px. Then say frame 40 have this same box 200px x 200px but the border still be 1 pixel gray. I have tried a motion tween, but it resizes the border appropriate to the size increase. Going backwards (making the box big and reducing it) doesn't work. I even tried reversing the frames after creating the motion tween backwards. It did some funky things when I tried that....I still don't understand.....any thoughts would be appreciated.
wd
Tweening A MC
I have a preloader scene that Im having a little problem with.
I have the background in one layer. A pic I made in PS in another layer. ( I could combine the two I guess)
Now, I want the load bar to tween from left to right across the pic I made. I have tried multiple different ways, but I keep getting stuck.
When I draw my little 1 pixle wide bar in frame one, then select frame 100, and finish the bar out to the right, choose shape as my tween, it looks great. Then I convert it to a symbol and my solid tween line turns to caca. Great, no more tween.
I then tried to just create a new symbol, thinking Ill just drag it onto my stage after I make it. No bueno. Still can not get a solid line for my tween between frames 1-100. I dont get it
Can I not tween a symbol? I have no problem tweening text. So what gives?
Help porfavor
MX: Tweening Using AS
I have three rectangles stacked on top of each other (A, B & C). How can I scale A to twice its size while simultaneously scaling B & C to 50% and moving them down? All this needs to be done "on mouse over" A.
Tweening Help
Alright i'm a total n00b at flash.. i was wondering how do i tween animation? I cant find the menu... thanx!
Tweening?
Hi,
2 questions:
1) Out of normal tweening and "action script tweening" which causes the least amount of slowdown? (I am just scrolling a large picture as a background over and over to give a loop effect)
2)If it is action script tweening, how do I scroll MC "BG" from 0 to -500 in around 3 seconds, or 90 frames?
Thanks,
W.
Tweening
I do know how to use the tweening function to an extent, but it's some of the specifics, I am having trouble with.. I'll go take a look at the tutorials and see if they have something on this specifically.
Thank you again.
Gin
Tweening Mc's
I've created an animation and converted it into a MC in its own timeline. When I returned to the main timeline, I dragged the MC on to the stage. With the MC selected I created a motion tween on it. When I replayed it, the motion tween occurs, but the MC is not "dancing" as it moves to it's destination. My question is what did I miss here? I'm using MX 2004.
Tweening
I have put some text in a movie and I have set it to fade from alpha settings 0% to 100% yet when I play the movie, it doesn't fade in. It just appears at the point where the percentage is at 100%. What's up with that?
Tom
Tweening
I’ve just started to learn flash a few days and I’m on tweening right now. I’m trying to make a scene of snows falling. I made it work smoothly with just a single snowflake on each layer but it doesn’t work when I try multiple snowflakes on one layer. Is it possible to have many objects moving in different direction using one layer? Oh yeah, I’m using the motion guide to do this.
Tweening
when you tween how do yo edit the thing that is tweened on each frame without out wrecking it.. say when you tween an animal how would you edit the feet so it looks like it is walking..you no what i mean
|