# programming

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

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

**Page:** 443

---

## [AS3 Singleton Woes](https://forum.kirupa.com/t/as3-singleton-woes/312418)

<div class="topic-metadata">

**Author:** [@zeGuitarist](https://forum.kirupa.com/u/zeGuitarist)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 3:11am UTC](https://forum.kirupa.com/t/as3-singleton-woes/312418 "2010-08-03T03:11:55Z")

</div>

Howdy guys, I'm working on a game using a singleton implementation for my document class using an example I found a while back on the internet. Relevant Code posted below: var instance:ReddEngine = null; var allowC…

---

## [Full Screen keyboard not working](https://forum.kirupa.com/t/full-screen-keyboard-not-working/312417)

<div class="topic-metadata">

**Author:** [@PsuFan](https://forum.kirupa.com/u/PsuFan)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 2:46am UTC](https://forum.kirupa.com/t/full-screen-keyboard-not-working/312417 "2010-08-03T02:46:14Z")

</div>

Hello, When I go to full screen with stage.displayState = StageDisplayState.FULL\_SCREEN the keyboard stops working. I cant even type in textboxes (or get any of my keyboard events). Has anyone had this problem before? Wh…

---

## [A question about enterFrame and multiple instances](https://forum.kirupa.com/t/a-question-about-enterframe-and-multiple-instances/312415)

<div class="topic-metadata">

**Author:** [@rrobnett](https://forum.kirupa.com/u/rrobnett)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 11:29pm UTC](https://forum.kirupa.com/t/a-question-about-enterframe-and-multiple-instances/312415 "2010-08-02T23:29:31Z")

</div>

Hi, Here is what I'm doing. In the library of the FLa I have a symbol that is exported for actionscript with a class name of 'aClip'. I am placing multiple instances of it on stage as follows: for (var i:int = 0; i \< …

---

## [Detect letter keys while testing](https://forum.kirupa.com/t/detect-letter-keys-while-testing/312414)

<div class="topic-metadata">

**Author:** [@PsuFan](https://forum.kirupa.com/u/PsuFan)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 11:26pm UTC](https://forum.kirupa.com/t/detect-letter-keys-while-testing/312414 "2010-08-02T23:26:52Z")

</div>

Hello, When I try and detect the letter keys while TESTING the application in Flash CS4, instead of sending the keycode to the flash player, it goes to flash and selects the toolbar button. For example if I push "R" th…

---

## [REMOVED\_FROM\_STAGE loaded swf + removeChild routines](https://forum.kirupa.com/t/removed-from-stage-loaded-swf-removechild-routines/312409)

<div class="topic-metadata">

**Author:** [@patrickjv](https://forum.kirupa.com/u/patrickjv)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 7:25pm UTC](https://forum.kirupa.com/t/removed-from-stage-loaded-swf-removechild-routines/312409 "2010-08-02T19:25:44Z")

</div>

I have a .swf file being loaded with a very large amount of internal objects/childs/loaded-contents. Been preparing a general cleanup method removing listeners, timers, tweens, children, sound, netstreams and so on. W…

---

## [Three basic-level questions](https://forum.kirupa.com/t/three-basic-level-questions/312405)

<div class="topic-metadata">

**Author:** [@Setup56](https://forum.kirupa.com/u/Setup56)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 6:32pm UTC](https://forum.kirupa.com/t/three-basic-level-questions/312405 "2010-08-02T18:32:16Z")

</div>

The following is that long only because I gave examples of what I want to know, not because it is complex ^^ I have three basic questions regarding AS 3.0 classes, and I would like simplest examples possible (please, n…

---

## [Scrollbar within button?](https://forum.kirupa.com/t/scrollbar-within-button/312402)

<div class="topic-metadata">

**Author:** [@dplows](https://forum.kirupa.com/u/dplows)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 3:55pm UTC](https://forum.kirupa.com/t/scrollbar-within-button/312402 "2010-08-02T15:55:37Z")

</div>

I have a movie clip button with a text box within it. The text box also has a scrollbar component attached. Since the movie clip button has roll-over functionality \[ btn.onRollover = function() \], I believe that's taki…

---

## [Why is this Mouse\_Move not working well?](https://forum.kirupa.com/t/why-is-this-mouse-move-not-working-well/312398)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 2:54pm UTC](https://forum.kirupa.com/t/why-is-this-mouse-move-not-working-well/312398 "2010-08-02T14:54:23Z")

</div>

When I move the mouse up, down, or left everything seems to track fine. But if I move the mouse right it gets very choppy and some of the movement seems not to be "recorded" to the variables. This is very frustrating. Ha…

---

## [Dynamic curved tween on a dynamic movieclip](https://forum.kirupa.com/t/dynamic-curved-tween-on-a-dynamic-movieclip/312397)

<div class="topic-metadata">

**Author:** [@sanzochan](https://forum.kirupa.com/u/sanzochan)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 1:23pm UTC](https://forum.kirupa.com/t/dynamic-curved-tween-on-a-dynamic-movieclip/312397 "2010-08-02T13:23:35Z")

</div>

I'm trying to make this game and in trying to make it look more realistic, I'm trying to get the balloon to curve upwards before coming down and hitting the target. Is that even possible? Also, the target are dynamically…

---

## [Need help! Mouse movement - MC rotation](https://forum.kirupa.com/t/need-help-mouse-movement-mc-rotation/312396)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 12:48pm UTC](https://forum.kirupa.com/t/need-help-mouse-movement-mc-rotation/312396 "2010-08-02T12:48:36Z")

</div>

Hello, I have a simple flight simulator animation. When the mouse is moved over a movieclip (mcHitArea) on the stage the code below moves 2 indicator lines as well as 2 jet images and the background. The problem is tha…

---

## [Flartoolkit](https://forum.kirupa.com/t/flartoolkit/312395)

<div class="topic-metadata">

**Author:** [@surf](https://forum.kirupa.com/u/surf)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 11:41am UTC](https://forum.kirupa.com/t/flartoolkit/312395 "2010-08-02T11:41:34Z")

</div>

hi, i am developing an augmented reality application using the flartoolkit, everything works fine when compiled together. The problem occurs when its packaged to be installed as an AIR application. the problem is that th…

---

## [Help with sending values!](https://forum.kirupa.com/t/help-with-sending-values/312387)

<div class="topic-metadata">

**Author:** [@cpsw](https://forum.kirupa.com/u/cpsw)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 4:27am UTC](https://forum.kirupa.com/t/help-with-sending-values/312387 "2010-08-02T04:27:38Z")

</div>

Im trying to set up a form where a client can choose what they would like to order, once they have selected what they want to order using check boxes they hit submit (which sends to a php page) which adds all the prices …

---

## [Trouble disabling clips that are from a loop](https://forum.kirupa.com/t/trouble-disabling-clips-that-are-from-a-loop/312385)

<div class="topic-metadata">

**Author:** [@ccbass85](https://forum.kirupa.com/u/ccbass85)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 2:07am UTC](https://forum.kirupa.com/t/trouble-disabling-clips-that-are-from-a-loop/312385 "2010-08-02T02:07:35Z")

</div>

I've go some movieclips I dynamically placed on the stage in a loop using addChild(). The clips have there own class called DragAndDrop. Once the clips are are drop to the hitarea I want to deactivate them. The problem I…

---

## [Card Flip class: How to make it work in Player 7](https://forum.kirupa.com/t/card-flip-class-how-to-make-it-work-in-player-7/312384)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 1:59am UTC](https://forum.kirupa.com/t/card-flip-class-how-to-make-it-work-in-player-7/312384 "2010-08-02T01:59:21Z")

</div>

Yes, I know it sounds crazy, but I want to add this old card flip script to some files published to the Flash 7 Player. I don't get any errors with my changes to the class (I removed references to the Blur and DropShadow…

---

## [Change Preloader Animation Based On Internet Speed?](https://forum.kirupa.com/t/change-preloader-animation-based-on-internet-speed/312383)

<div class="topic-metadata">

**Author:** [@popnfresh24](https://forum.kirupa.com/u/popnfresh24)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 1:32am UTC](https://forum.kirupa.com/t/change-preloader-animation-based-on-internet-speed/312383 "2010-08-02T01:32:34Z")

</div>

I think the title pretty much sums it up... I have 4 animations and based on the speed of the internet i want it to change between each depending on the speed. e.g... 0 - 10kb/ps - 1st MC 11 - 30kb/ps - 2nd MC 31 -…

---

## [Loader loads random image](https://forum.kirupa.com/t/loader-loads-random-image/312382)

<div class="topic-metadata">

**Author:** [@eurogibbon](https://forum.kirupa.com/u/eurogibbon)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 8:35pm UTC](https://forum.kirupa.com/t/loader-loads-random-image/312382 "2010-08-01T20:35:25Z")

</div>

Hi all, Is it possible to get a loader to load and display a random image? My background images are quite large so I would prefer to use a loader to keep the file size down but I'm struggling to work out how to rando…

---

## [Adding values when pressing a button](https://forum.kirupa.com/t/adding-values-when-pressing-a-button/312381)

<div class="topic-metadata">

**Author:** [@Chris99](https://forum.kirupa.com/u/Chris99)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 8:17pm UTC](https://forum.kirupa.com/t/adding-values-when-pressing-a-button/312381 "2010-08-01T20:17:51Z")

</div>

Hi, Im making 6 buttons all with different values. When you press one button the number that button holds will show up in 2 dynamic textfields. In the first field the numbers will come upp in a list form, one under a…

---

## [MX04 - Calculator Help (AS2)](https://forum.kirupa.com/t/mx04-calculator-help-as2/312380)

<div class="topic-metadata">

**Author:** [@rasclerhys](https://forum.kirupa.com/u/rasclerhys)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 7:59pm UTC](https://forum.kirupa.com/t/mx04-calculator-help-as2/312380 "2010-08-01T19:59:20Z")

</div>

Hi I am trying to create a script, where the user inputs a maths equation (something simple like 5 + 2 \* 10), I have managed to break down the text into an array and have the numbers in one array and the symbols in anoth…

---

## [Assign a Number value to a movieclip dynamically placed](https://forum.kirupa.com/t/assign-a-number-value-to-a-movieclip-dynamically-placed/312378)

<div class="topic-metadata">

**Author:** [@ccbass85](https://forum.kirupa.com/u/ccbass85)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 6:27pm UTC](https://forum.kirupa.com/t/assign-a-number-value-to-a-movieclip-dynamically-placed/312378 "2010-08-01T18:27:18Z")

</div>

Hey Guys, I have a problem that should have a simple solution but I cant seem to figure it out. Basically I need to assign a movieclip a number value to that it will carry with it so I can later compare it to the numbe…

---

## [Trouble with changing root to another level](https://forum.kirupa.com/t/trouble-with-changing-root-to-another-level/312376)

<div class="topic-metadata">

**Author:** [@GLConnor1](https://forum.kirupa.com/u/GLConnor1)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 5:56pm UTC](https://forum.kirupa.com/t/trouble-with-changing-root-to-another-level/312376 "2010-08-01T17:56:04Z")

</div>

Hi, im a novice/intermediate with flash. I am trying to use parts of a template for a flash site in my own site. On one of my sites pages I am trying to use a set of buttons and pages. My problem is that the flash butto…

---

## [Event.COMPLETE never stop firing](https://forum.kirupa.com/t/event-complete-never-stop-firing/312374)

<div class="topic-metadata">

**Author:** [@mette](https://forum.kirupa.com/u/mette)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 5:42pm UTC](https://forum.kirupa.com/t/event-complete-never-stop-firing/312374 "2010-08-01T17:42:55Z")

</div>

Hi, I have a problem with loading a xml structure with a URLLoader... I write directly on the time line on the scene and, well... the code looks fine to me, but my list of slideshows (which is what the xml contains) keep…

---

## [Searching XML AS3.0](https://forum.kirupa.com/t/searching-xml-as3-0/312369)

<div class="topic-metadata">

**Author:** [@hack\_club](https://forum.kirupa.com/u/hack_club)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 2:36pm UTC](https://forum.kirupa.com/t/searching-xml-as3-0/312369 "2010-08-01T14:36:43Z")

</div>

Please... I want to work like this Searching XML : \[COLOR=#800080\]http://www.kirupa.com/web/xml/examples/searchbestof.htm\[/COLOR\] but by ActionScript 3.0 I need your help to me ... Thanks .

---

## [Having problem with array.DESCENDING](https://forum.kirupa.com/t/having-problem-with-array-descending/312368)

<div class="topic-metadata">

**Author:** [@DASATRA\_SFX](https://forum.kirupa.com/u/DASATRA_SFX)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 2:30pm UTC](https://forum.kirupa.com/t/having-problem-with-array-descending/312368 "2010-08-01T14:30:39Z")

</div>

Hy there.. I really need your help to complete my project, i can't be able to descending my score from 100.. Send help.. Thanks

---

## [Blog inside flash](https://forum.kirupa.com/t/blog-inside-flash/312367)

<div class="topic-metadata">

**Author:** [@dimorgado](https://forum.kirupa.com/u/dimorgado)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 2:15pm UTC](https://forum.kirupa.com/t/blog-inside-flash/312367 "2010-08-01T14:15:38Z")

</div>

Hi! It is possible to send the last blog/twitter post to a flash site? Via xml or something else? Thanks! :beam:

---

## [Bottun with two functions](https://forum.kirupa.com/t/bottun-with-two-functions/312364)

<div class="topic-metadata">

**Author:** [@Axell](https://forum.kirupa.com/u/Axell)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 1:36pm UTC](https://forum.kirupa.com/t/bottun-with-two-functions/312364 "2010-08-01T13:36:27Z")

</div>

Hi! I have a button that when clicked starts a movie clip(a box enlarges from very tiny to large). That works fine. How do I make the same button reverse the movie clip when clicked again?

---

## [{cell phone headset} {VSAMSUN}](https://forum.kirupa.com/t/cell-phone-headset-vsamsun/312362)

<div class="topic-metadata">

**Author:** [@alisa0394762](https://forum.kirupa.com/u/alisa0394762)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 5:33am UTC](https://forum.kirupa.com/t/cell-phone-headset-vsamsun/312362 "2010-08-01T05:33:20Z")

</div>

Vsamsun.com is an online e-commerce company offering consumer electronics, computer accessories, video games, iPod & iPhone accessories, flashlight and communications products in stock at unbeatable prices and ready to s…

---

## [Audio Still Players when FLV has been Removed](https://forum.kirupa.com/t/audio-still-players-when-flv-has-been-removed/312360)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 4:46am UTC](https://forum.kirupa.com/t/audio-still-players-when-flv-has-been-removed/312360 "2010-08-01T04:46:54Z")

</div>

Hi All, I'm having a bit of a problem here. My audio is still playing when my swf is removed. I tried using unloadAndStop(); but this isn't working for me (either that or I'm not putting it in the correct spot. The …

---

## [\[AS2 CS4 WIN\] Access file in different folder](https://forum.kirupa.com/t/as2-cs4-win-access-file-in-different-folder/312359)

<div class="topic-metadata">

**Author:** [@goloco](https://forum.kirupa.com/u/goloco)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 2:46am UTC](https://forum.kirupa.com/t/as2-cs4-win-access-file-in-different-folder/312359 "2010-08-01T02:46:16Z")

</div>

Hi, hoping you can help? Due to reasons beyond my control, I need to be able to open an xml file located in a different folder on the same branch of the tree on a Windows client. The paths for the files are known; see …

---

## [Error msg on MC control command](https://forum.kirupa.com/t/error-msg-on-mc-control-command/312357)

<div class="topic-metadata">

**Author:** [@rserge](https://forum.kirupa.com/u/rserge)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 1:30am UTC](https://forum.kirupa.com/t/error-msg-on-mc-control-command/312357 "2010-08-01T01:30:46Z")

</div>

I am trying to create a function that sets my scaling tool on my stage to set itself. The instance name is slide\_mc. Its a movie clip. I am getting the following error: Expected a field name after '.' operator. scal…

---

## [Good HTML/CSS Book](https://forum.kirupa.com/t/good-html-css-book/312356)

<div class="topic-metadata">

**Author:** [@olirushworth](https://forum.kirupa.com/u/olirushworth)\
**Replies:** 0\
**Last updated:** [July 31, 2010, 11:45pm UTC](https://forum.kirupa.com/t/good-html-css-book/312356 "2010-07-31T23:45:30Z")

</div>

Hi guys, I find reading books a lot better than websites because I don't get distracted by other tabs and doing random searches, so I was wondering what is a highly recommended book to get for a beginner to HTML+CSS I…

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

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