ActionScript 2.0 :: FMX Ball Squeezing Through Tube Effect
Jun 9, 2004
i need to make this tube spit out a ball. The ball travels up the tube and causes the tube to bulge and stretch. Hope you know what i mean. like forcing a soccer ball through a stocking. (hahhaa). Anyone knows the script to do this? Like make the stuff react kind of thing.
View 5 Replies
Similar Posts:
Jun 9, 2004
i need to make this tube spit out a ball. The ball travels up the tube and causes the tube to bulge and stretch. Hope you know what i mean. like forcing a soccer ball through a stocking. (hahhaa). Anyone knows the script to do this? Like make the stuff react kind of thing.
View 5 Replies
Jan 19, 2006
I want to do gravity effect on a ball . I found some thing do this but I need to make the ball goes to the floor direction actually I want it to follow the sloping of the floor with the gravity effect .
View 14 Replies
Jun 15, 2011
i'm developing a tennis game visor for a university practise.I'm trying to simulate/fake bouncing ball + shadow effect, but i was unable to do something "real".The shadow should be able to move and resize in such a way that the MC appears to gain or loose altitude (the effect of separation from the stage, or lifing effect). An image from the desired ball-shadow effect from flash tennis game and some youtube videos :Old SNES game video effect
View 1 Replies
Nov 8, 2004
I am trying to work out a way to achieve the bouncing ball effect over text known from karaoke players? I would like this to be done programmatically with actionscript, so the ball follows the text and the soundfile (looking for pauses or DB rises?maybe not). I have heard its a question of finding the right algorithm? Its use will be in a language lab-like flash app based on Communication server, where the user can :
1) Hear the correct pronunciation of a sentence (with bouncing ball over text)
2) Record their own voice
3) Compare the two
View 1 Replies
Jun 20, 2006
i wanna ask how do i make a ball bounce off something like a ball bouncing off a bumper in a pinball game? i've tried a lot of times but everytime the ball get stucked to the box and it doesn't move anymore...will be grateful if anyone noes the actionscript of it..
View 3 Replies
Jun 5, 2009
ball collision inside another ball using gravity.I have one large circle in the middle of the stage (its radius is 150 pixels). I have another circle inside of that one (20 pixels radius), this is the smaller ball that I would like to have bounce around inside of the larger one with gravity. When the small ball hits the edge of the larger circle, I would like it bounce inwards to the center of the larger circle. It keeps doing this until it eventually stops in the center of the larger circle at the bottom.
View 1 Replies
Jun 28, 2011
is there a possibility to embed youtube into my site but see just the player? i want just the mp3 without the movie..
View 1 Replies
Mar 2, 2010
How to stream videos in youtube in a flash website?
View 2 Replies
Aug 23, 2010
A typical code fragment obtained from the YouTube embed feature looks like this:
<object width="660" height="405">
<param name="movie" value="http://www.youtube.com/v/NWHfY_lvKIQ?fs=1&hl=en_GB&border=1"></param>
[code].....
View 2 Replies
Feb 8, 2007
I hope this is the right forum to post in. I'm trying to make a flash video player that has the little section at the end of the video that grabs a link to a few more videos and lists them, allowing you to click on them and going to a new page. I am starting with this video player here. [URL]..He has included a pretty thorough readme file, it has a lot of info but I haven't worked with flash in a long time and feel pretty nubbish. I suspect something like this wouldn't be too hard but I'm unsure. I've attatched the readme file on this post in case you wanna take a look. I do have the videos working perfectly, it's just a matter of modifying it now to make the end.
I did search both the forums, tutorials, and web for something along these lines but to no avail. Basically I need to know how to make that section at the end with the links to other videos, even pointing me in the right direction would be extremely helpful so I could research the things I need to do.
View 1 Replies
Nov 7, 2010
In a Flash XML Template to open two you tube videos in new window rather in the same window how I write the Code. I tried with something link "_blank" which not worked and I think there is something which is not know to me. I apend the Code here This is the code to open the video in the same window.
[Code]..
View 0 Replies
Jun 21, 2011
I have a project that requires me to create interactive schematic maps for rail networks. Something along the lines of London's tube map (Not the tube map itself. Are there any flash libraries out there that can assist with this sort of thing?
View 1 Replies
Jun 14, 2005
check out: [URL] The typewriter effect here is very fast, much faster than when I use onenterframe to produce the effect. Does anyone know how this is done?
View 14 Replies
Jun 16, 2003
I really like the text effect Pom used in the footer contest, and would like to use the same grid-type method of creating mc letters but with a different effect. i understand how to change the parameters and shapes of the letters, but can't seem to figure out which piece of code is purely for the explosion effect. basically, i want the letters but with the 'Repel' effect from[URL] here is Pom's AS:
[AS]
cellSize=3;
radius=10;
damp=.85;
[code]....
and here is the .fla using the repel effect using pre-made mc:
View 6 Replies
Feb 8, 2011
It's a bit of decoration to go behind a logo. When the dMove var is commented out I get the appropriate line of squares fading in and out at random spots along the x = 78 axis, but when introduced nothing appears at all...
[Code]....
View 2 Replies
Aug 25, 2010
is there a way to change the code and create attraction effect instead of push effect?i tried but without success...!
View 1 Replies
Feb 7, 2006
in a nut shell I have found this wicked piece of open source actionscript.
It responds to the cursor and was wondering if it is posible to modify the x_position and y_position actions and make the action respond to a moving object???? (a movieclip with a variable name)
is this to complicated to attempt or is it doable??
ACTIONSCRIPT
Code:
//
var rows, colm:Number;
//
[Code]....
View 2 Replies
Jun 12, 2009
I am trying to get a ball from left to right I click in 28 and insert keyframe then I right click and click on create motion tween nothing happens. When I do this same thing on the sample one with the car this is what I get. and when I do the ball one sample2 it don't have the blue bar.
View 9 Replies
Oct 1, 2009
I'm a AS3 noobie and have a simple question:Quote:var ball:MovieClip = new Ball();var inc:int = 0;stage.addEventListener(KeyboardEvent.KEY_DOWN, onKey, false, 0, false);
View 2 Replies
May 27, 2011
I am trying to throw a ball in an arc, either an arc going left or right.
Here is my code:
var gravity = 2;
this.velocity.y += gravity;
_angle = 5;
[Code].....
It doesn't really look like the ball is "arcing" at all, it seems to be more of a diagonal line?
View 3 Replies
Dec 6, 2010
I need to get my movie clip to move across the screen from (30,100) to (600,100). I have a ball moveclip which loops and looks like it is rotating, therefore I need to create the actionscript code to just move the ball from the points listed above and then it will look like its rolling.[code]But I am getting this error; Access of possibly undefined property x through a reference with static type Class.I have the movie clip named ball with a class of ball_mc and it is exported for actionscript, I dont understand what the error is trying to say?
View 3 Replies
May 15, 2009
I'm working on integrating Omniture into an Actionscript 2 custom written video player.Omniture is not playing ball at all and their documentation for their Actionscript component is very poor, and they don't provide tech support for it.
View 1 Replies
Aug 3, 2009
how to hit a brick more than once with my ball created, i just want it to happen to random bricks only.
here is the coding;
Code: Select allpackage {
import flash.display.*;
import flash.events.*;
[code]....
View 1 Replies
Nov 3, 2010
I have this code to make a ball bounce. it works fine, however, everything on the stage bounces. I only want the ball to bounce.
Here is my code
/* Actionscript 3.0 Bounce Effect. ball = movieclip instance name*/
var velocity = 0;
var gravity = 2;
var speed = 0.03;
var ground = 300;
Object(this).ball.addEventListener(Event.ENTER_FRAME, fl_bounce);
function fl_bounce(event:Event) {
[Code] .....
View 5 Replies
Nov 20, 2011
I'm trying to make it so that when the ball hits the wall, it bounces off of it.. this is my code
Actionscript Code:
var elastic:MovieClip = _root.createEmptyMovieClip("elastic", 1);var point1:MovieClip = _root.attachMovie("sling", "point1", 3, {_x:50, _y:200});var point2:MovieClip =
[code].....
View 3 Replies
Feb 7, 2012
I am trying to follow and create a tutorial which explains how to make a bouncing ball.I am really struggling with the Action Script 3.0 even though the teacher types it in.I am inserting the code so that you can view it.[code]
View 3 Replies
Aug 20, 2009
The ball created below is drawn as a red ball I want also to write its name "red" and place it on the ball whatever the ball position on the stage is
[Code]...
View 3 Replies
Jul 27, 2009
I'm running a hitTestObject for when ball hits target1 - The working code works great below.
Is there a way to have the ball hit multiple targets? Instead of hitting just target1 can it return when it hits target1, target2, target3..etc.
[Code]...
View 2 Replies
Mar 13, 2011
Maths was never my strong point and I have been attempting to speed the ball up that I have in flash. The ball is dispatched like this;
[Code]...
It almost works, however the results are not consistent. Sometimes the ball gets faster, and sometimes it becomes extremely slow.
View 9 Replies