Archived Months
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
January 2008
June 2008
all groups > flash actionscript > february 2005 > threads for friday february 25

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

can't get substr() to work in a for loop.. help
Posted by Mark.P. at 2/25/2005 10:39:20 PM
below is the code I'm using to calculate some numbers in a dataGrid. and it works great with one exception, I can't get the number to work with substr. If I take that off and just use "d" or "average / myDG.length" it does just fine but the number sometimes comes out to be 2.33335555555 (TO...more >>


Dynamic setting of _x and _y
Posted by bpurcella at 2/25/2005 10:15:35 PM
Hi all, Setup I have 4 questions(MC0-3_mc) on a page, when the student gets it wrong I want to suffle the questions from 0,1,2,3 to 3,0,1,2 then if they are really dense do it all over again 2,0,1,3 till they get it right. I have the _x and _y I just can't re-shuffle the x/y Thanks Bobby ...more >>

close window button for full screen sites
Posted by Hunnie at 2/25/2005 9:16:50 PM
I have created a full screen version of my site and need to add an exit button. The script that I have placed on the button is this: on (release) { getURL('javascript:_self.close()'); } However, it doesnt close. All the flash pages are contained in one html file. So the order of pages goes l...more >>

Action script
Posted by TomN at 2/25/2005 8:52:25 PM
I'm trying to make lines of text from a txt file be randomly load in a screen only when the line of txt is call Help please...more >>

"MailTo:" Button
Posted by kuriouskev at 2/25/2005 8:48:52 PM
How do I get a button to open an e-mail addressed to me for the viewer ?...more >>

File:New
Posted by choklit at 2/25/2005 8:17:32 PM
I wish to create an actionScript. When I select File>New, I don't see the option of 'ActionScript File,' only 'Flash Document.' Does anyone know how to have both options appear when selecting File>New? ...more >>

FLASH MASTERS NEEDED! - Loading images dynamically into Flash.
Posted by Quasimotolioli at 2/25/2005 7:24:56 PM
THE PLAN: I am using Flash MX 2004 and I want to build something that loads a series of .jpg images dynamically. I want the images to either load randomly or sequentially, doesn't matter, from a images dir on my server. THE PROBLEM: I have searched endlessly on the web in tutorials, forums,...more >>

Variable to uppercase
Posted by Jimmy Vegas at 2/25/2005 7:12:21 PM
Hi All, I know I could probably figure this out with trial and error, but kinda in a rush. I need to convert a variable to all uppercase. I think I do this by converting to a string then back to a variable. Using Flash MX. Appreciate any code clips. Thanks in advance. Jimmy V ...more >>



prealoader problem
Posted by SDALW at 2/25/2005 6:52:42 PM
My goal is to load all of the .swf movies prior to the main movie beginning. I am using the following code - which is posted in multiple places. BTW - whoever wrote it - thank you. The problem is: Trace shows that the movies are loading correctly, but the start of the movie ('begin') is sup...more >>

Random image loading and slideshow
Posted by mohd_jafarali at 2/25/2005 4:57:42 PM
Greetings people, I am a beginner to this whole flash commotion. This is what I wish to achieve... I am building a flash movie and I wish to have it load 3 different images on top pf each other from a folder of 100+ images (all small sized) randomly. And after it loads them, I want the...more >>

User resize images
Posted by myTeek at 2/25/2005 4:50:34 PM
:confused; Hi all. I'm creating an application where the user drag and drops items into an area to create/dress a person. For example hair, hats, clothes, etc. I need the user to be able to resize the item once they drag it on stage, I'd like a bounding box to appear so they can make the h...more >>

setInterval() variable call to clearInterval()
Posted by Jeff Danser at 2/25/2005 4:34:03 PM
I am trying to make this function modular by passing the setInterval variable into an argument within the function. However, the setInterval variable being passed keeps coming out as "undefined" when I trace the output. I tested to see if the arguement was correct by setting the variable being...more >>

how to fade in a new swf
Posted by petevenkman at 2/25/2005 4:32:47 PM
hi i am trying to create a flash file where the navigation sits at the bottom of the page, and when a buttiin is clicked the content above changes. the problem lies in making the content at the top fade in .. and the old content fade out when a new button is clicked. here is an example of w...more >>

Using a Variable in a loop
Posted by donelson at 2/25/2005 3:38:32 PM
I'm having a problem getting the value of a variable to append a MC instance name in the last line of the code below. I have a list of numbers stored in an array (LettersAcross). This array is defined in a movie clip (MCAcrossClues). This following script is located in a movie clip and it wo...more >>

Where are the flash shortcut commands?
Posted by logeye at 2/25/2005 3:04:13 PM
I attended a 3 day flash class and remember the instructor showing us the shortcut commands for Flash action script. I have been using a few here in the office. Now the guys here are asking me where the shortcuts are and I can't find them. gotoAndPlay(); = esc+gp gotoAndStop(); = esc+gs...more >>

onClipEvent
Posted by bknowlden01 at 2/25/2005 2:05:05 PM
I am unfamiliar with the onClipEvent syntax, but is there a way to have it fire when a button is pressed? :: blk ::...more >>

width=100%?
Posted by DocGuru at 2/25/2005 12:47:44 PM
Hello, i have the following code as the action script and i am using Flash MX2004 7.0 Stage.align = "TL"; Stage.scaleMode= "noScale"; myListener = new Object(); myListener.onResize = function () { currentObj.text = "w= " + Stage.width + " H= " + Stage.height; } myListener.onResize(...more >>

Several layers: Wich one did i click?
Posted by pablo_che at 2/25/2005 11:04:02 AM
Hi, I have an scene with several layers, each layer has a shape object. I need to know which layer holds the shape i clicked, is it posible o should i create clips from each shape? Thanks....more >>

Adding the data in a column in a dataGrid
Posted by Mark Pusateri at 2/25/2005 9:05:08 AM
I have a column in a dataGrid that I need to add then display the average. How can I add the content of an entire single column? Thanks ...more >>

continuous scrolling graphic
Posted by donkey kong is my friend at 2/25/2005 7:59:20 AM
What is the Actionscript to make a continuous scrolling graphic of text/buttons with a mouse over action?...more >>

images moving across screen at random speed?
Posted by gwtiburon at 2/25/2005 7:01:49 AM
Hi, I am brand new to actionscripting and need some help. I need to have some elements moving across the screen horizontally at random speeds and loop. I am lost as to how I would accomplish this. Any help or a good tutorial would be greatly appreciated. thanks ...more >>

Styles for hyperlinks and/or text
Posted by html in flash at 2/25/2005 4:06:16 AM
I'm looking for the simplest way to create a standard of color/text decoration for my dynamic text fields. Anybody got any suggestions? And if you don't know how to do it, can you recommend somewhere where I could learn? Thanks. P.S. I have Dreamweaver & Coldfusion if those are of any us...more >>

Help with Penner-type tweens
Posted by bknowlden01 at 2/25/2005 3:45:49 AM
I am developing my portfolio site and am in need of a little assistance. the site http://www.brandonleo.com/construction is in need of some speccific animation. If you vistit the link and go to 'Capabilities > Advertising' you will see the tabs for my work on the right hand side animate in. T...more >>

loading percentage
Posted by donkey kong is my friend at 2/25/2005 2:11:05 AM
how do you created a "loading" screen that shows you a percentage of how much of you movie has loaded?...more >>

PHP, using other than localhost
Posted by andros at 2/25/2005 2:01:56 AM
This might not be Exactly where I should ask this, but will give it a go anyways. I am using a swf that connects to a mysql DB via PHP. The database is on another domain. Is there anyway to disignate the host as anything other than 'localhost' in the php script which tries to connect? ...more >>

function in a movieclip
Posted by bill_sr at 2/25/2005 1:23:03 AM
OK, I guess I was wrong. I thought I could add a movieclip to the library; code functions in frame 1(of that mc); and call that function from the main timeline. Either I was wrong, or I'm not doing something right. Is it mandatory to create a component, and use an external .as class file in or...more >>

play movie three times & then stop
Posted by Ccasati at 2/25/2005 12:45:40 AM
I have two scenes, Scene 1 & Scene 2. At the end of Scene 2 I added an action layer and in the last frame the keyframe has the actionscript attached: (++x<3) ? gotoAndPlay("Scene 1", 1) : stop(); In other movies I have made this will play the movie three times and then stop. But it does...more >>


DevelopmentNow Blog