ActionScript 3.0 :: Flickering Sprites On Mouse Over?

Sep 9, 2011

I wanted to pass on an experience that I had in the hopes that nobody else will have a late night like I had last night. I'm working on a flex app and in part of it I have a loader that loads a SWF vector image and adds it as a child to a sprite. No event listeners were added to either the sprite or the loader, but other children at the same level as the sprite and nowhere near the location of the sprite had event listeners. No big deal, right?

I started to notice that if I loaded the image from my local drive, it was fine but as soon as I loaded it from a remote source, it would flicker as soon as my mouse hovered over it.Again, no event listeners were applied to either of these two items.I figured out that even though there were no event listeners, the loader was stealing the MOUSE_OVER which was causing a seemingly unrelated event listener to fire, thus moving sprites and causing the flickering.The solution that I found was to forcibly add a mouseChildren = false to the parent sprite and POOF! No more flickering.

View 2 Replies


Similar Posts:


Flickering Observed When Mouse-Down In Mac OS

Feb 18, 2009

I created two swf's, A and B. A is a blank swf, totally. B is has one button on it. Now neither of the swf's has code, animation or any action in it. I open A and B separately in two different Safari windows. When I keep the button on SWF B in pressed state, the finger cursor flickers. Now if I close the window with SWF A and try it again, the mouse hand cursor doesn't flicker. Therefore this happens when two or more swf's are opened in different browser windows.

P.S >> Im using Mac OS X 10.4.11 Intel

View 1 Replies

Actionscript 3 :: Flickering Mouse Custom Cursor?

Sep 19, 2011

I have a problem with flickering mouse custom cursor. I have a timeline which is my main clip and I want to show a pencil like cursor when I am over the timeline movie clip. I am using standard Mouse events, MOUSE_OVER and MOUE_OUT, MOUSE_MOVE. Also I use Mouse.hide()/show() functions to show and hide the mouse.Also the same principal or the pencil movie clip which I show and Hide.

On MOUSE_MOVE is set the coordinates of the pencil movieclip to be those on the Mouse cursor. How ever I get a flickering of the mouse and the pencil movieclip while above the timeline movieclip. So they change from one to another all the time without stopping i.e filckering.

[Code]...

View 1 Replies

ActionScript 2.0 :: Thumbnails Flickering On Mouse Events

Mar 9, 2009

We have an mp3 player that is based on multiple thumbnails. On rollover the thumbs move up, on roll out they move back down. The issue is that the button inside the thumb also moves up/down, so the thumb ends flickering. You can see it in action here: [URL] (keep the mouse at the bottom of the thumbnail, when you roll over the thumb). Should we increase the button size, detect the mouse position, add an interval or how would you go about this one? It's kind of tricky as we're trying to keep the same look and functionality of the mp3 player.

View 1 Replies

ActionScript 3.0 :: Stop Mouse Events In Lower Sprites?

Aug 7, 2009

When I put a sprite over top of another sprite, the lower sprite still gets the mouse events.

I'm sure there must just be a method that I don't know about. How do I tell AS to only raise events for the top sprites?

View 1 Replies

Actionscript 3 :: No Hand Cursor Or Mouse Events On Sprites In Flash Player 10?

Jan 11, 2012

My movie targets flash player 10, and I compile it with FlexSDK v 4.51. It compiles and plays with no errors. But if I view the swf in Flash Player 10, some sprites that are set to buttonmode do not show a hand cursor or dispatch MouseEvents. In fact, if I play it in the Flash Player 10 debug player, I get an error:

"VerifyError: Error #1053: Illegal override of z in mx.core.BitmapAsset."

So to fix this, I can switch to using an older SDK, version 4.1. Now the error message is gone, but the mouseover problem persists - now for Flash Player version 10 and 11.

There are no flash 11 specific features used. It should be targetable using flash player 10.

I have determined that the mouse event and the override error are not related. The mouse event error seems to being caused by using filters. and I have found a workaround, by applying the filter to a child object, instead of the parent.

The error thrown above, is getting caused by an embedded bitmap. And it seems like a fix to that is to use flex SDK 4.1. Any reason not to just use the 4.1 SDK? Any way to make 4.5 sdk compatible with Flash player 10?

View 2 Replies

ActionScript 3.0 :: Dynamic Sprites With Perspective Lose Mouse Event Functionality?

Oct 20, 2009

I really don't need happening after spending a week figuring out why some code didn't work, only to rewrite it and have it suddenly start working. I guess it's the classic case of running into more, more serious problems right after making an extremely good breakthrough!.Anyways, my problem is that my dynamically drawn sprites with the PerspectiveProjection property set on each, all of which are contained in a movieclip (which is at stage-level), no longer have MouseEvent functionality - at this point, I think anything past regular Events no longer work, but my stack of important issues eats up all time I have to test.

Before I started having issues, I was using just a scale effect to simulate the 3D-ness of the movie. After figuring out why past attempts at using Z axis on these sprites failed, I decided to add the perspective part to the transforming of each of these sprites. Ever since then, Mouse functionality just simply does not work. No errors are thrown, no runtime errors are displayed, yet the trace function does NOT work within the functions (meaning it isn't the content of the function not working) - simply does not want to do anything!Other animations and such work perfectly fine - i.e. tweening the X, and Y values, etc

View 1 Replies

Actionscript 3 :: Android - Attach Mouse Event Listeners To The Stage Or To Individual Sprites?

Aug 16, 2011

In AS3 on Android is it bad from a performance perspective to attach mouse event listeners to individual sprites rather than to the stage? I am writing an app for an Android phone using AS3 in Flash Builder. The app has multiple screens that respond to user touch. The screens are arranged in a hierarchy and show list data so that when you click on an item in a list you are presented with a new screen with a new sub list on it.

I have been using an event listener to detect mouse / touch input and based on something I read that indicated that performance is much better if you keep the number of objects you are listening to to a minimum I have attached the mouse listeners from each screen to the stage object.

This all works fine but I am finding that as I move between screens (and they get popped or pushed onto the dislay stack) I have to keep track of alot of adding and removing listeners to the stage object. If I don't then windows higher up the hierarchy than the current screen keep receiving mouse events.

If I used listeners attached to sprites in each window then when the window was removed from the display even though it is kept in memory (ready to be popped back when a child window is closed) it won't receive any mouse events....

Performance doesn't seem to be impacted using listeners directly on sprites when using my HTC phone to test with, however I obviously don't know what it will be like on other phones. Does anyone have any experience either way or a view on the best approach?

View 1 Replies

Get A Flickering TV Effect?

Jul 22, 2009

I would like to have a website with a frame type all around it. I would then like everything outside the frame to flicker sort of like a TV.

Like a SCI-FI type flicker where a signal is being transmitted and broken up.

View 2 Replies

Flickering On Some Of Buttons On Rollover

Aug 21, 2009

I have about 6 buttons that have an over state and hit state. I have actionscript that has them going to a url when on the hit state and on roll over it is showing a text label. All of that is working. The issue that I am having is that for 3 of the buttons, they flicker when you roll over them. These are built and coded exactly the same as the others that are working. where I should look for the breakdown? It seems strange that there is a inconsistency unless it is the order of the buttons or something like that.

View 1 Replies

ActionScript 3.0 :: MovieClip Flickering With MOUSE_OVER

Jun 22, 2010

I have a basic rollover function for my button, which seems to work, but whenever the mouse is moved to the right (but remaining inside the movieclip) the MOUSE_OUT function starts happening, and then when the mouse is stopped moving, the MOUSE_OVER code re-activates. I have no other movieclips in front of it, but it is masked using actionscript. I don't understand why it's doing this, because the mouse never goes outside the area of the movieclip, so the MOUSE_OUT function shouldn't activate. The movieclip doesn't change side or shape at all, it just changes colour.

[Code]...

View 6 Replies

ActionScript 3.0 :: Programming 100% Correct, But Still Flickering SWF?

Jul 2, 2011

Let me sum up the game the best I can real quick and then get to the problem. I cannot upload any code because I am under contract. I also know the code is working 100% correct. The game I am working on will have "X" number of large images. The "X" images will then be broken down into smaller images. I have around 3,000 images, all in the Flash Library, classes are named correctly, the files are named and sized correctly, etc. The game works perfectly on images 1-66. When I get to image number 67, the game SWF starts flickering from scene 1 to scene 2 and then back to scene 1 for a non-stop loop. No matter what image I use for #67, the swf flickers. My FLA is around 300MB and my SWF is 102MB.

So, does anyone have any ideas on why adding a 67th image would make the SWF freak out? Could it be some type of file size issue, graphics card issue, virus, etc? I've tried it on multiple computers both PC and MAC.

View 3 Replies

Image Flickering In Adobe Flex?

Oct 14, 2010

In Flex4, I use an Image control. After every 10 seconds, i am changing the image programatically using Timer. But when the image changes, flickering occurs. Is there any method to prevent this?

View 1 Replies

Jquery :: Stop Flash From Flickering?

May 5, 2011

I have embedded flash in my html pages but upon refresh, it flickers, is there anyway to stop this?

View 2 Replies

ActionScript 3.0 :: Flickering Cursor On RollOver / RollOut

Nov 3, 2008

When the mouse hovers over the image the cursor flickers between hand and standard mouse pointer. One work around I've tried is to place an object under the main button that is bigger than the main button. That seems to work but only for that button. If I try it for others...well the image because cluttered with useless boxes.

View 9 Replies

ActionScript 3.0 :: Programming 100% Correct And Verified, But Still A Flickering Swf?

Jul 2, 2011

Let me sum up the game the best I can real quick and then get to the problem.  I cannot upload any code because I am under contract.  I also know the code is working 100% correct.  The game I am working on will have "X" number of large images.  The "X" images will then be broken down into smaller images.  I have around 3,000 images, all in the Flash Library, classes are named correctly, the files are named and sized correctly, etc.  The game works perfectly on images 1-66.  When I get to image number 67, the game SWF starts flickering from scene 1 to scene 2 and then back to scene 1 for a non-stop loop.  No matter what image I use for #67, the swf flickers.  My FLA is around 300MB and my SWF is 102MB.
 
why adding a 67th image would make the SWF freak out?  Could it be some type of file size issue, graphics card issue, virus, etc?  I've tried it on multiple computers both PC and MAC.

View 2 Replies

Avoid Flickering While Loading Picture In Flash With AS3

Feb 18, 2010

I just trying to learn basic flash programming skills, now I got a program that load an image from my local machine, and show it with uiloader component, code is something like:
var myImage:String = "picture.png"
var request:URLRequest = new URLRequest(myImage);
uiLoader.load(request);
It's working fine, but when dynamically change the picture, I notice a flicker while loading, there is any way to avoid this flicker? i mean, like double-buffering or so.

View 1 Replies

Css :: Youtube Flash Embed Flickering In Firefox

Nov 23, 2010

I'm having a problem with youtube video embedding;

In some places on my site (like news etc.) video is normally displayed and can be watched, while in others (forum topics mainly) it flickers whenever I mouseover it (making a new HTTP request to YouTube, as I can see in Firebug).

It definitelly has something to do with CSS rendering; when I disable JS nothing changes but disabling CSS causes it to work properly.

Firefox version: 3.6.12
Flash version: 10.1.82.76

The code I'm using for embedding:

<object type="application/x-shockwave-flash" width="390" height="293" data="http://www.youtube.com/v/pIxVoDNbujM?ft=18">
<param name="allowFullScreen" value="true"></param>

[Code]....

Edit: OMG, it works properly when I'm logged out... Now nothing is clear to me as CSS is the same for users and guests, there are just few minor differences in markup...

View 2 Replies

Flash :: Stop Flickering Of Moving Object?

Apr 7, 2011

I have a ball moving around the screen, position updated on ENTER_FRAME. My problem is that there is a considerable amount of flicker going on. I have thought about using something like TweenLite to move the ball but as the position is being updated frame-to-frame I don't think that will work.[code]...

View 2 Replies

Actionscript 3 - How To Avoid Flash.display Flickering

May 7, 2011

Coming from a more'traditional' C++ background so more used to dealing with low level API's rather than something like the flash.display API.How does one avoid screen tearing/flickering in the display API?Even with a high framerate like 60 fps I'm experiencing some rather nasty flickering/tearing between frames.Take the simplistic example below, where the children of the Sprite are merely instances of Shape and never change.

private function onEnterFrame(event:Event):void
{
var t:Number = (getTimer() - time) / 1000;
time = getTimer();

View 2 Replies

ActionScript 3.0 :: RotationY And RotationX Causing A Flickering?

May 26, 2010

I'm using(tweening) the rotationY and rotationX properties on movieclips a layer above a background, bitmap or video, in two respective projects. There is a flickering of the movieclips and some bizarre distortion going on. I can't seem to find anything on the web about this, -has anyone else encountered this problem? Is it a known bug? Is there a workaround?

View 2 Replies

ActionScript 3.0 :: Bitmap Image Flickering When Animated

Sep 3, 2010

I've put together an example of the problem I am having and I've also attached my 2 x 2 image I'm using. The image is linked with the class name of ContentTexture which is referenced in my code below:

ActionScript Code:
import com.greensock.TweenLite;
import com.greensock.easing.*;
import caurina.transitions.*;
import fl.transitions.Tween;
import fl.transitions.easing.*;
[Code] .....

I've tried using different tweening engines (greensock's TweenLite, Tweener, and flash's built in Tweening engine) so I think it's more of a general flash issue...maybe a bug? I'm using Flash CS4 on a PC and I've tried 24fps and 30fps with no difference. Is this a rendering issue/flash bug? or is there another setting I'm missing?

View 4 Replies

ActionScript 3.0 :: MouseChildren Not Working - Cursor Flickering?

Mar 29, 2011

I have a movie clip that has contains some dynamic text fields and over these some movieclips that serve as buttons. The issue I'm having is, that while the movieclips have buttonMode set to true, and mouseChildren set to false, when testing in a browser, after a few seconds of rolling over them, the cursor starts to flicker, as thought there is a conflict between the text fields trying to fight the button for focus. I have tried adding ROLL_OVER states to the buttons (thought they are not needed) in an effort to monopolise focus, while I'm not 100% sure, its seems as though this is a textfield issue.

View 6 Replies

ActionScript 3.0 :: Flash Flickering Animated Buttons

Jul 22, 2010

The problem is when you rollover with your cursor in certain areas and in certain ways you can cause this strange flickering effect to happen.where it keeps trying to go back to the over state and then the out states repeatedly).

View 5 Replies

ActionScript 2.0 :: Flickering - The Button Inside The Thumb Also Moves Up / Down

Mar 8, 2009

We have an mp3 player that is based on multiple thumbnails. The file is built in AS2, pure OOP. On rollover the thumbs move up, on roll out they move back down. The issue is that the button inside the thumb also moves up/down, so the thumb ends flickering. You can see it in action here: [URL] (keep the mouse at the bottom of the thumbnail, when you roll over the thumb)

What's the best way against this bug? Should we increase the button size, detect the mouse position, add an interval or how would you go about this one? It's kind of tricky as we're trying to keep the same look and functionality of the mp3 player.

View 4 Replies

ActionScript 2.0 :: Flickering Gallery Withing A Movie Clip?

Jun 6, 2010

So I have this gallery which I downloaded, it is AS 2.0.

It works well as is on the main(Scene 1) page, except that when I create a new MovieClip, and paste all the original frames w/actions into it, it begins to flicker and none function.

Here are the codes:

Perhaps there is something that I need to change?

Here is the actual gallery with my problem in it:

[URL]

First Frame:
------------------------------------------
stop();
Stage.scaleMode = "noScale";
Stage.align = "TL";

[Code].....

View 2 Replies

ActionScript 3.0 :: How To Remove Flickering In Animation While Loading Images

Feb 24, 2011

I have done a character animation by loading multiple images one after another at runtime or dynamically by accessing files from there path directly. But the problem I am facing is, I am getting a white bg or delay when the images change, it kind of feels like the images are flickering. How can I get rid of this flicker.

View 3 Replies

Javascript :: Resize Flash Object From The Browser Without Flickering?

Jul 10, 2011

I was wondering how to achieve the native scrollbar effect which TheFWA (thefwa.com) has managed to do pretty well (I am not a fan of Flex scrollbars).and implemented the technique, as I am calling a JS function through ExternalInterface every time, when the flash object changes size. This JS function simply resizes the div which holds the flash object, which creates the native bars.Unfortunately, when I resize quite rapidly (from 800 to 1800 height, for instance) the flash object simply gets warped for several milliseconds (as if it hasn't changed its size, but simply got pulled in all directions). After these milliseconds, things get back to normal, but the whole situation is really visually annoying.

Originally I thought that it's simply a timing issue, but after a bunch of attempts to set a delay, the effect was the same ... just delayed.How can I resolve that? I know it's technically possible. Just take a look at TheFWA, and see how smoothly flash and the browser are communicating with each other to make the native scroll bars work, without any flickering, or mismeasurement

View 3 Replies

Actionscript 3.0 :: External Load Makes Flickering Images

Jan 12, 2009

I have made a picture slideshow with moving pictures. The pictures are being moved by Caurina Tweener and loaded into a other swf file.

The random moving slide show works: [url]...

Does somebody of you Flash experts know whats causing this flicker?The tween.swf file is written in AS3 and the topbannertest.swf file is using AS2.

View 14 Replies

Cursor Flickering And Links Unstable When Flash Posted To Site

Nov 25, 2009

I have a problem with a flash image gallery that I created and have now posted to my website.

When the flash movie is viewed on it's own you can click the main images and you are taken to a product page. However when the flash movie is integrated into the website, the links are random at best and for the most part dont work.

Take a look:

1. Standalone flash gallery

2. Embedded in webpage

I thought that the scrolling marquee to the left of the page might be causing a problem but the problem doesn't go away when I remove this.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved