# programming

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

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

**Page:** 101

---

## [Radio Button Group Problem, Error 1069](https://forum.kirupa.com/t/radio-button-group-problem-error-1069/332252)

<div class="topic-metadata">

**Author:** [@Jemro](https://forum.kirupa.com/u/Jemro)\
**Replies:** 0\
**Last updated:** [March 24, 2014, 6:24pm UTC](https://forum.kirupa.com/t/radio-button-group-problem-error-1069/332252 "2014-03-24T18:24:34Z")

</div>

I have four radio button groups with ten buttons in each group. Everything is created at run-time. A separate function creates each group of radio buttons. The code works fine until the user makes his/her selections and …

---

## [Cant remove event](https://forum.kirupa.com/t/cant-remove-event/332251)

<div class="topic-metadata">

**Author:** [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Replies:** 0\
**Last updated:** [March 23, 2014, 3:15am UTC](https://forum.kirupa.com/t/cant-remove-event/332251 "2014-03-23T03:15:19Z")

</div>

tf.removeEventListener(Event.ENTER\_FRAME, moveText); tf.addEventListener(Event.ENTER\_FRAME, moveText); I cant remove the listener any help plz Thanks Stevem

---

## [Help - Horizontal slide on button click in confined area?](https://forum.kirupa.com/t/help-horizontal-slide-on-button-click-in-confined-area/332250)

<div class="topic-metadata">

**Author:** [@Healix](https://forum.kirupa.com/u/Healix)\
**Replies:** 0\
**Last updated:** [March 22, 2014, 12:29pm UTC](https://forum.kirupa.com/t/help-horizontal-slide-on-button-click-in-confined-area/332250 "2014-03-22T12:29:02Z")

</div>

So I'm relatively new with Flash, though I pick up things pretty quickly and I'm more than persistent when trying to work out problems and kinks. Here's what I'm trying to do, and I'm not sure what the best way to ach…

---

## [Adobe flash CS6 game- how to create menu](https://forum.kirupa.com/t/adobe-flash-cs6-game-how-to-create-menu/332248)

<div class="topic-metadata">

**Author:** [@Elkmyr](https://forum.kirupa.com/u/Elkmyr)\
**Replies:** 0\
**Last updated:** [March 21, 2014, 1:17pm UTC](https://forum.kirupa.com/t/adobe-flash-cs6-game-how-to-create-menu/332248 "2014-03-21T13:17:41Z")

</div>

Hi, I am trying to make a flash game. I have it almost complete. But i don't know how to make a menu. So far I did this. I draw a character and enemy in Corel, also a landscape as background. I started a new project i…

---

## [AS3 - Custom code hinting for method/function arguments](https://forum.kirupa.com/t/as3-custom-code-hinting-for-method-function-arguments/332247)

<div class="topic-metadata">

**Author:** [@Nomulus](https://forum.kirupa.com/u/Nomulus)\
**Replies:** 0\
**Last updated:** [March 21, 2014, 3:51am UTC](https://forum.kirupa.com/t/as3-custom-code-hinting-for-method-function-arguments/332247 "2014-03-21T03:51:50Z")

</div>

Hi all, I was wondering if anyone knew if it were possible and if so how to create custom code hinting for arguments related to a function/method. eg. if I create a function: public function hello(age:int, name:St…

---

## [URLLoader: Can't handle ioError with no internet connection](https://forum.kirupa.com/t/urlloader-cant-handle-ioerror-with-no-internet-connection/332243)

<div class="topic-metadata">

**Author:** [@DoomGoober](https://forum.kirupa.com/u/DoomGoober)\
**Replies:** 0\
**Last updated:** [March 19, 2014, 9:22pm UTC](https://forum.kirupa.com/t/urlloader-cant-handle-ioerror-with-no-internet-connection/332243 "2014-03-19T21:22:40Z")

</div>

If I try to load a file with URLLoader and the internet connection is dead, I get a an Error #2044:Unhandled ioError:.text=Error #2032 message box (on a phone, the internet may die at any time.) Is there anyway I can cat…

---

## [Problem with a falling character](https://forum.kirupa.com/t/problem-with-a-falling-character/332242)

<div class="topic-metadata">

**Author:** [@bmmeyers33](https://forum.kirupa.com/u/bmmeyers33)\
**Replies:** 0\
**Last updated:** [March 18, 2014, 11:48pm UTC](https://forum.kirupa.com/t/problem-with-a-falling-character/332242 "2014-03-18T23:48:00Z")

</div>

Hi, I am making a game and for some reason, when my character lands, instead of stopping immediately when he hits the ground, he goes up and down 2 or 3 times (helps to slow the fps down low to see it). I can't for the …

---

## [Using an array to go to named frames](https://forum.kirupa.com/t/using-an-array-to-go-to-named-frames/332241)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [March 18, 2014, 9:46pm UTC](https://forum.kirupa.com/t/using-an-array-to-go-to-named-frames/332241 "2014-03-18T21:46:26Z")

</div>

I would like to use an array to send the playhead to named frames. The array is a list of dates, and frames and buttons are named in sync, e.g., button "mar12\_10\_btn" sends the playhead to frame "mar12\_10". This is the c…

---

## [How to animating LEVEL INDICATOR in a Vessel/Tank/Drum](https://forum.kirupa.com/t/how-to-animating-level-indicator-in-a-vessel-tank-drum/332238)

<div class="topic-metadata">

**Author:** [@sangjagoan](https://forum.kirupa.com/u/sangjagoan)\
**Replies:** 0\
**Last updated:** [March 18, 2014, 6:09am UTC](https://forum.kirupa.com/t/how-to-animating-level-indicator-in-a-vessel-tank-drum/332238 "2014-03-18T06:09:19Z")

</div>

Hi..Please help, I'm a beginner in Flash AS3. I want to simulate a LEVEL INDICATOR (mc\_Level) in a Vessel when opening Filling Valve (mc\_Valve). On the stage i've drawn in Layer 'Tool' frame 1: The Vessel, mcLevel and mc…

---

## [Detecting child of movieclip](https://forum.kirupa.com/t/detecting-child-of-movieclip/332237)

<div class="topic-metadata">

**Author:** [@mrpercival](https://forum.kirupa.com/u/mrpercival)\
**Replies:** 0\
**Last updated:** [March 17, 2014, 5:44pm UTC](https://forum.kirupa.com/t/detecting-child-of-movieclip/332237 "2014-03-17T17:44:52Z")

</div>

Hi, I have a parent (container) movieclip, which has under it a series of child movieclips (gameboard squares). I have set up a series of movieclips "tiles" outside of the parent, which will be drop&drop onto the par…

---

## [\[Help\] The Text not show in this code](https://forum.kirupa.com/t/help-the-text-not-show-in-this-code/332235)

<div class="topic-metadata">

**Author:** [@vietghost](https://forum.kirupa.com/u/vietghost)\
**Replies:** 0\
**Last updated:** [March 17, 2014, 4:34pm UTC](https://forum.kirupa.com/t/help-the-text-not-show-in-this-code/332235 "2014-03-17T16:34:48Z")

</div>

Someone know what wrong in this code, plz help me Thanks import fl.controls.DataGrid; import fl.controls.TextInput; import fl.controls.dataGridClasses.DataGridColumn; import fl.data.DataProvider; //\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [AS3 / AS2 -\> Multi-Directional of MovieClip via MouseClick](https://forum.kirupa.com/t/as3-as2-multi-directional-of-movieclip-via-mouseclick/332233)

<div class="topic-metadata">

**Author:** [@0ff\_my\_set](https://forum.kirupa.com/u/0ff_my_set)\
**Replies:** 0\
**Last updated:** [March 17, 2014, 2:54am UTC](https://forum.kirupa.com/t/as3-as2-multi-directional-of-movieclip-via-mouseclick/332233 "2014-03-17T02:54:18Z")

</div>

First off, I'm sorry if this title doesn't make sense, I just don't know what else to call what I'm looking for help with.. What I am needing help with is determining the direction to turn a MovieClip based on the mous…

---

## [Number1 = 8 Seconds Less Than Number2?](https://forum.kirupa.com/t/number1-8-seconds-less-than-number2/332231)

<div class="topic-metadata">

**Author:** [@chevron8669](https://forum.kirupa.com/u/chevron8669)\
**Replies:** 0\
**Last updated:** [March 16, 2014, 5:26am UTC](https://forum.kirupa.com/t/number1-8-seconds-less-than-number2/332231 "2014-03-16T05:26:53Z")

</div>

I have a count up timer that is a custom input one i made using arrays and number vars and what i am wanting to do is make it detect if seconds is 8 less then the users custom inputted seconds at the moment I have second…

---

## [AS2: No Run Animation](https://forum.kirupa.com/t/as2-no-run-animation/332227)

<div class="topic-metadata">

**Author:** [@POW3R2PLAY3R](https://forum.kirupa.com/u/POW3R2PLAY3R)\
**Replies:** 0\
**Last updated:** [March 13, 2014, 6:34pm UTC](https://forum.kirupa.com/t/as2-no-run-animation/332227 "2014-03-13T18:34:51Z")

</div>

Hello, My script in this game is not working. I recently edited the script and when I use the LEFT or RIGHT arrow keys, there is no run animation. In my movieclip, char, there is a frame called "Motion", but instead of g…

---

## [Hide project package](https://forum.kirupa.com/t/hide-project-package/332223)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [March 11, 2014, 5:31pm UTC](https://forum.kirupa.com/t/hide-project-package/332223 "2014-03-11T17:31:30Z")

</div>

Hi, guys! I have been asked to create 2 parallel projects, A and B, sharing the same class structure in package xxx.com.xxx.gameslib. I'd like to exclude the duplication of the class structure, I should maintain both of …

---

## [How to tilt movieclip image with cursor in flash as2?](https://forum.kirupa.com/t/how-to-tilt-movieclip-image-with-cursor-in-flash-as2/332221)

<div class="topic-metadata">

**Author:** [@chetandeora](https://forum.kirupa.com/u/chetandeora)\
**Replies:** 0\
**Last updated:** [March 11, 2014, 7:48am UTC](https://forum.kirupa.com/t/how-to-tilt-movieclip-image-with-cursor-in-flash-as2/332221 "2014-03-11T07:48:16Z")

</div>

I'm using this script below, but it rotates movieclip images from one corner and I want to tilt movieclip images left & right with cursor.. just like that on this link - http://www.louisvuitton.eu/front/#/eng\_E1/Louis-…

---

## [Tutorial: Extending Built-in Objects in JavaScript](https://forum.kirupa.com/t/tutorial-extending-built-in-objects-in-javascript/332220)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [March 10, 2014, 3:13am UTC](https://forum.kirupa.com/t/tutorial-extending-built-in-objects-in-javascript/332220 "2014-03-10T03:13:54Z")

</div>

The tutorial is here: http://www.kirupa.com/html5/extending\_built\_in\_objects\_javascript.htm The thread to discuss this is here...sort of. You can also comment in the tutorial. Choice is good. Cheers, Kirupa :smirk2:

---

## [as3 game code help](https://forum.kirupa.com/t/as3-game-code-help/332218)

<div class="topic-metadata">

**Author:** [@luckythelab](https://forum.kirupa.com/u/luckythelab)\
**Replies:** 0\
**Last updated:** [March 8, 2014, 11:00pm UTC](https://forum.kirupa.com/t/as3-game-code-help/332218 "2014-03-08T23:00:20Z")

</div>

var hitObstacle:Boolean=false; // keeps track if obstacle is hitvar health=20; health\_txt.text=health.toString();stage.addEventListener(KeyboardEvent.KEY\_DOWN, checkkeysdown);stage.addEventListener(KeyboardEvent.KEY\_UP,…

---

## [How to reduce the space between two lines?](https://forum.kirupa.com/t/how-to-reduce-the-space-between-two-lines/332217)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [March 6, 2014, 7:06pm UTC](https://forum.kirupa.com/t/how-to-reduce-the-space-between-two-lines/332217 "2014-03-06T19:06:07Z")

</div>

Hi, I am retrieving data from a external .xml file. But there is a lot of space between two lines. How can I reduce it? The attached file shows the space between sentences. The following is the xml code: \<?xml v…

---

## [Word Scramble](https://forum.kirupa.com/t/word-scramble/332216)

<div class="topic-metadata">

**Author:** [@cycle1500](https://forum.kirupa.com/u/cycle1500)\
**Replies:** 0\
**Last updated:** [March 6, 2014, 5:50pm UTC](https://forum.kirupa.com/t/word-scramble/332216 "2014-03-06T17:50:14Z")

</div>

I need to find a AS2 script to break down letters in a word then scramble them while leaving the first letter alone. Example: simple would be say spmiel I will use a Input box and say 5 Dynamic boxes. Thanks for the hel…

---

## [Change frame on TOUCH\_BEGIN and TOUCH\_END](https://forum.kirupa.com/t/change-frame-on-touch-begin-and-touch-end/332215)

<div class="topic-metadata">

**Author:** [@o111](https://forum.kirupa.com/u/o111)\
**Replies:** 0\
**Last updated:** [March 6, 2014, 4:59pm UTC](https://forum.kirupa.com/t/change-frame-on-touch-begin-and-touch-end/332215 "2014-03-06T16:59:21Z")

</div>

Hey \[smile\] I am working on a project for the iPhone and I'm having a touch-issue. Basically I have 3 frames and I want to move between them using touch. What I mean is, when you're at frame 1 and put your finger anywh…

---

## [Loading using timeline](https://forum.kirupa.com/t/loading-using-timeline/332212)

<div class="topic-metadata">

**Author:** [@TailBit](https://forum.kirupa.com/u/TailBit)\
**Replies:** 0\
**Last updated:** [March 6, 2014, 4:30am UTC](https://forum.kirupa.com/t/loading-using-timeline/332212 "2014-03-06T04:30:44Z")

</div>

(using FlashDevelop) I'm trying to get loading using timeline to work (pretty much like in the default "as3 with preloader") However, I'm just really confused on how it knows what to load on each frame, because most o…

---

## [AS3 Playing a movieclip on a keyframe then repeating on the next](https://forum.kirupa.com/t/as3-playing-a-movieclip-on-a-keyframe-then-repeating-on-the-next/332210)

<div class="topic-metadata">

**Author:** [@DeadManJoe](https://forum.kirupa.com/u/DeadManJoe)\
**Replies:** 0\
**Last updated:** [March 5, 2014, 2:34pm UTC](https://forum.kirupa.com/t/as3-playing-a-movieclip-on-a-keyframe-then-repeating-on-the-next/332210 "2014-03-05T14:34:43Z")

</div>

Hey there, so I created three seperate movieclips on my main timeline and each one is on a seperate keyframe. I want to put in code so that it will play the first movieclip on keyframe1, then move to keyframe 2 and play …

---

## [Adding MC's to stage and moving them around](https://forum.kirupa.com/t/adding-mcs-to-stage-and-moving-them-around/332209)

<div class="topic-metadata">

**Author:** [@o111](https://forum.kirupa.com/u/o111)\
**Replies:** 0\
**Last updated:** [March 4, 2014, 8:06pm UTC](https://forum.kirupa.com/t/adding-mcs-to-stage-and-moving-them-around/332209 "2014-03-04T20:06:37Z")

</div>

Hi there! I'm working on a project where I want to add several instances of a movieclip from the library to the stage and making them move around randomly within the stage boundaries. Preferably bouncing them around on…

---

## [Flash AS2 Stage Height not measuring properly](https://forum.kirupa.com/t/flash-as2-stage-height-not-measuring-properly/332207)

<div class="topic-metadata">

**Author:** [@kmarnob](https://forum.kirupa.com/u/kmarnob)\
**Replies:** 0\
**Last updated:** [March 4, 2014, 3:50am UTC](https://forum.kirupa.com/t/flash-as2-stage-height-not-measuring-properly/332207 "2014-03-04T03:50:07Z")

</div>

Hi there, I'm trying to calculate the stage height of a flash banner. The banner height is 250pixel however after writing \<trace(Stage.height);\> it returns 150. Is there any mistake with my code? Could you please help …

---

## [Final Step TG :)](https://forum.kirupa.com/t/final-step-tg/332205)

<div class="topic-metadata">

**Author:** [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Replies:** 0\
**Last updated:** [March 2, 2014, 9:25pm UTC](https://forum.kirupa.com/t/final-step-tg/332205 "2014-03-02T21:25:04Z")

</div>

I have got the PHP code to do the correct query on my SQL download\_counter table. \<?php error\_reporting(E\_ALL^E\_NOTICE); require('connect.php'); $body=""; $result = mysqli\_query("SELECT \* FROM download\_manager WH…

---

## [Gesture\_rotate help](https://forum.kirupa.com/t/gesture-rotate-help/332204)

<div class="topic-metadata">

**Author:** [@chevron8669](https://forum.kirupa.com/u/chevron8669)\
**Replies:** 0\
**Last updated:** [March 1, 2014, 1:14pm UTC](https://forum.kirupa.com/t/gesture-rotate-help/332204 "2014-03-01T13:14:19Z")

</div>

Hey guys, I am working on an IOS app and I have a dial on the screen that I want to limit its rotation to 180 degrees in both clockwise and anti clockwise, I have the following code which works for anti clockwise but whe…

---

## [Insert files to usb](https://forum.kirupa.com/t/insert-files-to-usb/332201)

<div class="topic-metadata">

**Author:** [@pm4698](https://forum.kirupa.com/u/pm4698)\
**Replies:** 0\
**Last updated:** [February 28, 2014, 11:15am UTC](https://forum.kirupa.com/t/insert-files-to-usb/332201 "2014-02-28T11:15:49Z")

</div>

Hello there, I am creating a flash presentation where people can see some company stuff. I will lock the usb in order not to be able to access the data. All i need is to add something in the usb drive, like Insert b…

---

## [AS2 Multiple Key Presses Question](https://forum.kirupa.com/t/as2-multiple-key-presses-question/332200)

<div class="topic-metadata">

**Author:** [@SilkyPop](https://forum.kirupa.com/u/SilkyPop)\
**Replies:** 0\
**Last updated:** [February 28, 2014, 3:46am UTC](https://forum.kirupa.com/t/as2-multiple-key-presses-question/332200 "2014-02-28T03:46:57Z")

</div>

Hey all, I'm new to Flash and this forum. I've been scouring the internet through tutorials and guides but I still have a question about multiple key presses. Here is my (noob) situation, I made my character walk around …

---

## [Tutorial: Create an Analog Clock Using the Canvas](https://forum.kirupa.com/t/tutorial-create-an-analog-clock-using-the-canvas/332199)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [February 27, 2014, 7:01am UTC](https://forum.kirupa.com/t/tutorial-create-an-analog-clock-using-the-canvas/332199 "2014-02-27T07:01:56Z")

</div>

Hi, everyone! Check out IQAndreas's awesome tutorial on how to create an analog clock: http://www.kirupa.com/html5/create\_an\_analog\_clock\_using\_the\_canvas.htm If you have any questions or want to show off your custom a…

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

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