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 > january 2006 > threads for sunday january 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

stop() ignored in published swf
Posted by rolffffffo at 1/8/2006 10:58:33 PM
Hi, I have developed a small interactive movie in Flash MX which has two frames, the intention is that based on the mouse coordinates of a mouseDown event in frame one, frame two is drawn using a specific set of images. This works well within flash when I use Test Movie, but when I publis...more >>


Using button instance name
Posted by Lorien_oj at 1/8/2006 10:20:11 PM
Hello I think this should be easy, but I havetn found a way around it :( I have a set of buttons on my stage. Thay are links to other places on the timeline. Thay all have instanse name that are the same as the place on the timeline thay are linked to. My question: I want a simple s...more >>

Move a movieclip
Posted by t-hviid at 1/8/2006 8:47:07 PM
I load a jpg into a movieclip an rezise it with this: _root.billed.createEmptyMovieClip("billedHolder", 1); _root.billed.billedHolder.loadMovie("billeder/produkt_"+(random(2)+1)+".jpg"); this.onEnterFrame = function(){ var gbl = this.billedHolder.getBytesLoaded(); var gbt = this.billedHo...more >>

TextField maxhscroll bug?
Posted by jpeterse77 at 1/8/2006 8:11:52 PM
I decided to give Flash a try, and figured I would make a simple marguee style scrolling text. In the process I have run into some strange behaviour of the maxhscroll property of the textField control. It seams that if you assign a textFormat to the textField, and then change the text in the...more >>

Create a stopped Tween
Posted by Norbertofh at 1/8/2006 7:39:39 PM
Hi, Is there a way to create a stopped Tween? I mean, when the Tween is instanced, it starts automatically. What I would like to do it to create a Tween that would only start when I wanted it so. Best regards, Norberto ...more >>

get files' name and the path
Posted by newbier at 1/8/2006 6:48:47 PM
would all guys can help me that I dont know how to using action script to get all files' path from the folder automately, eg, just like i put in the folder on the web "a.txt" , "tf6.jpg" , "ag4fdfd.mpg" 3 files and the flash can still get the files' name and the path. so that i can use the...more >>

preloader for multiple loadmovie swfs
Posted by Vette at 1/8/2006 6:37:48 PM
'm working with the following: 1. A main SWF movie with 7 scenes and 1 scene is called Audio. On the Audio scene I am loading 11 swf files for the individual songs in buttons. 2. An SWF bunch of SWFs over 1mb each which are 30 sec mps songs, I need to get a preloader so I can start loadin...more >>

Select all text in Input TextField when it receives Focus
Posted by cryptikx at 1/8/2006 6:37:27 PM
When an Input TextField receives Focus, I want it to select/highlight all of the editable text within the field via ActionScript, bit I don't know how to select text via ActionScript (I'm using Flash 8). myText.onSetFocus = function(oldFocus):Void { // add text selection code here... };...more >>



Getting properties of objects in an Array
Posted by mraak at 1/8/2006 6:18:01 PM
I've spent hours trying and it does't work: var a:Array = new Array(); var o:SomeObj; for (var i:Number = 0; i < 5; i++){ o = new SomeObj(); a.push(o); trace(o.SomeProperty); // traces a correct value } trace(a[1].SomeProperty); // traces undefined var someO:SomeObject = Some...more >>

[FLMX2004] Cargar un jpg en un clip de pelicula
Posted by Virginia Salgado at 1/8/2006 5:24:09 PM
Hola a todos, Tengo un clip de película (clip1_mc) que contiene 2 capas, una capa con un marco blanco y en la otra capa otro clip de pelicula (clip2_mc) que en principio es un cuadrado de 80x80. Lo que quiero es cargar en clip2 una imagen externa, para lo cual escribo lo siguiente: loadM...more >>

Linking Flash Documents
Posted by Peanut Butter Cup at 1/8/2006 5:14:50 PM
I have several flash documents that I want to link with buttons. The problem is that they use the same names for certain movie clips and every time I try to link them some of the movieclips get replaced. Is their action script to link flash documents with buttons? ...more >>

can't see text in actionscript panel
Posted by evolvcm at 1/8/2006 4:19:09 PM
Do I have a font conflict or maybe I don't have the right font open but, can't see text in actionscript panel. I know the text is there when I highlight it. I just can see it. Anybody have a clue?...more >>

Loading XML data issue.
Posted by apocalipsis19 at 1/8/2006 3:14:24 PM
I am a beginner in the flash world. I am coding a personal website and I want to use the menu component. I am loading my menu options from an external XML file. When I hit the test movie button, I can't see anything on stage, but the XML file seems to load successfully. What do you think is wr...more >>

Open PDF on CD
Posted by NicknameAlreadyTaken at 1/8/2006 2:38:14 PM
Hi everyone, I've researched (on these forums): How do I launch a PDF from inside a projector/.exe file that will run off a CD-Rom. I found several examples on how to accomplish this using the fscommand, batch files and AppleScript. My question for you: Is there a single method for doing t...more >>

Different swf Flash player versions in an application
Posted by marcione at 1/8/2006 2:16:07 PM
Help! Im creating an application which the main movie is Flash Player 7, ActionScript 2.0...BUT I call an older swf into my main movie which was created in Flash Player 6, ActionScript 1.0 (a game I previously purchased but still would like to use). It does bring in the movie fine but is n...more >>

Volume...
Posted by Fork of Death at 1/8/2006 2:15:43 PM
Ok, im useing flash player 7 and makeing a 4 song music player. (See it http://i12.photobucket.com/albums/a202/Roachman/music.swf if you want to) I have 2 questions. 1: How would I make 2 buttons that when clicked make the volume go up and down? 2: Make a simple loader screen? ...more >>

Stopping Streaming before complete
Posted by Dudiedood at 1/8/2006 2:14:16 PM
Hi all The loadSound() file will only cache if downloaded completely, and as i don't want to cache the file I was wondering if it would be possible to stop the loadSound at something like 95% ? where is the streaming file stored before it is cached ? Any other solutions welcome. ...more >>

flashmx and mx 2004 difference for combobox...
Posted by nightmare3d at 1/8/2006 2:02:38 PM
when flashmx, i use combobox and that code, (in change handler = fun) function fun() { deger = comboBox.getSelectedItem().data; getURL("lingo:de " + deger); } i send data from flash to director. but now in flash mx 2004, combobox component don't have a "change handler" comma...more >>

Going to a certain frame via a button
Posted by Opacic_A at 1/8/2006 1:37:20 PM
Alright, I used to know how to do this, but once MX2004 came out, I was left out on how to do so. I just want to know how when you press the button, it takes you to a certain frame (like a scene selection for example) Before it was just gotoandplay (framenumber) and it added the other things...more >>

flaw in Actionscript data encasulation with arrays?
Posted by marcorivo at 1/8/2006 9:56:52 AM
I have been programming in Actionscript 2.0 using the class constructs and I have run into something which is kind of curious which I would like to share with you all. It would seem that Actionscript 2.0 has a flaw in handling data encapsulation in dealing with Arrays. Try this: create a cl...more >>

Re: Saving Images
Posted by Brajeshwar at 1/8/2006 7:17:27 AM
Yes...more >>

Blur Filter Error
Posted by MusicianMX at 1/8/2006 6:49:40 AM
Hiya, I've asked everyone I know about this and still no beans so hopefully someone on the macromedia forums knows I'm programming a game and I developed a custom movieclip function called blur: import flash.filters.BlurFilter; MovieClip.prototype.blur = function(xblur:Number, yblur:Numb...more >>

referencing a movie clip with Dynamic instance name?
Posted by Andrew_Roe at 1/8/2006 6:47:27 AM
I am creating an empty movie clip and setting it s instance name using a variable and a string combination. The function below is in a custom class from which I draw a new square on the given movei clip, I have already created the "square_mc" variable when the class object is created: This...more >>

Matching Game
Posted by german01 at 1/8/2006 4:14:33 AM
Hi Everyone: Please help me find a good tutorial on how to make matching or memory games. The script below works when you use copies of the same movie or button. However, I want each button play three sounds, the name of the object, and right/wrong sounds depending on the answer. Plea...more >>

Global Array Within A Function
Posted by AwesomeDigital2 at 1/8/2006 4:13:15 AM
I have a global array that I am setting withing a function. I can trace that there are items in the array inside the function, but my trace after the call to the function shows the array with no items? Any ideas why? Thanks Mathias //create the array _global.flv_array = new Array(); ...more >>

Can I read a text file like with C++?
Posted by dkangelx at 1/8/2006 4:12:50 AM
I have a text file with many lines of text. I want to read in the text file and make each line an element of an array. I've tried to use loadVariables to put the text file into a text box but the text box reaches its maximum about half way through the text file. I would really just love to ...more >>

flashCom?????
Posted by lixang at 1/8/2006 4:06:29 AM
??????flashCom??????????: ???!...more >>

what is flashCom
Posted by lixang at 1/8/2006 3:43:56 AM
is there anyone who can help me! please tell me :what is flashCom?...more >>

attachMovie in an Interval does not work
Posted by Nixy at 1/8/2006 2:03:39 AM
That's weird. If I try to use the attachMovie method inside my function, it works great. If this function is call by a setInterval, the clip does not display, it is undefined! Anybody knows why. ...more >>

Re: Saving Images
Posted by Vertine at 1/8/2006 1:45:48 AM
sounds pretty cool....i am not sure that this is what you are looking for, but my guess is a combo of php and creating a pdf could get you started... the concept sounds very interesting- http://www.php.net/manual/en/ref.pdf.php ...more >>

loading XML from a 'for' loop
Posted by Vertine at 1/8/2006 1:23:05 AM
hey all, i am revisiting this request from last week. I am still having problems getting the contents of my xml file to load in a dynamic html text box. the goal is to reload data from mysql with a php sript that creates an xml file from the database. With that xml, flash will load the XML and...more >>

HELP!!!! THIS IS VERY URGENT!!! I NEED HELP WITH ACTIONSCRIPTING!!!!
Posted by Jonathanhgarciao at 1/8/2006 12:21:11 AM
please refer to my previous post in regards to aligning components in a flash application for FULL details. ...more >>


DevelopmentNow Blog