# programming

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

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

**Page:** 83

---

## [How to add keyboard interaction?](https://forum.kirupa.com/t/how-to-add-keyboard-interaction/438542)

<div class="topic-metadata">

**Author:** [@withinboy2z](https://forum.kirupa.com/u/withinboy2z)\
**Replies:** 2\
**Last updated:** [December 19, 2014, 7:26am UTC](https://forum.kirupa.com/t/how-to-add-keyboard-interaction/438542 "2014-12-19T07:26:00Z")

</div>

I got 16 different buttons in this application, each button playing different kind of sound. Currently i only able to use mouse click to start playing sound, and click again to stop, but now i wish to add shortcut key to…

---

## [Create an Analog Clock Using the Canvas? Can't Get Code To Work??](https://forum.kirupa.com/t/create-an-analog-clock-using-the-canvas-cant-get-code-to-work/439572)

<div class="topic-metadata">

**Author:** [@Michael\_Reisman](https://forum.kirupa.com/u/Michael_Reisman)\
**Replies:** 0\
**Last updated:** [December 19, 2014, 6:51am UTC](https://forum.kirupa.com/t/create-an-analog-clock-using-the-canvas-cant-get-code-to-work/439572 "2014-12-19T06:51:11Z")

</div>

Hello Forum! I am following the "Create an Analog Clock Using the Canvas" tutorial on Kirupa's website and I can't seem to get past one step. Would the forum be willing to give me some advice? Everything is fine un…

---

## [Moving to next frame based on 1 letter typed in a text field](https://forum.kirupa.com/t/moving-to-next-frame-based-on-1-letter-typed-in-a-text-field/438452)

<div class="topic-metadata">

**Author:** [@rhanna2](https://forum.kirupa.com/u/rhanna2)\
**Replies:** 0\
**Last updated:** [December 18, 2014, 4:50pm UTC](https://forum.kirupa.com/t/moving-to-next-frame-based-on-1-letter-typed-in-a-text-field/438452 "2014-12-18T16:50:53Z")

</div>

Hello, I have a text field that will change display based on what is typed in the field, very similar to a drop-down menu. What I need to know, is how can I have it navigate to the next frame if there is no action other…

---

## [Which extension is right? HTM or HTML?](https://forum.kirupa.com/t/which-extension-is-right-htm-or-html/351944)

<div class="topic-metadata">

**Author:** [@dion90](https://forum.kirupa.com/u/dion90)\
**Replies:** 7\
**Last updated:** [December 17, 2014, 10:05pm UTC](https://forum.kirupa.com/t/which-extension-is-right-htm-or-html/351944 "2014-12-17T22:05:05Z")

</div>

I am new in web developer.. While designing a web site we can either use HTM or HTML, but which is more appropriate? and why?Considering future versions of HTML or other scripting, programming languages, which extension …

---

## [Help with the mouse trail](https://forum.kirupa.com/t/help-with-the-mouse-trail/427124)

<div class="topic-metadata">

**Author:** [@takshi\_murairi](https://forum.kirupa.com/u/takshi_murairi)\
**Replies:** 2\
**Last updated:** [December 16, 2014, 8:24pm UTC](https://forum.kirupa.com/t/help-with-the-mouse-trail/427124 "2014-12-16T20:24:41Z")

</div>

Hi, I am working on a project in which i am planning to display a video as one of my final project for my video art elective. I want to make it interactive by adding a mouse trail on top of it so that viewers can leave…

---

## [css for new site](https://forum.kirupa.com/t/css-for-new-site/432389)

<div class="topic-metadata">

**Author:** [@iceb](https://forum.kirupa.com/u/iceb)\
**Replies:** 0\
**Last updated:** [December 16, 2014, 6:18am UTC](https://forum.kirupa.com/t/css-for-new-site/432389 "2014-12-16T06:18:36Z")

</div>

well here u go here is the screenshot u look at the width not the height u compared it to the same width that is here on this site i wante it to look like the site that is here my site with 2013 theme on it here …

---

## [kirupa.com - 5 Simple Tools/Tricks You Should Use](https://forum.kirupa.com/t/kirupa-com-5-simple-tools-tricks-you-should-use/402130)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 1\
**Last updated:** [December 15, 2014, 11:10am UTC](https://forum.kirupa.com/t/kirupa-com-5-simple-tools-tricks-you-should-use/402130 "2014-12-15T11:10:59Z")

</div>

by kirupa | 19 July 2012 You just finished creating your online masterpiece (web site / page / article / etc.). The content is done. The design is really awesome. You like what you've created. Your …

---

## [Trying to target a movie clip on parent timeline](https://forum.kirupa.com/t/trying-to-target-a-movie-clip-on-parent-timeline/419812)

<div class="topic-metadata">

**Author:** [@Eddie\_E](https://forum.kirupa.com/u/Eddie_E)\
**Replies:** 4\
**Last updated:** [December 15, 2014, 3:12am UTC](https://forum.kirupa.com/t/trying-to-target-a-movie-clip-on-parent-timeline/419812 "2014-12-15T03:12:56Z")

</div>

Hi I have the following: koala1\_mc.addEventListener(MouseEvent.CLICK, koala1); koala1\_mc.buttonMode = true; koala1\_mc.useHandCursor = true; function koala1(e:MouseEvent):void { MovieClip(parent).game1\_mc.gotoAn…

---

## [Coding a character to go to the opposite side when exceeding the stage width](https://forum.kirupa.com/t/coding-a-character-to-go-to-the-opposite-side-when-exceeding-the-stage-width/427203)

<div class="topic-metadata">

**Author:** [@A\_Feral\_Unicorn](https://forum.kirupa.com/u/A_Feral_Unicorn)\
**Replies:** 1\
**Last updated:** [December 15, 2014, 12:05am UTC](https://forum.kirupa.com/t/coding-a-character-to-go-to-the-opposite-side-when-exceeding-the-stage-width/427203 "2014-12-15T00:05:04Z")

</div>

Basically, I've made it so that my "player" in my game doesn't exceed the stage width (only moves along the x axis) and so when it gets to the edge it just stops. However, I want to make it so that if the player exceeds …

---

## [kirupa.com - AIM/Mail Button](https://forum.kirupa.com/t/kirupa-com-aim-mail-button/427744)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 14, 2014, 4:16am UTC](https://forum.kirupa.com/t/kirupa-com-aim-mail-button/427744 "2014-12-14T04:16:03Z")

</div>

In this tutorial we will create a Button that when pressed will open up an AOL Instant Messenger window with your ScreenName and your …

---

## [Scroll text extracted from string using Flash 8 duplicate Movie Clip](https://forum.kirupa.com/t/scroll-text-extracted-from-string-using-flash-8-duplicate-movie-clip/427046)

<div class="topic-metadata">

**Author:** [@Patsail1](https://forum.kirupa.com/u/Patsail1)\
**Replies:** 0\
**Last updated:** [December 13, 2014, 12:51pm UTC](https://forum.kirupa.com/t/scroll-text-extracted-from-string-using-flash-8-duplicate-movie-clip/427046 "2014-12-13T12:51:16Z")

</div>

I have tried all sorts of coding and am now making thr coding worse. I think the problem is in Frame 1 - In the 'While Loop' Gratefull for any help scrolling-text-around-world-ball.fla (77.5 KB) Pat

---

## [Books (That You Should Totally Check Out) | kirupa.com](https://forum.kirupa.com/t/books-that-you-should-totally-check-out-kirupa-com/426257)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 13, 2014, 2:37am UTC](https://forum.kirupa.com/t/books-that-you-should-totally-check-out-kirupa-com/426257 "2014-12-13T02:37:23Z")

</div>

by kirupa | 4 August 2014 I am not what you would call an avid reader. I actually shun most forms of reading, but I have (ironcally) written a few books that you may find interesting, educational, and oc…

---

## [Button component loops 2 squares](https://forum.kirupa.com/t/button-component-loops-2-squares/351993)

<div class="topic-metadata">

**Author:** [@onurcan1977](https://forum.kirupa.com/u/onurcan1977)\
**Replies:** 1\
**Last updated:** [December 13, 2014, 1:58am UTC](https://forum.kirupa.com/t/button-component-loops-2-squares/351993 "2014-12-13T01:58:01Z")

</div>

I'm trying to create some buttons dynamically. When I test the code below, a white rectangle appears and the button loops its 2 squares. import flash.display.MovieClip; function createButton(event:Event) { var cla…

---

## [Playing flvs locally](https://forum.kirupa.com/t/playing-flvs-locally/425091)

<div class="topic-metadata">

**Author:** [@e\_v](https://forum.kirupa.com/u/e_v)\
**Replies:** 2\
**Last updated:** [December 13, 2014, 1:34am UTC](https://forum.kirupa.com/t/playing-flvs-locally/425091 "2014-12-13T01:34:38Z")

</div>

I take it Adobe no longer makes its Media Player. So what is the best way to view an FLV by itself? I looked up various third-party players, but on the two I tried to download, my antivirus warned me about adware threa…

---

## [kirupa.com - Frame Rates and HTML/JavaScript](https://forum.kirupa.com/t/kirupa-com-frame-rates-and-html-javascript/424412)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 12, 2014, 12:14pm UTC](https://forum.kirupa.com/t/kirupa-com-frame-rates-and-html-javascript/424412 "2014-12-12T12:14:12Z")

</div>

by kirupa | 8 July 2011 Have questions? Discuss this HTML tutorial with others on the forums. This is a companion discussion topic for the original entry at http://www.kirupa.com/tutorial\_html5.htm

---

## [kirupa.com - Using Strings in Flash, Page 4](https://forum.kirupa.com/t/kirupa-com-using-strings-in-flash-page-4/423604)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 12, 2014, 8:20am UTC](https://forum.kirupa.com/t/kirupa-com-using-strings-in-flash-page-4/423604 "2014-12-12T08:20:54Z")

</div>

In the previous page, I finished explaining the part where the data was divided into separate variables. I also provided a brief explanation as to why we use so many variable names when dealing with s…

---

## [Can't display some variables from mysql database to my grid in flash builder](https://forum.kirupa.com/t/cant-display-some-variables-from-mysql-database-to-my-grid-in-flash-builder/416202)

<div class="topic-metadata">

**Author:** [@espresso](https://forum.kirupa.com/u/espresso)\
**Replies:** 1\
**Last updated:** [December 10, 2014, 2:50am UTC](https://forum.kirupa.com/t/cant-display-some-variables-from-mysql-database-to-my-grid-in-flash-builder/416202 "2014-12-10T02:50:19Z")

</div>

Hi I'm new here and I'm trying to learn flex programming and flash builder. I still have a lot to learn to be honest. I am practically teaching myself to learn this. Here is my problem. I am trying to display data from…

---

## [kirupa.com - Grassy Field: Case Study](https://forum.kirupa.com/t/kirupa-com-grassy-field-case-study/416926)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 9, 2014, 4:59pm UTC](https://forum.kirupa.com/t/kirupa-com-grassy-field-case-study/416926 "2014-12-09T16:59:36Z")

</div>

If you stumbled upon this page (from a search engine maybe?) without getting a chance to actually create the grass animation, click here to …

---

## [Help ! Programming Logic for ultra noob](https://forum.kirupa.com/t/help-programming-logic-for-ultra-noob/414200)

<div class="topic-metadata">

**Author:** [@shine1986](https://forum.kirupa.com/u/shine1986)\
**Replies:** 2\
**Last updated:** [December 8, 2014, 8:58pm UTC](https://forum.kirupa.com/t/help-programming-logic-for-ultra-noob/414200 "2014-12-08T20:58:02Z")

</div>

Hi guys/gals I used to be a graphic designer now i have started learning programming a few days back,i have started with JS. My problem is can't understand the logic in programming,it's like i am totally blank. I underst…

---

## [Easily Finding and Fixing Pixel-Sized Issues | kirupa.com](https://forum.kirupa.com/t/easily-finding-and-fixing-pixel-sized-issues-kirupa-com/415023)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 8, 2014, 4:32pm UTC](https://forum.kirupa.com/t/easily-finding-and-fixing-pixel-sized-issues-kirupa-com/415023 "2014-12-08T16:32:45Z")

</div>

by kirupa | 28 October 2012 Death, taxes, and things being off by a few pixels in your web page are the only guarantees you have in life. In this video, I explain how to use an image editor like …

---

## [kirupa.com - Placing Objects on Stage](https://forum.kirupa.com/t/kirupa-com-placing-objects-on-stage/414622)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 8, 2014, 1:25pm UTC](https://forum.kirupa.com/t/kirupa-com-placing-objects-on-stage/414622 "2014-12-08T13:25:45Z")

</div>

Because Swift 3D is a three-dimensional vector editing/creating program, you can create and edit objects in all three dimensions (x, y, z). Because it is …

---

## [Content Slider | Snippets | kirupa.com](https://forum.kirupa.com/t/content-slider-snippets-kirupa-com/407729)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 5, 2014, 8:15am UTC](https://forum.kirupa.com/t/content-slider-snippets-kirupa-com/407729 "2014-12-05T08:15:51Z")

</div>

by kirupa | 15 November 2012 One of the more common ways of displaying content is through the use of what is known as a content slider. Even if the name doesn't ring a bell, I'm sure you've seen them around. An…

---

## [kirupa.com - Reading XML Files Directly, Page 3](https://forum.kirupa.com/t/kirupa-com-reading-xml-files-directly-page-3/407397)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 5, 2014, 2:33am UTC](https://forum.kirupa.com/t/kirupa-com-reading-xml-files-directly-page-3/407397 "2014-12-05T02:33:21Z")

</div>

In the previous page, we started going over the code. In this page, we will pick up from where we left off and tie up any loose ends. This is a companion discussion topic for the original ent…

---

## [ArgumentError: Error #2004 when implementing iExternalizable](https://forum.kirupa.com/t/argumenterror-error-2004-when-implementing-iexternalizable/407196)

<div class="topic-metadata">

**Author:** [@sneakyimp](https://forum.kirupa.com/u/sneakyimp)\
**Replies:** 1\
**Last updated:** [December 4, 2014, 11:28pm UTC](https://forum.kirupa.com/t/argumenterror-error-2004-when-implementing-iexternalizable/407196 "2014-12-04T23:28:01Z")

</div>

I've written a trivial class in attempting to better understand iExternalizable's behavior. I can't see that I've done anything wrong, but my code throws an error. Here's my class: package { import flash.utils.ID…

---

## [kirupa.com - Backup Your Site's Data Efficiently...Like a Ninja!](https://forum.kirupa.com/t/kirupa-com-backup-your-sites-data-efficiently-like-a-ninja/402084)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 3, 2014, 8:20am UTC](https://forum.kirupa.com/t/kirupa-com-backup-your-sites-data-efficiently-like-a-ninja/402084 "2014-12-03T08:20:16Z")

</div>

by kirupa | 30 August 2012 I've been goofing around on this site since 1999. Over those years, I've made every mistake imaginable. The mistakes that I often regretted the most involved losing valuable da…

---

## [kirupa.com - Custom Data (data-\*) Attributes](https://forum.kirupa.com/t/kirupa-com-custom-data-data-attributes/400802)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 2, 2014, 4:06pm UTC](https://forum.kirupa.com/t/kirupa-com-custom-data-data-attributes/400802 "2014-12-02T16:06:23Z")

</div>

by kirupa | 7 August 2012 In the past, if you ever wanted to mark or tag your elements for any sort of programmatic access later, you didn't have too many good choices. The most common thing you did was …

---

## [AS3 TimerEvent not 'firing'](https://forum.kirupa.com/t/as3-timerevent-not-firing/352036)

<div class="topic-metadata">

**Author:** [@ZombieDude](https://forum.kirupa.com/u/ZombieDude)\
**Replies:** 2\
**Last updated:** [December 2, 2014, 3:06pm UTC](https://forum.kirupa.com/t/as3-timerevent-not-firing/352036 "2014-12-02T15:06:11Z")

</div>

Hi (again), as previously stated, I am learning AS3. I have written some code (it's messy and no where near professional looking but for now, I am settling for it just working!) and it isn't working. Basically, I need …

---

## [Going from a String to a Number | kirupa.com](https://forum.kirupa.com/t/going-from-a-string-to-a-number-kirupa-com/400562)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 2, 2014, 1:58pm UTC](https://forum.kirupa.com/t/going-from-a-string-to-a-number-kirupa-com/400562 "2014-12-02T13:58:16Z")

</div>

by kirupa | 13 November 2013 By design, strings deal with text-based things. Numbers deal with...um...numbers. For the most part, unless you are displaying some text that includes numerical data, you …

---

## [Debugging JavaScript by Using Breakpoints | kirupa.com](https://forum.kirupa.com/t/debugging-javascript-by-using-breakpoints-kirupa-com/400427)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 2, 2014, 12:39pm UTC](https://forum.kirupa.com/t/debugging-javascript-by-using-breakpoints-kirupa-com/400427 "2014-12-02T12:39:51Z")

</div>

by kirupa | 15 December 2012 No matter how well you write your JavaScript, given its scripty nature, mistakes will happen. The mistakes that you run into will often be subtle. A great time saver when …

---

## [kirupa.com - Fading Out Letters in Text, Page 3](https://forum.kirupa.com/t/kirupa-com-fading-out-letters-in-text-page-3/400023)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 2, 2014, 8:32am UTC](https://forum.kirupa.com/t/kirupa-com-fading-out-letters-in-text-page-3/400023 "2014-12-02T08:32:57Z")

</div>

by kirupa | 16 June 2011 Have questions? Discuss this Flash tutorial with others on the forums. This is a companion discussion topic for the original entry at http://…

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

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