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


all groups > flash actionscript > february 2006 > threads for thursday february 2

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

Dynamic Event Handler Functions
Posted by Doc Gonzo at 2/2/2006 11:33:03 PM
Hi, I was trying to create some event handlers for butons in an efficient way, in a small amount of code. I came up with this, thinking it wouldn't work, but it does!.....but with a bug that I don't understand. look at it below. now, this code creates event handlers for each button, however...more >>

Smoother color change
Posted by thejokerman05 at 2/2/2006 10:41:10 PM
I would like to fade my buttons from black to grey when onRollOver. Since I'm gonna use this in a Class for my buttons I dont think I can use the "lmc_tween.as" functions. I must use the colorTransform to get it working. My question is if I can get the colorTransform to change the color a litt...more >>

loop through all variables in an object
Posted by stephan.k at 2/2/2006 9:45:55 PM
Hi Everyone I am trying to loop through all the variables in an object. The object contains variables in the following format: storyObj = new Object(); storyObj.id_1 = "Hello" storyObj.id_200 = "Hello" storyObj.id_23 = "Hello" the id's are not in any order of any kind. any ...more >>

A smarter way...
Posted by thejokerman05 at 2/2/2006 9:32:27 PM
I have these instances that I would like to change now and then. The problem is that it is very time consuming to write like this, and wonder if there's an easier way? undermeny1.alphaTo (100); undermeny2.slideTo ("",50); undermeny2.alphaTo (0); undermeny3.slideTo ("",50); unde...more >>

Equally distribute numbers in a grid
Posted by tmat311 at 2/2/2006 9:20:45 PM
Here's my dilema: I'm working on a schedule that takes a total number of hours, then distributes them evenly across 5 days AND a certain number of people. For example, I have 50 hours... that would divide up into 10 hours per day, and for 5 people, 2 hours per day per person. That's the e...more >>

Have ? about the getURL(). any Help Please
Posted by Patrick at 2/2/2006 9:18:06 PM
I was able to make this work in the earler ver. of Flash. But when the movie ends it will not goto the url that I am telling it to goto. Is there something I am doing wrong. at the end of the movie I am telling it to stop and then I want it to jump right to the web page. Why want it goto the ...more >>

Dynamicly added onPress, to looped createMC's
Posted by TheRealTwiner at 2/2/2006 7:55:04 PM
let me give you a description of the situation I'm building a dynamicly created picture gallery the gallery loads in a list of pictures, and appends it into an array, grabs the array to create empty movie clips and then adds location information to them What I want to do is in the loop I wan...more >>

Target
Posted by alvinpr at 2/2/2006 6:48:52 PM
I need help comprehending this coding if someone wants to do some comments for me that would be amazing i really need your helpppp to better understand.....thank you startDrag("/tracker", true); Counter = 0; NumberObjects = getProperty("/Line", _totalframes); /:OldX = getProperty("/Li...more >>



using "this" with static methods
Posted by stephan.k at 2/2/2006 4:33:45 PM
Hi Forum I am trying to set the scope of the setInterval function in a static function. I'm getting an error.... ? Here's the code: class com.Instructions{ public static var msgDispIntId:Number; public static function startTimer(){ msgDispIntId = setInterv...more >>

Combobox in external SWF
Posted by boyBacon at 2/2/2006 4:32:08 PM
Hi All, Bit of an odd one here... I have an swf that contains a combox along with a load of other stuff and another swf which loads in the first one. Initially my problem was that the combobox didn't work at all, however after reading some threads here I realised that you need to add the ...more >>

MovieClips - how have them play one after another in for loop
Posted by perree at 2/2/2006 4:04:55 PM
I am loading some MovieClips with attachMovie. Each movieclip has a stop() in the first frame. Each movieclip 'fades in' and 'fades out'. Right now, they do that at the same time. I would like them to fade in/out one after the other. I tried to add a setInterval around the 'fadeIn(myObjec...more >>

Email Submit Button
Posted by Zaffer36 at 2/2/2006 4:01:56 PM
Im trying to create a button so that i have an online form that potential customers can fill in and then submit an email query to a particular email address... any ideas on how to do that with a button and some actionscript as the way im doing it pulls up a new window which leads directly to m...more >>

Forcing strict variable types
Posted by TerrySimkin at 2/2/2006 3:31:19 PM
Is there any command in Actionscript or switch in the development environment that forces strict use of variable types? I teach beginning programmers how to use Actionscript and life would be easier for all if you could. What I want to require is: var intValue:Number; Thanks ...more >>

Arrays and sort random
Posted by german01 at 2/2/2006 3:10:53 PM
Hi everyone: Please help me find out the right script so that I can randomly place movies in a grid. I have an array with 10 movie clips. I copied the following script from this forum, but it doesn't sort the 10 movies randomly. It does in pairs. I just want to sort the 10 movies rando...more >>

Array woes
Posted by perree at 2/2/2006 2:37:57 PM
Hi, I have several movieclips: Word1, Word2 etc. I want to use an array with attachMovie: This works and attaches the movie: var numObjectsWord = 2; var nameArray = new Array("Word1", "Word2", "Word3"); for (i=0; i<numObjectsWord; i++) { var randomObject = attachMovie(nameArray, ...more >>

Preload Images before Running
Posted by DJ James at 2/2/2006 2:16:50 PM
I'm using this code: _root.onEnterFrame = function() { var loading = video.getBytesLoaded(); var total = video.getBytesTotal(); var percent = (loading/total)*100; if (percent>=100) { _root.gotoAndStop(2); delete this.onEnterFrame; } } stop(); I want it to preload A...more >>

Keep window on top
Posted by VMedia at 2/2/2006 1:22:13 PM
Does anyone know how to create a Popup window that will stay on top of all web pages unless minimized or closed. I want to create a popup window with an .swf that contains an .flv with Video cue points that will trigger web pages below the popup. I would also like for the pages below to h...more >>

Buttons
Posted by Brain327 at 2/2/2006 12:43:41 PM
I am in a layer and I want users to click on one part of the page and go to another part of the same page. How do I do this?...more >>

numbers
Posted by Brian at 2/2/2006 12:23:47 PM
I would like to create a slide show and will have to fade images in and out. It will be something like this, where one will be faded in and one out, in blocks of two: 1 and 2 2 and 3 3 and 4 .. .. .. n and 1 How could I do that wiht AS. I was thinking about something like this: ...more >>

Using variables within calls
Posted by Timothy Robertson at 2/2/2006 11:24:44 AM
Hi, I think I must be missing something really obvious I have the following piece of AS : for (var i:Number = 0; i < newsnodes.length; i++) { // for each person node: var newsitemnode:XMLNode = newsnodes[i]; _root.butt_n0+i = newsitemnode.attributes.ntitle; ...more >>

renaming MCs and then using swapDepths to change their stacking order
Posted by Brian at 2/2/2006 7:41:44 AM
I am trying to switch the level of two MCs. Reason being is that I want to move the loaded content of one to the other, but that does not seems to be possible. So instead, I want to switch the names and then switch their depth. This is what I was thinking, but something is going wrong and I ...more >>

Key.isDown trouble
Posted by GhettoFabFlah at 2/2/2006 3:08:20 AM
my question is pretty simple but its causeing me alot of trouble. I want this mc to gotoandplay frame 1 when the R key is pressed. I read all of the ASCii(?) tables and it said to use the number 82. so i used that in my code and although it said it was error-free when i press the r key nothing...more >>

Key.isDown trouble
Posted by GhettoFabFlah at 2/2/2006 3:08:03 AM
hey this is my first post so don't be mad if i don't follow some form or anything. anyway my question is pretty simple but its causeing me alot of trouble. I want this mc to gotoandplay frame 1 when the R key is pressed. I read all of the ASCii(?) tables and it said to use the number 82. so i ...more >>

How to create a custom control?
Posted by Chris at 2/2/2006 3:01:54 AM
Hello experts! I'm new to actionscript, but I'm a semi-professional in VB/Delphi. My question is: Is there any way to create a custom control in actionscript/flash? This means: I want to develop a custom slider (for example), including methods, properties, values and so on. This slider s...more >>

Creating a custom control in flash/actionscript?
Posted by Chris at 2/2/2006 2:21:34 AM
Hello experts! I'm new to actionscript, but I'm a semi-professional in VB/Delphi. My question is: Is there any way to create a custom control in actionscript/flash? This means: I want to develop a custom slider (for example), including methods, properties, values and so on. This slider s...more >>

addListener in a input text
Posted by Narven at 2/2/2006 12:41:53 AM
I've been trying to detect when the ENTER key is pressed in a input text, but no luck :( i've been doing like this: // verificar quando o user carrega no ENTER var newsletterInputListener:Object = new Object(); newsletterInputListener.onKeyDown = function() { if(Key.isDown(Key.ENTER))...more >>

Reproducable FireFox Error
Posted by AwesomeDigital2 at 2/2/2006 12:16:53 AM
I have a movie which is my shared library of objects which I use in several movies. From my main movie, I load a trigger movie that has one of the items from the shared library off to the side of the stage. Not visible, but on the stage. In the second frame of my trigger movie I start my...more >>

getting key codes
Posted by codescodescodes at 2/2/2006 12:00:00 AM
I'm trying to build a typing application and I can't get Flash to recognise the period (.) button. var keyListener:Object = new Object(); keyListener.onKeyDown = function():Void { trace(Key.getAscii()); // when the period (.) key is pressed nothing happens; ...more >>

Recognising Cuepoints
Posted by VictorFreriks at 2/2/2006 12:00:00 AM
Hi there, I could really use some help on this because I'm working on it for quite some time and really hit a wall. I have some video I need captionated. So I imported the video into a flash file (progressive download) and added 11 cuepoints named 'cuepoint01' trough 'cuepoint11'. I added ...more >>

loadMovie - faild or succes
Posted by nardove at 2/2/2006 12:00:00 AM
hi there as i said im loading external jpg into MCs using a for() command what i whant to do is if loadMovie faild replace de jpg to a "image not available" jpg how can i detect if loadMovie faild to load the jpg the replacement ill take care of it i just need the detection many thanks...more >>

onMouseRightDown
Posted by mrejman at 2/2/2006 12:00:00 AM
Hi! I have worked allot in a program called Rapid Builder in my master thesis. It is a screen capturing program to make software simulations. The nice part with this program is that you can convert the finished project to a swf file and play it on a flash player. The thing is that I ...more >>

preloader question
Posted by dijitaq at 2/2/2006 12:00:00 AM
i'm using this script to preload a flash intro this.bar.onEnterFrame = function() { var bytesLoaded:Number = _root.getBytesLoaded(); var bytesTotal:Number = _root.getBytesTotal(); var percentLoaded:Number = Math.round((bytesLoaded/bytesTotal)*100); if (bytesLoaded>=bytesTotal) { ...more >>

Mozilla Javascript & flash*** very urgent
Posted by kakas at 2/2/2006 12:00:00 AM
I have a flash on the website and a js . When i open it in IE it works fine. But in mozilla 1.0.4 the js menu is coming behind the flash. I have use the object & embed tag for the flash wmode="transperant". Can any one suggest me a solution for this . its really urgent. thanks in advance ...more >>


DevelopmentNow Blog