ActionScript 2.0 :: Making Objects Glow/flicker?
Jan 5, 2007actionscript to make objects (circle) glow and flicker?
View 5 Repliesactionscript to make objects (circle) glow and flicker?
View 5 RepliesAnyone know if the following things are even possible?
1. Making a movie clip flicker via ActionScript (i.e., it's alpha changes constantly between two values for a set period of time).
2. 'Flipping' a movieclip horizontally via ActionScript.
I made a gradient glow within the FLASH IDE on one of my textfields. I was wondering if there is a way to change the glow in as3? Apparently you can not change the glow in the flash IDE. It has to be white/black gradient.
View 2 RepliesI'm working on a dress up game and I have one problem with it. There are so many items of clothing (which are movie clips with the basic drag and drop code) that I had to create different pages for them. I have buttons (labeled like "dresses", "pants" etc) that when clicked on make that group of items appear. So, great. It's just that once an item has been dragged over to the doll and put in place, I want it to STAY there. But as soon as you click on a different page, that item disappears. Is there any way to make items stay on the doll, even though they're part of a page?
View 1 RepliesI'm currently having some trouble with referencing objects that turn out null on export. Basically I want the Document Class to run the code of another class that is the class of a MovieClip without having Error 1009 popping up everywhere in my output panel.
[Code]...
i'm generating a horizontally scrolling image gallery and i want audio cues to fade in & out as well as pan with the images.so as the image enters frame left and moves towards center frame, volume increases, pan moves from 100% left to center.as image passes and leaves frame left, volume decreases, pan moves from center to 100% right.i have not worked with sound in flash in this way before & extensive searching hasn't returned any results!
View 3 RepliesI want to loop through an array of map tile coordinates, place a tile on the stage for each coordinate, and put a reference to each tile instance in a separate multidimensional array called mapRef, where the tile instances can later be referenced by their coordinates in mapRef. Is this line (excerpt from the code below)... Main.mapRef[i][j] = mapTile;.[code]
View 3 RepliesI am having a problem with my collision game. When I try to make collision between 2 objects, this occurs: TypeError: Error #1009: Cannot access a property or method of a null object reference. at Level$iinit().
Here is my PHP Code:
package {
import flash.display.*;
import flash.events.Event;
import flash.geom.Point;
import flash.events.Event;
import flash.events.MouseEvent;
public class Level1 extends MovieClip {
[Code] .....
My flash file is at [URL].
I'm trying to get the program to generate a library object called "Enemy" on the screen when the conditions are met.
Here's the bit of the code which is causing me problems:
Code:
var army:Array;
var enemy:Enemy;
function AvoiderGame()
{
[Code].....
I'm sure it must be a simple error, I can get the logic working when it just traces something on the screen but i can't get it to generate an "enemy"
I have an object called MenuButton that extends MoveClip.I want to arrange 8 MenuButton objects in a cirle. The easiest way to do this would be to use a for loop and an array of MenuButton objects.The problem is, I'm not exactly sure how to make an array of objects. I've seen some code online, appears to be AS2 and I need 3. It's also not very clear if it does what I need it to.It would also be cool if I was able to name the buttons sequentially, i.e.: button1, button2, etc. I've seen AS2 code for that, but again it's not too clear if that'll work the same in AS3 and if the code I've seen will do what I need it to.
View 2 RepliesHow would I go about making my own functions for objects and movie clips?
Like:
Code:
onClipEvent(enterFrame){
this.setpos(10, 20);
}
[Code].....
I'm trying to simulate rubber ducks in a bath tub (Don't ask .)I've got 5 mc's on my stage (Each MC is a duck.) And I've been trying to figure out the AS (2.0) to make them all move in random directions around the stage, bouncing off each other and the stage sides.
View 7 RepliesI am making an animation that tweens two different objects at different speeds dependent on the position of the mouse. This is working fine, however, when the user takes the cursor outside the flash box and enters the frame it jumps to that position.
I have created a tween for this first instance however, if the user continues to move there cursor before this tween has finished it continues to jump.
Here is the code I have written
Code:
stage.addEventListener(MouseEvent.MOUSE_MOVE, CheckDirection);
import fl.transitions.Tween;
import fl.transitions.easing.*;
[Code]....
How can I make a mouse event ignore, or skip over another object? Say I have a small Sprite on a Large sprite, I want it to act as if the small sprite isn't there, and pass the mouse events directly through to the larger sprite behind it. I've been searching for this for a while and have tried various things but no avail.
View 3 RepliesMaking Objects Appear Inside a View Area
View 3 RepliesI have a movieClip, with other movieClips inside of it, objects that I want when hit to lose points. But when I have the movieClips inside that one, it just has a giant "boundry box". I want the points to go down when you hitting only one of those items,instead it just goes does throughout the entire thing.
There is no way for me to scroll all those objects across the screen without either making a tween on the main timeline for each object (almost 20), or somehow making a giant movieClip scroll all of them all the way across, bypassing the first boundry box, and acknowledging the movieClips.
How do you rotate objects 45 degrees using arrow keys for making a pacman game?
View 13 Repliescurrently i making this game and objects would spawn at random and be able to click but when de game starts itself, the spawn is correct but i am unable to make it stop when time goes to 0seconds.
View 1 RepliesI'm making a banner in flash, and are moving some simple objects around.I mainy use vector squares, but when I tween them (classic tween) in a slow motion, the shape starts to "flicker" or "lag". Why is this?I think there has to be something with the calculations Flash is doing, but why can't it make the animation smooth?
View 4 RepliesI created my flash menu over a year ago, and need to upgrade it by adding a sub menu. I'm not very savy with flash, i usually google any actionscript that i need and guess my way through. I'm having a particularly hard time trying to figure out how to resolve the issue of my submenu flickering while the cursor is over it. I understand it's probably some problem with the layers and embedding, etc. i've attached the .fla to move things along quicker.
View 10 RepliesI need to load separate SWF files depending on different flash buttons being pressed. The problem is I see a flicker inbetween SWF's being played. I think the flicker is where it goes back one frame - but I do not know how to solve this.
The first bike should scroll along to the left then stop, buttons should then appear that allow you to load the external/separate SWF files.
I have created a button for a homepage, and, to help designate it as "clickable," I have changed its background color on the Over through Hit stages.However, the background color change flickers instead of staying the changed color.Go to and hover over "Cirlces for Rice Field Days 2009" in the Spotlight box on the homepagethis is the flickering button.
View 1 RepliesWhenever I hide the mouse pointer to replace it with custom made graphic, it causes curors to flicker rapdily outside of the browser window. When you type or move across URL bar, or try to scale the browser window by dragging its corner, the mouse pointer goes crazy.
[Code]...
I am trying to make my button Flicker on/off but cannot get it too work, the best I can do is get it to go to alpha 60 and then back to 100.[code]...
View 1 RepliesI have two button instances on the stage. I've created two functions, one for each button to handle their MOUSE_DOWN event. In both of those functions I have a trace statement to ensure the MOUSE_DOWN events trigger their respective function calls, which each do.
The Problem: When you hover over either button, the button state changes to the "OVER" state as it should. However, when you click the button, the button flickers for a split second and then goes to the "DOWN" state. The flicker appears to be the button going to the "UP" state momentarily and then to the "DOWN" state. The only thing I can think of causing this problem is the fact that there is a MovieClip on the "UP" and "OVER" states that may be inheriting button events.
I've had this happen in the past when using button instances that contain MovieClips inside of them, but never knew how to remedy the problem. As a last resort I guess I could just change all the button instances to movieclips, but I'd like to learn how to accomplish this without needing to do that first.
Here is the only code that exists in the entire file:
Code:
var _volumeUpButton:SimpleButton = btn_volume_up;
var _volumeDownButton:SimpleButton = btn_volume_down;
[code]....
his 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:Here is the actual gallery with my problem in it:
First Frame:
stop();
Stage.scaleMode = "noScale";
[code].....
when I enable my Adobe Shockwave Object my screen will flicker when i move the mouse around the screen. I have uninstalled it and reinstalled but it didn't work.
View 1 RepliesI'm trying to create a little slideshow with photos. I created a little animation on every photo (a really subtle zoom-in or zoom-out effect) and transition using alpha transparency.
But some photos will flicker very bad. Expecially photos containing elements like grids or straight lines. Only really blurred pictures will render well.
I already raised FPS up to 60 but flicker still occurs.
I'm using flash8. Will another flash version (which?) render the movie in a better way?
I'm justing starting to learn some actionscript. I can't figure out why my jpgs are flickering when I go from one scene to another. Do they have to reload each time? Here is a link: http:[url].....I have each animation as a separate scene, and you'll see that the buttons flicker when the new scene loads.
View 4 Repliesjust been trying to fade one image into another on mouse over. found a template which does it for me and have applied my images to it. works how i want it to - image 1 fades into image 2 on mouse over, then goes back to image 1 when mouse moves off
BUT the problem is that when the mouse is the image and it fades into image 2 it begins to flicker - see for yourself in the .fla file here [URL]..