ActionScript 2.0 :: Unable To Make [FMX] Box Effect?
Feb 26, 2004
I was wondering how to do the box effect like on [this] site. The lines move up and across to form a box. I have tried a few things that I could think of, but have't got it.
I am trying create a displacement effect using this code, but i am getting these error, not able to solve it!import flash.display.BitmapData;
var damper = new flash.display.BitmapData(128, 128, false, 128); var result = new flash.display.BitmapData(128, 128, false, 128); var result2 = new flash.display.BitmapData(256, 256, false, 128);
I have a site that plays either .mp3 or .flv files depending on what is selected from the menu. Menu loads in from xml. I get "unable to make connection with server or unable to find flv on server" when I try to play the video. But the video and audio files are all in the same directory and the mp3 files play fine. I think I'm having a problem with the setMedia command. Here's the code that loads the video and audio files.
I want to be able to make a movie clip (that acts as a button) so the roll over effect finishes before the roll off effect is triggered. Like if a marker circles a button, i want the circling animation to stop before the roll off effects happens. Anyone know how to do this.
Im new to AS but Im working everyday to improve, Im trying to make a menu but Im having difficulties with moving the menu:
I have a bar in 500 length and mask of 100 And I have 5 buttons. When I click 1 ofthem I want it to bring the correct positon of the bar with easing. Btw the registration point of thebar is upper left corner
I have a grid that is drawn by the graphics library. I have small pieces, let's call them blocks that are the shape of a square. These blocks connect to each other to form pieces. I want the user to be able to rotate the pieces and then snap them to the grid.I've looked at the geometry libraries but I'm unsure how I would get the points of each square in a piece to match it up with the board after it has been rotated
how to make a countdown timer? I created a timer that counts down to a certain date, but I just want the timer to countdown 24 hours, not to a certain date. I also want to have a button below the timer so that when you click it, it adds 30 seconds to the timer
i wanna make a dynamic tree using a lazy loading ,each time i open a folder the tree sends a http request to the server, in this script i'm using just static text to test the tree but , i'm getting in the label of the root all the XML text assigned to the dataprovider, then when i open the root folder i got the childs with good labels , and openitem and closeitem events do not fire how could i make them
create a counter using actionscript? the scene is 30 frames long and it's sopposed to get a new value with every frame. something like counter++; example: 70% should turn 71%, 72%.... 100% (but not as a preloader animation)
I tried it, using the while loop like this in first frame: while (counter < 100) {
i download and try to modify a xml photo gallery from kirupa in this pagemake the buttons for "next" "back".... and one button that control the slide show, but i cant find how to activate the slide show and desactivate it.
I have a flash fullscreen and in ie it works. However the problem in firefox is that sometimes the image is centered but sometimes not (it goes to the bottom-right corner). How can I fix that?
I have a bunch of MovieClip Symbols in Library. They all need to import the same classes for timeline code. I don't want to add the import statements to every MovieClip's timeline.
I have an app wer i drag and drop images onto a canvas and then move them on the canvas to arrange them appropriately. After that i shud be able to click on those images and draw connectors between them as the user seems required. But after dragging and dropping the images on the canvas and arranging them, when i click on the image i am getting a typeerror 1009 error, i.e, "cannot access a property or method of a null object reference".
Actually after arranging the images, i add an event listener to the image(proxy) on the canvas:
from this tutorials, instead of duplicating both X and Y planes, I want it to only duplicate Xfor example, http://nano3.orgyou can see the grey fading into white, I just want the fade in my flash which is already an image.
I'm trying to fill a movieclip with a seamless pattern, so in essense its pretty much the same as Kirupa's Duplicate Background tutorial. I'm having trouble converting the AS from filling the background to filling a movieclip
Here's the original code: [AS]tileBG = function () { tile_width = 34;
I am trying to drag my dynamic moviclips. But this code does not work properly.I have to mosue click the movie clip, and once again use mousepress to drag the movie clip.
clickAction = function (_arg2) { //info._y += 150; trace("click"+_arg2); // _arg2 con
I just had a quick question, anyone know if it's possible to have arrays indexing a series of functions say something a bit like this as an example? AS]genelist[0] = Math.random()*10;[/AS] I am currently trying to get some geneticsstuff i did in director to flash so it can be used in a game, gonna suck if i to have a LOAD of variables with different names
i'm trying to dynamically layout a calendar using actionscript and i'm no good at determining algorithms to quickly and efficiently lay things out. i was hoping for a litwhat i want to do is set it up per the image attached:* where there are 7 columns and a varying number of rows.* the top row has the 2 arrows and the month and year display.* the second row has all the day headings, i.e. S, M, T, W, R, F, S* and the rest of the rows will have the dates.