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 2005 > threads for sunday april 3

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

textfield array
Posted by tpolson at 4/3/2005 11:40:11 PM
is it possible to create an array of text fields that can be accessed by an index? i'm looking for something like the control array in VB. any ehlp would be greatly appreciated. ...more >>


how to make something move
Posted by kotsoft at 4/3/2005 11:37:21 PM
well, i'm pretty new to flash, and recently i've been trying to do some object-oriented programming. however, i noticed that for my programs, the picture isn't updated. for example, when i do the built in loading bar, it just stays at 0%. my object doesn't move when i do on (keyPress "<Lef...more >>

two different _rotations?
Posted by lreadl at 4/3/2005 11:29:03 PM
I created a new flash document, then created a new symbol with the identifier 'arrow', which is simply a MovieClip containing one frame with a picture of an arrow pointing to the right. Then I entered the following ActionScript in the first frame of the new flash document: var arrow1:MovieCl...more >>

loading an external movie and targetting a certain frame
Posted by pptdgc at 4/3/2005 11:16:00 PM
I have craeted a button that loads an external movie. The action script is... on(release){ loadMovie("externalmovie.swf",this); } How would I change this script so that when the movie loads it doesn't load the first frame, but a later frame such as frame 10. Thanks ...more >>

Can't find #include files
Posted by allan_h at 4/3/2005 9:01:57 PM
My problem started after I upgraded from Win2000 to XP, with Flash MX 2004. I reinstalled the Flash Remoting classes from the latest download onto my work machine, but my Flash program can't find them. My movie code begins with: #include 'NetServices.as' #include 'NetDebug.as' This leads to...more >>

HitTest
Posted by davidprovost at 4/3/2005 9:01:12 PM
How would I get a mc to stop when it hits another mc? Say theres a car, and a wall, and if the car hits the wall to car would bounce back a little bit?...more >>

kGlad
Posted by davidprovost at 4/3/2005 8:31:57 PM
Hey kGlad, I gotta question... I asked u earlier about adding psychics to acceleration and what u told me works perfectly, but how would I add psyhics to the rotatin part to, and how would I make it so that the car cant rotate unless its moving? degtoRad = Math.PI/180; speed = 0; maxSpeed = 2...more >>

input text as a variable for dynamic text boxes
Posted by chicken king at 4/3/2005 8:29:18 PM
hey all... here is what i am trying to do: in frame i want a series of input text boxes each to be declared as a variable [say line1, line2, line3, etc] then i what to set a goto command to goto frame 2 in which there are a series of dynamic text boxes [say t1, t2, t3, etc] what i would lik...more >>



Child .swf talking to parent .swf
Posted by Al B. at 4/3/2005 7:58:11 PM
I have a .swf (A) inside another .swf (B). At a point along B's timeline I need him to 'show' a movie Clip in A. If anyone can help me with a code snippet I'd be grateful. Thanks, Al...more >>

Acceleration Psychics
Posted by davidprovost at 4/3/2005 7:44:35 PM
degtoRad = Math.PI/180; speed = 20; moveI = setInterval(moveF, 40, rocketMC); function moveF(mc) { if (Key.isDown(Key.LEFT)) { car_mc._rotation -= 5; } if (Key.isDown(Key.RIGHT)) { car_mc._rotation += 5; } if (Key.isDown(Key.UP)) { car_mc._x += speed*Math.cos(degtoRad*car_mc._rota...more >>

Can I use !NOT with (Key.isDown(Key.LEFT)))
Posted by Zambino at 4/3/2005 6:54:41 PM
Hi, I have a character that I want to make jump for the following conditions: Key left and Space bar pressed >> allows to move left and jump Key right and Space bar pressed >> allows to move right and jump Space bar >> jump straight up (vertical only) Note the character is an instance tb...more >>

Errorneous MovieClip's rotation property
Posted by wieniecomponents at 4/3/2005 6:48:16 PM
Hi, I wanted to know the current rotation of a mc, whose direction is changinf frequently. So, I created a textfield (say, statTxt) to display the current rotation of the mc. I rotate the mc using: rotateMc = function(direction:Number, incr:Number) { // direction is l...more >>

Javascript issue
Posted by Chris J at 4/3/2005 6:21:36 PM
I went to: http://www.moock.org/webdesign/flash/launchwindow/launchwindow-javascript.html to try to get a window to open with parameters. I put this on a button: on (release) { getURL("javascript:launchwin('myPage.htm' , 'newwindow' , 'height=150,width=200')"); } I put this on the myP...more >>

Map Making
Posted by ThePeasantKing at 4/3/2005 5:43:10 PM
I had a question with the making of a map. If the whole map is on one frame and if you want to make the character move directions i was told to move the map close to the direction the character is moving. Well, that makes no since to me. Is there actionscript involved and if there is what woul...more >>

Buttons
Posted by Gregory Patmore at 4/3/2005 4:54:10 PM
I created a button, and made a nice fade in on the over state of the instance, but i cant figure out how to handle the fade back out. It just clunkily reverts to original state, or the out movie will play when the swf loads. For the sake of my computers monitor(because im gonna chuck it out ...more >>

accesing object array
Posted by shellshock at 4/3/2005 4:05:17 PM
below is two code blocks with notes about what I'm trying to do is this even possible? var a:Object = new Object(); var b:String = "x"; var c:String = "y"; //this one works a[b] = "this equals a.x"; trace(a.x); //how can I make this one work with the same meathod /*syntax tha...more >>

Special character imported from a database
Posted by afroma_n at 4/3/2005 3:04:28 PM
Hi! I'm having trouble importing some text from a database to flash. The text is in spanish, and in this language, we have some special characters like ?,?,?,? and ?. When I import that text, it appears with a different symbol (?). I need that flash imports the text just the way it is in the...more >>

how to stop a movie
Posted by aquarian911 at 4/3/2005 10:00:41 AM
i have made a simple ticker, where evrything is on level one, i mean everything on the _root. / base( don't know what to call it) i have a 2 dynamic textboxes, which handle my text, all this is reintialised when it reaches the end, so when it starts over, a new news item is presented i nee...more >>

need help on jigsaw snapping
Posted by maine_ho at 4/3/2005 8:06:14 AM
i had found the "snap actionscript" but i don't quite understand where the values come from.. could someone briefly explain it to me..thx function Snap(whichPiece) { if (whichPiece._x>40 && whichPiece._x<320 && whichPiece._y>40 && whichPiece._y<320) { var xSna...more >>

loadMovie container and _visible property
Posted by rabbit_fufu at 4/3/2005 7:43:36 AM
Hi all, I must be overlooking something, but I have no idea what. Hoping someone can help me. I want to load a movie into movieclip, and have the visibility of the clip sent to none, until I need it later on. So, here's what my code looks like... createEmptyMovieClip('container', 1); conta...more >>

calling multi mc's to perform same script
Posted by Vee at 4/3/2005 5:11:12 AM
Instead of listing every instance name and identical script ( such as stop(); ) a bunch of times I was wondering if there is a way concenate the instance names and write the script just once. There has to be a cleaner way to do this than wrting it over and over except im not sure how. ...more >>

css - flash font usuage question
Posted by kf_w-l-media at 4/3/2005 4:56:50 AM
Looking for some insight on how to do this... I pre-loaded fonts through dummy text box_mc and using a dynamic text box thats formatted by css for my content display in the flashplayer now in the css how do I set the style to use the fonts that flash has loaded .. i tried just putting the fon...more >>

Mouse Over frame change?
Posted by markersniffer21 at 4/3/2005 3:33:57 AM
Is it possible to change the current frame, for example, a go to and stop command once you place your mouse over the button. What I am trying to do is to get display an image and some text at the bottom of the flash stage once the mouse goes over a button which will transfer you to another fra...more >>

Execute Program from sub-directory
Posted by BSMWeb at 4/3/2005 2:11:15 AM
I need a way to start several programs from the Flash windows projector. I am writing a CD autoplay frontend and the user picks which programs to install. Each program has a setup directory on the CD. With Flash MX, you can appearantly only run a program from the fscommand directory directl...more >>


DevelopmentNow Blog