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 > august 2004 > threads for wednesday august 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 29 30 31

arrays of arrays...best way to copy?
Posted by sneakyimp at 8/25/2004 11:39:25 PM
2 questions QUESTION 1: i have an array of arrays to describe playing cards like this arr[0][0] = "Ace"; arr[0][1] = "Hearts"; arr[1][0] = "2"; arr[1][1] = "Hearts"; etc. etc. i have tried doing this: var oneCard; oneCard = arr[0]; but it totally doesn't work. this d...more >>


buttons that act like checkboxes????
Posted by misschiff at 8/25/2004 10:53:53 PM
I have a 2 questions. 1. When a button is pressed I want for it to stay depressed (ie. maintain the Down state). How do I do this? Then I want the user to be able to unselect the button by clicking on it (kinda like the way a checkbox works). How can I do this? 2. I want to set all my ...more >>

PLEESE HeLP!! about saving and loading in externa
Posted by The RPG MAKER at 8/25/2004 10:36:25 PM
some kind of, any kind of external file , where i can save my variables and then load them (all in flash player, when it runs) i know how to load variables but how can i save...more >>

ComboBox not displaying data
Posted by pwp69 at 8/25/2004 10:21:47 PM
Hello, I'm having some problems getting my data to display in a MX2004 ComboBox (dept_cbx). The data is retrieved via Flash Remoting and loaded to the cbx using DataGlue: function getDepts_Result(re:ResultEvent):Void { DataGlue.bindFormatStrings(this.dept_cbx, re.result,"#DeptName#","#D...more >>

Am I retarded?
Posted by slammin007 at 8/25/2004 9:12:20 PM
OK, having a problem with movie control with buttons. I've done this a thousand times, but now I keep getting script errors. Main stage has two movies. One starts playing, the other is stopped. Movie number one has a nested button, I added the behavior on (release) this.stop, works fine,...more >>

Monitoring "Right Click" Zoom Level
Posted by Johann13 at 8/25/2004 9:01:12 PM
I'm currently working on a Flash project that "demos" a custom .NET user interface. Part of the appeal of this user interface is the ability to zoom in and out. The issue that I am running into is when a user right clicks to zoom into flash, I need to be able to monitor what the zoom level i...more >>

Making a loading swf
Posted by HeathanFX at 8/25/2004 8:56:36 PM
Hi there, I made a flash movie but it takes a long time to load, so I realize I have to make a loading screen. Well, I made one, but I don't know how to get it into my movie. What do I have to do? ...more >>

loading Movie Clips from Library
Posted by jb_prism at 8/25/2004 8:41:48 PM
I am new to action scripting and need some help. I need to load a random movie clip into a random position at random times. Any examples would be greatly appreciated. ...more >>



Question - How to pause play on a timeline
Posted by Philomania at 8/25/2004 8:36:02 PM
i would like to pause play on a timeline 64 for 20 seconds, then continue playing the frame 65. i would like a very simple way of executing this. don't laugh but here is my effort of attemp: startTime = getTimer (); currentTime = getTimer(); elapsedTime = (currentTime-startTime); i...more >>

Setting Vars In a Child Movie Clip
Posted by Dahgu at 8/25/2004 7:50:56 PM
I have an interesting problem that I have been unable to resolve. I have a simple setup with two movie clips. The first movie clip is the parent (instance photoAlbum_mc). Inside photoAlbum_mc is the second movie clip (instance photo_mc). The main timeline of photoAlbum_mc loads data fr...more >>

Populating a scrollpane with dynamic clips
Posted by SiggeJ at 8/25/2004 7:38:11 PM
I have been trying for some time to create a scrollpane, load a set of thumbnails into it and then live happily ever after. My problem is that the Movice Clips that I load are not restricted by the Scrollpane and the scrollbars do not appear when I use invalidate(). Please see the attached...more >>

timer based actions
Posted by brian_san at 8/25/2004 7:37:22 PM
Does anyone have the script for creating a timer based on the system clock or some other means to count by seconds? I need actions to take place at certain times. If not...any Ideas on where I could look to find info on such a beast? Thanks much, ...more >>

Audio Damage urgent
Posted by Eduardo Dorantes at 8/25/2004 7:26:03 PM
Hi, i created a flash proyect for pc. I made the first swf for intro and the intro.swf load the next movie into level 0, but sometimes the audio crash because it sounds very damage and the proyect run slowly after load the menu.swf movie. What can i do? Please help me! Best Regards. ...more >>

website design
Posted by mar_design2 at 8/25/2004 6:46:16 PM
Check out the website I am designing in Flash...any opinions or advice from experts or anyone would help...? I'm still in the process of setting it up in Flash. http://www.daroffdesign.com/sneakpeek/index.html Thanks ...more >>

Search by category in Flash?
Posted by etienneranc at 8/25/2004 6:27:06 PM
Is it possible to do a "search by category" menu that loads the content dynamically in Flash but not using a database? If it is, please point to a tutorial about it. Thanks in advance....more >>

PHP & email check code?
Posted by tlbeek at 8/25/2004 6:08:44 PM
Can't figure out what part I'm missing here, can someone check my .fla & .php file to see why I'm not receiving the response? www.vanderbeekimages.com/test/test.fla & php is here: <?php $today = date("Y.m.d"); $dayOWeek = date ("D"); $types=$_POST['types']; ## Process $type if...more >>

Tree component help???
Posted by the_daggs at 8/25/2004 6:05:56 PM
I can get the tree component to work no problem when i use the example that macromedai gives me in the help menu. The problem is, I can't get it to work with my XML file that I have all ready coded and programmed into almost 90% of this site I am working on. The only difference between my file...more >>

problem with dynamic text field
Posted by waterystu at 8/25/2004 5:35:51 PM
Hi, Im very new at Flash(MX2004). I have been following an online tutorial to get what I have so far. Now, Im deviating from the tutorial and trying some things on my own...and I need help...please. After loading an swf that contains a dynamic text field into a movieclip of another swf...more >>

Playing movie clips after an allotted amount of ti
Posted by brian_san at 8/25/2004 5:10:56 PM
I need to play a movie clip (that is on 1 frame) after the main movie is stopped on that frame for 20 seconds. This needs to be done on several frames with varying amounts of time on each. Any ideas or assistance would be greatly appreciated. Thanks ...more >>

Need a button to close browser window
Posted by ondawada at 8/25/2004 4:56:35 PM
How do I script an exit button to close my Internet Explorer window?...more >>

Getting Javascript Cookie
Posted by xchristopherx at 8/25/2004 4:52:22 PM
I can't seem to figure out how to Check for an existing Javascript Cookie within flash. I have no problem setting the cookie within flash with fscommands but how can i get it without using and server scripting... The project i'm working on, the site's web server does not have any script capabi...more >>

Instance names & repetition
Posted by Anth2003 at 8/25/2004 3:33:31 PM
If I have a series of different movie clips that are never on the stage at the same time and with in each of those movie clips are a couple of buttons. Is it OK to use the same instance name repeatedly. ie.. in the clip question_1 there are two buttons called option_a & option_b with, for...more >>

Detect when a combo box changes value?
Posted by Pixel_Pixie at 8/25/2004 3:29:05 PM
I have a number of combo boxes, I am not sure what the code is to detect when the user changes one, I want to perform an action but the actionscript says my code has to be in an even handler? How do I set it up? ...more >>

drag movieclip 10 pixels at a time
Posted by ivan01 at 8/25/2004 3:19:22 PM
Does anyone know how I can drag a movieclip in intervals of 10 pixels (or any number of pixels)? startDrag makes the dragging of the clip appear very smooth - I want it to not look smooth and make it look like the clip is "jumping" every 10 pixels. Thanks in advance! Ivan ...more >>

Help, code won't work!
Posted by Kayosky at 8/25/2004 2:14:38 PM
I'm new at scripting. But I got the code below from a Macromedia tutorial and each time I publish the finished movie it reports that there is an error on the first line. tryAgain_btn.onRelease = function() {, gotoAndStop(1); ...more >>

Help Code won't work!
Posted by Kayosky at 8/25/2004 2:13:59 PM
I'm new at scripting. But I got the code below from a Macromedia tutorial and each time I publish the finished movie it reports that there is an error on the first line. tryAgain_btn.onRelease = function() {, gotoAndStop(1); ...more >>

moving a Mc with Actionscript ?
Posted by john at 8/25/2004 2:03:57 PM
I have a Movie clip that is about 3 times the size of my movie dimesins and on the next layer I have buttons that when pressed I what them to movie the Mc with Actionscript and not keyframing can someone point me in the right direction?...more >>

Movieclip always centered in stage
Posted by xchristopherx at 8/25/2004 2:03:38 PM
hey, i was wondering if anyone could point me in the right direction to be able to center a movieclip holder for an external swf in the center of the stage, no matter what size the stage is....more >>

max length for parameters string using asfunction?
Posted by tarakullof at 8/25/2004 1:34:19 PM
Hi. I'm using <a href="asfunction:myFunc,paramstring">link text</a> in flash6. The paramstring is dynamically built, so I have no control over the final length of the string. I've found that the string cuts off after the 54th character (I traced the string length, its never longer then 54)...more >>

how to load html page into variable
Posted by aml2003 at 8/25/2004 1:27:01 PM
I want to parse with flash a html page (ex: http://www.google.com/search?hl=en&...F-8&q=flash) and extract first record (link) How do I load this page content into variable? thanks...more >>

clock counter
Posted by macromike at 8/25/2004 1:02:51 PM
I have an analog clock on my movie. The only problem is that the hours are displayed in military time. Is there anyone who knows how to correct this? Any tutorials? ...more >>

Working with gotoAndPlay() and movie clips
Posted by m00f at 8/25/2004 1:00:27 PM
I want a movie clip to act like a button and move to a labelled frame on release. I've added the following code to the movie clip and whilst the trace works the gotoAndPlay() method doesn't: on (release) { gotoAndPlay("next"); trace("test"); } Here's the dodgy bit. If I use this ...more >>

Angle of bounce after objects collide, help pls..
Posted by Mat2001uk at 8/25/2004 12:44:55 PM
Hi I'm not to crash-hot on mathmatics, so I don't know how I'd work out the angle of bounce after one object hits another object (think hitting a pool ball against the rail). If someone could help me with this angle-thing, that would be top. M ...more >>

duplicatemovieclip() into another MC
Posted by 3Darky at 8/25/2004 12:21:12 PM
I'm having trouble figuring out how to duplicate a movieclip from one MC into another MC in _root. Is it possible or are duplicated clips always placed into the local timeline of the current MC with you only being able to control the depth? Thanks in advance for any help. ...more >>

Selecting Multiple Frames - Short cut?
Posted by Geoff at 8/25/2004 12:08:34 PM
When using the onion skin buttons, is there a quick way to select all frames, without having to drag the pointers left and right? Geoff ...more >>

Search in a Mysql database
Posted by kafir at 8/25/2004 11:22:07 AM
I have made the following script to search in a Mysql database. The script works fine the first time you search. Second time if you try to search for some thing else the old search result keep appearing. Is there some way that i can clear the search result when ever i initiate in a new search...more >>

relative path
Posted by chkhurram at 8/25/2004 11:13:18 AM
my parent directory is "abc" and i am including a file from parent directory. for this i am writing following statement but flash gives error. #include "../FileName.as" but flash gives error on this. why???????? ...more >>

gotoAndPlay by string stored in variable
Posted by Anth2003 at 8/25/2004 10:27:06 AM
I have a variable that stores a string that is a comination of text and another variable. ie. variable= "foo"+another_variable; I have frame labels 'foo1', 'foo2','foo3' etc so how I do the following when dealing with frame labels: gotoAndPlay(variable); the way I see it, if I writ...more >>

Retreiving Records Alphabetically from XML FIle
Posted by Deepan_Shah at 8/25/2004 10:00:03 AM
hi, i am new to Action Scripting. I have a problem where in i need to retreive Records from an XML File Alphabetically. I am able to retreive records but not sure how to retreive in an Alphabetical manner. Any help will be highly appreciated. Thanks ...more >>

if statements
Posted by willx at 8/25/2004 9:30:24 AM
can you write if statements based on the frame that the timeline is currently in. i mean something like this if (currentFrame = "activate"){ button1.enabled = false; }else{ } tried it but it didn't seem to work thanks in advance ...more >>

Functional functions
Posted by Anth2003 at 8/25/2004 9:23:12 AM
Is it possible to write a function that sits on the root time line and then can be called from different levels of an SWF. normally I use functions in this way: onEvent = function(){ blah blah blah; } What is the syntax for naming and calling functions rather than having them trigge...more >>

speed direction
Posted by jwize at 8/25/2004 9:12:03 AM
I am creating a clone Arkanoid / Breakout game. I am not very good at figuring out the speed. If for example the ball were to come out straight the the left the. var x = 1; var y = 0; onEnterFrame = function{ xPos += x; yPos += y; } Now if I want it to go straight up I can sa...more >>

How to express a double-quote (") or a single-quote (') in an Actionscript string?
Posted by Keith B at 8/25/2004 9:11:45 AM
What is the correct way to express a double-quote (") or a single-quote (')character inside an ActionScript string? Thanks, Keith ...more >>

drawing a dynamic line?
Posted by cdlphil007 at 8/25/2004 8:45:25 AM
Attached is a little movie that draws a horizontal dimension, all works ok except for the dynamic line bit. You click the first point to dimension to then the distance to the cursor is measured as it moves, however i have used 'lineto' to create the line, this works Ok except that it 'leaves' ...more >>

Easy
Posted by Edwin Merced at 8/25/2004 8:12:08 AM
What is the easiest option to integrate a database with Flash? I mean in terms of product Access, Filemaker, SQL, etc. ...more >>

number equal to a multiple of another number
Posted by bossche at 8/25/2004 8:08:29 AM
Hi I want to describe an if statement where I can say that if a number is equal to a muliple of f.ex 9 it has to do something.... How can I describe the "muliple of a number" part? Thx Tom...more >>

rewind and forward button
Posted by nkpg.jennie at 8/25/2004 7:51:00 AM
Hi! I have created an animation that loops. Now I would like to create two buttons: rewind-button - when I press the button, the animation will rewind. fast forward-button - when I press the button, the animation will play faster. When I release the buttons, the animation should go on pl...more >>

onRollover / onpress enlarge picture or button
Posted by kingblu at 8/25/2004 7:08:32 AM
I have made a thumbnail gallery on my website using Flash. Everytime the thumbnail is clicked, you are directed to a different page that holds the full size picture. What I want is.....to have the mouse "roll over" OR even click the thumbnail, and have the full picture appear in the same p...more >>

Movie navigation blues-help needed!
Posted by Sabretooth Sloth at 8/25/2004 4:37:38 AM
While the movie is playing, I want the user to be able to click a button anytime and watch a separate scene. But here's the catch: After that scene finishes playing, I want the movie to resume playing from roughly the point where it was interrupted. Does anyone know how to do this? ...more >>

Export flash in actionscript or javascript??
Posted by MikeLiew at 8/25/2004 3:02:05 AM
Do anybody know how to export the flash movie to gif, png or others graphics format in action script or javascript??...more >>

Retrieve URL parameters?
Posted by H. Jörg at 8/25/2004 2:47:59 AM
Hi, is it possible to retrieve URL parameters with ActionScript? e.g. if I have the url: htt://mysite.com?name=test&age=10 is there a chance to retrieve the parameters name and age? (flash movie is hosted by default.htm which is called automatically for the given url!) Thanks! ...more >>

Will Flash work with MySQL
Posted by snurg at 8/25/2004 1:57:07 AM
am working on a project that is turning a HTML-based website using a SQL database into a Flash website with dynamically-driven data that is updated constantly Is this compatible? I know Flash Remoting is more current, but as I am new to database integration w/ Flash, I'm confused if...more >>

on(keyPress "<Enter>")
Posted by ecaps at 8/25/2004 12:52:08 AM
hi I programmed a little bit and used reaction to keys and used the on(keyPress "<>") function. It works with left, down, up, right but not with Enter, why? it normally should work, because its not different to the other lines where i use it for the Key "Left". I dont want to use Listene...more >>

Hardware accelleration?
Posted by Sky Strider at 8/25/2004 12:28:58 AM
Is it possible to, if available, use video hardware accelleration to do the drawing in the flash environment? There really ought to be, cause today's video cards could draw the complicated stuff in flash like alpha transparencies and masks really well. I use an Athlong 2600+ and when i move an...more >>

Help with fscommand in a flash projector
Posted by NATUSCH at 8/25/2004 12:21:07 AM
Hi everyone... I'm developing a projector .exe project. I need to make two language versions, English and Spanish, I would like to make first a "mini - projector" with the language selection. I'm using the the fscommand's "exec" "Path to application" , I create a fscommand folder, and ...more >>


DevelopmentNow Blog