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 > april 2004 > threads for tuesday april 20

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

text list element as a button ?
Posted by PatomaS at 4/20/2004 10:56:31 PM
Hello people... I'm making a simple aplication in flash, and have a little problem. I have a dinamic text box filled with data from an xml file. There is no problem with this part of the animation. The problem is: I need that the each line in the text box could be clicable. In...more >>

MovieClipLoader Problem
Posted by FarleyC at 4/20/2004 10:05:20 PM
I have an ap that needs to dynamically load jpegs into 24 movieclips on the stage. The clips are in 4 rows of 6 columns and are named thumb00, thumb01, thumb02... row and col are the current row and column to load into. all movieclips are labeled "thumb" suffixed with the row and columb...more >>

loading swf but having problems
Posted by edwinmerced at 4/20/2004 9:55:31 PM
I load a navigation system via loadMovie but it does not work on forst frame On fram 1 I have: loadMovie("buttons.swf", "_level2"); stop(); On frame 2 stop(); this._level2._x = 200; this._level2.retroceder_btn.onRelease = function(){ _root.gotoAndPlay(1); } this._level2.avanzar_btn.onRe...more >>

Game help
Posted by canase at 4/20/2004 9:49:10 PM
I'm trying make a drop game just like the one found on this site http://www.landisrock.com/fallgame.htm. I can get the ball to drop and the slider to catch it but I don't know how to keep score, that shows; caught, missed and total. thanks ...more >>

tweening or actionscript: performance issue
Posted by benari004 at 4/20/2004 9:48:41 PM
I've hunted around for discussion on the issue of performace improvement using actionscript instead of tweens. Nothing. Please respond with advice or a "definately actionscript and here's why"--or perhaps a pointer to an already existing thread. I'm building a series of applications that...more >>

PNG transparent click issue - please help
Posted by Nicky21 at 4/20/2004 9:43:30 PM
i have a problem: i need to know when i click on a movie clip made from a PNG transparent image if i clicked on the transparent part of the image or on the image itself. Is that possible ?...more >>

Why does it not work?
Posted by MiniMurderdoll at 4/20/2004 9:36:55 PM
Hey, i have the code : [Q] on (release, keyPress "<Down>"){ if (_root.arm._rotation >= 0) {speed = -1 } else if (_root.arm._rotation <= 0) {speed = +1 } } [/Q] How can i add so that as soon as the rotation = 180?, the speed = 0 And then the code finishes? ...more >>

how do I create an upload button w/ script?
Posted by Hunnie at 4/20/2004 9:33:42 PM
Hello, I have a client who wants to have a control panel with an upload button to upload files into their server through ftp...I was wondering what the script will be if using flashmx? Is this possible or is html preferred in order to use this function? ...more >>



Is there an easy wayo to reload a .swf?
Posted by spdorsey at 4/20/2004 9:29:02 PM
I need to reload a .swf file (koko.swf) using a button. Any ideas? Thanks, ---------------------S...more >>

HELP - using MP3 from an external swf
Posted by spdorsey at 4/20/2004 9:17:55 PM
Hello I have an external .swf file which contains a sound. koko.swf I have this sound imported into a larger flash movie. main.swf I need to put buttons in the main movie which will stop, and replay the sound. I think I got the stop button to work: on (release) { Music=...more >>

How do you FF an attached sound?
Posted by waveturtle at 4/20/2004 8:27:41 PM
I want to know what actions I would attach to a scroller btn to get my attached sound to FF? thanks, Rob...more >>

Can Flash READ what files exist within a Director
Posted by marcione at 4/20/2004 8:23:53 PM
Hi, How can Flash read what files exists in a sub directory on my server without using server side scripting becasue this is going to be an online/offline product. For example: I need the Flash application to read what files are in a sub folder within the main folder where the sw...more >>

A confirm link in DataGrid...
Posted by dCsAitek at 4/20/2004 6:21:26 PM
i have a dataGrid table built with an XML document reading in "player name" and "click to confirm"... however, I need the "click to confirm" to be a link for each player name so that they can click the link to confirm their status. That click will need to send the a confirm notice to an email ...more >>

bug with attachMovie
Posted by Jonnhy at 4/20/2004 6:18:10 PM
Hi everyone, I have a bug with the attachMovie !!! I start an animation when I press on button 1 then I have a stop (action) When I clicked on button 2, I want to goto a frame labeled call "test' It didn't work Please see attached code thanks button 1 : on (release) {...more >>

giving a movie mouse actions
Posted by IRISH_HYPE at 4/20/2004 6:06:32 PM
Hi, i'm controling a movie in flash from cycling74's MAX/MSP, by sending x, y info to flash. At the moment i can move (control placement of) the movie, but now i want it to take on a mouse over effct when on a button. I hope in the end to have a video in flash that has normal video controls wh...more >>

how do I scroll picutres? plz help!
Posted by propatria at 4/20/2004 5:54:16 PM
yes, I just posted like 6 seconds ago, but yeah... can someone tell me how to make pictures scroll on the left side, while the other part of my flash side is solid using the scroll bar? Also, how do I link words in my scrollpane? yes, im using flash mx (6) ...more >>

3d jped
Posted by propatria at 4/20/2004 5:43:38 PM
how do i make a jpeg picture look 3d, and rotate? is is possible?...more >>

MX - Preloading an JPG
Posted by bhouse02 at 4/20/2004 5:24:18 PM
Hello, I'm trying to preload a jpeg that I'm calling in externally as a movie (this.loadMovie("image.jpg", 0);) and I don't really know how to go about it. If it were a normal movie that I was loading, I would obviously just slap the preloader in the movie but since there isn't an actual p...more >>

"goToAndPlay" goes to a blank screen!
Posted by artane at 4/20/2004 5:23:49 PM
I'm going insane!!! All I want to do is go to frame 20 when the timer gets to zero. Instead, I go to a blank screen! I can replace "goToAndPlay" with "getURL" and it works (I go to the specified url) but, I want to go to frame 20! What in the world is wrong with this script? Please ...more >>

Script with ShareObject() to save a score game
Posted by nicky2 at 4/20/2004 5:15:04 PM
Hi all ! :) Thanks for this advice ... :] I'd like to finish a Flash game ... I don't know how to use ShareObject() to save the final scores and the player name. Can you help me, please? :) For french people: Bonjour, j'aimerai finir un jeu Flash ... et voudrai conna?tre la fa?on d...more >>

Detect What Mouse is over
Posted by timbo313 at 4/20/2004 4:58:27 PM
How would I say this in action script If the mouse is over MovieClipA or the mouse is over MovieClipB{ Do this action } Thanks in advance Tim...more >>

XML and best practice for a newbie
Posted by webposter at 4/20/2004 4:12:26 PM
I'm trying to build a dynamic survey app in which I load the Questions and possible answers from an XML file. Here's the format for the XML file: <Survey Title="Sample Survey"> <Question ID="1" Type="Radio" Q="How would you answer question 1?"> <Answer ID="1">Q1 Answer 1</Answer> <A...more >>

Load Movies from a specific folder
Posted by FLEQUE at 4/20/2004 4:10:53 PM
I want to create a movie that loads a couple of movies located on a specific folder without telling the name of the file. This way if I upload a new movie to this folder, the movie will know to load this new movie to the scene. That way I don't have to be updating the main movie everytime ther...more >>

AS: Movie Clip Pre-Loader
Posted by ecsurfer at 4/20/2004 3:48:30 PM
I have a looping MC that I want to use for a Preloader (30 frames). I would like Percentage feedback under the animation... I have never built a Preloader before, can someone please give me clear directions and script? ...more >>

Tutorials
Posted by MiniMurderdoll at 4/20/2004 3:42:55 PM
Are there any tutorials which explain in detail all of the different Flash MX 2004 actionscripts, and how to use each one. Thanks...more >>

Cant set Combo rowHeight (v2 comp)
Posted by norbit at 4/20/2004 3:42:30 PM
HELP HELP HELP - CALLING ALL FLASH GURUS [b]how do i change a combobox rowheight[/b] property? I am trying to reduce the rowheight used in a combo - according to the docs, the combo box contains a button listbox etc and inherits their methods - therefore the rowHeight property should be av...more >>

A better debugger tool for ActionScript 2.0 please
Posted by Maglez at 4/20/2004 3:38:34 PM
Hello. Last week I was looking for a better ActionScript editor, now I'm looking for a better debugger so that's the question... Does anyone of a debugger tool for ActionScript 2.0? Thanks for any comment, link or prayer. ...more >>

Actionscript - so the timeline walks back words
Posted by Outsidevision at 4/20/2004 3:35:45 PM
Iis there any script that makes a timeline from a current scene walk backwords and then when it reaches frame one it directs you to another scene ? ? ? thankzzz!!!...more >>

Performing actions when sound is finished playing
Posted by acornelio at 4/20/2004 3:35:23 PM
I have a MC in my piece that toggles between playing and stopping an attached sound clip. I need to have the movie advance to a specified frame label when the sound clip is finished playing. (this will be the toggle buttons in an inactive state.) I do not want the user to be able to control th...more >>

Easy question, I think.
Posted by gungus at 4/20/2004 3:25:32 PM
Hello all, I think this is easy and I'm just missing something obvious. I have a flash movie in an html document. I would like to have a continous loop of flash movies on this page. In other words, at the end of the first movie, it loads the second in it's place, and so on. What is...more >>

Printing Slide Presentation
Posted by recs at 4/20/2004 3:22:27 PM
I am still having difficulties printing a slide presentation. I understand how to pring a presentation based in frames, but with the new Flash MX 2004 Pro slide presentation option is different. I have used the following action script and is not working: on(Release){ print("_root", "...more >>

Setting document bgcolor with actionscript?
Posted by afook at 4/20/2004 3:12:14 PM
Normally we'd Ctrl+J, and select the bgcolor ... how do we set it using actionscript??...more >>

help me convert this flash 5 code to flash 6
Posted by artane at 4/20/2004 2:22:44 PM
hi guys, I've got this countdown timer that was created back in the days of flash 5. I'm trying to add it to a new movie I've created that I'm exporting using flash 6 and the timer doesn't work. No numbers even show up. I'm assuming that it's due to some conflict with the version and th...more >>

sophisticated drag and drop
Posted by eussam at 4/20/2004 1:45:37 PM
I would like to be able to perform a drag & drop between 2 flash applis embedded in a web page. Have no idea how to do such a thing. Thanks in advance....more >>

Complex String Handling
Posted by Ashish123 at 4/20/2004 12:29:31 PM
Data=["M", "XYZ", "1/1/00"] Attributes=["sex", "name", "date"] Search=["sex", "name", "date"] var original="<p>{sex}</p><br><br><p><b>{name}</b><br></p><p>{date}</p>" I am getting a string from XML file in the above format which i am storing in original varible. But at the time of show...more >>

Can I use old MX Action Panel in MX2004 release?
Posted by Gerrard at 4/20/2004 12:26:29 PM
With ActionScript 2.0 I'm in way over my head, and with the tiral version of MX2004 pro I can seem to find a way to go back to ActionScript 1.0 and the old (easy to use) Actions Panel? All these new features just confuses me and I can't find I way to use the old Action Panel UI. Is there a...more >>

GetURL() and CSS background image issue
Posted by Drew D. Saur at 4/20/2004 12:24:07 PM
When working on a web site for my employer, I uncovered what appears to be an undocumented bug in Internet Explorer 5 & 6 for Windows in regard to a (perhaps uncommon?) integration of Flash scripting and CSS2 background imagery. I am hoping that someone out there can help me identify what st...more >>

swf file on webpage talks to java application running on desktop. How to talk to each other?
Posted by google NO[at]SPAM creation-matrix.com at 4/20/2004 12:20:52 PM
hey guys, I have an .swf file running from a webpage served by a webserver, www.creation-matrix.com. When this .swf file is running, how can I make it communicate with a java application that's running off the desktop? I've successfully had an .swf file running locally talk to a local java...more >>

localConnection between swf on web and one running locally on desktop...
Posted by google NO[at]SPAM creation-matrix.com at 4/20/2004 12:14:18 PM
Where am I wrong here? RECEIVING .SWF running on desktop incoming_lc = new LocalConnection incoming_lc.methodToExecute = function (param) { sentMessage.text = param } } incoming_lc.allowDomain = function(senderDomain){ return (senderDomain == "creation-matrix.com"); } incoming_lc.co...more >>

buttons buttons
Posted by edwinmerced at 4/20/2004 12:01:13 PM
Ive agot a swf with buttons and need them to control a main movie unto which thety are loaded How is this done. How are they supopse to reference the main mvie or do I do this from th main movie?...more >>

Timer - PLEASE HELP
Posted by Brian at 4/20/2004 11:43:15 AM
I was wanting to build a timer. I have a seriouse of screens where you have a next button to go from screen to screen. I want the next button to be disabled for a certain amount of time, when you first get to the screen. So I know I could have a MC where I could use the timeline for the purp...more >>

script fade
Posted by edwinmerced at 4/20/2004 11:37:56 AM
Any reference to a script that can fade movieclips with actionscript but with the while or for statement?...more >>

Read the File System of a folder
Posted by huiguini at 4/20/2004 10:52:22 AM
Hello. I would like to nown if it's possible to make in actionscritp a obejct that could read the file system of a folder. Thanks...more >>

gotoAndStop skips a scene?
Posted by Andra Veraart at 4/20/2004 10:31:20 AM
Hi there, I'm using the following code to direct the movie to certain scenes (and yes, I am using frame labels): on (release) { sel_type = type.getValue(); sel_tov = tov.getValue(); go = sel_taal+"-"+sel_type+"-"+sel_geslacht+"-"+sel_tov; trace(go); gotoAndS...more >>

OOP Beginner
Posted by ol_yello at 4/20/2004 10:20:20 AM
Can anyone tell me why this doesn't work? Bug = function () {} Bug.prototype = new MovieClip; Bug.prototype.place = function (xLocMult) { this._x = xLocMult * 40; this._y = 200; } function initialize (maxBugs) { for (i=1; i<= maxBugs; i++) { currentBug = "bug"+i; _root.a...more >>

Replacting String with another string from Array
Posted by Ashish123 at 4/20/2004 9:17:57 AM
Hi Following is the script written first to match the values from one array to another and then replace the values in an array with the values stored in 3rd array...well sounds confusing...just have a look at it... ---------------------- info=["M", "12/12/2000"]; search=["Gender", "d...more >>

External text file question
Posted by Richard at 4/20/2004 8:19:28 AM
How can I get a dynamic text field to display a particular line from a text file - say line 30? Thanks Richard ...more >>

Fire custom events
Posted by Andi Airlines at 4/20/2004 8:17:31 AM
Hi! Events are useful to decouple AS objects. But I did not find any notice as to how I can fire my own events from my own objects, that my own listeners could register for. Example: I validate a user input and want to fire an error event if it fails, that other objects can listen to....more >>

help with checkerboard transition
Posted by fleabug at 4/20/2004 5:54:34 AM
Could anybody tell me if checkerboard transitions on the website - www.bluecult.com - can be done in flash? I want to do something similar with a school project. thanks for your help!...more >>

very basic question about onEnterFrame
Posted by maria77 at 4/20/2004 4:57:32 AM
Let's say i have a movie with only one frame in one layer with Actioncript attached to it. Let's imagine three different case-scenarios: 1. if I simply type in: trace ("hi!) I get the thing in the output window ONCE. 2. if I type in: _root.onEnterFrame (trace("hi!")) the wor...more >>

Scaling .swf to fit borwser window
Posted by andy NO[at]SPAM edge at 4/20/2004 4:01:52 AM
Is it possible to set up some sort of conditional scaling function for the Stage.onResize event? I have a movie file that is 800 x 600. I'd like for the movie to scale down if the browser window's active are is less than 800px wide or 600 px tall (or both) yet to have the movie enlarge to 100%...more >>

how to right justify a textInput component?
Posted by art1234 at 4/20/2004 3:59:35 AM
What a headache !!! I've been around with this for about a week now. I even tryied to write my own component. This way I could justified as I wish but run into other issues (like not being able to restrict input to numeric values etc). Can anyone help me with this? I am just trying to have two...more >>

loadMovie Control?
Posted by EnigmaticPhoenix at 4/20/2004 3:38:08 AM
In an especially bizarre application of Flash, I was wondering if it is at all possible to pause a loadMovie() method that is in progress. I know that one can unloadMovie, which will sometimes retain some file information in the cache, but is there anyway to simply pause the loading of a give...more >>

get url problem
Posted by ghergich at 4/20/2004 3:22:46 AM
I am using a flash button to open a url......I want it to open in the same window like an html link would do. It works but it opens a new window...how do I get around this....I'm in a tight spot. on (release) { getURL("http://www.designyolk.com/professional_flash_web_site_design_compa...more >>

textFiled and alpha
Posted by ssobolevsky at 4/20/2004 3:17:08 AM
Hi, I'm using flash MX. The following code is an object that creates and sets properties of a textField upon instantiation and a function that sets x,y coordinates, visible and alpha properties. What I want to achieve is a semi-transparent background. I'm trying to use _alpha in the ...more >>

Testing a Preloader
Posted by TheKeith at 4/20/2004 2:40:28 AM
I just got done with a little flash game and have done a simple preloader script that simply adjusts the width of a movie clip in conjunction with the getBytesLoaded method. I'm sure my script is fine--my question is where to place it exactly. I have a title screen on frame 1 where the loader als...more >>

URL with parameters on loadMovie function
Posted by Zenho at 4/20/2004 2:25:34 AM
Hi folks! When pressing a button, I need to load a swf movie into the main movie, but there is a parameter that defines which content is displayed on this swf loaded... If loaded by the browser, the swf file can be opened by typing the parameter after the [b]?[/b]... ex.: filename.swf?...more >>

how to put text next to slide show with script
Posted by sk8olly at 4/20/2004 1:22:56 AM
hello again everyone! I think this site is an amazing site and its outstanding how the people over here are willing to help others! What I'm trying to do is to make a photo slide show inside my site. I'v managed through this script below which I've got from this site called I think kiropa ...more >>

Bottons over Graphic elements?
Posted by Layne Batt at 4/20/2004 1:13:13 AM
When trying to create a transparent button over a graphic, I can't eliminate the outline of the frame once I draw it. I'm layering upward on the timeline, it seems to be right, but I can't make it transparent. Any Ideas? ...more >>


DevelopmentNow Blog