# programming

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

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

**Page:** 201

---

## [Creating a new window doesn't add to openedWindow array](https://forum.kirupa.com/t/creating-a-new-window-doesnt-add-to-openedwindow-array/326693)

<div class="topic-metadata">

**Author:** [@Pier25](https://forum.kirupa.com/u/Pier25)\
**Replies:** 0\
**Last updated:** [January 5, 2012, 6:05pm UTC](https://forum.kirupa.com/t/creating-a-new-window-doesnt-add-to-openedwindow-array/326693 "2012-01-05T18:05:57Z")

</div>

So I start my Air app and trace the length of NativeApplication.nativeApplication.openedWindows I get 1, obviously the main window. So I add a new NativeWindow and trace the length of that array again, and I get 1 …

---

## [Anyone know of a free working highscore system for Adobe air iOS?](https://forum.kirupa.com/t/anyone-know-of-a-free-working-highscore-system-for-adobe-air-ios/326692)

<div class="topic-metadata">

**Author:** [@tenchy](https://forum.kirupa.com/u/tenchy)\
**Replies:** 0\
**Last updated:** [January 5, 2012, 4:13pm UTC](https://forum.kirupa.com/t/anyone-know-of-a-free-working-highscore-system-for-adobe-air-ios/326692 "2012-01-05T16:13:51Z")

</div>

I used to use Mochi Leaderbords before starting coding Adobe Air games for iPhone and Android. As the Mochi API doesn't have mobile support I had to find something else and found Playtomic. Playtomic is great and easy…

---

## [addChild - onComplete?](https://forum.kirupa.com/t/addchild-oncomplete/326689)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [January 5, 2012, 2:31pm UTC](https://forum.kirupa.com/t/addchild-oncomplete/326689 "2012-01-05T14:31:34Z")

</div>

Hello! I'm making a program where you can design you own room (walls and floor). My problem is that everytime I change the floor/wall, it disappears for about 1 sec (Because the picture I'm adding to the floor/wall is 20…

---

## [Load Game](https://forum.kirupa.com/t/load-game/326688)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [January 5, 2012, 1:19pm UTC](https://forum.kirupa.com/t/load-game/326688 "2012-01-05T13:19:18Z")

</div>

Hi everyone, I was wondering if anyone could explain how to make a load button for a game. What i mean by this is that there are games that go on for a long time and when you exit them and come back to the game the next …

---

## [Flash Media Server for iPhone](https://forum.kirupa.com/t/flash-media-server-for-iphone/326687)

<div class="topic-metadata">

**Author:** [@black\_pearl](https://forum.kirupa.com/u/black_pearl)\
**Replies:** 0\
**Last updated:** [January 5, 2012, 12:03pm UTC](https://forum.kirupa.com/t/flash-media-server-for-iphone/326687 "2012-01-05T12:03:11Z")

</div>

Hi, I am developing an app for iPhone/iPad. The client wants to show some realtime data in the app. Something like a chat application, where even if users don't do anything (flash uses no event), they can see what othe…

---

## [Tutorial: Random Numbers in JavaScript](https://forum.kirupa.com/t/tutorial-random-numbers-in-javascript/326686)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [January 5, 2012, 9:25am UTC](https://forum.kirupa.com/t/tutorial-random-numbers-in-javascript/326686 "2012-01-05T09:25:46Z")

</div>

\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[FONT=Segoe UI\]Hi everyone,\[/FONT\]\[/COLOR\]\[/FONT\]\[/COLOR\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[FONT=Segoe UI\]This is the happeni…

---

## [PostMessage() function](https://forum.kirupa.com/t/postmessage-function/326685)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [January 5, 2012, 8:38am UTC](https://forum.kirupa.com/t/postmessage-function/326685 "2012-01-05T08:38:14Z")

</div>

Hi, Is it possible to catch messages sent via PostMessage() function in flash? Thanks for the help. Truly appreciate it !!

---

## [Convert PowerPoint to Flash](https://forum.kirupa.com/t/convert-powerpoint-to-flash/326684)

<div class="topic-metadata">

**Author:** [@lillian](https://forum.kirupa.com/u/lillian)\
**Replies:** 0\
**Last updated:** [January 5, 2012, 7:44am UTC](https://forum.kirupa.com/t/convert-powerpoint-to-flash/326684 "2012-01-05T07:44:53Z")

</div>

I found and used the software -FlashPoint PPT to flash converter -from Flashdemo.net, which is a powerful PPT to flash converter, can retain all original features in PPT file to flash file and the important is easy to us…

---

## [Treating a 2D Point as a Built-In Type](https://forum.kirupa.com/t/treating-a-2d-point-as-a-built-in-type/326683)

<div class="topic-metadata">

**Author:** [@DoomGoober](https://forum.kirupa.com/u/DoomGoober)\
**Replies:** 0\
**Last updated:** [January 5, 2012, 7:20am UTC](https://forum.kirupa.com/t/treating-a-2d-point-as-a-built-in-type/326683 "2012-01-05T07:20:22Z")

</div>

In a 2D grid based game, an integer 2D point is the most commonly used data structure. Unfortunately, Flash's built in flash.geom.Point has the following problems:\[LIST=1\] \[\*\]It's a class so it must be allocated on th…

---

## [Error in Shooter Kirupa tutorial - need help](https://forum.kirupa.com/t/error-in-shooter-kirupa-tutorial-need-help/326678)

<div class="topic-metadata">

**Author:** [@catcat31](https://forum.kirupa.com/u/catcat31)\
**Replies:** 0\
**Last updated:** [January 4, 2012, 6:36pm UTC](https://forum.kirupa.com/t/error-in-shooter-kirupa-tutorial-need-help/326678 "2012-01-04T18:36:30Z")

</div>

Hi I'm trying to complete the shooter tutorial on the Kirupa site. http://www.kirupa.com/developer/actionscript/vertical\_shooter3.htm. Some of the code works (the beginning and final stages) but the AS on page 3 doesn't …

---

## [Rex Web Solution Company | Customized Web Development service provider](https://forum.kirupa.com/t/rex-web-solution-company-customized-web-development-service-provider/326675)

<div class="topic-metadata">

**Author:** [@Rexweb](https://forum.kirupa.com/u/Rexweb)\
**Replies:** 0\
**Last updated:** [January 4, 2012, 11:25am UTC](https://forum.kirupa.com/t/rex-web-solution-company-customized-web-development-service-provider/326675 "2012-01-04T11:25:53Z")

</div>

Looking for Customized Web Development & Search Engine Optimisation Expert. Browse Rex Web Solution Company, a Custom Database web development service provider. \[TABLE="width: 143"\] \[TR\] \[TD="class: xl68, width: 143"\]\[/T…

---

## [Web Design Firm](https://forum.kirupa.com/t/web-design-firm/326674)

<div class="topic-metadata">

**Author:** [@orlando002](https://forum.kirupa.com/u/orlando002)\
**Replies:** 0\
**Last updated:** [January 4, 2012, 8:42am UTC](https://forum.kirupa.com/t/web-design-firm/326674 "2012-01-04T08:42:15Z")

</div>

Everyone that is involved in business is in it to be successful. The presence of the internet lends itself to this success everyone wants to attain. A professional web design firm is a great investment for any busines…

---

## [Tutorial: Advanced Random Numbers in AS3](https://forum.kirupa.com/t/tutorial-advanced-random-numbers-in-as3/326672)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [January 4, 2012, 4:33am UTC](https://forum.kirupa.com/t/tutorial-advanced-random-numbers-in-as3/326672 "2012-01-04T04:33:51Z")

</div>

\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[FONT=Segoe UI\]Hi everyone,\[/FONT\]\[/COLOR\]\[/FONT\]\[/COLOR\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[FONT=Segoe UI\]This is the happeni…

---

## [Application Drawing (delete shape problem)](https://forum.kirupa.com/t/application-drawing-delete-shape-problem/326669)

<div class="topic-metadata">

**Author:** [@Lantui](https://forum.kirupa.com/u/Lantui)\
**Replies:** 0\
**Last updated:** [January 4, 2012, 2:09am UTC](https://forum.kirupa.com/t/application-drawing-delete-shape-problem/326669 "2012-01-04T02:09:11Z")

</div>

Hi all, i already create Drawing Application, the problem is i dont know how to do select each shape i draw can delete the shape that i select. here the code for drawing shape i create. var temporaryDrawing:Shape…

---

## [AS3- movie clip to mainline](https://forum.kirupa.com/t/as3-movie-clip-to-mainline/326666)

<div class="topic-metadata">

**Author:** [@bee\_89](https://forum.kirupa.com/u/bee_89)\
**Replies:** 0\
**Last updated:** [January 3, 2012, 9:04pm UTC](https://forum.kirupa.com/t/as3-movie-clip-to-mainline/326666 "2012-01-03T21:04:48Z")

</div>

I'm having trouble jumping to another frame (15) in the main stage named "main" when closing a movie clip on frame 10.. ArgumentError: Error #2108: Scene main was not found. at flash.display::MovieClip/gotoAndPlay(…

---

## [Ajax Example](https://forum.kirupa.com/t/ajax-example/326663)

<div class="topic-metadata">

**Author:** [@Vanss472](https://forum.kirupa.com/u/Vanss472)\
**Replies:** 0\
**Last updated:** [January 3, 2012, 7:51pm UTC](https://forum.kirupa.com/t/ajax-example/326663 "2012-01-03T19:51:01Z")

</div>

Hi I'm using something similar to this example: http://www.exfer.net/test/ajax\_example.html how can after getting value validated jump to a webpage? Any suggestions? :sen:

---

## [A very weird loader problem](https://forum.kirupa.com/t/a-very-weird-loader-problem/326662)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [January 3, 2012, 6:44pm UTC](https://forum.kirupa.com/t/a-very-weird-loader-problem/326662 "2012-01-03T18:44:31Z")

</div>

So i am trying to insert a sound inside a class of my game. In the constructor function i declare the variable private var retDamage3:Sound = new Sound(); and in the place i want it to play i put this code retDamag…

---

## [Basic beginner problem](https://forum.kirupa.com/t/basic-beginner-problem/326661)

<div class="topic-metadata">

**Author:** [@Redloos](https://forum.kirupa.com/u/Redloos)\
**Replies:** 0\
**Last updated:** [January 3, 2012, 6:22pm UTC](https://forum.kirupa.com/t/basic-beginner-problem/326661 "2012-01-03T18:22:00Z")

</div>

Hey! Im extremely new to actionscript and have been trying forevever this basic problem. What i wanna do is have 2 textinputs, one for your name, and the other one for the times you want the name will be shown in a tex…

---

## [Save filetree to xml nodetree (Flash Builder 4.5)](https://forum.kirupa.com/t/save-filetree-to-xml-nodetree-flash-builder-4-5/326660)

<div class="topic-metadata">

**Author:** [@lnsiu](https://forum.kirupa.com/u/lnsiu)\
**Replies:** 0\
**Last updated:** [January 3, 2012, 5:38pm UTC](https://forum.kirupa.com/t/save-filetree-to-xml-nodetree-flash-builder-4-5/326660 "2012-01-03T17:38:32Z")

</div>

I want to have an air application, where I can take a folder structure and copy that structure to a xml. Ultimately I want to save it as a plist for further usage. My problem is that I don't get the xml-nodes to nest p…

---

## [How to convert flash lite 1.1 to AS2?](https://forum.kirupa.com/t/how-to-convert-flash-lite-1-1-to-as2/326655)

<div class="topic-metadata">

**Author:** [@deniset](https://forum.kirupa.com/u/deniset)\
**Replies:** 0\
**Last updated:** [January 3, 2012, 7:26am UTC](https://forum.kirupa.com/t/how-to-convert-flash-lite-1-1-to-as2/326655 "2012-01-03T07:26:59Z")

</div>

I have the following code in flash lite 1.1 and would like to convert it into AS2 longN = length(point); for (i=1; i\<8; i++) { if (i\>longN) { tellTarget ("s" add i) { gotoAndStop(11); }…

---

## [Get screens list on mac with thunderbolt](https://forum.kirupa.com/t/get-screens-list-on-mac-with-thunderbolt/326650)

<div class="topic-metadata">

**Author:** [@Pier25](https://forum.kirupa.com/u/Pier25)\
**Replies:** 0\
**Last updated:** [January 2, 2012, 5:32pm UTC](https://forum.kirupa.com/t/get-screens-list-on-mac-with-thunderbolt/326650 "2012-01-02T17:32:34Z")

</div>

I'm trying to get a list of available screens with Screen.screens on my macbook pro 10.7.2 with an external monitor connected via thunderbolt. The problem is that only the laptop's monitor show up... not the external m…

---

## [TLF Text in Button Symbols for IE](https://forum.kirupa.com/t/tlf-text-in-button-symbols-for-ie/326648)

<div class="topic-metadata">

**Author:** [@mohiniraj](https://forum.kirupa.com/u/mohiniraj)\
**Replies:** 0\
**Last updated:** [January 2, 2012, 10:50am UTC](https://forum.kirupa.com/t/tlf-text-in-button-symbols-for-ie/326648 "2012-01-02T10:50:23Z")

</div>

Hi, I have few button symbols designed in my flash movie. My flash movie is displayed in 9 regional languages and hence I have used TLF text for Flash Movie which easily displays Unicode text. SWF displays text prope…

---

## [Achieving a cool rollover effect?](https://forum.kirupa.com/t/achieving-a-cool-rollover-effect/326647)

<div class="topic-metadata">

**Author:** [@inspire](https://forum.kirupa.com/u/inspire)\
**Replies:** 0\
**Last updated:** [January 2, 2012, 9:19am UTC](https://forum.kirupa.com/t/achieving-a-cool-rollover-effect/326647 "2012-01-02T09:19:22Z")

</div>

What do you call these kind of effects? refer to the buttons "about","services","solutions" etc. as well as the big yellow, green and blue buttons..

---

## [Help with if else condition](https://forum.kirupa.com/t/help-with-if-else-condition/326641)

<div class="topic-metadata">

**Author:** [@Obi\_Wan](https://forum.kirupa.com/u/Obi_Wan)\
**Replies:** 0\
**Last updated:** [January 2, 2012, 12:18am UTC](https://forum.kirupa.com/t/help-with-if-else-condition/326641 "2012-01-02T00:18:53Z")

</div>

I have a bunch of items that I loop through, when the user selects the item, it does a few things. Plays a sound Animates the selected item (scales and adds glow) Scales any other other item not equal to selected item…

---

## [PLEASE PLEASE PLEASE HELP :/ java socket server problems](https://forum.kirupa.com/t/please-please-please-help-java-socket-server-problems/326640)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [January 2, 2012, 12:15am UTC](https://forum.kirupa.com/t/please-please-please-help-java-socket-server-problems/326640 "2012-01-02T00:15:17Z")

</div>

Please can anyone help me ive been trying to fix this problem for ever :/ http://www.kirupa.com/forum/showthread.php?370252-socket-server-policy-file

---

## [Passing parameters through dynamic function refrencing](https://forum.kirupa.com/t/passing-parameters-through-dynamic-function-refrencing/326636)

<div class="topic-metadata">

**Author:** [@arunforce](https://forum.kirupa.com/u/arunforce)\
**Replies:** 0\
**Last updated:** [January 1, 2012, 9:04pm UTC](https://forum.kirupa.com/t/passing-parameters-through-dynamic-function-refrencing/326636 "2012-01-01T21:04:50Z")

</div>

I'm making a function, and I want to pass it's handling less restrictively, kinda like jQuery I guess. function cfunc(min, max) { return (Math.floor(Math.random()\*(max-min))+min); } var cf = "cfunc"; trace(this\[c…

---

## [\[Box2D\] making complex polygons](https://forum.kirupa.com/t/box2d-making-complex-polygons/326634)

<div class="topic-metadata">

**Author:** [@AfterEight](https://forum.kirupa.com/u/AfterEight)\
**Replies:** 0\
**Last updated:** [January 1, 2012, 3:23pm UTC](https://forum.kirupa.com/t/box2d-making-complex-polygons/326634 "2012-01-01T15:23:01Z")

</div>

Hopefully box2d questions are ok here. I posted long ago in the official box2d forums but it's completely dead. Maybe some box2d guys here? Well here goes: So I'm trying to create a custom shape that I define with point…

---

## [Help communicating between classes](https://forum.kirupa.com/t/help-communicating-between-classes/326632)

<div class="topic-metadata">

**Author:** [@Obi\_Wan](https://forum.kirupa.com/u/Obi_Wan)\
**Replies:** 0\
**Last updated:** [January 1, 2012, 2:29pm UTC](https://forum.kirupa.com/t/help-communicating-between-classes/326632 "2012-01-01T14:29:26Z")

</div>

Hey folks I have a sound manager class that I use in my game to load all my sounds, which works fine for the most part. But I created a volume settings which allows the user to adjust the volume on specific sounds in the…

---

## [Reading from a client side text file](https://forum.kirupa.com/t/reading-from-a-client-side-text-file/326631)

<div class="topic-metadata">

**Author:** [@fury\_s12](https://forum.kirupa.com/u/fury_s12)\
**Replies:** 0\
**Last updated:** [January 1, 2012, 12:09am UTC](https://forum.kirupa.com/t/reading-from-a-client-side-text-file/326631 "2012-01-01T00:09:55Z")

</div>

Hi everyone, i know some forums dont like those that sign up simply to ask a question, but ive been a long time lurker and part time flash developer and have got stuck on an problem that i clearly dont fully understand t…

---

## [How to make arrow hit target every time?](https://forum.kirupa.com/t/how-to-make-arrow-hit-target-every-time/326630)

<div class="topic-metadata">

**Author:** [@IgiveUp](https://forum.kirupa.com/u/IgiveUp)\
**Replies:** 0\
**Last updated:** [December 31, 2011, 9:29pm UTC](https://forum.kirupa.com/t/how-to-make-arrow-hit-target-every-time/326630 "2011-12-31T21:29:39Z")

</div>

I know I'm not even close. I'm no mathematician. I just can't figure out how to adjust the power and arc of the arrow to hit the target every time. Any help would be much appreciated. I'm still new to programming so don'…

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

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