# programming

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

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

**Page:** 102

---

## [Online tutorial](https://forum.kirupa.com/t/online-tutorial/332198)

<div class="topic-metadata">

**Author:** [@peterson10011](https://forum.kirupa.com/u/peterson10011)\
**Replies:** 0\
**Last updated:** [February 27, 2014, 4:59am UTC](https://forum.kirupa.com/t/online-tutorial/332198 "2014-02-27T04:59:23Z")

</div>

Hai everyone. Is there any online tutorial to learn java script in a short while.

---

## [Redirect page with condition: traffic source](https://forum.kirupa.com/t/redirect-page-with-condition-traffic-source/332196)

<div class="topic-metadata">

**Author:** [@baroim](https://forum.kirupa.com/u/baroim)\
**Replies:** 0\
**Last updated:** [February 26, 2014, 11:44pm UTC](https://forum.kirupa.com/t/redirect-page-with-condition-traffic-source/332196 "2014-02-26T23:44:52Z")

</div>

Is it possible to create a redirect page that triggered by traffic source? For example: Main site: abc.com - If someone referred to abc.com from website xxx.com, nothing happens - If someone referred to abc.com from we…

---

## [onEnterFrame looping problem](https://forum.kirupa.com/t/onenterframe-looping-problem/332195)

<div class="topic-metadata">

**Author:** [@theicecube92](https://forum.kirupa.com/u/theicecube92)\
**Replies:** 0\
**Last updated:** [February 26, 2014, 10:53pm UTC](https://forum.kirupa.com/t/onenterframe-looping-problem/332195 "2014-02-26T22:53:16Z")

</div>

Hey guys, So I have this code below. function myfunction():Void { for (i = 0; i \< 100; i++) { \_root.attachMovie('platform','platform\_' + i,i,{\_x:275 + i \* 100, \_y:200}); } } myfunction(); \_root\['platform\_' + i\].on…

---

## [Flash sprite sheet generator](https://forum.kirupa.com/t/flash-sprite-sheet-generator/332191)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 0\
**Last updated:** [February 25, 2014, 2:33am UTC](https://forum.kirupa.com/t/flash-sprite-sheet-generator/332191 "2014-02-25T02:33:39Z")

</div>

:upset: I'm doing some starling tests (because I haven't really used it much before) and it seems Flash's sprite sheet generator does not account for empty pixels Texture packer does, and includes an offset value in…

---

## [IE 11 update, now problems embedding SWFs](https://forum.kirupa.com/t/ie-11-update-now-problems-embedding-swfs/332189)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [February 24, 2014, 7:15pm UTC](https://forum.kirupa.com/t/ie-11-update-now-problems-embedding-swfs/332189 "2014-02-24T19:15:22Z")

</div>

Hello, Last week we got an IE 11 (henceforth referred to as the pig) update which has caused a few problems for us. The one I need to fix first is with embedding SWFs. I am using swfobject v2.2. The problem is that I …

---

## [Looking for online tutorial](https://forum.kirupa.com/t/looking-for-online-tutorial/332187)

<div class="topic-metadata">

**Author:** [@peterson10014](https://forum.kirupa.com/u/peterson10014)\
**Replies:** 0\
**Last updated:** [February 24, 2014, 4:51am UTC](https://forum.kirupa.com/t/looking-for-online-tutorial/332187 "2014-02-24T04:51:43Z")

</div>

Hai everyone. I am new tot his forum. Is there any online tutorial to learn SQL.

---

## [Error access camera from html5](https://forum.kirupa.com/t/error-access-camera-from-html5/332180)

<div class="topic-metadata">

**Author:** [@Tonyy](https://forum.kirupa.com/u/Tonyy)\
**Replies:** 0\
**Last updated:** [February 22, 2014, 7:23pm UTC](https://forum.kirupa.com/t/error-access-camera-from-html5/332180 "2014-02-22T19:23:59Z")

</div>

I did follow the code given, and has enabled getmedia @ chrome://flags, but still got an error. anybody can help? (i am a newbie here). \<!DOCTYPE html\> \<html\> \<head\> \<script\> var video = document.querySelector("#video…

---

## [Text field arrangement and attaching onRelease](https://forum.kirupa.com/t/text-field-arrangement-and-attaching-onrelease/332179)

<div class="topic-metadata">

**Author:** [@mrhartsclube](https://forum.kirupa.com/u/mrhartsclube)\
**Replies:** 0\
**Last updated:** [February 22, 2014, 3:57pm UTC](https://forum.kirupa.com/t/text-field-arrangement-and-attaching-onrelease/332179 "2014-02-22T15:57:47Z")

</div>

I written this code but its not working: on (release) { for (i = 1; i \<= 5; i++) { var container:MovieClip = this.createEmptyMovieClip(container\*, this.getNextHighestDepth()); var label:TextF…

---

## [Quick question about arrays](https://forum.kirupa.com/t/quick-question-about-arrays/332178)

<div class="topic-metadata">

**Author:** [@Katira](https://forum.kirupa.com/u/Katira)\
**Replies:** 0\
**Last updated:** [February 22, 2014, 3:26pm UTC](https://forum.kirupa.com/t/quick-question-about-arrays/332178 "2014-02-22T15:26:00Z")

</div>

I want to run a piece of code whenever a spesific object on stage hittests any object in an array, how can i do this? if (myObject.hitTestObject(myArray\[0\])) { // run code } This works and executes when my object hi…

---

## [AS3:: How to handle an issue with Resize Handler](https://forum.kirupa.com/t/as3-how-to-handle-an-issue-with-resize-handler/332176)

<div class="topic-metadata">

**Author:** [@tomeciu](https://forum.kirupa.com/u/tomeciu)\
**Replies:** 0\
**Last updated:** [February 22, 2014, 1:36pm UTC](https://forum.kirupa.com/t/as3-how-to-handle-an-issue-with-resize-handler/332176 "2014-02-22T13:36:03Z")

</div>

At the bottom i show my class DocObject code which responds for MovieClips location on the stage with help of the stage.addEventListener(Event.RESIZE,onResizeDoc); method. The problem is that when i publish the main.fla…

---

## [Why my code did not work?](https://forum.kirupa.com/t/why-my-code-did-not-work/332174)

<div class="topic-metadata">

**Author:** [@mrhartsclube](https://forum.kirupa.com/u/mrhartsclube)\
**Replies:** 0\
**Last updated:** [February 21, 2014, 11:38pm UTC](https://forum.kirupa.com/t/why-my-code-did-not-work/332174 "2014-02-21T23:38:24Z")

</div>

\[TABLE\] \[TR\] \[TD="class: votecell"\] \[/TD\] \[TD="class: postcell"\] I written this code but its not working: http://textuploader.com/1x29 I want to dynamically create some textfi…

---

## [Flash as2 Check my code for Load and Save game data please](https://forum.kirupa.com/t/flash-as2-check-my-code-for-load-and-save-game-data-please/332171)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [February 21, 2014, 12:40am UTC](https://forum.kirupa.com/t/flash-as2-check-my-code-for-load-and-save-game-data-please/332171 "2014-02-21T00:40:26Z")

</div>

Cannot get this to work to save my life. Trying to be able to save the game. Right now, the money saves, but not the rest of the data. Here is what is going on: Click the penny, $10 is added to your score, the penny disa…

---

## [AS3::: How to handle Error 1088: which occours by loading a swf file](https://forum.kirupa.com/t/as3-how-to-handle-error-1088-which-occours-by-loading-a-swf-file/332170)

<div class="topic-metadata">

**Author:** [@tomeciu](https://forum.kirupa.com/u/tomeciu)\
**Replies:** 0\
**Last updated:** [February 20, 2014, 5:03pm UTC](https://forum.kirupa.com/t/as3-how-to-handle-error-1088-which-occours-by-loading-a-swf-file/332170 "2014-02-20T17:03:33Z")

</div>

Hi! My project has such u construction: home.fla - main file where I created my Website layout and menus with submenus gallery.fla (where I have all needed Movie Clips)with three classes: 1 - Miniaturka which loads \*.img …

---

## [AS3:: How to aviod that unloadAndStop method, stops all my tweens?](https://forum.kirupa.com/t/as3-how-to-aviod-that-unloadandstop-method-stops-all-my-tweens/332167)

<div class="topic-metadata">

**Author:** [@tomeciu](https://forum.kirupa.com/u/tomeciu)\
**Replies:** 0\
**Last updated:** [February 20, 2014, 10:04am UTC](https://forum.kirupa.com/t/as3-how-to-aviod-that-unloadandstop-method-stops-all-my-tweens/332167 "2014-02-20T10:04:09Z")

</div>

I have such a code: var a:Array = new Array(s4\_1\_arch,btn\_back); var p:MovieClip = new MovieClip(); p = MovieClip(parent); var url:URLRequest; var myLoader:Loader = new Loader(); var loaded:Boo…

---

## [Continued removeChild confusion](https://forum.kirupa.com/t/continued-removechild-confusion/332165)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [February 19, 2014, 6:52pm UTC](https://forum.kirupa.com/t/continued-removechild-confusion/332165 "2014-02-19T18:52:22Z")

</div>

I am trying to remove a variable number (count) of display objects (MessageBubbles) from the display list. They are each referenced from an array called bArr: trace("bArr.length = " + bArr.length; for (var g:int = 1; …

---

## [AS3:: How can a global var take a value wich appears in a listenerEvent](https://forum.kirupa.com/t/as3-how-can-a-global-var-take-a-value-wich-appears-in-a-listenerevent/332164)

<div class="topic-metadata">

**Author:** [@tomeciu](https://forum.kirupa.com/u/tomeciu)\
**Replies:** 0\
**Last updated:** [February 19, 2014, 2:53pm UTC](https://forum.kirupa.com/t/as3-how-can-a-global-var-take-a-value-wich-appears-in-a-listenerevent/332164 "2014-02-19T14:53:39Z")

</div>

So this is my problem I have two classes: First class: MINIATURKA \*\*which loads all img by \*\*URLRequest Second class: MINIATURKI \*\*which loads a \*\*XML \*\*file and creates an Array of class \*\*MINIATURKA(loaded jpg) The …

---

## [AS3:: How can a var take over a Value which appears in a listenerEvent](https://forum.kirupa.com/t/as3-how-can-a-var-take-over-a-value-which-appears-in-a-listenerevent/332163)

<div class="topic-metadata">

**Author:** [@tomeciu](https://forum.kirupa.com/u/tomeciu)\
**Replies:** 0\
**Last updated:** [February 19, 2014, 1:27pm UTC](https://forum.kirupa.com/t/as3-how-can-a-var-take-over-a-value-which-appears-in-a-listenerevent/332163 "2014-02-19T13:27:04Z")

</div>

So this is my problem I have two classes: First class: MINIATURKA which loads all img by URLRequest Second class: MINIATURKI which loads a XML file and creates an Array of class MINIATURKA(loaded jpg) The img have differ…

---

## [AS3:: How can a global var take over a value which appears in a listenerEvent](https://forum.kirupa.com/t/as3-how-can-a-global-var-take-over-a-value-which-appears-in-a-listenerevent/332162)

<div class="topic-metadata">

**Author:** [@tomeciu](https://forum.kirupa.com/u/tomeciu)\
**Replies:** 0\
**Last updated:** [February 19, 2014, 1:18pm UTC](https://forum.kirupa.com/t/as3-how-can-a-global-var-take-over-a-value-which-appears-in-a-listenerevent/332162 "2014-02-19T13:18:15Z")

</div>

So this is what i'm working on: I have two calsses: \*\*MINIATURKA \*\*which loads images from url, and MINIATURKI which loads an XML file and creates an Array of class MINIATURKA(loaded jpg) The problem is, that the img h…

---

## [How to make a domino card game using actionscript 3.0](https://forum.kirupa.com/t/how-to-make-a-domino-card-game-using-actionscript-3-0/332161)

<div class="topic-metadata">

**Author:** [@sandi7777777](https://forum.kirupa.com/u/sandi7777777)\
**Replies:** 0\
**Last updated:** [February 19, 2014, 4:10am UTC](https://forum.kirupa.com/t/how-to-make-a-domino-card-game-using-actionscript-3-0/332161 "2014-02-19T04:10:25Z")

</div>

Sorry, i post it in here, i am new in this forum and i have no idea how to start to post a new thread. I need a simple tutorial to create a card game like dominos with a simple rule. So it has 1 Artificial Intelligent…

---

## [PHP CURL prob - error 56 - CURLE\_RECV\_ERROR](https://forum.kirupa.com/t/php-curl-prob-error-56-curle-recv-error/332159)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [February 18, 2014, 12:36pm UTC](https://forum.kirupa.com/t/php-curl-prob-error-56-curle-recv-error/332159 "2014-02-18T12:36:18Z")

</div>

Hi there, I have a script which uses CURL to pull data. It works great for most of the API request function except for one. I know there is a bit of data to be pulled but if iI set CURLOPT\_RETURNTRANSFER to 0 then i can …

---

## [AS3 destructible terrain](https://forum.kirupa.com/t/as3-destructible-terrain/332157)

<div class="topic-metadata">

**Author:** [@reddevil44](https://forum.kirupa.com/u/reddevil44)\
**Replies:** 0\
**Last updated:** [February 18, 2014, 12:24am UTC](https://forum.kirupa.com/t/as3-destructible-terrain/332157 "2014-02-18T00:24:38Z")

</div>

I am trying to make a side scrolling 2d shooter based underground and I want to use a destructible 2d environment but I'm a noob at coding so is there a chance someone could give me some pointers?

---

## [Register button touch](https://forum.kirupa.com/t/register-button-touch/332156)

<div class="topic-metadata">

**Author:** [@o111](https://forum.kirupa.com/u/o111)\
**Replies:** 0\
**Last updated:** [February 17, 2014, 7:14pm UTC](https://forum.kirupa.com/t/register-button-touch/332156 "2014-02-17T19:14:28Z")

</div>

Hey guys, I'm working on a thing and I want to make stuff happen when a button is clicked (or touched, I'm using TouchEvents). My guess is it's not that difficult, but I'm having a hard time figuring it out. I have a…

---

## [Draw and Fill Rectangle BEHIND Dynamic Text Field](https://forum.kirupa.com/t/draw-and-fill-rectangle-behind-dynamic-text-field/332155)

<div class="topic-metadata">

**Author:** [@Jemro](https://forum.kirupa.com/u/Jemro)\
**Replies:** 0\
**Last updated:** [February 17, 2014, 6:43pm UTC](https://forum.kirupa.com/t/draw-and-fill-rectangle-behind-dynamic-text-field/332155 "2014-02-17T18:43:23Z")

</div>

Hello, I'm designing an experiment in Flash Prof. CC that displays 188 different words, with changing background colors to the participant. My main problem right now is getting the background color to change depending …

---

## [3D Modelling and Game Design](https://forum.kirupa.com/t/3d-modelling-and-game-design/332153)

<div class="topic-metadata">

**Author:** [@alexandra\_bell](https://forum.kirupa.com/u/alexandra_bell)\
**Replies:** 0\
**Last updated:** [February 17, 2014, 3:08pm UTC](https://forum.kirupa.com/t/3d-modelling-and-game-design/332153 "2014-02-17T15:08:52Z")

</div>

Hi there, I'm currently looking at the prospect of learning to be a 3D modeler or a Game Designer. However, before going ahead with this decision I was hoping to get some insight into the life of a 3D Modeler or Game …

---

## [Simple Color for Wall Decals](https://forum.kirupa.com/t/simple-color-for-wall-decals/332152)

<div class="topic-metadata">

**Author:** [@Robertoen](https://forum.kirupa.com/u/Robertoen)\
**Replies:** 0\
**Last updated:** [February 17, 2014, 6:40am UTC](https://forum.kirupa.com/t/simple-color-for-wall-decals/332152 "2014-02-17T06:40:54Z")

</div>

To top it off detachable \[Modern Wall Decals are extractible, so if you’re leasing or choose later on that you’d like a convert it’s as simple and easy as taking them off and beginning up again! So how do you go about se…

---

## [Tutorial: Conditional Statements: If, Else, and Switch!](https://forum.kirupa.com/t/tutorial-conditional-statements-if-else-and-switch/332150)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [February 17, 2014, 12:03am UTC](https://forum.kirupa.com/t/tutorial-conditional-statements-if-else-and-switch/332150 "2014-02-17T00:03:16Z")

</div>

Hi, everybody! If you need a safe environment, free from the dinosaurs running amok in the park, to discuss conditional statements (http://www.kirupa.com/html5/conditional\_statements\_if\_else\_switch\_javascript.htm), you c…

---

## [Coding for a button which onClick will load an existing .fla file](https://forum.kirupa.com/t/coding-for-a-button-which-onclick-will-load-an-existing-fla-file/332149)

<div class="topic-metadata">

**Author:** [@saya](https://forum.kirupa.com/u/saya)\
**Replies:** 0\
**Last updated:** [February 16, 2014, 4:28am UTC](https://forum.kirupa.com/t/coding-for-a-button-which-onclick-will-load-an-existing-fla-file/332149 "2014-02-16T04:28:25Z")

</div>

I am new to as3 I wanted to know if we can load an existing .fla file on button click. If yes how do we do it

---

## [How do i stop my variables from giving me NaN?](https://forum.kirupa.com/t/how-do-i-stop-my-variables-from-giving-me-nan/332147)

<div class="topic-metadata">

**Author:** [@Davydov611](https://forum.kirupa.com/u/Davydov611)\
**Replies:** 0\
**Last updated:** [February 15, 2014, 4:26am UTC](https://forum.kirupa.com/t/how-do-i-stop-my-variables-from-giving-me-nan/332147 "2014-02-15T04:26:29Z")

</div>

Hey there! Although I'm not new to As3 I'm also not good at it. To get a better understanding of it all i decided to make a sandbox from scratch. I already got some basic functionality in but my velocity is for some rea…

---

## [Why is my monkey not jumping](https://forum.kirupa.com/t/why-is-my-monkey-not-jumping/332146)

<div class="topic-metadata">

**Author:** [@o111](https://forum.kirupa.com/u/o111)\
**Replies:** 0\
**Last updated:** [February 14, 2014, 10:29pm UTC](https://forum.kirupa.com/t/why-is-my-monkey-not-jumping/332146 "2014-02-14T22:29:24Z")

</div>

Hey, I'm playing around with a platform game. I had all the basic controls almost done when my monkey decided he didn't want to jump anymore. Basically nothing happens when I now press UP. It doesn't even go to the jum…

---

## [How to use the combobox](https://forum.kirupa.com/t/how-to-use-the-combobox/332143)

<div class="topic-metadata">

**Author:** [@quest20](https://forum.kirupa.com/u/quest20)\
**Replies:** 0\
**Last updated:** [February 13, 2014, 8:20pm UTC](https://forum.kirupa.com/t/how-to-use-the-combobox/332143 "2014-02-13T20:20:05Z")

</div>

Hello All, I can't seem to figure this out nor can I find an example of how to insert the value of a combobox to a database. In my AS3 file I am attempting to create a login system. I am using text input and combobox co…

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

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