# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=120

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

**Page:** 121

---

## [Question Regarding Incude, If Statements & Run-time Processing](https://forum.kirupa.com/t/question-regarding-incude-if-statements-run-time-processing/324886)

<div class="topic-metadata">

**Author:** [@selacius](https://forum.kirupa.com/u/selacius)\
**Replies:** 0\
**Last updated:** [September 14, 2011, 2:00am UTC](https://forum.kirupa.com/t/question-regarding-incude-if-statements-run-time-processing/324886 "2011-09-14T02:00:30Z")

</div>

I am trying to create a conversation system between the player and NPCs for my RPG flash game I am making. For some non-quest NPCs the dialog they have will be processed within the map XML structure. However, for quest-r…

---

## [Code for Prompting to Intsall ActiveX?](https://forum.kirupa.com/t/code-for-prompting-to-intsall-activex/324884)

<div class="topic-metadata">

**Author:** [@YoungNastyMan](https://forum.kirupa.com/u/YoungNastyMan)\
**Replies:** 0\
**Last updated:** [September 13, 2011, 8:11pm UTC](https://forum.kirupa.com/t/code-for-prompting-to-intsall-activex/324884 "2011-09-13T20:11:13Z")

</div>

Hello everybody. I have a flash site that I maintain very casually (just a hobby). But recently, after a fresh install of Windows on my laptop, I went to my site in IE and nothing would happen - it was just a blank, wh…

---

## [Filtering combobox](https://forum.kirupa.com/t/filtering-combobox/324875)

<div class="topic-metadata">

**Author:** [@neatgadgets](https://forum.kirupa.com/u/neatgadgets)\
**Replies:** 0\
**Last updated:** [September 13, 2011, 2:25am UTC](https://forum.kirupa.com/t/filtering-combobox/324875 "2011-09-13T02:25:52Z")

</div>

I want to have a combobox that as you type it changes the contents of the list in the dropdown. I can do this but what I can;t seem to figure out is how to see the list as you type. So if you click in the combobox, …

---

## [OOp help](https://forum.kirupa.com/t/oop-help/324872)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 9:28pm UTC](https://forum.kirupa.com/t/oop-help/324872 "2011-09-12T21:28:20Z")

</div>

Hiya.. Im trying out some basic OOP.. and cannot understand where I am going wrong. It works within the timeline - but when I transfer to Packages It doesnt work where concerning the property of the bitmap. I have a 'MyC…

---

## [Need help with wall collision to stop player from moving through](https://forum.kirupa.com/t/need-help-with-wall-collision-to-stop-player-from-moving-through/324871)

<div class="topic-metadata">

**Author:** [@humbuged](https://forum.kirupa.com/u/humbuged)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 9:25pm UTC](https://forum.kirupa.com/t/need-help-with-wall-collision-to-stop-player-from-moving-through/324871 "2011-09-12T21:25:45Z")

</div>

\[FONT=arial\]\[COLOR=#222222\]Hello \[smile\] I'm making a simple test game to learn AS3. I've started with learning the codes for keyboard press movements. Then when I got to the wall collision, I'm stumped. The trace output…

---

## [Saving machine memory](https://forum.kirupa.com/t/saving-machine-memory/324870)

<div class="topic-metadata">

**Author:** [@zeeto](https://forum.kirupa.com/u/zeeto)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 8:52pm UTC](https://forum.kirupa.com/t/saving-machine-memory/324870 "2011-09-12T20:52:40Z")

</div>

Hi, Is it 'elegant' solution for a website which displays loads of images, to save users waiting time and preload images one by one, always to the same object (so the machines memory won't fill up) and then on request…

---

## [Send a handfull of dynamic vars with dynamically named buttons. How?](https://forum.kirupa.com/t/send-a-handfull-of-dynamic-vars-with-dynamically-named-buttons-how/324866)

<div class="topic-metadata">

**Author:** [@FlawlessDog](https://forum.kirupa.com/u/FlawlessDog)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 6:17pm UTC](https://forum.kirupa.com/t/send-a-handfull-of-dynamic-vars-with-dynamically-named-buttons-how/324866 "2011-09-12T18:17:54Z")

</div>

Hi, I have a function that creates a group of dynamically created MC's Within each MC, there is a group of dynamically created buttons. I got that bit to work fine. Now what I need is to send a handful of var strings a…

---

## [Physical Collision](https://forum.kirupa.com/t/physical-collision/324865)

<div class="topic-metadata">

**Author:** [@Piruka](https://forum.kirupa.com/u/Piruka)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 5:52pm UTC](https://forum.kirupa.com/t/physical-collision/324865 "2011-09-12T17:52:36Z")

</div>

Hi I need make a colission in AS3, i'm using hitTest in a movieclip(cube\_mc) and when this movieclip beat in the other movieclip(cube2\_mc), cube2\_mc must to move, like in a collision. Here's my example code: impor…

---

## [Finding Num of Children](https://forum.kirupa.com/t/finding-num-of-children/324864)

<div class="topic-metadata">

**Author:** [@Raabi](https://forum.kirupa.com/u/Raabi)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 5:36pm UTC](https://forum.kirupa.com/t/finding-num-of-children/324864 "2011-09-12T17:36:58Z")

</div>

Hello! I am always confused how to find the Num of Children in a particular case, as below. I am trying to figure out how many birds are there at a particular time, so that I may control their growth. var timer: Ti…

---

## [Bug Won't Occur In Debug Mode](https://forum.kirupa.com/t/bug-wont-occur-in-debug-mode/324863)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 5:34pm UTC](https://forum.kirupa.com/t/bug-wont-occur-in-debug-mode/324863 "2011-09-12T17:34:04Z")

</div>

Hey Guys, When I play my swf regularly(ctrl + enter) as soon as I start and hit my thrust button, off my ship goes as if i'm holding the thrust button down and the traces don't start for a second or so,and no other contr…

---

## [Comparing an Object's type, by only knowing the class name](https://forum.kirupa.com/t/comparing-an-objects-type-by-only-knowing-the-class-name/324859)

<div class="topic-metadata">

**Author:** [@RedGiant](https://forum.kirupa.com/u/RedGiant)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 4:27pm UTC](https://forum.kirupa.com/t/comparing-an-objects-type-by-only-knowing-the-class-name/324859 "2011-09-12T16:27:55Z")

</div>

I am trying to find an object in the display list. All that is known, is the name of the class. I recursively iterate through every child in the display list to find my object's instance, and unfortunately everything …

---

## [(HELP) Actionscript 2.0 to 3.0](https://forum.kirupa.com/t/help-actionscript-2-0-to-3-0/324858)

<div class="topic-metadata">

**Author:** [@pgs](https://forum.kirupa.com/u/pgs)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 3:37pm UTC](https://forum.kirupa.com/t/help-actionscript-2-0-to-3-0/324858 "2011-09-12T15:37:14Z")

</div>

Please, can somebody give me the right code in 3.0 for these 2 codes? Thank you. stop (); var location\_so:SharedObject; if (selectedItem == null) { Selection.setFocus(groups\_btn); } else { Selection.setFocus (select…

---

## [Any ideeas?](https://forum.kirupa.com/t/any-ideeas/324854)

<div class="topic-metadata">

**Author:** [@CasH87](https://forum.kirupa.com/u/CasH87)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 12:16pm UTC](https://forum.kirupa.com/t/any-ideeas/324854 "2011-09-12T12:16:35Z")

</div>

Hi everyone! I've been working on a project and the client needs something similar to this: http://www.adidas.com/com/homepage.asp Does any of you have any ideea on how that could be made? I've tried collision detect…

---

## [\[FLASH CS3 AS2\] Help working with the checkbox component please](https://forum.kirupa.com/t/flash-cs3-as2-help-working-with-the-checkbox-component-please/324852)

<div class="topic-metadata">

**Author:** [@purplekedi](https://forum.kirupa.com/u/purplekedi)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 11:25am UTC](https://forum.kirupa.com/t/flash-cs3-as2-help-working-with-the-checkbox-component-please/324852 "2011-09-12T11:25:32Z")

</div>

Help me please dear fellow members for I'm this close to be admitted into an asylum! (You don't see it but there's very little space between my thumb and index finger when I'm saying "this") I'm very much a beginner w…

---

## [Tutorial: Parallax](https://forum.kirupa.com/t/tutorial-parallax/324849)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 8:10am UTC](https://forum.kirupa.com/t/tutorial-parallax/324849 "2011-09-12T08:10:21Z")

</div>

Hi everyone, This is the place to discuss all things related to the Parallax tutorial. Feel free to jump on in if you have any questions. Cheers, Kirupa :megaman:

---

## [Lights and Silhouettes](https://forum.kirupa.com/t/lights-and-silhouettes/324848)

<div class="topic-metadata">

**Author:** [@jhawks](https://forum.kirupa.com/u/jhawks)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 7:58am UTC](https://forum.kirupa.com/t/lights-and-silhouettes/324848 "2011-09-12T07:58:03Z")

</div>

Hi all, I hope I'm posting this in the right section. First of all, I have Macromedia Flash CS3 and most likely be using ActionScript 2.0. Here's the situation. Imagine a room with an object patrolling left and right…

---

## [How to center movieclip and keep aspect ratio on resize?](https://forum.kirupa.com/t/how-to-center-movieclip-and-keep-aspect-ratio-on-resize/324847)

<div class="topic-metadata">

**Author:** [@runeer](https://forum.kirupa.com/u/runeer)\
**Replies:** 0\
**Last updated:** [September 12, 2011, 5:54am UTC](https://forum.kirupa.com/t/how-to-center-movieclip-and-keep-aspect-ratio-on-resize/324847 "2011-09-12T05:54:18Z")

</div>

Hello everyone, How can I achieve the dynamic effect (centering MC and keeping it's aspect ratio on resizing browser window) like CTN Green Magazine http://ctngreen.com/2009/jun/ in flash with AS2 ?? This could have be…

---

## [Drawing api glitch? Help?](https://forum.kirupa.com/t/drawing-api-glitch-help/324841)

<div class="topic-metadata">

**Author:** [@Richeh](https://forum.kirupa.com/u/Richeh)\
**Replies:** 0\
**Last updated:** [September 11, 2011, 11:27pm UTC](https://forum.kirupa.com/t/drawing-api-glitch-help/324841 "2011-09-11T23:27:55Z")

</div>

I created some visual effects with the drawing api and SoundMixer.computeSpectrum(), It all looks great when I test locally, but when I upload it to my host, the effects don't show up. I'v tried everything I can think …

---

## [Mouse Movement without Stage?](https://forum.kirupa.com/t/mouse-movement-without-stage/324839)

<div class="topic-metadata">

**Author:** [@TAJArtist](https://forum.kirupa.com/u/TAJArtist)\
**Replies:** 0\
**Last updated:** [September 11, 2011, 10:30pm UTC](https://forum.kirupa.com/t/mouse-movement-without-stage/324839 "2011-09-11T22:30:25Z")

</div>

Hey all, I've posted once before in relation to this topic hoping to find an alternative to the coveted MouseX and MouseY. I was attempting to build my first flash site when I ran into this problem with a SWF becoming th…

---

## [AS3 button firing off multiple times on quick press only](https://forum.kirupa.com/t/as3-button-firing-off-multiple-times-on-quick-press-only/324838)

<div class="topic-metadata">

**Author:** [@somdow](https://forum.kirupa.com/u/somdow)\
**Replies:** 0\
**Last updated:** [September 11, 2011, 10:10pm UTC](https://forum.kirupa.com/t/as3-button-firing-off-multiple-times-on-quick-press-only/324838 "2011-09-11T22:10:34Z")

</div>

ok so, i wrote this code: function btn4Loaded(e:Event):void { //-- START btn4Loaded if (e.target == load1 || e.target == load2) { myLoadedSwf.gotoAndPlay("outro"); removeChild(myLoaded…

---

## [I need a favor](https://forum.kirupa.com/t/i-need-a-favor/324837)

<div class="topic-metadata">

**Author:** [@BLKelsey](https://forum.kirupa.com/u/BLKelsey)\
**Replies:** 0\
**Last updated:** [September 11, 2011, 8:56pm UTC](https://forum.kirupa.com/t/i-need-a-favor/324837 "2011-09-11T20:56:35Z")

</div>

Can anyone please go to http://webspace.westwood.edu/student/briankelsey/week6/Bkjukebox.html and see if you can hear any songs...especially the last one. There are only 3 songs. Let me know how you made out. Thanks…

---

## [Play animation (movie clip) randomly](https://forum.kirupa.com/t/play-animation-movie-clip-randomly/324834)

<div class="topic-metadata">

**Author:** [@alastickman](https://forum.kirupa.com/u/alastickman)\
**Replies:** 0\
**Last updated:** [September 11, 2011, 4:40pm UTC](https://forum.kirupa.com/t/play-animation-movie-clip-randomly/324834 "2011-09-11T16:40:29Z")

</div>

hello, I am creating a game and I want that when the enemies started to attack me, I want it to plays random animation thank you

---

## [Actionscript 2.0 to 3.0](https://forum.kirupa.com/t/actionscript-2-0-to-3-0/324832)

<div class="topic-metadata">

**Author:** [@pgs](https://forum.kirupa.com/u/pgs)\
**Replies:** 0\
**Last updated:** [September 11, 2011, 1:56pm UTC](https://forum.kirupa.com/t/actionscript-2-0-to-3-0/324832 "2011-09-11T13:56:12Z")

</div>

Please, can somebody give me the right code in 3.0 for these 2 codes? Thank you. stop (); var location\_so:SharedObject; if (selectedItem == null) { Selection.setFocus(groups\_btn); } else { Selection.setFocus (select…

---

## [Seems to be warning, but not error](https://forum.kirupa.com/t/seems-to-be-warning-but-not-error/324830)

<div class="topic-metadata">

**Author:** [@felastine](https://forum.kirupa.com/u/felastine)\
**Replies:** 0\
**Last updated:** [September 11, 2011, 2:36am UTC](https://forum.kirupa.com/t/seems-to-be-warning-but-not-error/324830 "2011-09-11T02:36:36Z")

</div>

Hi I'm trying to draw rectangles with code. public var panel:Shape; public function MenuPanel(iS:Boolean,xPos:Number,yPos:Number,w:Number, h:Number, cArray:Array) { panel = new Shape(); …

---

## [Volume slides but no volume change?](https://forum.kirupa.com/t/volume-slides-but-no-volume-change/324828)

<div class="topic-metadata">

**Author:** [@BLKelsey](https://forum.kirupa.com/u/BLKelsey)\
**Replies:** 0\
**Last updated:** [September 10, 2011, 9:57pm UTC](https://forum.kirupa.com/t/volume-slides-but-no-volume-change/324828 "2011-09-10T21:57:17Z")

</div>

Howdy doo! Having a slight problem with my volume slider. Can't figure out what it is. I converted the slider bar and slider button to buttons. Then, I made the slider button into a movie clip. Here is the code I pla…

---

## [Is there a way to move a clip when it is hit by another clip](https://forum.kirupa.com/t/is-there-a-way-to-move-a-clip-when-it-is-hit-by-another-clip/324825)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [September 10, 2011, 8:10pm UTC](https://forum.kirupa.com/t/is-there-a-way-to-move-a-clip-when-it-is-hit-by-another-clip/324825 "2011-09-10T20:10:09Z")

</div>

Hi, I have 2 movie clips (Clip1\_mc & Clip2\_mc). When Clip1\_mc hits the Clip2\_mc then Clip2\_mc should move to (x:-200, y:-200). What is the code? Please. I am using AS3. Thanks in advance.

---

## [SWF to Fill Scaling Div Tag](https://forum.kirupa.com/t/swf-to-fill-scaling-div-tag/324822)

<div class="topic-metadata">

**Author:** [@e\_owen](https://forum.kirupa.com/u/e_owen)\
**Replies:** 0\
**Last updated:** [September 10, 2011, 11:39am UTC](https://forum.kirupa.com/t/swf-to-fill-scaling-div-tag/324822 "2011-09-10T11:39:45Z")

</div>

Hello. I have a two column web page, the left column (nav) being a fixed width (200px) navigation column and the right column (content) scales to fill to the remaning width of the browser window. I want to embed a SWF at…

---

## [URLLoader, response with swedish letters (åäö)](https://forum.kirupa.com/t/urlloader-response-with-swedish-letters-aao/324820)

<div class="topic-metadata">

**Author:** [@VoSSer](https://forum.kirupa.com/u/VoSSer)\
**Replies:** 0\
**Last updated:** [September 10, 2011, 10:24am UTC](https://forum.kirupa.com/t/urlloader-response-with-swedish-letters-aao/324820 "2011-09-10T10:24:21Z")

</div>

Hey! I'm trying to read data from a webservice that returns an XML response. I am using the following code for that: private function NewWordRequest(Letters:String, Contains:String, BeginsWith:String, EndsWith:Strin…

---

## [Button: Will this ever work in AS3.0](https://forum.kirupa.com/t/button-will-this-ever-work-in-as3-0/324819)

<div class="topic-metadata">

**Author:** [@felastine](https://forum.kirupa.com/u/felastine)\
**Replies:** 0\
**Last updated:** [September 10, 2011, 10:12am UTC](https://forum.kirupa.com/t/button-will-this-ever-work-in-as3-0/324819 "2011-09-10T10:12:44Z")

</div>

Hi there I'm new to AS3.0. I know Java and some C++ so I think I can handle OOP good enough. But Flash is just something different. Some years ago, in AS2.0, I created a simple button (think of that as a SimpleButton…

---

## [Tracking words in an input txt box](https://forum.kirupa.com/t/tracking-words-in-an-input-txt-box/324818)

<div class="topic-metadata">

**Author:** [@silverneo188](https://forum.kirupa.com/u/silverneo188)\
**Replies:** 0\
**Last updated:** [September 10, 2011, 8:56am UTC](https://forum.kirupa.com/t/tracking-words-in-an-input-txt-box/324818 "2011-09-10T08:56:46Z")

</div>

Ok so basically my problem is I have an input box and I want it to track if anywhere in the text box a certain word is typed then something happens. Here is what I got so far. wordTracker = new Object(); wordTracker =…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=119)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=121)
