# flash

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

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

**Page:** 749

---

## [\[AS3\] Keyboard Listener - Detecting Capital Letter](https://forum.kirupa.com/t/as3-keyboard-listener-detecting-capital-letter/278669)

<div class="topic-metadata">

**Author:** [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 11:44am UTC](https://forum.kirupa.com/t/as3-keyboard-listener-detecting-capital-letter/278669 "2009-01-03T11:44:45Z")

</div>

hi guys, I want to find out how to get capital letter keyCode The code below returns the ascii number of the keys located on the keyboard. But those are uppercase case. How about lower case? Example: when i press/hi…

---

## [AS3: Easing On Mouse Click](https://forum.kirupa.com/t/as3-easing-on-mouse-click/278664)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 9:10am UTC](https://forum.kirupa.com/t/as3-easing-on-mouse-click/278664 "2009-01-03T09:10:24Z")

</div>

Hello, I was scanning through some of the useful tutorials when I stumbled upon the tutorial for easing on mouse click. It looked cool and I wanted to to learn it. But it's in As2...bummer. So I attempted to translat…

---

## [Help with conditionals AS2](https://forum.kirupa.com/t/help-with-conditionals-as2/278663)

<div class="topic-metadata">

**Author:** [@wmsrite](https://forum.kirupa.com/u/wmsrite)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 8:08am UTC](https://forum.kirupa.com/t/help-with-conditionals-as2/278663 "2009-01-03T08:08:08Z")

</div>

I'm trying to limit the range with which a movieclip can be moved on the stage using the mc\_name.y = mcname.\_y + 10. I'm thinking of using a if/else statement but I can't figure out the proper way to write the code. I…

---

## [Custom Class for grouping evenlistners?](https://forum.kirupa.com/t/custom-class-for-grouping-evenlistners/278662)

<div class="topic-metadata">

**Author:** [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 8:02am UTC](https://forum.kirupa.com/t/custom-class-for-grouping-evenlistners/278662 "2009-01-03T08:02:21Z")

</div>

Hi I need a custom class so I can set all the event listeners for my menu in one line. something like this aboutBut, whoBut, findusBut, contactBut (addEventListener(MouseEvent.ROLL\_OVER, menuOver)); anyone found on…

---

## [Help needed on making a TweenMax slideshow](https://forum.kirupa.com/t/help-needed-on-making-a-tweenmax-slideshow/278661)

<div class="topic-metadata">

**Author:** [@daniellim](https://forum.kirupa.com/u/daniellim)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 7:40am UTC](https://forum.kirupa.com/t/help-needed-on-making-a-tweenmax-slideshow/278661 "2009-01-03T07:40:37Z")

</div>

I wanna create a slideshow like: http://www.htc.com/www/product.aspx Where each product slide off the page and came in another with a next and previous button But I am stuck with this actionscript 3.0: stop() imp…

---

## [\[AS3\] Looping array is string instead of number?](https://forum.kirupa.com/t/as3-looping-array-is-string-instead-of-number/278657)

<div class="topic-metadata">

**Author:** [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 6:48am UTC](https://forum.kirupa.com/t/as3-looping-array-is-string-instead-of-number/278657 "2009-01-03T06:48:05Z")

</div>

Below is a sample code. I could not figure out why i is string and not Number/int. //The code below does not work var numArray:Array = \[1,2,3,4\]; for(var i:int in numArray){ trace(i); trace(numArray\*); } //The…

---

## [Array problems within loop](https://forum.kirupa.com/t/array-problems-within-loop/278654)

<div class="topic-metadata">

**Author:** [@shedmore](https://forum.kirupa.com/u/shedmore)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 6:25am UTC](https://forum.kirupa.com/t/array-problems-within-loop/278654 "2009-01-03T06:25:18Z")

</div>

Hey everyone, so heres the deal...I am trying to loop through some xml docs to store their nodes in an array. For some reason the loop I have built calls the functions but skips the first set within the loop...it might m…

---

## [I need help rewriting "if" statement](https://forum.kirupa.com/t/i-need-help-rewriting-if-statement/278653)

<div class="topic-metadata">

**Author:** [@SteelCity](https://forum.kirupa.com/u/SteelCity)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 5:04am UTC](https://forum.kirupa.com/t/i-need-help-rewriting-if-statement/278653 "2009-01-03T05:04:21Z")

</div>

The following coding works fine when the Child is present on the stage. However there are times when the Child is not on the stage. Under those circumstances when then function is called I get this error. \[COLOR=red\]A…

---

## [Going back from loaded swf](https://forum.kirupa.com/t/going-back-from-loaded-swf/278647)

<div class="topic-metadata">

**Author:** [@allex36](https://forum.kirupa.com/u/allex36)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 2:42am UTC](https://forum.kirupa.com/t/going-back-from-loaded-swf/278647 "2009-01-03T02:42:35Z")

</div>

Hi , i posted something earlier but it looks like my post was too complex and long so i made a second version of it using shorter example: I have a loaded .swf menu. This menu is loaded in my Main file on the first fra…

---

## [Camera.getCamera end?](https://forum.kirupa.com/t/camera-getcamera-end/278645)

<div class="topic-metadata">

**Author:** [@dColumbus](https://forum.kirupa.com/u/dColumbus)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 1:11am UTC](https://forum.kirupa.com/t/camera-getcamera-end/278645 "2009-01-03T01:11:43Z")

</div>

How do I stop the webcam from being on? Once getCamera() is invoked and attacked to a video object, how do you remove or stop the webcam later on?

---

## [Turning On/Off The Hand Cursor](https://forum.kirupa.com/t/turning-on-off-the-hand-cursor/278643)

<div class="topic-metadata">

**Author:** [@BirdInTheCity](https://forum.kirupa.com/u/BirdInTheCity)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 12:35am UTC](https://forum.kirupa.com/t/turning-on-off-the-hand-cursor/278643 "2009-01-03T00:35:17Z")

</div>

So, I learned that to turn off the hand cursor you use this code: mc.buttonMode = false; mc.useHandCursor = false; My problem is this: Whenever I turn off the hand cursor using the above code, I have to move the mo…

---

## [Dynamic Text, external sources](https://forum.kirupa.com/t/dynamic-text-external-sources/278642)

<div class="topic-metadata">

**Author:** [@dstx](https://forum.kirupa.com/u/dstx)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 12:29am UTC](https://forum.kirupa.com/t/dynamic-text-external-sources/278642 "2009-01-03T00:29:11Z")

</div>

I'm trying to follow the following tutorials but need help getting dynamic text to work. http://www.kirupa.com/developer/mx/dynamic\_scroller.htm http://www.kirupa.com/developer/mx/multiple\_dynamictext.htm In Flash 8, I…

---

## [as3 Tweening Head-scratcher](https://forum.kirupa.com/t/as3-tweening-head-scratcher/278640)

<div class="topic-metadata">

**Author:** [@JTF2](https://forum.kirupa.com/u/JTF2)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 12:13am UTC](https://forum.kirupa.com/t/as3-tweening-head-scratcher/278640 "2009-01-03T00:13:55Z")

</div>

Hi everyone. here is a wierd one for you. I cant get my head around it. Im trying to create an animated carosel type thing. I have a main class that loads xml and then external images into a class I called Image which is…

---

## [Drop Down Menus- Horizontal](https://forum.kirupa.com/t/drop-down-menus-horizontal/278638)

<div class="topic-metadata">

**Author:** [@lordy18](https://forum.kirupa.com/u/lordy18)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 12:05am UTC](https://forum.kirupa.com/t/drop-down-menus-horizontal/278638 "2009-01-03T00:05:04Z")

</div>

Does anyone know how to, or of any tutorials that have drop down menus like this: http://www.kalou.ch/fr/ I don't mean the way it moves around, but how the sub-menus load underneath. I want to create a horizontal …

---

## [hitTestPoint problem](https://forum.kirupa.com/t/hittestpoint-problem/278634)

<div class="topic-metadata">

**Author:** [@grebs](https://forum.kirupa.com/u/grebs)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 11:21pm UTC](https://forum.kirupa.com/t/hittestpoint-problem/278634 "2009-01-02T23:21:33Z")

</div>

Hi. I have created a lunar lander game where you have to avoid blackholes and land on the moon. I have used hitTestPoint for the collision between the spaceship and the blackholes, this hitTest works fine but I have trie…

---

## [SWFAddress 2.2 & onInit AS2.0](https://forum.kirupa.com/t/swfaddress-2-2-oninit-as2-0/278632)

<div class="topic-metadata">

**Author:** [@nixon](https://forum.kirupa.com/u/nixon)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 9:59pm UTC](https://forum.kirupa.com/t/swfaddress-2-2-oninit-as2-0/278632 "2009-01-02T21:59:13Z")

</div>

Hi Folks, I cannot for the life of me figure out how to grab the current URL and pass it to SWFAddress onInit/onLoad. What I'm trying to accomplish is being about to send a url like: http://www.creataVivendi.com/#/co…

---

## [ColorMatrix + large images == no love](https://forum.kirupa.com/t/colormatrix-large-images-no-love/278631)

<div class="topic-metadata">

**Author:** [@brndn](https://forum.kirupa.com/u/brndn)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 9:30pm UTC](https://forum.kirupa.com/t/colormatrix-large-images-no-love/278631 "2009-01-02T21:30:19Z")

</div>

Hi all I have been using a fairly standard colour matrix but have found it does not work at all if my image exceeds the stage size. I am trying to apply this effect to a jpg that is 900x1600px but to no avail. any pointe…

---

## [hitTest for scrolling image gallery not working](https://forum.kirupa.com/t/hittest-for-scrolling-image-gallery-not-working/278630)

<div class="topic-metadata">

**Author:** [@sectachrome](https://forum.kirupa.com/u/sectachrome)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 9:07pm UTC](https://forum.kirupa.com/t/hittest-for-scrolling-image-gallery-not-working/278630 "2009-01-02T21:07:56Z")

</div>

Hi, I have a small scrolling image gallery I am creating. I have adapted the XML/Flash Photo Gallery w/ Thumbnails tutorial here to help me. Ive basically just created the thumbnail part and modified it. Instead of …

---

## [Stage size in movie clip](https://forum.kirupa.com/t/stage-size-in-movie-clip/278629)

<div class="topic-metadata">

**Author:** [@TeddyKGB](https://forum.kirupa.com/u/TeddyKGB)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 9:06pm UTC](https://forum.kirupa.com/t/stage-size-in-movie-clip/278629 "2009-01-02T21:06:26Z")

</div>

Hi everyone, I am pretty new to flash so apologies if this is really simple! I have made a little flash boxing game, which when you press different keyboard buttons produces different punches. The game is working f…

---

## [Number crunching with Pixel Bender](https://forum.kirupa.com/t/number-crunching-with-pixel-bender/278628)

<div class="topic-metadata">

**Author:** [@mulletchuck](https://forum.kirupa.com/u/mulletchuck)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 9:00pm UTC](https://forum.kirupa.com/t/number-crunching-with-pixel-bender/278628 "2009-01-02T21:00:53Z")

</div>

Does anyone have experience using PixelBender to crunch numbers in AS3? I've built a simple synth, and when I added in a 4-pole lowpass filter function, calculation times for writing 2048 samples to the audio buffer …

---

## [Class references general problems](https://forum.kirupa.com/t/class-references-general-problems/278625)

<div class="topic-metadata">

**Author:** [@allex36](https://forum.kirupa.com/u/allex36)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 8:37pm UTC](https://forum.kirupa.com/t/class-references-general-problems/278625 "2009-01-02T20:37:30Z")

</div>

Hi , here i have a situation that i've been working on for a long time. Here is the situation: http://www.monov.net/technoboxe This is a contract i have that i need to finish soon hehe..My problem is my poor knowledge …

---

## [Flash Remoting w/ Coldfusion 8](https://forum.kirupa.com/t/flash-remoting-w-coldfusion-8/278619)

<div class="topic-metadata">

**Author:** [@G\_Bob](https://forum.kirupa.com/u/G_Bob)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 7:23pm UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion-8/278619 "2009-01-02T19:23:44Z")

</div>

Hi there, If anyone can explain the most basic way for AS3 to communicate w/ coldfusion, that would be most helpful. Here is my code (which doesn't work) to give you an idea - I just need a start, then I can go from ther…

---

## [How to load and use an external SWF?](https://forum.kirupa.com/t/how-to-load-and-use-an-external-swf/278618)

<div class="topic-metadata">

**Author:** [@njaguar](https://forum.kirupa.com/u/njaguar)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 7:21pm UTC](https://forum.kirupa.com/t/how-to-load-and-use-an-external-swf/278618 "2009-01-02T19:21:12Z")

</div>

\[Flash 9, Actionscript 2.0\] Hello, I've been messing around with this for a while, and cannot seem to get it to work. What I want to do is pretty simple; I want to have an external swf file that contains various swf …

---

## [indexOf last letters](https://forum.kirupa.com/t/indexof-last-letters/278617)

<div class="topic-metadata">

**Author:** [@gencoglu](https://forum.kirupa.com/u/gencoglu)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 6:57pm UTC](https://forum.kirupa.com/t/indexof-last-letters/278617 "2009-01-02T18:57:01Z")

</div>

I have two textboxes ,first one creates random words everytime I click on a button and the second box which is a dynamic tells if the created word is "plural "or "singular" according to the last letters (if a word ends i…

---

## [\[Flash 8 AS 2.0\] Help in code that generate grid view of box using for loop](https://forum.kirupa.com/t/flash-8-as-2-0-help-in-code-that-generate-grid-view-of-box-using-for-loop/278613)

<div class="topic-metadata">

**Author:** [@honzell](https://forum.kirupa.com/u/honzell)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 5:16pm UTC](https://forum.kirupa.com/t/flash-8-as-2-0-help-in-code-that-generate-grid-view-of-box-using-for-loop/278613 "2009-01-02T17:16:53Z")

</div>

Dear all, I am trying to use for loop to load small grey box to display in the image below. \[image\] But i couldn't figure out how to put in the if else condition when the col hits 7 and bring it to the next row. B…

---

## [2D Vectors?](https://forum.kirupa.com/t/2d-vectors/278602)

<div class="topic-metadata">

**Author:** [@johnlouis](https://forum.kirupa.com/u/johnlouis)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 2:55pm UTC](https://forum.kirupa.com/t/2d-vectors/278602 "2009-01-02T14:55:46Z")

</div>

how do I initialize 2-dimensional vectors?

---

## [Embarrassed to Ask "droptarget"](https://forum.kirupa.com/t/embarrassed-to-ask-droptarget/278601)

<div class="topic-metadata">

**Author:** [@PHD2B](https://forum.kirupa.com/u/PHD2B)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 2:33pm UTC](https://forum.kirupa.com/t/embarrassed-to-ask-droptarget/278601 "2009-01-02T14:33:18Z")

</div>

I attempted to follow the Computer/Paintbrush tutorial to create droptarget test. I am using CS4 Trial version. I can't decide if I should purchase it or not. I used to create interactive modules for use in web-based cou…

---

## [Continuity of instances across key frames](https://forum.kirupa.com/t/continuity-of-instances-across-key-frames/278599)

<div class="topic-metadata">

**Author:** [@anroy](https://forum.kirupa.com/u/anroy)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 2:19pm UTC](https://forum.kirupa.com/t/continuity-of-instances-across-key-frames/278599 "2009-01-02T14:19:41Z")

</div>

I have a MovieClip that exists in a few key frames along a layer in my timeline. In AS3, in my Document Class code, I reference it by instance name. I change some of its properties. I realize the Document Class code …

---

## [Running through code](https://forum.kirupa.com/t/running-through-code/278596)

<div class="topic-metadata">

**Author:** [@Voursez](https://forum.kirupa.com/u/Voursez)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 1:32pm UTC](https://forum.kirupa.com/t/running-through-code/278596 "2009-01-02T13:32:26Z")

</div>

Hey folks I just got the honor of expanding a pageflipper made by the previous flashdude at the company. There is almost 12.000 lines of code, and the whole thing is a mess. What I need is some way to see what goes o…

---

## [Problem making swf and webcam work together](https://forum.kirupa.com/t/problem-making-swf-and-webcam-work-together/278595)

<div class="topic-metadata">

**Author:** [@evilgoldfish](https://forum.kirupa.com/u/evilgoldfish)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 12:44pm UTC](https://forum.kirupa.com/t/problem-making-swf-and-webcam-work-together/278595 "2009-01-02T12:44:15Z")

</div>

Hi I recently hired a guy to make a simple "eye toy" style game in Actionscript 3 that could work through webcams, more to see if it could be done than anything else! when you move, flame effects appear around you. I pla…

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

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