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 > june 2004 > threads for tuesday june 8

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 29 30

Progress Bar in "manual" mode
Posted by Carlos Lerma at 6/8/2004 10:02:14 PM
Hi, I have a result set that I add in a grid, So i want to use the progress Bar to show the advance of the data load into the grid... So, I used the mode as "manual" but It did not work!!! then I back to a simple example, and it not works, see the code (2 layers and in the first fram...more >>

useHandCursor : still getting the finger.
Posted by river of ocean at 6/8/2004 9:46:16 PM
creating a software demo for a client and want the mouse finger to disappear when going over different buttons. it works fine if I am doing a rollOver, but change the "rollOver" to "release" and I get the FINGER ;-) on (rollOver){ _root.mybutt.useHandCursor = false; gotoAndStop("01")...more >>

Stupid halo theme
Posted by rythmikone at 6/8/2004 9:24:46 PM
Could Macromedia put out a more frustrating product??? Ok, just wondering if anyone knows a definite way to get rid of the ring that remains after selecting something from a combo box. I've searched the forum and found many other people have had this problem, but the one workaround I fo...more >>

Firing a Bullet
Posted by isthatlegal at 6/8/2004 8:17:52 PM
I am making a platformy style game, and i am wanting to fire a "bullet" from my charactor, only i want the bullet to fire towards the mouse cursor... could sumone please give me the script for this, only with comments, as i wish to understnad the script, not just use it.. thanks a lot...more >>

moviecliploader problems
Posted by hmccorm2 at 6/8/2004 7:55:17 PM
having a difficult time getting the moviecliploader class to behave please let me know what might be wrong with the code below myMCL = new MovieClipLoader(); myListener = new Object(); myListener.onLoadStart = function() { trace("loadstart"); loadProgess = myMCL.getProgre...more >>

External.as file (like #include)
Posted by silvernapalm at 6/8/2004 7:47:15 PM
External.as file (like #include) that is not published with the movie at export. i.e. I have an array of slides that load external images, but I need to be able to update the slide length and pass that to the already published swf file. i.e. this would be in the slide.as file. slides =...more >>

comboBox Flash MX ActionScript 1.0 for ver 6.0+
Posted by e_spot29 at 6/8/2004 7:28:39 PM
I have a comboBox problem. Here is my code: // myComboBox setup myComboBox1.addItem("Austria", "Austria"); // myComboBox Playhead // whe an intem is selected listenerObject.change = function() { var my_item = myComboBox1.selectedItem; trace(my_item.label); trace(my_item.data); ...more >>

Hit test help
Posted by Mack879w at 6/8/2004 7:27:46 PM
What I want to do is this: When a graphic overlaps another, I want the color to change only where they are over lapping for example: When you dip the paint brush in the paint can, only the part of the brush that is in the paint changes color so that it looks like paint is on the brush. ...more >>



Linking files
Posted by chowin at 6/8/2004 5:15:56 PM
Is it possible to have a button link to a particular frame in a separate ?swf? file? If so, can this be done in Flash 5? I?d really appreciate either an example of what the code would be or where I could find some insight. Thank you! ...more >>

clear variable
Posted by Eric Adriaans at 6/8/2004 5:14:05 PM
Hi, is there a way to clear a variable again, i.e. if I have assigned 0 to _root.something... _root.something = 0; I tried _root.something = undefined; but that doesn't work. Eric ...more >>

download an image from CD
Posted by EdMX at 6/8/2004 4:27:25 PM
Hi, I am producing a CD from where users can click a button to download an image from the CD to their own computer. Anyone aware of how this might be done without using php? (I cannot use php as there is no guarantee the host computer can handle it) ...more >>

Dynamically Creating Labels
Posted by brockies at 6/8/2004 4:04:56 PM
Hello All, I have a label called lbl_label. Is there a way to dynamically create an array of labels? Something like lbl_label[0], lbl_label[1], lbl_label[2] etc. Many Thanks....more >>

Can't fix the link target
Posted by Broncho at 6/8/2004 3:52:13 PM
In my navigation, when i put action script behind the buttons : on (release) { getURL('home.htm","_parent") } it keeps opening the link in a completely new window. I've tried the other options but every time i get the same result.. Am i using the wrong action script or what is the problem ...more >>

why are button still active when hidden by a loaded movie in a higher level?
Posted by jsbeaulieu NO[at]SPAM galafilm.com at 6/8/2004 3:51:34 PM
I have a "base" movie that is used as a home page. From that page, I load other swf files that are loaded in level ontop of it. why are button still active when hidden by a loaded movie in a higher level? js...more >>

Change text color of dynamic text field
Posted by cjf3rules at 6/8/2004 3:12:50 PM
Hi again. I've seen where it's possible to change the color of a movie clip using the Color object, but is it possible to use actionscript to change the color of text in a dynamic text field (I've given the text field a variable name of "myText")? If so, could somebody point me in the rig...more >>

Assigning values to Objects in Arrays (actionscript 2.0)
Posted by Laiverd.COM at 6/8/2004 2:50:33 PM
Hi everybody, Minor problem here that I am not able to solve. Probably - again - overlooking something obvious. Thanks for taking the time to read this post. Within a Class Portfolio I create two Arrays (_pImages and _pThumbs) which are filled with objects that represent images. Here's the ...more >>

Action Script more efficient?
Posted by Mack879w at 6/8/2004 2:34:23 PM
Okay, I have a movie which I created fairly easily so far. (See link below) The next step is for a paint brush to dip in to the different paints and paint a color wheel on the canvas. So when the brush dips in the red can, red paint will be on the brush and then paint the red part on the color...more >>

Problem with classes and setInterval/addListener
Posted by wodger at 6/8/2004 2:20:35 PM
I am having problems with getting functions run with setInterval or addListener to call other functions when they are implemented as an ActionScript 2.0 class. The same code works when not implemented as a class. Example code: class testCode{ var ID:Number; function testCode(){ ...more >>

Animated Mask and masked MovieClip problem???
Posted by JAXIMFLASH at 6/8/2004 2:04:32 PM
Can actionscript solve my dilemma? I can't seem to get an "animated" mask to successfully mask a movieclip? I've tried and I can't to seem to get it to work unless the mask's animation only has two keyframes, or either the mask or masked layer is not moving. (I've even tried to make th...more >>

playing parts of director movie and quit button
Posted by noarmstrong at 6/8/2004 1:28:34 PM
Hi there 1. I have a flash movie (with a quit button )embedded in a director projector file I want to be able to quit the director projector movie by clicking a button in the flash movie 2.can i play a certain part of a director movie from within a flash movie is this possible t...more >>

A loop based on the number of items in an array?
Posted by cjf3rules at 6/8/2004 1:16:46 PM
Hi all. I'm sure this can be done, and probably rather simply, too. I'm just not sure exactly how to do it. I have many arrays, similar to this: mainText=["About Us","Products","Producer","Worksite Advantages","Reference"]; Some of the arrays have 3 items, some 4 items, some 7...more >>

rollOver detection while mouse is pressed?
Posted by Sorosc at 6/8/2004 12:44:02 PM
Hello, I found out that flash doesn't recognize a rollOver event while your mouse button is pressed. The thing is, I can't do it with hitTest either, because too many mc's have to be tested all the time, so the pc can't keep up. Does anyone has an alternate solution and wants to help m...more >>

Text Bug: mx professional 2004
Posted by Chris B at 6/8/2004 12:29:29 PM
Hi am testing a problem i have found using the anti alias text option i have a text .. selected as anti aliased, 12 pt Arial..left formated, this is fine if I have just one frame, if i extend this without any animation or tweening for more than 1 frame.. when i test the movie, the text i...more >>

Dynamic text in a movie clip
Posted by Sav at 6/8/2004 10:48:53 AM
I need to put dynamic text into a movie clip that is set to behave as a button. The problem only occurs when the MC is set to track as a button. The dynamic text is not being pulled into the textfield for some wierd reason. Any ideas if this is a Flash bug. Many thanks. Jeff. ...more >>

Resize and open html popup window from flash
Posted by c_u_jimmy at 6/8/2004 6:00:42 AM
Hi, Does anybody know how to open an html popup page from flash at a set size. Thanks for any help James...more >>

How to get Date from the server in flash?
Posted by James Cherry at 6/8/2004 4:28:47 AM
Hello friends, I want to get Today's date from the server in Flash. Can Anyone tell me how is it possible? ...more >>

Dynamically Loading Components
Posted by carsonio at 6/8/2004 2:40:17 AM
Is there a way to dynamically load components at runtime instead of adding them to the Library?...more >>

Is it possible to pause a mx.transition effect?
Posted by mikez93 at 6/8/2004 12:53:41 AM
I'm using the tween class to transform a movie clip. For example: function slideATweenAlpha():Void { easeType = mx.transitions.easing.None.easeNone; var begin = 0; var end = 100; var dur = 2; var mc = mcSlideA; ATweenAlpha = new mx.transitions.Tween(mc, "_alpha", easeType,...more >>

importing text file and adding a scroll bar
Posted by melineum at 6/8/2004 12:35:12 AM
Hi All. i am a newcomer and am wanting to import a text file and use a scroll bar on it. I cant seem to find any info that will help me to do it. any ideas would be appreciated. i think i need to use action scripting to import the file but on which part and what code?? ...more >>

figuring out using frame commands vs buttons
Posted by Van Garnett at 6/8/2004 12:07:49 AM
i have put this script in the first frame of the main timeline: _root.MC_button_practice.MC_spinner.MC_slider.onRollOver = function () { trace ("does this see practice?") gotoAndPlay("see"); } _root.MC_button_practice.MC_spinner.MC_slider.onRollOut = function (){ trace ...more >>

color object comparison
Posted by ward - calculating infinity at 6/8/2004 12:06:36 AM
hi there. I am currently programming a color shifter, but I cannot seem to figure some things out. I am using the color Object to achieve this. What I cannot figure out is at what time the colors of the destination and the currentColor are the same. for simplicity, i have cut out all the fad...more >>


DevelopmentNow Blog