ActionScript 3.0 :: Stopping Annoying Jitter On MC Hover?
Jun 19, 2009
pasted the relevant script below my (SORRY it's so long-winded) question/s. I've got the on and off mouse hover working via functions "fRagingOn" and "fRagingOff". I'm not trying to impress you with all those IF conditions. They don't slove the problem anyway. So I apologise for all the superfluous code. "fRagingOn" controls a 12 frame motion tween inside MC "Romantics2" (separate functions do the same with the other four movie clips as well) with "stop();" actions on frames 1 and 12. "fRagingOut" controls "play();" [frame 28] and "gotoAndStop(1); [frame 40] (all that INSIDE movie clip "Romantics2". I know all you have to do is move your mouse to stop the annoying jitter, but is there a way to stop jitter on that spot where the user's mouse position makes the movie clip go into rapid-fire or slow jitter?
And STILL KEEP the interactivity of the MC responding to mouse hover whenever a user moves their mouse? I've tried every combination of "removeEventListener" and "addEventListener" inside the functions and outside but either the movie clip stops working because the Remove Listener has disabled it, or I get jitter on that Achilles Heel mouse postion. Is there an AS3 coding solution to keeping full hover interactivity and COMPLETELY eliminate that annoying jitter once and for all?
SCRIPT BELOW:
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
[code]......
View 8 Replies
Similar Posts:
Sep 28, 2011
I'm working on an AIR for iOS iPad scrolling menu with "kinetic" interaction. I'm trying to emulate as closely as I can the behavior of native components. To that end, I've had to forgo the traditional startDrag() method because of the peculiarities of the native UIScrollView. The reason startDrag() won't work for me is that when you drag the menu past its upper or lower scrolling threshold you encounter resistance, that is, the effect of your mouse/finger on the scroll/dragging of the menu is cut in half. Inside either threshold, if you move your finger a pixel the menu moves a pixel. Beyond either threshold, when you move your finger two pixels the menu only moves one because of the a .5 resistance multiplier. As far as I know, startDrag() doesn't account for any of that.
[Code]....
View 1 Replies
Sep 13, 2005
I'm trying to get the jitter effect applied to a button.I currently have a mc called suggestcaption_mc with the following code applied to it.
Code:
onClipEvent (load) {
this._x = 103.9;
this._y = 30.2;
[code]....
This works fine. Now what I am trying to do is turn this into a button which does this effect on rollover?I tried sticking the mc in the hover keyframe of a button but this does nothing.
View 3 Replies
Nov 29, 2010
I'm doing a project that uses a looping video clip sized 1280x720 - but I just can't get flash to play this without a stop and a jitter when it loops. I've tried various implementations of looping code, currently I'm using a very simple variant: on the FLVPlayback component, I have
Code:
on (complete) {
this.play();
}
and that's it. There's nothing else in the scene, at all.
I've even tried using video at the size, yet that too stutters on loop. Is there any way to eliminate this, as it spoils the illusion of a continuous loop entirely. I'm using CS5 right now (recently upgraded from CS3).
edit: I'm using a PC that EASILY should be able to run HD video, if I check the Task Manager, it's using around 3-4% of the CPU, yet I still get poor performance and stutter on loop!
View 4 Replies
Mar 3, 2009
I've been working on my website - [URL] - and whenever I load the page up in firefox there's this annoying border that goes around the swf when you click on it.
View 17 Replies
Aug 3, 2010
I have recently got Flash 8 Proffesional and keep having a really annoying issue. When I double click a movieclip i get a really annoying box animation that is really slow, when I had flash 8 before it didn't do that is there anyway to turn it off.ybe more detail - when I double click a movieclip, and "go inside the movieclip" when i last had it it just went striaght in now there is a animation with a dash line box growing / shrinking until it meets the endge of the page then i go in side the MC
View 5 Replies
Feb 8, 2012
I've searched around a bit but have not found anything that sounds like my issue, or a resolution to it so am hoping this is not unique.I have a movieclip with an image and underneath it some text.I have created a pair of eventlisteners to change the scale of the MovieClip on ROLL_OVER and ROLL_OUT, to 1.3 and 1 respectively.If I hover over and out the image part of the MC this is fine and works as expected.However if I hover over the text, the animation gets stuck doing ROLL_OVER and ROLL_OUT.
View 1 Replies
Oct 7, 2004
dissect the image effect found on [URL] ? Ignoring the random text and the grainy lines, how would you achieve the random image sizing and jitter?
View 14 Replies
Jul 29, 2009
I still use AS2. Since I migrated from Flash 8 Pro to Flash CS4, the .fla I used to work with displays now a Font Mapping window.
The window says that the "VerdanaReg*" font is not available on my system.i never had such a font installed Verdana is a font I make an extensive use in my .fla and the installed fonts are (for several years):
[Code]...
View 2 Replies
Feb 25, 2012
I'm making an animation of a line drawing itself. I'm using a vector line that I drew in Illustrator, which I imported to the stage. I have been erasing a bit, inserting a new keyframe, erasing it a bit more, new keyframe etc. When i have finished this I intend to reverse the sequence so the line appears to be drawing itself. This process has been going really well, but at 1820 frames in a section of the line has started to shake/jitter (by which I mean from side to side very quickly). I deleted the frames and did them again, using the same process that I have for the rest of the line which is not jittering, but this small section is still jittering. It doesn't jitter or move when I move between frames, it only jitters when I play the movie by pressing Command + Enter or I export it as a Quicktime .mov file.
PS here is a YouTube video of the problem. The jitter starts around the bottom of South America. You may need to make it quite big on your screen to see it. You'll notice that that part of the line doesn't jitter most of the way along, but starts to jitter when it gets to that part.
View 2 Replies
Sep 16, 2008
So I'm making a Flash site that needs to have different swfs on a bunch of different html pages for easy linking purposes. The problem: Even though the swfs are small, as you navigate between pages there is what looks like a white flash just before the swf shows up. I know this is the background of the html page as the swf is loading. Is there any way to load the page in a certain way to avoid this? Would a preloader help? Here's an example of the site:
View 3 Replies
Oct 31, 2010
I'm not sure if you've noticed this, probably not, but function pointers in AS3 run much, much slower than calling the function directly. It's a recent finding, and an annoying one. I use function pointers a lot. An obvious example would be to easily change the behaviour of a certain object. Say I have a class that controls movement, it has a class level function variable called UPDATE (ie public var UPDATE:Function), and 3 or 4 actual functions it can point to.
This always me to quickly/easily change the behaviour of an object. Say for example I want an object to run on different movement code once it's collided with something, I can just do UPDATE = movement2; etc. However, a pointer for a function runs about 15 times slower than running the function directly, therefore I need a replacement. And I really have no idea why there is this absurd disparity in speed between the 2. With some variables, accessing a reference is faster than accessing the variable directly, obviously not with functions. What would you advise as a nice, simple replacement solution for the above example?
View 14 Replies
Mar 31, 2011
while I use litterally any tool, oval, pencil, paint brush, anything - a blue square apears around the object. in a simple click on the blank it disapears- thouhgh it drtives me nutts. are any of you familiar with that? I assume I messed around with the settings for it to happen.
View 3 Replies
Jul 24, 2009
I save alot of web pages while surfing the web , but when opening them I always get the annoying "Adobe has stopped a potential unsafe operation" security warning. Most times this is from a little flash banner, ect.Is there anyway to disable this warning? The computer doesn't even have internet access.
View 10 Replies
Jan 9, 2012
I have a character added as Child in the Main Time line and i am trying to make a class for that same char to control it, but as soon as i start it gives me this huge annoying error that says It has a compile time-constant error in the
private function checkKeysDown(event:KeyboardEvent):void{
Full class code below
Code:
[code]....
View 2 Replies
Feb 18, 2009
I want it to while still easing into place like the iphone does. For example my stage is 550px. The drag and throw MC is 1650. That's 550x3. If the first image is showing starting at x axis 0 and you drag to the left it will ease into place stopping and showing the second image stopping the image at x axis 0. And the same thing scrolling to the next one and scrolling back. So the code is below and I've attached the movie that I'm working on.
[Code]....
View 8 Replies
Dec 25, 2011
flash pro. as 3.0.animation . almost no codes except ends of scenes having :
import flash.media.SoundMixer;
if(SoundMixer.areSoundsInaccessible() == false)
{
SoundMixer.stopAll();
}
[Code]...
i got this scene, with this specific bgm , individual frame layer. and the sounds at another layer. what i want is to stop the sound without stopping the bgm . (yes, i know the above code wouldn't work as it stops all sounds)
View 1 Replies
Jan 7, 2012
I am making a character walk. This code will make him wobble to the right and when thats done it will trigger him to wobble to the left and then call the function again to continue the loop.I can get the loop to work fine by calling the function but how do I STOP the function? Also I want to call it later on. Is there a way to start and stop a function?
function wobble()
{
var ws = .1;
var dis = 1;
[code]....
View 2 Replies
Jun 15, 2009
I have some movieclips that play when you hover over them and rewind when you mouse out. Now I've added a click event to the MCs also and now the first time you hover over them, nothing happens. But the second time works just fine.The MCs that don't have the click event work fine using the same code.URL...
View 7 Replies
Aug 15, 2009
refer to link below to see the affect I am trying to achieve. [URL] Hover your mouse over to the right and the images will start scrolling to the left. How do I achieve this effect?
View 1 Replies
Mar 13, 2011
I made my company logo image into a button in Flash now how to add a hover over effect to it?
View 1 Replies
Jun 17, 2010
Im new to CS3, in MX2004 and Flash 8 - i know exactly how to create a hover effect, but in CS3 i dont see the toolbar that used to be over the timeline in the editing mode.
View 4 Replies
Apr 13, 2005
I have created a new textFormat for some dynamic text that is loaded into a textfield. Is there a way to change the style of the text when hovering over it?
View 2 Replies
Jul 14, 2009
Does anyone have a simple AS 2.0 that will make a MC appear to hover in place?
The effect should look like a ping pong ball floating above an air shaft, mostly bouncing on the Y axis.
View 1 Replies
Jan 3, 2010
I have map of the world (in photoshop) where each continent is in separate layer and separate coloured. How can I make link in flash of each continent. I want mouse hover over the exact colour (continent). My problem is that mouse hover always over the whole selection box of object (whole rectangle).
View 1 Replies
Jun 9, 2011
I have figured out how to do most items I have needed to change in a template I purchased, but I'm stumped on this one. How do I change to hover over color of menu items? I can supply the fla and flv files if needed. I just don't know which item(s) I should be working on in the library to do what I want to do.
View 5 Replies
Apr 27, 2010
I was wondering if I could include some flash animation within the html on hover,
View 1 Replies
Apr 11, 2011
this.addEventListener(MouseEvent.MOUSE_OVER,function() {
this.alpha=0
})
In an MC, I want it to become invisible when the mouse hovers over it. The reason I'm putting this code inside the MC and not making an instance out of it is because this MC will recur numerous times. The listener does work, as tested with trace(). For whatever reason, alpha doesn't.
View 1 Replies
Apr 26, 2011
Basicly I have a photo gallery which has graphic above the photos with text saying what the image is of. I am not sure on how to set the graphic to visible = false at the start of the flash movie? Also how would I achieve it so it only shows the graphic when the user has its mouse hovered over the certain images?
View 1 Replies
Dec 30, 2009
i have map of the world (in photoshop) where each continent is in separate layer and separate coloured.how can i make link in flash of each continent. i want mouse hover over the exact colour(continent). My problem is that mouse hover always hover over the whole selection box of object.
View 0 Replies