# programming

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

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

**Page:** 968

---

## [Good xml based news box?](https://forum.kirupa.com/t/good-xml-based-news-box/278688)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 10:31pm UTC](https://forum.kirupa.com/t/good-xml-based-news-box/278688 "2009-01-03T22:31:43Z")

</div>

I am looking for a nice news box, like this: http://www.mmfiles.com/flash/miscellaneous/news\_box\_157.html But in AS3. I already have a news system wrote in PHP, so if I can find an XML-reading front-end in flash all …

---

## [Help with Kirupa infinite menu](https://forum.kirupa.com/t/help-with-kirupa-infinite-menu/278687)

<div class="topic-metadata">

**Author:** [@prossi](https://forum.kirupa.com/u/prossi)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 10:26pm UTC](https://forum.kirupa.com/t/help-with-kirupa-infinite-menu/278687 "2009-01-03T22:26:23Z")

</div>

Hello everybody, I'm pretty new to flash and have been playing with the infinite menu tutorial, however I have been trying to just allow the scrolling effect to take place only on mouse over but with very little success.…

---

## [FLV still choppy after preload](https://forum.kirupa.com/t/flv-still-choppy-after-preload/278681)

<div class="topic-metadata">

**Author:** [@tile\_nipper](https://forum.kirupa.com/u/tile_nipper)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 4:11pm UTC](https://forum.kirupa.com/t/flv-still-choppy-after-preload/278681 "2009-01-03T16:11:47Z")

</div>

All of my flv playback is coming out choppy -- pausing about every two seconds. I am preloading the entire file before playing. Can someone look at my code and suggest a solution to get it to play smoothly? Also, the f…

---

## [Need Help in Skin change in scroll bar](https://forum.kirupa.com/t/need-help-in-skin-change-in-scroll-bar/278677)

<div class="topic-metadata">

**Author:** [@kannansreenivas](https://forum.kirupa.com/u/kannansreenivas)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 2:52pm UTC](https://forum.kirupa.com/t/need-help-in-skin-change-in-scroll-bar/278677 "2009-01-03T14:52:23Z")

</div>

I am Using Flash CS3. Publish settings set in AS2 . i inserted UI Scroll bar from components pannel and worked good. I like to change the skin. I refered the tutorials in http://www.kirupa.com/developer/mx/skinning\_s…

---

## [Arrows move Movie Clip (or do they?)](https://forum.kirupa.com/t/arrows-move-movie-clip-or-do-they/278676)

<div class="topic-metadata">

**Author:** [@PHD2B](https://forum.kirupa.com/u/PHD2B)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 2:50pm UTC](https://forum.kirupa.com/t/arrows-move-movie-clip-or-do-they/278676 "2009-01-03T14:50:05Z")

</div>

OK. This is similar to my previous post in that I am trying to create my own doc in which arrows move a movie clip. Should be simple. I used the code from Kirupas tutorial and just changed the movie clip name in all loca…

---

## [Word Art](https://forum.kirupa.com/t/word-art/278673)

<div class="topic-metadata">

**Author:** [@sparkdemon](https://forum.kirupa.com/u/sparkdemon)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 12:47pm UTC](https://forum.kirupa.com/t/word-art/278673 "2009-01-03T12:47:34Z")

</div>

hi folks... can you tell me how to achieve ms-word like word art effects in actionscript 3. i mean is there any existing library ? or can anyone guide me on custom code?. actually am looking for text effects for a tshi…

---

## [Problems forwarding movie, sound still plays](https://forum.kirupa.com/t/problems-forwarding-movie-sound-still-plays/278670)

<div class="topic-metadata">

**Author:** [@a4aLien](https://forum.kirupa.com/u/a4aLien)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 11:51am UTC](https://forum.kirupa.com/t/problems-forwarding-movie-sound-still-plays/278670 "2009-01-03T11:51:48Z")

</div>

Okay, i need help with this.. I have a few mc's from frame 1 to 100.. Which have audio in them.. Now, when i made a 'skip intro' button which 'goes to an plays' at frame 101, the movie forwards to frame 101, but all the…

---

## [\[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…

---

## [Quoting issue in Perl/MySQL program](https://forum.kirupa.com/t/quoting-issue-in-perl-mysql-program/278660)

<div class="topic-metadata">

**Author:** [@iamhere](https://forum.kirupa.com/u/iamhere)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 7:22am UTC](https://forum.kirupa.com/t/quoting-issue-in-perl-mysql-program/278660 "2009-01-03T07:22:20Z")

</div>

Hello, I have this line in my program (a CGI script): $sth=$dbh-\>prepare (qq{SELECT firstname,lastname,type FROM persons WHERE firstname LIKE "$param\[0\]" AND lastname LIKE "$param\[1\]" and type LIKE "$param\[2\]"} ); $s…

---

## [\[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…

---

## [Can someone help me with arrays](https://forum.kirupa.com/t/can-someone-help-me-with-arrays/278655)

<div class="topic-metadata">

**Author:** [@crucifix](https://forum.kirupa.com/u/crucifix)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 6:25am UTC](https://forum.kirupa.com/t/can-someone-help-me-with-arrays/278655 "2009-01-03T06:25:51Z")

</div>

Hi i just have a question about AS2 arrays and use in games, i am making this game where a bullet(attachedMovieClip) is shot out and passes over a duplicated zombie character(duplicated movie clip) i have made an array f…

---

## [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 …

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

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