# programming

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

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

**Page:** 193

---

## [Currency Input](https://forum.kirupa.com/t/currency-input/327148)

<div class="topic-metadata">

**Author:** [@Vanss472](https://forum.kirupa.com/u/Vanss472)\
**Replies:** 0\
**Last updated:** [February 8, 2012, 9:31pm UTC](https://forum.kirupa.com/t/currency-input/327148 "2012-02-08T21:31:53Z")

</div>

Hi I have this input tag where you put the total of your receipt : \<input type="text" name="currency" id="currency" class="text-input" onBlur="this.value=formatCurrency(this.value);" /\> This is my javascript: \<…

---

## [Snow AS2](https://forum.kirupa.com/t/snow-as2/327143)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [February 8, 2012, 4:22pm UTC](https://forum.kirupa.com/t/snow-as2/327143 "2012-02-08T16:22:14Z")

</div>

How it is possible to stop the show animation from playing on other scenes?

---

## [Need Image effect library like http://www.befunky.com/create/#/artst-effects](https://forum.kirupa.com/t/need-image-effect-library-like-http-www-befunky-com-create-artst-effects/327141)

<div class="topic-metadata">

**Author:** [@burnandbass](https://forum.kirupa.com/u/burnandbass)\
**Replies:** 0\
**Last updated:** [February 8, 2012, 3:21pm UTC](https://forum.kirupa.com/t/need-image-effect-library-like-http-www-befunky-com-create-artst-effects/327141 "2012-02-08T15:21:40Z")

</div>

Hi guys, Does somebody know opensource AS3 image effect library? The effects have to be similar to http://www.befunky.com/create/#/artst-effects this one.

---

## [How to read xml output from API's](https://forum.kirupa.com/t/how-to-read-xml-output-from-apis/327140)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [February 8, 2012, 3:07pm UTC](https://forum.kirupa.com/t/how-to-read-xml-output-from-apis/327140 "2012-02-08T15:07:59Z")

</div>

My vendor gave me API key and asked me i will get XML output from API, but i don't know how to parse output from API's in PHP.

---

## [Optimize Select mysq - trouble](https://forum.kirupa.com/t/optimize-select-mysq-trouble/327139)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [February 8, 2012, 2:52pm UTC](https://forum.kirupa.com/t/optimize-select-mysq-trouble/327139 "2012-02-08T14:52:27Z")

</div>

Hi there, I have a table which contains two or more row per item. So per item i will have 3 data for example(as column key will have price, description,extra info). the reason i did it like that is that later on i can c…

---

## [XML image grid Transition](https://forum.kirupa.com/t/xml-image-grid-transition/327138)

<div class="topic-metadata">

**Author:** [@raman\_arena](https://forum.kirupa.com/u/raman_arena)\
**Replies:** 0\
**Last updated:** [February 8, 2012, 12:45pm UTC](https://forum.kirupa.com/t/xml-image-grid-transition/327138 "2012-02-08T12:45:46Z")

</div>

Dear ALL, I have made a xml gallery where images are in grid. when i move my mouse down the grid scrolls down or up. but now i want that grid to slide bottom or up on two buttons. I am new to xml galleries I am …

---

## [JQuery: Div background image scale](https://forum.kirupa.com/t/jquery-div-background-image-scale/327137)

<div class="topic-metadata">

**Author:** [@nitinmukesh](https://forum.kirupa.com/u/nitinmukesh)\
**Replies:** 0\
**Last updated:** [February 8, 2012, 11:31am UTC](https://forum.kirupa.com/t/jquery-div-background-image-scale/327137 "2012-02-08T11:31:40Z")

</div>

, I am using Jquery to add background image to a div which keeps changing on elements click. The image is adding correctly but it is not occupying the whole div space due to smaller dimension. I would like the image to…

---

## [Stop RSL TLF pre loader interference?](https://forum.kirupa.com/t/stop-rsl-tlf-pre-loader-interference/327136)

<div class="topic-metadata">

**Author:** [@lazerbrains](https://forum.kirupa.com/u/lazerbrains)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 11:52pm UTC](https://forum.kirupa.com/t/stop-rsl-tlf-pre-loader-interference/327136 "2012-02-07T23:52:01Z")

</div>

I have discovered that if you use TLF text in Flash CS5 or later, it makes you download your entire SWF before playing the first frame. This defeats your pre loader if you are using one similar to the sample template c…

---

## [Are all functions included from a static class?](https://forum.kirupa.com/t/are-all-functions-included-from-a-static-class/327135)

<div class="topic-metadata">

**Author:** [@TheCanadian](https://forum.kirupa.com/u/TheCanadian)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 11:06pm UTC](https://forum.kirupa.com/t/are-all-functions-included-from-a-static-class/327135 "2012-02-07T23:06:54Z")

</div>

To rephrase my question: if you have a class with a bunch of static methods and you use one of them in your code, does the whole class get compiled with your movie? I suspect that it would be and, if that's the case, wou…

---

## [What kind of matching game is this?](https://forum.kirupa.com/t/what-kind-of-matching-game-is-this/327134)

<div class="topic-metadata">

**Author:** [@elgenaro](https://forum.kirupa.com/u/elgenaro)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 11:05pm UTC](https://forum.kirupa.com/t/what-kind-of-matching-game-is-this/327134 "2012-02-07T23:05:34Z")

</div>

Hi, I'm looking for AS3 examples of this kind of game, but I'm having trouble since English is not my native language. Does anybody know how can I find examples of this kind? Thanks!

---

## [Do you ever create a running debug log for your game?](https://forum.kirupa.com/t/do-you-ever-create-a-running-debug-log-for-your-game/327133)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 10:59pm UTC](https://forum.kirupa.com/t/do-you-ever-create-a-running-debug-log-for-your-game/327133 "2012-02-07T22:59:20Z")

</div>

I have trace statements all over that I may or may not comment out for debugging purposes, once I am done working on some segment, I kind of forget about it and hope I cleaned up after myself or did a decent job. Does …

---

## [Counting revolutions of a movie clip](https://forum.kirupa.com/t/counting-revolutions-of-a-movie-clip/327131)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 4:40pm UTC](https://forum.kirupa.com/t/counting-revolutions-of-a-movie-clip/327131 "2012-02-07T16:40:17Z")

</div>

Hi, wonder if anyone is able to help with this one. I am using the following code (found at http://www.foundation-flash.com/tutorials/as3rotation/ - so thanks go to them for that) to rotate a movie clip according to t…

---

## [\[MTASC & Code Injection\] Getting Stuck On Custom Classes](https://forum.kirupa.com/t/mtasc-code-injection-getting-stuck-on-custom-classes/327130)

<div class="topic-metadata">

**Author:** [@zachwlewis](https://forum.kirupa.com/u/zachwlewis)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 4:18pm UTC](https://forum.kirupa.com/t/mtasc-code-injection-getting-stuck-on-custom-classes/327130 "2012-02-07T16:18:01Z")

</div>

\*\*tl;dr:Using MTASC, How can I take a MovieClip that exists on stage and interface with it through a custom class? \*\* I'm a UI/UX designer and interface engineer, and I've recently been trying to improve my development…

---

## [loadMovieNum not working in AS3?](https://forum.kirupa.com/t/loadmovienum-not-working-in-as3/327129)

<div class="topic-metadata">

**Author:** [@melissa2ca](https://forum.kirupa.com/u/melissa2ca)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 3:35pm UTC](https://forum.kirupa.com/t/loadmovienum-not-working-in-as3/327129 "2012-02-07T15:35:36Z")

</div>

Hello- For the past 7 years I have been creating a presentation in CS3 using Flash and ActionScript2. I am using a new plug-in that requires me to use AS3. I basically have about 20 different flash files, and to link …

---

## [Preloader detecting Flash Player version: no joy!](https://forum.kirupa.com/t/preloader-detecting-flash-player-version-no-joy/327127)

<div class="topic-metadata">

**Author:** [@0L4F](https://forum.kirupa.com/u/0L4F)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 1:06pm UTC](https://forum.kirupa.com/t/preloader-detecting-flash-player-version-no-joy/327127 "2012-02-07T13:06:52Z")

</div>

Hi everyone, I am trying to build a preloader that detects the user's Flash Player version, and then loads the matching content: if the user has Flash Player 11, Stage3D content should be loaded. The problem I'm runn…

---

## [Random shapes for sphere](https://forum.kirupa.com/t/random-shapes-for-sphere/327125)

<div class="topic-metadata">

**Author:** [@praveenspecial](https://forum.kirupa.com/u/praveenspecial)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 10:01am UTC](https://forum.kirupa.com/t/random-shapes-for-sphere/327125 "2012-02-07T10:01:44Z")

</div>

how to do random shapes for sphere like this for mouse over event http://www.sevenedge.be/?#/nl/about/

---

## [Need help with diagonal movement in actionscript 3.0](https://forum.kirupa.com/t/need-help-with-diagonal-movement-in-actionscript-3-0/327124)

<div class="topic-metadata">

**Author:** [@programmingnoob](https://forum.kirupa.com/u/programmingnoob)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 7:16am UTC](https://forum.kirupa.com/t/need-help-with-diagonal-movement-in-actionscript-3-0/327124 "2012-02-07T07:16:09Z")

</div>

Guys please help! I can only make circ(name of the movieclip in library) move horizontally and vertically using the .x and .y. How do I make it move diagonally? Thanks in advance to those who would bother to help. He…

---

## [Help with diagonal movement in actionscript 3.0](https://forum.kirupa.com/t/help-with-diagonal-movement-in-actionscript-3-0/327123)

<div class="topic-metadata">

**Author:** [@programmingnoob](https://forum.kirupa.com/u/programmingnoob)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 7:11am UTC](https://forum.kirupa.com/t/help-with-diagonal-movement-in-actionscript-3-0/327123 "2012-02-07T07:11:34Z")

</div>

Guys please help! I can only make circ(name of the movieclip in library) move horizontally and vertically using the .x and .y. How do I make it move diagonally? Here are the codes I used: (I've also attached the AS and…

---

## [Convert String to array](https://forum.kirupa.com/t/convert-string-to-array/327122)

<div class="topic-metadata">

**Author:** [@radi](https://forum.kirupa.com/u/radi)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 6:12am UTC](https://forum.kirupa.com/t/convert-string-to-array/327122 "2012-02-07T06:12:24Z")

</div>

if i have a string like " sun=yellow,sky=blue " is it possible to change this into a Associative array (like $Arr\[sun\]=yellow,$arr\[sky\]=blue)

---

## [Google Audio Chaos! (javascript)](https://forum.kirupa.com/t/google-audio-chaos-javascript/327118)

<div class="topic-metadata">

**Author:** [@Ksuguy25](https://forum.kirupa.com/u/Ksuguy25)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 3:08am UTC](https://forum.kirupa.com/t/google-audio-chaos-javascript/327118 "2012-02-07T03:08:04Z")

</div>

Hey room, I've noticed something weird about google chrome. I made this page http://www.onetruegospel.com/Media/sermons.html and it works fine in Firefox or IE explore but when I use chrome, all audio files start to …

---

## [Using SQLConnection to connect to a database that requires a login and password?](https://forum.kirupa.com/t/using-sqlconnection-to-connect-to-a-database-that-requires-a-login-and-password/327117)

<div class="topic-metadata">

**Author:** [@Palladian1881](https://forum.kirupa.com/u/Palladian1881)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 3:04am UTC](https://forum.kirupa.com/t/using-sqlconnection-to-connect-to-a-database-that-requires-a-login-and-password/327117 "2012-02-07T03:04:52Z")

</div>

Hi, I'm trying to use the flash.data.SQLConnection class to connect to my database--but my database is password-protected. How do you give this password to the SQLConnection? Thanks!

---

## [CS3 AS2 multiple conditionals](https://forum.kirupa.com/t/cs3-as2-multiple-conditionals/327116)

<div class="topic-metadata">

**Author:** [@fastrix](https://forum.kirupa.com/u/fastrix)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 2:38am UTC](https://forum.kirupa.com/t/cs3-as2-multiple-conditionals/327116 "2012-02-07T02:38:43Z")

</div>

Please i need help. I got 2 input txtboxes (num1\_txt, num2\_txt) that make a sum and show the result in a dynamic textbox (total\_txt) im good till here. Now i want to show some message in another textbox (message\_txt) dep…

---

## [Xml movement](https://forum.kirupa.com/t/xml-movement/327115)

<div class="topic-metadata">

**Author:** [@Macas](https://forum.kirupa.com/u/Macas)\
**Replies:** 0\
**Last updated:** [February 7, 2012, 1:00am UTC](https://forum.kirupa.com/t/xml-movement/327115 "2012-02-07T01:00:40Z")

</div>

Hi sorry for my english jejeje I need to move several movieclips in the x coordinates using a xml file where i write a number between 1 and 100 individually for every movieclip... i dont know if its possible, but i reall…

---

## [Matching items in an array to Movie Clip labels](https://forum.kirupa.com/t/matching-items-in-an-array-to-movie-clip-labels/327112)

<div class="topic-metadata">

**Author:** [@alemieux34](https://forum.kirupa.com/u/alemieux34)\
**Replies:** 0\
**Last updated:** [February 6, 2012, 6:48pm UTC](https://forum.kirupa.com/t/matching-items-in-an-array-to-movie-clip-labels/327112 "2012-02-06T18:48:01Z")

</div>

I have an array that holds a list of items. In a movie clip, I have that same list as the frame labels. I'm using a for loop to iterate through the array and then assigning event listeners so that when you roll over an i…

---

## [Excel Table + Images \>\>\> Polished HTML Report](https://forum.kirupa.com/t/excel-table-images-polished-html-report/327110)

<div class="topic-metadata">

**Author:** [@dima777](https://forum.kirupa.com/u/dima777)\
**Replies:** 0\
**Last updated:** [February 6, 2012, 4:31pm UTC](https://forum.kirupa.com/t/excel-table-images-polished-html-report/327110 "2012-02-06T16:31:32Z")

</div>

Hello!) I need you to help me decide what is the best way to distribute daily technical reports. I have a report in the excel format which contains of 5 sections with no images (each section is on a separate tab). E…

---

## [Preloader for external SWF's?](https://forum.kirupa.com/t/preloader-for-external-swfs/327109)

<div class="topic-metadata">

**Author:** [@lazerbrains](https://forum.kirupa.com/u/lazerbrains)\
**Replies:** 0\
**Last updated:** [February 6, 2012, 4:08pm UTC](https://forum.kirupa.com/t/preloader-for-external-swfs/327109 "2012-02-06T16:08:59Z")

</div>

I have a project that has one Main SWF, and that loads many external SWF's. This is working great. However, i would like to have each external Swf have it's own preloaded on the first frame of that SWF. I currently ha…

---

## [Rotating projectiles](https://forum.kirupa.com/t/rotating-projectiles/327106)

<div class="topic-metadata">

**Author:** [@Carl\_Blom](https://forum.kirupa.com/u/Carl_Blom)\
**Replies:** 0\
**Last updated:** [February 6, 2012, 3:23pm UTC](https://forum.kirupa.com/t/rotating-projectiles/327106 "2012-02-06T15:23:33Z")

</div>

Hello, I'm having an issue with my game that I can't fix, I'm clueless. I'm trying to rotate my bullet (class-bassed MovieClip) so that it's always facing the direction it's traveling to, and I have no idea how to ma…

---

## [CheckBox in ComboBox](https://forum.kirupa.com/t/checkbox-in-combobox/327105)

<div class="topic-metadata">

**Author:** [@WeThePeople](https://forum.kirupa.com/u/WeThePeople)\
**Replies:** 0\
**Last updated:** [February 6, 2012, 1:56pm UTC](https://forum.kirupa.com/t/checkbox-in-combobox/327105 "2012-02-06T13:56:26Z")

</div>

Any ideas? And if you help me,another question how to sent .POST from checkBoxes in ComboBox to PHP

---

## [Feasible in Flash for a newbie?](https://forum.kirupa.com/t/feasible-in-flash-for-a-newbie/327104)

<div class="topic-metadata">

**Author:** [@ratb3rt](https://forum.kirupa.com/u/ratb3rt)\
**Replies:** 0\
**Last updated:** [February 6, 2012, 12:24pm UTC](https://forum.kirupa.com/t/feasible-in-flash-for-a-newbie/327104 "2012-02-06T12:24:26Z")

</div>

Hi all, I've been asked (as someone who can do code to a degree) to very quickly build something which can work with multiple video clips, all independently controlled by code. Flash was my first thought, but I've never…

---

## [Exporting a part of a game as a video](https://forum.kirupa.com/t/exporting-a-part-of-a-game-as-a-video/327103)

<div class="topic-metadata">

**Author:** [@deadpool](https://forum.kirupa.com/u/deadpool)\
**Replies:** 0\
**Last updated:** [February 6, 2012, 12:16pm UTC](https://forum.kirupa.com/t/exporting-a-part-of-a-game-as-a-video/327103 "2012-02-06T12:16:15Z")

</div>

I was wondering if it's possible to record what happens on stage and export that as a movie from within the game? I just want to know if it is, so i don't even bother if it isn't. Thanks in advance for your help Edit: …

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

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