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 > march 2004 > threads for monday march 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 31

Passing a mc instance name to function dynamically
Posted by quadrant6 at 3/8/2004 11:32:40 PM
I have 3 mc's on the stage called 'frame1', 'frame2', and 'frame3'. I'm trying to pass the mc instance name to a function dynamically: The variable 'file' is a number (1,2 or 3) function checkFile(file){ ...lots of code here.. loadPreview("frame"+file); } // load i...more >>


How do you select a value in the combobox
Posted by TG_Laszlo at 3/8/2004 9:12:30 PM
Ok I got MX 2004, and I put a combobox on the canvas and on the first frame, on the second frame I have another combobox. Now when I browse back and forth from frame 1 and 2 the comboboxes select the first index in the list. And I have about 4 in the list of each of the comboboxes. I recalled ...more >>

Using x and y of an area
Posted by Oggie at 3/8/2004 7:46:31 PM
Ok I am new to this..... and here is my problem I need to set the x and y of an area, lets say an image of a map, so each time this map is clicked on the x y coordianace will define and record a value.....Example: (x=122 y=44)= value. Each vaule will be held until a calculate button i...more >>

Input textField align right problem
Posted by Nixy at 3/8/2004 7:37:59 PM
Hi I need to use an input textfield that is align right. The problem is that when the user type his email if the email is longer than the textfield width, the text doens't move to the left. So the user can't see the last letters he entered in the textfield. Is there a way to control that. If...more >>

populate an array with all the words of a text fil
Posted by Chayah at 3/8/2004 7:30:50 PM
I need to populate an array with all the words of a text file. In other words, I need to take all the words in a text file, or preferably the contents of a text box in my flash movie, and make each word separate values in an array in my flash movie. Can any one help explain how to do this or...more >>

Scroll Bar not scrolling?
Posted by ldebono at 3/8/2004 7:23:24 PM
I have a dynamic text field that loads text from an external text file. When I put the scroll bar from the components panel on this text field it is not active because there isn't any text in the field to begin with. Even after loading the text and having to move down to see all the text, th...more >>

Talking TextAreas
Posted by MacGyver_97 at 3/8/2004 5:33:40 PM
Hi; I'm looking for a way to have two or more TextAreas talk to each other. I'd like to have each area load an external XML file. If there is a link in one, I'd like to change the contents of a second TextArea on the same screen. In essence, have 2 or more IFRAMES that can all refer to ...more >>

attaching a movie to the mouse
Posted by mo_mitchell at 3/8/2004 5:28:53 PM
I'm new at this and I'm not sure how to get a movie clip to attach itself to the mouse. I have several buttons and each button is a tool like zoom in, zoom out, pan, ect.. Each time someone clicks the button I would like the corresponding movie clip attach itself to the mouse movement. Right n...more >>



[FLAMX + XML] reading special characters from external XML files?
Posted by sweetman NO[at]SPAM iol.it at 3/8/2004 5:20:55 PM
Hi all, is there a way to allow reading special characters form an external XML file? Example: I have an XML file containing: <mytag>Is this a sample?</mytag> but flash outputs: Is this a sample Is there some code to insert in the XML file? Thanks in advance tony...more >>

send hidden data to web browser
Posted by rtb33 at 3/8/2004 5:17:44 PM
Hi Everyone, I am looking for a way to send some information do a web page without the user being able to see it. I would just use "getURL" with the POST method, but it still puts all of the variables in the address bar. Is there any other method to do this? has anyone heard of a way to g...more >>

Looping an FLV file
Posted by PeteGould at 3/8/2004 4:39:16 PM
Just getting started in ActionScript programming, so please excuse the basic nature of this question. Using the code fragment below (imported from the ActionScript online documentation) I can play an FLV file: var netConn:NetConnection = new NetConnection(); netConn.connect(null); var n...more >>

Split decimal number
Posted by rmethod1234 at 3/8/2004 4:12:02 PM
Hello all, I am returning a decimal number from a table and need to split it into 2 seperate pieces of data. For example, the following: 2.5 Would be displayed as 2 and 5. Thanks in advance. Richard M. ...more >>

Play/Pause Buttons in multiple running SWF's?
Posted by djsplash01 at 3/8/2004 3:25:20 PM
Ok, let me give you some background on what I am trying to do. I have my swf movie named slide1.swf. Throughout different points of this movie, I have placed empty objects which call in separate .swf files which happen to be the audio for slide1. Everything works great. BUT, now the customer h...more >>

Remembering Highlighted Text.
Posted by madjiinx at 3/8/2004 3:18:56 PM
Is there a way (famous last words) - I load dynamic text into a text field - allow the user to select the text (highlight the text) and for flash to keep and remember the highlighting (kind of like highlighting a book). I found way to do this with static text using the TextSnapshot Object, bu...more >>

combo box quick question
Posted by riodejaneiro at 3/8/2004 3:18:55 PM
Is there a limit on how many comboboxes you can have on a Flash application? I have the need to have many. I'm writing an sports bracket application. Whenever I reach over 30 combo boxes my app won't compile. It blinks on the screen. Thanks, Paulo ...more >>

MX2004 - is it possible to write fla6 compatible source files
Posted by lingoingo at 3/8/2004 3:05:18 PM
Hi, I wonder if it is possible to open a Flash6-Fla File in MX2004/Flash7 and save it as Flash6-File which can be opened in Flash6? thanks for any answers...more >>

Session variable in flash?
Posted by Cyont at 3/8/2004 3:01:38 PM
Is there something like session variable in Flash? I need to pass a value from a frame to another? Cyont ...more >>

Datagrid component MX2004 - question
Posted by James Fee at 3/8/2004 2:31:16 PM
Is there a way to make a datagrid component display alternating colored backgrounds, not on every other column but on every other row? -- Jim Fee Viking Electronic Services ...more >>

MenuBar Component Question
Posted by Chris \ at 3/8/2004 1:58:08 PM
Using the new MenuBar component in FMX2k4 Pro (first time using this component) and having some issues. I want a flat menubar (no drop-downs), did that. I setup a listener (from Flash help): -------------------------------- var listen = new Object(); listen.change = function(evt){ var menu...more >>

change content movieclip with other libraryitem
Posted by Johan - Belgium at 3/8/2004 1:57:56 PM
Hi, first off, I'm actually a director programmer, so more used to programming in lingo than in actionscript. So maybe this is a dumb question, but I don't seem to be able to find it. I have a flash movie, that must become tri-lingual. Changing the text dynamically is no problem, but the g...more >>

Passing values into a swf object on a web page
Posted by Mark Redman at 3/8/2004 1:48:23 PM
Hi All, Is there another way to pass in parameters to a swf embedded on a web page other than the "FlashVars" parameters. These work although I want to pass in, User ID's and URL's that I dont want easily seen when viewing the page source. Is there a more secure way? Mark Redman ...more >>

Calling Function
Posted by JET NO[at]SPAM BB at 3/8/2004 1:27:43 PM
I have this on frame 1 of the main timeline: var Z2_P1_I1; function Activate(Circuit){ if (Circuit !=="Broken"){ Circuit="Active"; } } I have this attached to a movie clip instance which is on the stage of the main timeline: on (press){ Activate(Z2_P1_I1) } It's not...more >>

Parsing data to PHP - character problem
Posted by besrouchon at 3/8/2004 12:19:17 PM
Hi all, I'm having big trouble parsing accents (yes i'm french...) from Flash to PHP and then have PHP send the data in a mail. I've tried almost anything : urlencode the data before sending it, and decoding it in PHP... don't work i'm looking into the iconv php function but i'm not su...more >>

Preloading .swfs
Posted by Jansolo at 3/8/2004 12:04:26 PM
Hi all, Loads of stuff on this, but is there a tutorial that is easy to follow that tells you how to make a preloader in the main swf that preloads all external swfs?? Thanks Jansolo...more >>

startDrag only drags one MC on stage, why ?
Posted by jorgepinho at 3/8/2004 11:04:55 AM
I have 3 MC on stage (having unique names) with this action (each one) ? onClipEvent(mouseDown) { this.startDrag(); } onClipEvent(mouseUp) { this.stopDrag(); } but, the result is that only one MC is dragged, and not when only the mouse is over it. why ? thankx Jorge ...more >>

Creating a separate copy of an array?
Posted by quadrant6 at 3/8/2004 4:38:12 AM
If I have an array and want to create a copy without affecting the original, how would i do this? I have so far tried the following method with no luck. It copies the array but the copy seems to change when I change the orginal: array2 = orginal_array.concat(); ...more >>

Multiple input text fields problem
Posted by Dinghus at 3/8/2004 4:10:02 AM
I have a list pulled from a database of members with comments about them by the head honcho. This list is loaded into Flash and a table is dynamically generated showing all members and the comment for them. The owner now wants to be able to EDIT the comment right there on the Flash movie....more >>

positioning a JPG
Posted by merens.boris NO[at]SPAM infonie.fr at 3/8/2004 3:47:50 AM
hello, on level 0 : a button executing : loadmovie("1.JPEG",1) ( loaded to level 1 ) I would like to give a position (x,y) to this picture. how can I do this? Thanks for your help...more >>

.as files and #include
Posted by pazzoboy at 3/8/2004 3:16:58 AM
Hello, I have a homepage that is almost completely dynamically generated. Only one movieclip 'button' exists, and I use duplicateMovieClip to create all 32 buttons throughout the page. There is also code change text in a description box for each button upon rollover, and some buttons have ...more >>

Playback from picture or text?
Posted by Maselter at 3/8/2004 2:16:23 AM
Is there any way of using a picture or text to playback a sound file. This text is something that would be entered by a person using my site. Therefore it would most likely a dynamic text. Is this possible and if so how do you do it? ...more >>

How do you SAVE from a flash file?
Posted by neuu at 3/8/2004 1:59:00 AM
Does anyone know how do you save using flash? I'm trying to create a game using macromedia flash. However, there's a load and save concept that i have in mind. I know how to load, but how do you save it? Do you have to create a file? How do you save at that particular point you want to? Do you...more >>

getURL
Posted by myrinne at 3/8/2004 1:37:58 AM
sorry to bother you, i have a simple xml-file: <news> <link>http://www.macromedia.com</link> </news> then i have a variable in flash, called linkNode, which points to the above value/website. is there any way i can use the linkNode variable and getURL method, to go to the...more >>

paramneters pane
Posted by petesouthworth at 3/8/2004 1:16:22 AM
I am using Flash2004 MX Professional. When I open the Actions Panel I can't figure out how to open the Parameters Pane. Can anyone help Thanks...more >>

Hold on a frame until movie clip plays through??
Posted by waveturtle at 3/8/2004 12:41:47 AM
I have a movie clip on frame one masking an image and I want to have the movie clip play through before the playhead goes to frame two...I'm not sure how to script it. Do I script the movie clip or the main timeline? Help Thank you ...more >>


DevelopmentNow Blog