# programming

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

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

**Page:** 92

---

## [JavaScript, the Browser, and the DOM](https://forum.kirupa.com/t/javascript-the-browser-and-the-dom/352074)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [November 21, 2014, 4:02am UTC](https://forum.kirupa.com/t/javascript-the-browser-and-the-dom/352074 "2014-11-21T04:02:17Z")

</div>

Get a brief introduction to the Document Object Model (DOM) and why it is so important. This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/javascript\_the\_browser\_and\_the\_dom.htm

---

## [Mouse Events in JavaScript](https://forum.kirupa.com/t/mouse-events-in-javascript/352072)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [November 21, 2014, 4:02am UTC](https://forum.kirupa.com/t/mouse-events-in-javascript/352072 "2014-11-21T04:02:12Z")

</div>

Learn all about how to work with the mouse by both learning about the various events and the properties they expose. This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/mouse\_even…

---

## [The Battery Status API](https://forum.kirupa.com/t/the-battery-status-api/352066)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [November 21, 2014, 4:01am UTC](https://forum.kirupa.com/t/the-battery-status-api/352066 "2014-11-21T04:01:57Z")

</div>

See how to use the Battery Status API in JavaScript to create a totally sweet visual battery level/status indicator. This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/the\_batter…

---

## [Painting a mask with a non-circular brush](https://forum.kirupa.com/t/painting-a-mask-with-a-non-circular-brush/352057)

<div class="topic-metadata">

**Author:** [@Vaevictis](https://forum.kirupa.com/u/Vaevictis)\
**Replies:** 1\
**Last updated:** [November 20, 2014, 6:19pm UTC](https://forum.kirupa.com/t/painting-a-mask-with-a-non-circular-brush/352057 "2014-11-20T18:19:22Z")

</div>

I need for the user to be able to unveil a hidden image by painting it - á la the classic scratch lottery ticket. I can get it to work by placing the hidden image on top of the background image, putting a mask on it and …

---

## [Curl command](https://forum.kirupa.com/t/curl-command/332151)

<div class="topic-metadata">

**Author:** [@doc4255](https://forum.kirupa.com/u/doc4255)\
**Replies:** 4\
**Last updated:** [November 19, 2014, 10:56pm UTC](https://forum.kirupa.com/t/curl-command/332151 "2014-11-19T22:56:51Z")

</div>

can something like this be done in AS3... curl -v -H "Authorization: bearer XXXXX-XXX-XXX-XXX-XXXX" https://erikberg.com/me.json I have bee looking for days and cant seem to gain access. I already have the token but i …

---

## [SWF Player](https://forum.kirupa.com/t/swf-player/351976)

<div class="topic-metadata">

**Author:** [@twistedpixel](https://forum.kirupa.com/u/twistedpixel)\
**Replies:** 2\
**Last updated:** [November 19, 2014, 8:09pm UTC](https://forum.kirupa.com/t/swf-player/351976 "2014-11-19T20:09:54Z")

</div>

Hello all, I have a simple need on Flash. We have a set of 20 swf files that need to be played one after the other. These swf files are not on a server or an internet location, but available on the local system. I ju…

---

## [Timer that counts up & down to set events](https://forum.kirupa.com/t/timer-that-counts-up-down-to-set-events/352020)

<div class="topic-metadata">

**Author:** [@ZombieDude](https://forum.kirupa.com/u/ZombieDude)\
**Replies:** 2\
**Last updated:** [November 15, 2014, 9:17pm UTC](https://forum.kirupa.com/t/timer-that-counts-up-down-to-set-events/352020 "2014-11-15T21:17:15Z")

</div>

Hi there, I am at my wits end trying to figure this one out. i am a complete beginner to AS3 and need to complete my first assignment. I have to create a program that will react in a certain way depending on what day/t…

---

## [Adding/Removing movieclips that are nested](https://forum.kirupa.com/t/adding-removing-movieclips-that-are-nested/352034)

<div class="topic-metadata">

**Author:** [@good\_snow](https://forum.kirupa.com/u/good_snow)\
**Replies:** 3\
**Last updated:** [November 14, 2014, 8:58pm UTC](https://forum.kirupa.com/t/adding-removing-movieclips-that-are-nested/352034 "2014-11-14T20:58:24Z")

</div>

So I'm trying to figure out how to create popup boxes within popup boxes. I have the first popup box figured out and I tried to just copy the code for the first box and just change the buttons and AS for the second one b…

---

## [Move Player @ Dice Game on Board](https://forum.kirupa.com/t/move-player-dice-game-on-board/352028)

<div class="topic-metadata">

**Author:** [@jimfakoya](https://forum.kirupa.com/u/jimfakoya)\
**Replies:** 0\
**Last updated:** [November 13, 2014, 7:48am UTC](https://forum.kirupa.com/t/move-player-dice-game-on-board/352028 "2014-11-13T07:48:54Z")

</div>

Using Actionscript 3, How does a player move based on dice result? I'm developing a game that is based on the popular snake and ladder game as my undergraduate project. It has 36 tiles. Thus far, I'm able to roll the di…

---

## [Parameter Name Expected, not sure why :(](https://forum.kirupa.com/t/parameter-name-expected-not-sure-why/208235)

<div class="topic-metadata">

**Author:** [@DeletedUser12345](https://forum.kirupa.com/u/DeletedUser12345)\
**Replies:** 4\
**Last updated:** [November 13, 2014, 4:52am UTC](https://forum.kirupa.com/t/parameter-name-expected-not-sure-why/208235 "2014-11-13T04:52:31Z")

</div>

I've searched the forum for answers to this particular problem and haven't found it, so I'm posting here. I'm creating a small game w/ Actionscript 2.0 that works sort of like Minesweeper on Windows. Basically there is…

---

## [Game Problem](https://forum.kirupa.com/t/game-problem/352026)

<div class="topic-metadata">

**Author:** [@rhanna21](https://forum.kirupa.com/u/rhanna21)\
**Replies:** 1\
**Last updated:** [November 13, 2014, 2:03am UTC](https://forum.kirupa.com/t/game-problem/352026 "2014-11-13T02:03:14Z")

</div>

Hello, I've got a problem with a game. I'd like to be able to have the movie clips be both clickable and add text to the dynamic text box that I created. However, when I put this code into my fla file, nothing happens wh…

---

## [Custom Datagrid Cellrenderer NOT firing datagrid edit events](https://forum.kirupa.com/t/custom-datagrid-cellrenderer-not-firing-datagrid-edit-events/352005)

<div class="topic-metadata">

**Author:** [@FLBill](https://forum.kirupa.com/u/FLBill)\
**Replies:** 0\
**Last updated:** [November 7, 2014, 8:16pm UTC](https://forum.kirupa.com/t/custom-datagrid-cellrenderer-not-firing-datagrid-edit-events/352005 "2014-11-07T20:16:16Z")

</div>

Custom CellRenderer issue, using Flash DataGrid in Using FlashPro CS6. Bottom line: Can't get a Datagrid MyCustomRenderer extends UIComponent to pick up skins; or a MyCustomRenderer extends CellRenderer to fire Data…

---

## [Resizing external swf](https://forum.kirupa.com/t/resizing-external-swf/351995)

<div class="topic-metadata">

**Author:** [@nekolita](https://forum.kirupa.com/u/nekolita)\
**Replies:** 1\
**Last updated:** [November 7, 2014, 6:27pm UTC](https://forum.kirupa.com/t/resizing-external-swf/351995 "2014-11-07T18:27:42Z")

</div>

Hello, I'm very, very new in Flash AS3 and currently, I'm having a problem on how to resize my external swf. My parent swf is in landscape mode and my child swf is in portrait mode. I want the output of the child swf …

---

## [Load new button in gaia framework based flash web site](https://forum.kirupa.com/t/load-new-button-in-gaia-framework-based-flash-web-site/351987)

<div class="topic-metadata">

**Author:** [@strawberry](https://forum.kirupa.com/u/strawberry)\
**Replies:** 1\
**Last updated:** [November 6, 2014, 7:34pm UTC](https://forum.kirupa.com/t/load-new-button-in-gaia-framework-based-flash-web-site/351987 "2014-11-06T19:34:25Z")

</div>

Hi everyone I am totally new to Gaia framework and as3...however by studying their online documentation I was able to understand how a web site is structured. I need to add a button to my front page that will be poin…

---

## [Days in Calendar Week](https://forum.kirupa.com/t/days-in-calendar-week/351972)

<div class="topic-metadata">

**Author:** [@SethXML](https://forum.kirupa.com/u/SethXML)\
**Replies:** 2\
**Last updated:** [November 3, 2014, 7:07pm UTC](https://forum.kirupa.com/t/days-in-calendar-week/351972 "2014-11-03T19:07:30Z")

</div>

Hello there! I'm new at this forum, and I fight with a big problem, so all I want is to give out all Dates in a Calendar Week for excample next week we have week 45 and I have 5 Textfields, and in the first field there…

---

## [Help in array](https://forum.kirupa.com/t/help-in-array/351961)

<div class="topic-metadata">

**Author:** [@west\_cost](https://forum.kirupa.com/u/west_cost)\
**Replies:** 7\
**Last updated:** [November 3, 2014, 4:04pm UTC](https://forum.kirupa.com/t/help-in-array/351961 "2014-11-03T16:04:55Z")

</div>

Hi,, I want to work check before displaying any information on what it is to not repeated with supply My code: var sp:Array = new Array( 'Ball' , 'Seq' , 'Circle' , 'Rec'); btn.addEventListener(MouseEvent.CLICK, Press…

---

## [Developing for all four iPhone resolutions - how do you go about it?](https://forum.kirupa.com/t/developing-for-all-four-iphone-resolutions-how-do-you-go-about-it/351968)

<div class="topic-metadata">

**Author:** [@Vaevictis](https://forum.kirupa.com/u/Vaevictis)\
**Replies:** 2\
**Last updated:** [November 3, 2014, 1:28am UTC](https://forum.kirupa.com/t/developing-for-all-four-iphone-resolutions-how-do-you-go-about-it/351968 "2014-11-03T01:28:53Z")

</div>

With iPhone 6 out, developing for both iPhone 4, 5, 6 and 6 plus is a must. I'm pretty new to considering adaptive interfaces / content when developing apps, so I'm looking for strategies on how to approach it. My curr…

---

## [I'm creating a massive animation course in JS & AS3](https://forum.kirupa.com/t/im-creating-a-massive-animation-course-in-js-as3/351956)

<div class="topic-metadata">

**Author:** [@everythingFLA](https://forum.kirupa.com/u/everythingFLA)\
**Replies:** 4\
**Last updated:** [November 2, 2014, 7:46pm UTC](https://forum.kirupa.com/t/im-creating-a-massive-animation-course-in-js-as3/351956 "2014-11-02T19:46:07Z")

</div>

It's going to be a lot of hours split into 3 courses in JavaScript and 3 courses in Adobe Flash. (split between starter, medium and advanced topics ). I would love to hear from you what you would want to learn in a cou…

---

## [Help me to change name server](https://forum.kirupa.com/t/help-me-to-change-name-server/351959)

<div class="topic-metadata">

**Author:** [@warrior21](https://forum.kirupa.com/u/warrior21)\
**Replies:** 0\
**Last updated:** [October 28, 2014, 5:31pm UTC](https://forum.kirupa.com/t/help-me-to-change-name-server/351959 "2014-10-28T17:31:22Z")

</div>

Hi all i want to change my site's name server but i am totally unable to that please help me.. please read current name server is net4india want to change to: my own hosting name server hosted by hostgator my problem: …

---

## [Animated drop down menu?](https://forum.kirupa.com/t/animated-drop-down-menu/9911)

<div class="topic-metadata">

**Author:** [@Brumtoff](https://forum.kirupa.com/u/Brumtoff)\
**Replies:** 3\
**Last updated:** [October 29, 2014, 10:10pm UTC](https://forum.kirupa.com/t/animated-drop-down-menu/9911 "2014-10-29T22:10:06Z")

</div>

Anyone have a good tutorial on creating an animated drop down menu?:eye:

---

## [Switch case executes "false"s too?](https://forum.kirupa.com/t/switch-case-executes-false-s-too/351960)

<div class="topic-metadata">

**Author:** [@patrickjv](https://forum.kirupa.com/u/patrickjv)\
**Replies:** 2\
**Last updated:** [October 29, 2014, 6:16pm UTC](https://forum.kirupa.com/t/switch-case-executes-false-s-too/351960 "2014-10-29T18:16:53Z")

</div>

var myConstant:Number = 3 for (var i:int = 0; i \< 30; i++) { switch (true) { case i \> 20: trace(i,"\>20"); case i % myConstant == 0: trace(i,i % myConstant == 0,i % myConsta…

---

## [ApplicationDomain for imported SWF](https://forum.kirupa.com/t/applicationdomain-for-imported-swf/331771)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 3\
**Last updated:** [October 29, 2014, 5:13pm UTC](https://forum.kirupa.com/t/applicationdomain-for-imported-swf/331771 "2014-10-29T17:13:10Z")

</div>

Hi, I am having a few problem with an imported SWF: the imported SWF is importing a few of the classes already imported by the main SWF, but they are more recent and I need to use them without recompiling the main SWF. C…

---

## [\#NEEDHELP for my AS 3.0 code](https://forum.kirupa.com/t/needhelp-for-my-as-3-0-code/351958)

<div class="topic-metadata">

**Author:** [@Mark\_Clint](https://forum.kirupa.com/u/Mark_Clint)\
**Replies:** 2\
**Last updated:** [October 28, 2014, 3:56pm UTC](https://forum.kirupa.com/t/needhelp-for-my-as-3-0-code/351958 "2014-10-28T15:56:29Z")

</div>

Good day Master., Hope you can help me on how to create like an angry bird game in AS 3.0 ;(

---

## [Loading hangs](https://forum.kirupa.com/t/loading-hangs/351955)

<div class="topic-metadata">

**Author:** [@flashpipe](https://forum.kirupa.com/u/flashpipe)\
**Replies:** 1\
**Last updated:** [October 28, 2014, 9:34am UTC](https://forum.kirupa.com/t/loading-hangs/351955 "2014-10-28T09:34:56Z")

</div>

Alright, I've inherited someone else's code and everything seems to be working pretty good, but, sometimes (and it's not consistent), the pages that are loaded into the shell seem to "fail" while loading. On a faster …

---

## [Help With Hotmail](https://forum.kirupa.com/t/help-with-hotmail/351957)

<div class="topic-metadata">

**Author:** [@brownie](https://forum.kirupa.com/u/brownie)\
**Replies:** 0\
**Last updated:** [October 28, 2014, 6:14am UTC](https://forum.kirupa.com/t/help-with-hotmail/351957 "2014-10-28T06:14:22Z")

</div>

Hi I run an Internet Cafe and I am having an issue with Hotmail login. I have 12 machines and this issue can happen on any of them but it only happens randomly. The issue is when a client logs into their hotmail acco…

---

## [Game Resources](https://forum.kirupa.com/t/game-resources/38907)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 6\
**Last updated:** [October 25, 2014, 10:40pm UTC](https://forum.kirupa.com/t/game-resources/38907 "2014-10-25T22:40:49Z")

</div>

Post game resources here! Tutorials • Flash RPG by SeiferTim http://www.kirupa.com/developer/actionscript/rpgprogramming.htm • Game Fundamentals in Flash by Rex http://www.mindsofintelligence.com/forums/showthr…

---

## [Icio’s rollercoaster code (like line rider)](https://forum.kirupa.com/t/icio-s-rollercoaster-code-like-line-rider/332154)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 6\
**Last updated:** [October 25, 2014, 9:29pm UTC](https://forum.kirupa.com/t/icio-s-rollercoaster-code-like-line-rider/332154 "2014-10-25T21:29:52Z")

</div>

A few years ago I saved a copy of AS2 code titled “rollercoaster” posted by kirupa user icio, because it’s so cool. I’m now getting around to converting it to AS3 and there’s a little bug I’m stuck on (bug also exists in…

---

## [Bug and hanging in the Nav bar submenu of HTML/CSS design](https://forum.kirupa.com/t/bug-and-hanging-in-the-nav-bar-submenu-of-html-css-design/351940)

<div class="topic-metadata">

**Author:** [@Mohamed\_Ameen](https://forum.kirupa.com/u/Mohamed_Ameen)\
**Replies:** 2\
**Last updated:** [October 23, 2014, 5:33pm UTC](https://forum.kirupa.com/t/bug-and-hanging-in-the-nav-bar-submenu-of-html-css-design/351940 "2014-10-23T17:33:38Z")

</div>

I have a bug and hanging in my Nav bar submenu of HTML design when clicking on a submenu link it's working well at the first load. After that, When I go to any link and go back the nav bar submenu hanging out show …

---

## [URLLoader Event.COMPLETE is not working](https://forum.kirupa.com/t/urlloader-event-complete-is-not-working/351949)

<div class="topic-metadata">

**Author:** [@Lemolas](https://forum.kirupa.com/u/Lemolas)\
**Replies:** 1\
**Last updated:** [October 23, 2014, 4:21pm UTC](https://forum.kirupa.com/t/urlloader-event-complete-is-not-working/351949 "2014-10-23T16:21:07Z")

</div>

hi all, as first, i want to say that i'm using Haxe that is a kind of emulator of AS I'm having some issues with the listener Event.COMPLETE for the urlloader. It's like the trigger is not working and the function i…

---

## [Packing php files in apk file export](https://forum.kirupa.com/t/packing-php-files-in-apk-file-export/351950)

<div class="topic-metadata">

**Author:** [@glow](https://forum.kirupa.com/u/glow)\
**Replies:** 1\
**Last updated:** [October 23, 2014, 3:14pm UTC](https://forum.kirupa.com/t/packing-php-files-in-apk-file-export/351950 "2014-10-23T15:14:05Z")

</div>

Hi I have successfully been able to package an android app with xml files in flash cc but I'm having trouble getting the php files to work, is there a successful way to do this, do php and javascript files work at all wi…

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

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