# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=923

[Latest](https://forum.kirupa.com/latest.md) · [Categories](https://forum.kirupa.com/categories.md)

**Page:** 924

---

## [Cascading particles/stars etc](https://forum.kirupa.com/t/cascading-particles-stars-etc/281591)

<div class="topic-metadata">

**Author:** [@Brisa](https://forum.kirupa.com/u/Brisa)\
**Replies:** 0\
**Last updated:** [February 11, 2009, 1:19am UTC](https://forum.kirupa.com/t/cascading-particles-stars-etc/281591 "2009-02-11T01:19:35Z")

</div>

Hi! I need to get something similar \*\*to this \*\*done in a short period of time, so I don't have much time to play around. Does anyone have a similar code/tutorial or anything that resembles this? thanks

---

## [If/Var Statement Help Please](https://forum.kirupa.com/t/if-var-statement-help-please/281589)

<div class="topic-metadata">

**Author:** [@junta](https://forum.kirupa.com/u/junta)\
**Replies:** 0\
**Last updated:** [February 11, 2009, 1:02am UTC](https://forum.kirupa.com/t/if-var-statement-help-please/281589 "2009-02-11T01:02:47Z")

</div>

I have 10 buttons (button0, button1, button2, etc.) and when you click on one of the buttons I want the corresponding jpg (0.jpg, 1.jpg, 2.jpg, etc.) to load externally into the movie clip "holder" that is on the stage. …

---

## [\[AS2\] Load Multiple Files?](https://forum.kirupa.com/t/as2-load-multiple-files/281588)

<div class="topic-metadata">

**Author:** [@thegrrraue](https://forum.kirupa.com/u/thegrrraue)\
**Replies:** 0\
**Last updated:** [February 11, 2009, 12:59am UTC](https://forum.kirupa.com/t/as2-load-multiple-files/281588 "2009-02-11T00:59:48Z")

</div>

I've got a slideshow that loads multiple jpgs. I'd like to tell the code to start loading all of the images even though they aren't going anywhere yet. This way when the slideshow does call for them, there will be little…

---

## [Animation to not skip until all frames are animated](https://forum.kirupa.com/t/animation-to-not-skip-until-all-frames-are-animated/281587)

<div class="topic-metadata">

**Author:** [@Lawliet](https://forum.kirupa.com/u/Lawliet)\
**Replies:** 0\
**Last updated:** [February 11, 2009, 12:21am UTC](https://forum.kirupa.com/t/animation-to-not-skip-until-all-frames-are-animated/281587 "2009-02-11T00:21:52Z")

</div>

Hello again, I was following this tutorial: http://schoolofflash.com/2008/05/flash-cs3-tutorial-movie-clip-buttons/ To make the buttons feel more smooth, can anyone modify the Actionscript to make it so that the anim…

---

## [Make objects speed up/ slow down](https://forum.kirupa.com/t/make-objects-speed-up-slow-down/281583)

<div class="topic-metadata">

**Author:** [@dtfgator](https://forum.kirupa.com/u/dtfgator)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 11:03pm UTC](https://forum.kirupa.com/t/make-objects-speed-up-slow-down/281583 "2009-02-10T23:03:50Z")

</div>

So I have a shooting game, and I need the bullets I fire to very slightly slow down in mid air. At the start, they will go full speed, but at the end of the screen, they will be going 7/8 of the start speed. If anyo…

---

## [Reading External Files without Counter](https://forum.kirupa.com/t/reading-external-files-without-counter/281582)

<div class="topic-metadata">

**Author:** [@Tsucasa13](https://forum.kirupa.com/u/Tsucasa13)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 10:59pm UTC](https://forum.kirupa.com/t/reading-external-files-without-counter/281582 "2009-02-10T22:59:42Z")

</div>

Okay, so I was just wondering if there is a way to read the names of files from a directory in Actionscript 3 without the use of a counter (which would require the files to be numbered) and without another script such as…

---

## [List component](https://forum.kirupa.com/t/list-component/281579)

<div class="topic-metadata">

**Author:** [@garret](https://forum.kirupa.com/u/garret)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 10:28pm UTC](https://forum.kirupa.com/t/list-component/281579 "2009-02-10T22:28:53Z")

</div>

Hello everyone. I have a list component and I wanted to make a dynamic scroll for the list. Or change the default scroll that the as2 components have. How can I make a dynamic scroll, the ones that it moves with the mous…

---

## [Controling Movie Clip inside of Movie Clip - AS3](https://forum.kirupa.com/t/controling-movie-clip-inside-of-movie-clip-as3/281577)

<div class="topic-metadata">

**Author:** [@dutchoh1](https://forum.kirupa.com/u/dutchoh1)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 10:11pm UTC](https://forum.kirupa.com/t/controling-movie-clip-inside-of-movie-clip-as3/281577 "2009-02-10T22:11:57Z")

</div>

Ok, I was decent at AS2 and now that I am trying to figure out AS3 I am realizing that it is all grown up and I was left in the dust. I am trying to do the most simple thing. I have a movieclip with an instance name…

---

## [How do you make the animation restart?](https://forum.kirupa.com/t/how-do-you-make-the-animation-restart/281576)

<div class="topic-metadata">

**Author:** [@sdendenden](https://forum.kirupa.com/u/sdendenden)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 9:52pm UTC](https://forum.kirupa.com/t/how-do-you-make-the-animation-restart/281576 "2009-02-10T21:52:00Z")

</div>

I want to make a button (text saying "back to menu") make it so that when you click it, it restarts the animation. I tried but it gives me this error: TypeError: Error #1009: Cannot access a property or method of a nu…

---

## [Images and buttons loop](https://forum.kirupa.com/t/images-and-buttons-loop/281575)

<div class="topic-metadata">

**Author:** [@snowbert](https://forum.kirupa.com/u/snowbert)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 9:42pm UTC](https://forum.kirupa.com/t/images-and-buttons-loop/281575 "2009-02-10T21:42:16Z")

</div>

sorry dont know how to delete thread

---

## [Dynamic Variable Name](https://forum.kirupa.com/t/dynamic-variable-name/281574)

<div class="topic-metadata">

**Author:** [@Mister\_B1](https://forum.kirupa.com/u/Mister_B1)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 9:21pm UTC](https://forum.kirupa.com/t/dynamic-variable-name/281574 "2009-02-10T21:21:15Z")

</div>

Suppose I want to dyanamically load 10 jpeg thumbnails. I have given them files names "image0.jpg", "image1.jpg", "image2.jpg", image3.jpg" and so on. Now, I might write out the code to do it ten times, like this: va…

---

## [KeyboardEvent](https://forum.kirupa.com/t/keyboardevent/281573)

<div class="topic-metadata">

**Author:** [@webbhelp](https://forum.kirupa.com/u/webbhelp)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 9:19pm UTC](https://forum.kirupa.com/t/keyboardevent/281573 "2009-02-10T21:19:30Z")

</div>

Hi! I got problem with this code: ob.addEventListener(KeyboardEvent.KEY\_DOWN, kdown); function kdown(evt:KeyboardEvent) { trace('CLEAR'); if(evt.keyCode == Keyboard.LEFT) { ob.x -= 5; } …

---

## [HELP needed with AS2/3 display instances of movie clip in a grid pattern](https://forum.kirupa.com/t/help-needed-with-as2-3-display-instances-of-movie-clip-in-a-grid-pattern/281570)

<div class="topic-metadata">

**Author:** [@JeffS](https://forum.kirupa.com/u/JeffS)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 9:04pm UTC](https://forum.kirupa.com/t/help-needed-with-as2-3-display-instances-of-movie-clip-in-a-grid-pattern/281570 "2009-02-10T21:04:34Z")

</div>

\[COLOR="Blue"\]Also posted in AS1.0/2.0 Forum:puzzled:\[/COLOR\] Hi everyone, this is probably a very simple problem to more experienced users, but I cannot find an answer in previous posts. Maybe I am using the wrong wor…

---

## [Array & addEventListener Drama](https://forum.kirupa.com/t/array-addeventlistener-drama/281569)

<div class="topic-metadata">

**Author:** [@reprovisional](https://forum.kirupa.com/u/reprovisional)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 9:03pm UTC](https://forum.kirupa.com/t/array-addeventlistener-drama/281569 "2009-02-10T21:03:26Z")

</div>

Hi Guys, Noob time in Noobville. I keep getting Error #1006: value is not a function when I run this, but everything I've read about arrays says this code should work. Any awesome advice? import flash.display.Mov…

---

## [Creating a list shouldn't be this hard should it?](https://forum.kirupa.com/t/creating-a-list-shouldnt-be-this-hard-should-it/281568)

<div class="topic-metadata">

**Author:** [@philsbury](https://forum.kirupa.com/u/philsbury)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 9:00pm UTC](https://forum.kirupa.com/t/creating-a-list-shouldnt-be-this-hard-should-it/281568 "2009-02-10T21:00:39Z")

</div>

Hi everyone, I'm trying to create a list of comments from a class. I'm just learning OOP, but I know really I should have a class to deal with db connections etc, but for now I have this class: class comments{ fu…

---

## [AS2/3 display instances of movie clip in a grid pattern](https://forum.kirupa.com/t/as2-3-display-instances-of-movie-clip-in-a-grid-pattern/281566)

<div class="topic-metadata">

**Author:** [@JeffS](https://forum.kirupa.com/u/JeffS)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 8:44pm UTC](https://forum.kirupa.com/t/as2-3-display-instances-of-movie-clip-in-a-grid-pattern/281566 "2009-02-10T20:44:46Z")

</div>

Hi everyone, this is probably a very simple problem to more experienced users, but I cannot find an answer in previous posts. Maybe I am using the wrong words in my search. Anyway here is my request:- I want to load a …

---

## [Access Text Field in external swf](https://forum.kirupa.com/t/access-text-field-in-external-swf/281564)

<div class="topic-metadata">

**Author:** [@evokenz](https://forum.kirupa.com/u/evokenz)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 7:35pm UTC](https://forum.kirupa.com/t/access-text-field-in-external-swf/281564 "2009-02-10T19:35:54Z")

</div>

Hi, I am loading an external swf and need to access the text fields within it. mc.test\_txt.htmlText = "new text here"; Have tried this but get the following error: Error #1010: A term is undefined and has no properties…

---

## [HELP: Problem targeting MovieClips within ScrollPane](https://forum.kirupa.com/t/help-problem-targeting-movieclips-within-scrollpane/281561)

<div class="topic-metadata">

**Author:** [@takach](https://forum.kirupa.com/u/takach)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 6:09pm UTC](https://forum.kirupa.com/t/help-problem-targeting-movieclips-within-scrollpane/281561 "2009-02-10T18:09:25Z")

</div>

Hello, I'm trying to use scroll panes for the first time and I'm having trouble targeting the movieclips inside of the scroll pane. to clarify the set up the whole scrollpane set up is inside of bigger movieclip (mc1) wh…

---

## [How to get a MC to follow another MC](https://forum.kirupa.com/t/how-to-get-a-mc-to-follow-another-mc/281560)

<div class="topic-metadata">

**Author:** [@hoho501](https://forum.kirupa.com/u/hoho501)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 5:45pm UTC](https://forum.kirupa.com/t/how-to-get-a-mc-to-follow-another-mc/281560 "2009-02-10T17:45:24Z")

</div>

heres the file i want the rectangle to follow the ball plz help

---

## [Buttons not responding? - NEW](https://forum.kirupa.com/t/buttons-not-responding-new/281559)

<div class="topic-metadata">

**Author:** [@DH1234](https://forum.kirupa.com/u/DH1234)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 5:39pm UTC](https://forum.kirupa.com/t/buttons-not-responding-new/281559 "2009-02-10T17:39:08Z")

</div>

Hello All, In my main timeline, I have an image fade in and stop on frame 61. On Frame 61, the code below executes; stop(); var placesXML:XML = \<places\> \<place name= "Bengkulu"\> \<frame\>63\</frame\> …

---

## [Internet Explorer Issue](https://forum.kirupa.com/t/internet-explorer-issue/281557)

<div class="topic-metadata">

**Author:** [@shinkdog](https://forum.kirupa.com/u/shinkdog)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 5:30pm UTC](https://forum.kirupa.com/t/internet-explorer-issue/281557 "2009-02-10T17:30:30Z")

</div>

Hi, I have an embedded flash movie that runs an AS function that runs a javascript function on the html page when you push a button. However, it only works in Firefox, Safari and Chrome. Is there a workaround for IE …

---

## [Flash Lightbox Help](https://forum.kirupa.com/t/flash-lightbox-help/281556)

<div class="topic-metadata">

**Author:** [@baddot](https://forum.kirupa.com/u/baddot)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 5:22pm UTC](https://forum.kirupa.com/t/flash-lightbox-help/281556 "2009-02-10T17:22:33Z")

</div>

hi i have successfully made a flash lightbox with a popup but one thing i found out is that when the flash light box is triggered and shown the back of the picture where the flash is being clicked is gone? what happened …

---

## [Using images in navigation (standards compliance)](https://forum.kirupa.com/t/using-images-in-navigation-standards-compliance/281555)

<div class="topic-metadata">

**Author:** [@digitalmatt](https://forum.kirupa.com/u/digitalmatt)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 5:20pm UTC](https://forum.kirupa.com/t/using-images-in-navigation-standards-compliance/281555 "2009-02-10T17:20:48Z")

</div>

So, unfortunately our designers want to use images to maintain font consistency across all browsers. I have no say in this. To be compliant in the past what I've normally done is set the navigation item background-image …

---

## [What would be a good option?](https://forum.kirupa.com/t/what-would-be-a-good-option/281552)

<div class="topic-metadata">

**Author:** [@hema77](https://forum.kirupa.com/u/hema77)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 4:32pm UTC](https://forum.kirupa.com/t/what-would-be-a-good-option/281552 "2009-02-10T16:32:08Z")

</div>

There is a client who wants music in her website with two options... well, that's no prob. However, one of the sections has various videos. Obviously, both music and the audio of the videos clash. What could I suggest …

---

## [Does VMWare cause flash to run slow](https://forum.kirupa.com/t/does-vmware-cause-flash-to-run-slow/281549)

<div class="topic-metadata">

**Author:** [@DjPizat](https://forum.kirupa.com/u/DjPizat)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 3:54pm UTC](https://forum.kirupa.com/t/does-vmware-cause-flash-to-run-slow/281549 "2009-02-10T15:54:40Z")

</div>

Hey all, I am testing a swf on my MAC Intel 2.6ghz duo-core with Firefox and am averaging 20 - 25 FPS. When i test the same swf on Firefox via VMware running Windows XP it is averaging 10 - 15 FPS. Does anyone know if it…

---

## [Making apps that interact with a server?](https://forum.kirupa.com/t/making-apps-that-interact-with-a-server/281545)

<div class="topic-metadata">

**Author:** [@oldmanwinter](https://forum.kirupa.com/u/oldmanwinter)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 3:00pm UTC](https://forum.kirupa.com/t/making-apps-that-interact-with-a-server/281545 "2009-02-10T15:00:16Z")

</div>

I'm interested in learning how to make flash apps that can send and recieve data to a server, but I know virtually nothing about networking and I want to change that. Whats a good place to start? My goal at the moment …

---

## [\[AS2\]\[CS3\]Setting Depth before attachMovie](https://forum.kirupa.com/t/as2-cs3-setting-depth-before-attachmovie/281541)

<div class="topic-metadata">

**Author:** [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 2:09pm UTC](https://forum.kirupa.com/t/as2-cs3-setting-depth-before-attachmovie/281541 "2009-02-10T14:09:58Z")

</div>

EXPLANATION: So I am loading everything in my game primarily with attachMovie(); and assigning them specific depths, and all has been going fine until now. I made a "fade" movieclip so I can fade in levels/menus/etc …

---

## [Transitions between external swfs tutorial](https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial/281539)

<div class="topic-metadata">

**Author:** [@whizzz](https://forum.kirupa.com/u/whizzz)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 1:50pm UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial/281539 "2009-02-10T13:50:08Z")

</div>

Hi, I love this site, have learnt a lot from here. Have come across a tutorial - transitions between external swfs by Voetsjoeba. This is in AS1 and MX 2004. The AS on the main buttons is something like this- on (rele…

---

## [HTML in an XML Attribute?](https://forum.kirupa.com/t/html-in-an-xml-attribute/281537)

<div class="topic-metadata">

**Author:** [@Angelcrazy](https://forum.kirupa.com/u/Angelcrazy)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 12:33pm UTC](https://forum.kirupa.com/t/html-in-an-xml-attribute/281537 "2009-02-10T12:33:55Z")

</div>

Hi, I am bringing into a AS3 flash swf an xml with a list of images then dynamically finding each attribute it has and he value. Now to save coding im just trying to fill a dynamic text box with one of the values, but I …

---

## [Obtaing a Database Connection object from Servlet Context](https://forum.kirupa.com/t/obtaing-a-database-connection-object-from-servlet-context/281533)

<div class="topic-metadata">

**Author:** [@Limping\_Twerp](https://forum.kirupa.com/u/Limping_Twerp)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 12:22pm UTC](https://forum.kirupa.com/t/obtaing-a-database-connection-object-from-servlet-context/281533 "2009-02-10T12:22:39Z")

</div>

Hi Guys'n'Gals, i asked myself: Is there a possibility for AS3 to obtain data from a ServletContext? For example i would like to create a database connection as an attribute of the ServletContext, and be able to access…

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=922)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=924)
