ActionScript 2.0 :: Unable To Make DynamicText Effect?
Sep 23, 2004Does anybody know how to apply this text effect(including the blinking underscore) to a text field that loads from an external .txt file.
View 6 RepliesDoes anybody know how to apply this text effect(including the blinking underscore) to a text field that loads from an external .txt file.
View 6 RepliesI 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.
View 2 RepliesI 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);
[code].....
I have write a code which has one function in that function there is one array in that array different variables, the values are coming from server I will like to put this var value in text box.This is as as file code is like this
public function mainMenu (rcvParametersArray:Array):void {
var IndianMenu:int=rcvParametersArray[0];
var chainesMenu:int=rcvParametersArray[1];
[code]......
I have a dynamic text field filled with an agreement. I want to be able to have the user scroll to the bottom of the text before the agreement confirmation UIs show up. I have my own checkbox that I built but any example I should be able to follow. My thoughts were to be able to find the .scrollposition of the UIScrollBar, but for some reason that is not working out. I believe it is an issue with the .addEventListener
ActionScript Code:
import fl.controls.UIScrollBar;
import flash.display.Sprite;
import flash.events.Event;
[code]....
I just simply need to change the text in a dynamic textfield programatically...is there any way of doing this?..cause for some reason myTextField.text = "NewText"; doesnt seams to work.
View 2 RepliesThe question arose as to duplicate the data entered in the field in InputText in DynamicText (ie when typing in the box, Input, his data displayed in the dynamic field)
View 2 RepliesI 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.
[Code]...
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.
View 2 Repliesim making a platform game project but as of yet im still un able to make the camera move up and down when the charater jumps or stands on a platform?
[Code]...
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
View 5 Replieshow 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
View 6 Repliesi 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
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.net.URLRequestMethod;
[code].....
in making this code short
ActionScript Code:
function addlist() {
var dataload = new LoadVars();
[code].....
I have a movie clip button that has 3 states:up, over, out, and press.the action script inside the movie clip button looks like this:
stop();
onRollOver = function () {
this.gotoAndstop("_over");
[code]....
I have this face that says something when u rollover it, in this case for example: hi kirupians!! , what I need is to have some different texts,
View 4 Repliescreate 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)
{
[code].....
Why cant i make a variable in a function? like this:
aiBunny = function (target)
{
var target.hp:Number = 15;
target.interval = setInterval (aiFoe, 24, target);
};
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.
View 1 RepliesI 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?
View 1 RepliesI 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.
View 2 RepliesI'm not sure how to handle IOErrorEvents when I don't have access to the loader. I have a textfield to which I assign htmltext containing an img link:
ActionScript Code:
try {
displayBox.htmlText = htmlwithimages;
[code].....
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:
image.addEventListener(MouseEvent.CLICK, mouseClickk);
image.addEventListener(MouseEvent.DOUBLE_CLICK, mouseUpp);
MouseClickk Function:
[Code].....
is there a way to space dynamic text?through actionscript?the letters of my dynamic text are to dense and i would like to change this.
View 14 Repliesfor my shoutbox i load text into my film. i did it like the tut told me, but so the dyn-text-box cant display the text as html, but that is necessary
View 3 RepliesAs I get into more advanced ActionScript, I start wondering about ways I can write things more quickly. For example, this code
ActionScript Code:
button1.onRelease = function() {
//something
[code].....
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.
View 3 RepliesI'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;
[code].....
I have a movieclip that I need to click on so that a variable gets changed.the code of the movie clip is:
onClipEvent(mouseDown)
{
//if (_global.ccc=1)
[code].....