# programming

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

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

**Page:** 77

---

## [Counting # of times user press Enter](https://forum.kirupa.com/t/counting-of-times-user-press-enter/633487)

<div class="topic-metadata">

**Author:** [@rhanna2](https://forum.kirupa.com/u/rhanna2)\
**Replies:** 5\
**Last updated:** [July 15, 2015, 2:35pm UTC](https://forum.kirupa.com/t/counting-of-times-user-press-enter/633487 "2015-07-15T14:35:40Z")

</div>

Hi Everyone, I'm having trouble determining how I can create a counter where if the user presses the Enter key 3 times, it automatically takes the user to the next frame. It's relatively simple, I know, but I'm having t…

---

## [Question about creating a photo gallery](https://forum.kirupa.com/t/question-about-creating-a-photo-gallery/28680)

<div class="topic-metadata">

**Author:** [@Samurai\_Moo\_Cow](https://forum.kirupa.com/u/Samurai_Moo_Cow)\
**Replies:** 1\
**Last updated:** [July 15, 2015, 9:52am UTC](https://forum.kirupa.com/t/question-about-creating-a-photo-gallery/28680 "2015-07-15T09:52:50Z")

</div>

Alright i read this photo gallery tutorial and i want to know if i can do the same thing, only instead of retrieving my pics from URL i can just use the ones i've imported in the library? if that made any sense at al…

---

## [If you created your own programming language...](https://forum.kirupa.com/t/if-you-created-your-own-programming-language/517311)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 23\
**Last updated:** [May 25, 2015, 4:06am UTC](https://forum.kirupa.com/t/if-you-created-your-own-programming-language/517311 "2015-05-25T04:06:27Z")

</div>

What would it look like? How would it work? I've been thinking about this a little lately because of some annoyances I've run into in day to day programming. If I had my way, how would I make those go away? What woul…

---

## [Newbie: CS6 fla names](https://forum.kirupa.com/t/newbie-cs6-fla-names/633483)

<div class="topic-metadata">

**Author:** [@newtoALH](https://forum.kirupa.com/u/newtoALH)\
**Replies:** 2\
**Last updated:** [July 13, 2015, 4:40am UTC](https://forum.kirupa.com/t/newbie-cs6-fla-names/633483 "2015-07-13T04:40:27Z")

</div>

Done lots with Flash 8 pro and now trying to understand classes and CS6. When I do file \> new \> ActionScript3 \> OK, it creates Untitlted-1. If I then save it without changing the name, the name at the top becomes Untitl…

---

## [\[JS\] Accessing an object's property in a nested function?](https://forum.kirupa.com/t/js-accessing-an-objects-property-in-a-nested-function/472852)

<div class="topic-metadata">

**Author:** [@Mad\_Griffith](https://forum.kirupa.com/u/Mad_Griffith)\
**Replies:** 17\
**Last updated:** [January 25, 2015, 4:51am UTC](https://forum.kirupa.com/t/js-accessing-an-objects-property-in-a-nested-function/472852 "2015-01-25T04:51:11Z")

</div>

Hello guys, I am want to make key binding work. I would like to make the paddle\_y\_pos property accessible from within the function keyDown(), which is nested within a different function, called update(), which updates th…

---

## [Heapsort Implementation in JavaScript](https://forum.kirupa.com/t/heapsort-implementation-in-javascript/633430)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 4\
**Last updated:** [July 8, 2015, 11:36pm UTC](https://forum.kirupa.com/t/heapsort-implementation-in-javascript/633430 "2015-07-08T23:36:23Z")

</div>

I'm working on my next tutorial that describes how heapsort works, but who knows when I'll actually finish it! In the meantime, here is my heapsort implementation in JavaScript: var arrayLength; function buildHeap(inp…

---

## [Javascript Promises - Procedural Asynchronicity](https://forum.kirupa.com/t/javascript-promises-procedural-asynchronicity/633394)

<div class="topic-metadata">

**Author:** [@birdwing](https://forum.kirupa.com/u/birdwing)\
**Replies:** 2\
**Last updated:** [July 8, 2015, 12:13pm UTC](https://forum.kirupa.com/t/javascript-promises-procedural-asynchronicity/633394 "2015-07-08T12:13:04Z")

</div>

That topic sounds strange to me, but it is the only way I can describe what I am doing. So say you have a list of functions that have to run in order, then you have a function or set of code that has to run at the end …

---

## [How do I add lower right pop-up boxes to web pages?](https://forum.kirupa.com/t/how-do-i-add-lower-right-pop-up-boxes-to-web-pages/633445)

<div class="topic-metadata">

**Author:** [@Brian\_Flint](https://forum.kirupa.com/u/Brian_Flint)\
**Replies:** 3\
**Last updated:** [July 8, 2015, 5:54am UTC](https://forum.kirupa.com/t/how-do-i-add-lower-right-pop-up-boxes-to-web-pages/633445 "2015-07-08T05:54:40Z")

</div>

If I scroll to the bottom of some pages in Kirupa.com I get a pop-up box at the bottom right of the browser screen. For example, if I scroll to the bottom of www.kirupa.com/sorts/mergesort.htm I get a box suggesting I m…

---

## [Looking for Flash template or component that's like Kindle](https://forum.kirupa.com/t/looking-for-flash-template-or-component-thats-like-kindle/633432)

<div class="topic-metadata">

**Author:** [@Scythe](https://forum.kirupa.com/u/Scythe)\
**Replies:** 0\
**Last updated:** [July 5, 2015, 3:26pm UTC](https://forum.kirupa.com/t/looking-for-flash-template-or-component-thats-like-kindle/633432 "2015-07-05T15:26:06Z")

</div>

Hmm, I don't really even know where to ask this question. I'm working on a multimedia Flash project that includes a short story element. Are there any good text displayers for Flash? Something that takes a string, puts…

---

## [All About Mergesort](https://forum.kirupa.com/t/all-about-mergesort/633427)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [July 4, 2015, 7:04am UTC](https://forum.kirupa.com/t/all-about-mergesort/633427 "2015-07-04T07:04:54Z")

</div>

by kirupa | 4 July 2015 One of the most popular sorting algorithms you'll bump into is mergesort. It was designed in the 1940's when dinosaurs roamed the jungles: This is a companion discussion topic for th…

---

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

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [July 4, 2015, 2:33am UTC](https://forum.kirupa.com/t/create-an-analog-clock-using-the-canvas-kirupa-com/633426 "2015-07-04T02:33:58Z")

</div>

by IQAndreas | 26 February 2014 Today, we will be making a classic analog clock using the canvas features found in HTML5. The clock you will be creating will look as follows: This is a companion discussio…

---

## [Viewport / Different Browser Testing](https://forum.kirupa.com/t/viewport-different-browser-testing/633419)

<div class="topic-metadata">

**Author:** [@chacelp](https://forum.kirupa.com/u/chacelp)\
**Replies:** 2\
**Last updated:** [July 2, 2015, 7:37pm UTC](https://forum.kirupa.com/t/viewport-different-browser-testing/633419 "2015-07-02T19:37:07Z")

</div>

I'm looking for a tool to help me test web pages and apps in various viewport sizes or phone/tablet sizes. Preferably with a selection of predefined sizes. What do some of you use? Any suggestions?

---

## [Getting the Mouse Movement Direction | kirupa.com](https://forum.kirupa.com/t/getting-the-mouse-movement-direction-kirupa-com/633418)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [July 2, 2015, 4:46am UTC](https://forum.kirupa.com/t/getting-the-mouse-movement-direction-kirupa-com/633418 "2015-07-02T04:46:34Z")

</div>

by kirupa | 27 June 2015 For a variety of interactive scenarios, you will want to know what direction your mouse is moving in. If you can't think of a good reason for why you would want to know the mo…

---

## [kirupa.com - Intro to OOP in C#: Inheritance - Page 3](https://forum.kirupa.com/t/kirupa-com-intro-to-oop-in-c-inheritance-page-3/643362)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 26, 2015, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-intro-to-oop-in-c-inheritance-page-3/643362 "2015-06-26T07:00:00Z")

</div>

by kirupa | 11 February 2007 In the previous page, you learned how to extend a class. In this page, I will explain how to limit access by explaining how to hide inherited methods. When extending a class, you wi…

---

## [Help with understanding HTML5/JavaScript mp3 jukebox](https://forum.kirupa.com/t/help-with-understanding-html5-javascript-mp3-jukebox/633396)

<div class="topic-metadata">

**Author:** [@codypersinger](https://forum.kirupa.com/u/codypersinger)\
**Replies:** 0\
**Last updated:** [June 26, 2015, 1:44am UTC](https://forum.kirupa.com/t/help-with-understanding-html5-javascript-mp3-jukebox/633396 "2015-06-26T01:44:24Z")

</div>

I'm working on a personal project for my portfolio, and I'm trying to emulate the functionality of this site: http://thisweeksplaylist.co\[1\] . I couldn't understand their minified footer.js file, which seems to be the mu…

---

## [game inventory system trouble](https://forum.kirupa.com/t/game-inventory-system-trouble/633392)

<div class="topic-metadata">

**Author:** [@DCstyle](https://forum.kirupa.com/u/DCstyle)\
**Replies:** 0\
**Last updated:** [June 25, 2015, 5:17am UTC](https://forum.kirupa.com/t/game-inventory-system-trouble/633392 "2015-06-25T05:17:24Z")

</div>

i recently started picking up flash again and i thought following a tutorial would be nice for making a inventory system for a new simple game concept. i found something on yt and i came out with the following code: …

---

## [removeMovieclip](https://forum.kirupa.com/t/removemovieclip/633376)

<div class="topic-metadata">

**Author:** [@sunil\_pr](https://forum.kirupa.com/u/sunil_pr)\
**Replies:** 1\
**Last updated:** [June 21, 2015, 8:00am UTC](https://forum.kirupa.com/t/removemovieclip/633376 "2015-06-21T08:00:03Z")

</div>

how to remove movieclip in flash .

---

## [ES6, err ECMAScript 2015, is official!](https://forum.kirupa.com/t/es6-err-ecmascript-2015-is-official/633371)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 4\
**Last updated:** [June 18, 2015, 11:46am UTC](https://forum.kirupa.com/t/es6-err-ecmascript-2015-is-official/633371 "2015-06-18T11:46:04Z")

</div>

The 109th General Assembly held in Montreux, June 17, 2015, approved the following documents: … ECMA-262 6th edition - ECMAScript® 2015 Language Specification … Source: http://www.ecma-international.org/news/index.h…

---

## [AS3 - Detect external SWF has stopped not using totalFrames](https://forum.kirupa.com/t/as3-detect-external-swf-has-stopped-not-using-totalframes/564256)

<div class="topic-metadata">

**Author:** [@DaveNigella](https://forum.kirupa.com/u/DaveNigella)\
**Replies:** 7\
**Last updated:** [June 18, 2015, 11:27am UTC](https://forum.kirupa.com/t/as3-detect-external-swf-has-stopped-not-using-totalframes/564256 "2015-06-18T11:27:05Z")

</div>

Trying to find a way to detect when an externally loaded SWF has stopped. Using "totalFrames" like the example below doesn't work for what I'm trying to accomplish. I need something that simply listens and detects whe…

---

## [how to load random html files into a div in my index.html](https://forum.kirupa.com/t/how-to-load-random-html-files-into-a-div-in-my-index-html/371910)

<div class="topic-metadata">

**Author:** [@aliselvi](https://forum.kirupa.com/u/aliselvi)\
**Replies:** 7\
**Last updated:** [June 16, 2015, 1:24pm UTC](https://forum.kirupa.com/t/how-to-load-random-html-files-into-a-div-in-my-index-html/371910 "2015-06-16T13:24:29Z")

</div>

hello, i had found what i was seeking in one of your tutorials (Loading a Random HTML Page Inline however, for any number of reasons, it simply will not work for me. what i need is either (1) able to show random …

---

## [Java Online Training Classes](https://forum.kirupa.com/t/java-online-training-classes/633341)

<div class="topic-metadata">

**Author:** [@KarthikITeLearn](https://forum.kirupa.com/u/KarthikITeLearn)\
**Replies:** 0\
**Last updated:** [June 15, 2015, 12:09pm UTC](https://forum.kirupa.com/t/java-online-training-classes/633341 "2015-06-15T12:09:47Z")

</div>

Hi everyone, can any please tell me the best online training institute for java. i am working on java platform ,now i want to upgrade my subject on java, so can anyone help me on which is the best java online training …

---

## [kirupa.com - Generating HTML Code to View Flash](https://forum.kirupa.com/t/kirupa-com-generating-html-code-to-view-flash/643262)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 13, 2015, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-generating-html-code-to-view-flash/643262 "2015-06-13T07:00:00Z")

</div>

Generating HTML Code to View Flash There are two questions that get asked of me the most: How do I publish a Flash animation? How can I make my animation transparent? After having spent more than 10 hours in Flash, …

---

## [Ignore Kirupa :P](https://forum.kirupa.com/t/ignore-kirupa-p/633319)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 2\
**Last updated:** [June 10, 2015, 8:16pm UTC](https://forum.kirupa.com/t/ignore-kirupa-p/633319 "2015-06-10T20:16:30Z")

</div>

by kirupa | 3 June 2014 Ok, so here is the setup! A short while ago, I was trying to listen for mouse events on the body of a mostly empty page. What I wanted to do was make the body element take u…

---

## [Help With Duplicating Movie Clips](https://forum.kirupa.com/t/help-with-duplicating-movie-clips/220083)

<div class="topic-metadata">

**Author:** [@MattyG](https://forum.kirupa.com/u/MattyG)\
**Replies:** 1\
**Last updated:** [June 9, 2015, 12:41pm UTC](https://forum.kirupa.com/t/help-with-duplicating-movie-clips/220083 "2015-06-09T12:41:07Z")

</div>

Does anyone know of any good examples or tutorials that explain how to do a loop which will duplicate a movie clip and repeat it based on the height and width of an area? The exact thing I am looking to do is what the…

---

## [How to make 'dumb ways to die' puke clean up style game in AS2 ?](https://forum.kirupa.com/t/how-to-make-dumb-ways-to-die-puke-clean-up-style-game-in-as2/633304)

<div class="topic-metadata">

**Author:** [@JiRajii](https://forum.kirupa.com/u/JiRajii)\
**Replies:** 0\
**Last updated:** [June 5, 2015, 1:34pm UTC](https://forum.kirupa.com/t/how-to-make-dumb-ways-to-die-puke-clean-up-style-game-in-as2/633304 "2015-06-05T13:34:17Z")

</div>

Hi all. I've been having some trouble while making simple erasing game. The game have system like 'dumb ways to die' puke clean up. with time to clear all bitmap data and 3 random image. any suggestion are accepted. h…

---

## [JS101: JavaScript for Beginners (2.0) | kirupa.com](https://forum.kirupa.com/t/js101-javascript-for-beginners-2-0-kirupa-com/633264)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 3, 2015, 10:26am UTC](https://forum.kirupa.com/t/js101-javascript-for-beginners-2-0-kirupa-com/633264 "2015-06-03T10:26:29Z")

</div>

by kirupa | 20 March 2015 Have you ever wondered what it would be like to learn a programming language like JavaScript without all the boring and unnecessary stuff that usually goes along with it? Well, …

---

## [Connect 4 using canvas](https://forum.kirupa.com/t/connect-4-using-canvas/633261)

<div class="topic-metadata">

**Author:** [@pokethekat](https://forum.kirupa.com/u/pokethekat)\
**Replies:** 0\
**Last updated:** [June 2, 2015, 8:41pm UTC](https://forum.kirupa.com/t/connect-4-using-canvas/633261 "2015-06-02T20:41:25Z")

</div>

Hello, I'm very new to developing and am stuck on how to load a chip in a connect 4 game. Right now, anywhere I click on the game board is where the chip is drawn. How do I get to draw to the bottom of the column? …

---

## [Kirupa.com - Rounding Numbers in JavaScript](https://forum.kirupa.com/t/kirupa-com-rounding-numbers-in-javascript/353173)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 2\
**Last updated:** [June 2, 2015, 3:13pm UTC](https://forum.kirupa.com/t/kirupa-com-rounding-numbers-in-javascript/353173 "2015-06-02T15:13:39Z")

</div>

by kirupa | 24 December 2012 Have questions? Discuss this HTML5 / JavaScript tutorial with others on the forums. This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/ro…

---

## [Two Things to Make Your Content More Shareable](https://forum.kirupa.com/t/two-things-to-make-your-content-more-shareable/633188)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 2\
**Last updated:** [June 2, 2015, 9:56am UTC](https://forum.kirupa.com/t/two-things-to-make-your-content-more-shareable/633188 "2015-06-02T09:56:52Z")

</div>

by kirupa | 13 May 2015 If you create awesome content, you will get some (or a whole lotta!) help from visitors who will be excited to share your content with their friends through their social networ…

---

## [Detect Actionscript Version of external SWF](https://forum.kirupa.com/t/detect-actionscript-version-of-external-swf/633252)

<div class="topic-metadata">

**Author:** [@DaveNigella](https://forum.kirupa.com/u/DaveNigella)\
**Replies:** 3\
**Last updated:** [May 29, 2015, 10:24pm UTC](https://forum.kirupa.com/t/detect-actionscript-version-of-external-swf/633252 "2015-05-29T22:24:32Z")

</div>

I have a main AS3 file that allows the user to upload and load an external SWF into a containerMC. The external SWF must be AS3 otherwise some of the functionality won't work correctly. So after loading, I need to det…

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

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