# programming

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

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

**Page:** 137

---

## [Draggable Maze](https://forum.kirupa.com/t/draggable-maze/330259)

<div class="topic-metadata">

**Author:** [@hsiehson](https://forum.kirupa.com/u/hsiehson)\
**Replies:** 0\
**Last updated:** [December 20, 2012, 8:17am UTC](https://forum.kirupa.com/t/draggable-maze/330259 "2012-12-20T08:17:59Z")

</div>

Hi all, I'm now creating a maze, but the examples I have found only showed me how to do it with keyboard. Wondering should there be a way to use mouse to drag cursor around instead of keyboard? I have tried to apply mous…

---

## [Question about garbage collection / memory leak](https://forum.kirupa.com/t/question-about-garbage-collection-memory-leak/330258)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [December 20, 2012, 6:15am UTC](https://forum.kirupa.com/t/question-about-garbage-collection-memory-leak/330258 "2012-12-20T06:15:57Z")

</div>

Hey All, I have an issue with something and I'm trying to figure out if it's relative to a garbage collection issue or a memory leak. I have a video that plays and then a class is called when the video plays. If I run…

---

## [Drag and drop Jewlery](https://forum.kirupa.com/t/drag-and-drop-jewlery/330256)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [December 20, 2012, 4:11am UTC](https://forum.kirupa.com/t/drag-and-drop-jewlery/330256 "2012-12-20T04:11:46Z")

</div>

What is the concept behind this? Does anyoneknow how this is done? Is it 2d that seems 3d or actual 3d? thanks alot! See the link. http://www.pandora.net/en-us/explore/inspiration/create-combine/bracelet-designer

---

## [ExternalInterface call not working](https://forum.kirupa.com/t/externalinterface-call-not-working/330255)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [December 20, 2012, 1:47am UTC](https://forum.kirupa.com/t/externalinterface-call-not-working/330255 "2012-12-20T01:47:27Z")

</div>

Hello everyone, I have a flash file which triggers a window containing my simple editor, upon the click of "Ok" button in editor window, i want editor data to get transferred back to my flash file using externalInterfac…

---

## [No end to loop](https://forum.kirupa.com/t/no-end-to-loop/330254)

<div class="topic-metadata">

**Author:** [@whitefrog110](https://forum.kirupa.com/u/whitefrog110)\
**Replies:** 0\
**Last updated:** [December 19, 2012, 3:43pm UTC](https://forum.kirupa.com/t/no-end-to-loop/330254 "2012-12-19T15:43:34Z")

</div>

\[COLOR=#993300\]\[FONT=monospace\]public\[/FONT\]\[/COLOR\]\[COLOR=#993300\]\[FONT=monospace\]function\[/FONT\]\[/COLOR\]\[COLOR=#000000\]\[FONT=monospace\] MyFunction\[/FONT\]\[/COLOR\]\[COLOR=#000000\]\[FONT=monospace\](\[/FONT\]\[/COLOR\]\[COLOR=#0…

---

## [Why won't video in a swf show up](https://forum.kirupa.com/t/why-wont-video-in-a-swf-show-up/330253)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [December 19, 2012, 3:22pm UTC](https://forum.kirupa.com/t/why-wont-video-in-a-swf-show-up/330253 "2012-12-19T15:22:05Z")

</div>

Hello, I am trying to display a video in a swf. Locally everything is fine but when I put it on the server and hit the site from either IE or FF I only get the skin of the swf. Has anyone had this problem?

---

## [Can eventlistener call a setter function?](https://forum.kirupa.com/t/can-eventlistener-call-a-setter-function/330252)

<div class="topic-metadata">

**Author:** [@FJW](https://forum.kirupa.com/u/FJW)\
**Replies:** 0\
**Last updated:** [December 19, 2012, 10:38am UTC](https://forum.kirupa.com/t/can-eventlistener-call-a-setter-function/330252 "2012-12-19T10:38:34Z")

</div>

Hi once again I have a set function.. // AS3 public function set toolName(thisTool:String) { \_theTool = thisTool; } and an eventlistener newTool.addEventListener(MouseEvent.CLICK, clickTool);…

---

## [How to write variable so that it target another variable?](https://forum.kirupa.com/t/how-to-write-variable-so-that-it-target-another-variable/330249)

<div class="topic-metadata">

**Author:** [@rickyls](https://forum.kirupa.com/u/rickyls)\
**Replies:** 0\
**Last updated:** [December 19, 2012, 7:29am UTC](https://forum.kirupa.com/t/how-to-write-variable-so-that-it-target-another-variable/330249 "2012-12-19T07:29:01Z")

</div>

say i have this code: var mons001hp:Number=500; var mons001str:Number=10; var mons002hp:Number=100; var mons002str:Number=20; var currentmons:String="mons001"; function currentmonsterrule(){ currentmons1hp=currentmons(wh…

---

## [\[Help\] Add countdown timer to webcam application](https://forum.kirupa.com/t/help-add-countdown-timer-to-webcam-application/330248)

<div class="topic-metadata">

**Author:** [@players02](https://forum.kirupa.com/u/players02)\
**Replies:** 0\
**Last updated:** [December 19, 2012, 3:39am UTC](https://forum.kirupa.com/t/help-add-countdown-timer-to-webcam-application/330248 "2012-12-19T03:39:41Z")

</div>

Greetings, I am new to the forum and to the application. I am a third year student that is currently working on my Final Year Project and I have been having problems with adding a countdown timer to my webcam application…

---

## [Flash as2 RPG Game Help! Location of MC When Enemy is killed](https://forum.kirupa.com/t/flash-as2-rpg-game-help-location-of-mc-when-enemy-is-killed/330246)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [December 18, 2012, 9:26pm UTC](https://forum.kirupa.com/t/flash-as2-rpg-game-help-location-of-mc-when-enemy-is-killed/330246 "2012-12-18T21:26:09Z")

</div>

Below is my code. It works with no errors, but the outcome is not what I wanted. When the enemy is killed, a gold coin will drop. However, my gold coin is being pinned to the main stage in upper left corner. Even when I …

---

## [Flash as2 Display Movie Clip Randomly in same location](https://forum.kirupa.com/t/flash-as2-display-movie-clip-randomly-in-same-location/330240)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [December 17, 2012, 11:41pm UTC](https://forum.kirupa.com/t/flash-as2-display-movie-clip-randomly-in-same-location/330240 "2012-12-17T23:41:32Z")

</div>

Hello my fellow flash programmers! My challenge of the day is this: Let's say I have a movieclip named " enemy ". I want this movieclip to appear on the main stage randomly in the same location. The best example I can g…

---

## [Button setting the variable](https://forum.kirupa.com/t/button-setting-the-variable/330239)

<div class="topic-metadata">

**Author:** [@Sqvirel](https://forum.kirupa.com/u/Sqvirel)\
**Replies:** 0\
**Last updated:** [December 17, 2012, 7:52pm UTC](https://forum.kirupa.com/t/button-setting-the-variable/330239 "2012-12-17T19:52:18Z")

</div>

Here's what I need: In the first frame I've created two buttons, one is supposed to set the variable to true, and the other sets the variable to false. Later on the timeline I've set up a movieclip - if the variable is t…

---

## [Help with creating a measuring tool](https://forum.kirupa.com/t/help-with-creating-a-measuring-tool/330237)

<div class="topic-metadata">

**Author:** [@Kugarweb](https://forum.kirupa.com/u/Kugarweb)\
**Replies:** 0\
**Last updated:** [December 17, 2012, 5:00pm UTC](https://forum.kirupa.com/t/help-with-creating-a-measuring-tool/330237 "2012-12-17T17:00:33Z")

</div>

Hi there, I'm currently working on a project whereby you can create various points on a canvas and these are measured from point to point at a certain scale. So far I have only come across simple paint tools but I am l…

---

## [Reset "Canvas" View](https://forum.kirupa.com/t/reset-canvas-view/330236)

<div class="topic-metadata">

**Author:** [@Kugarweb](https://forum.kirupa.com/u/Kugarweb)\
**Replies:** 0\
**Last updated:** [December 17, 2012, 4:52pm UTC](https://forum.kirupa.com/t/reset-canvas-view/330236 "2012-12-17T16:52:05Z")

</div>

Hi there, I'm currently working on a mapping tool which allows you to navigate around a map, zoom in and out, and then reset the view if required. I'm having some problems with creating the reset view button which works …

---

## [Flash as2 RPG Attacking with mouse](https://forum.kirupa.com/t/flash-as2-rpg-attacking-with-mouse/330235)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [December 17, 2012, 6:47am UTC](https://forum.kirupa.com/t/flash-as2-rpg-attacking-with-mouse/330235 "2012-12-17T06:47:16Z")

</div>

Here is my issue. I have a enemy movieClip named enemy. I have a hp bar movieClip named hp. I am trying to click the enemy and deal damage. For example: I click the enemy his health goes down by 5. How do I do this wit…

---

## [Loading a Variable within a Function (without it becoming non-null)](https://forum.kirupa.com/t/loading-a-variable-within-a-function-without-it-becoming-non-null/330232)

<div class="topic-metadata">

**Author:** [@Lapys](https://forum.kirupa.com/u/Lapys)\
**Replies:** 0\
**Last updated:** [December 16, 2012, 8:17am UTC](https://forum.kirupa.com/t/loading-a-variable-within-a-function-without-it-becoming-non-null/330232 "2012-12-16T08:17:53Z")

</div>

Basically what I want to do is: Initialize a class, the class function sets up an event listener which loads a sprite sheet into a bitmap. (This part is all going fine for all I can see.) But once the function called by …

---

## [Calling an Event That Equals to a Function Inside Another Event](https://forum.kirupa.com/t/calling-an-event-that-equals-to-a-function-inside-another-event/330231)

<div class="topic-metadata">

**Author:** [@mrhartsclube](https://forum.kirupa.com/u/mrhartsclube)\
**Replies:** 0\
**Last updated:** [December 15, 2012, 11:43pm UTC](https://forum.kirupa.com/t/calling-an-event-that-equals-to-a-function-inside-another-event/330231 "2012-12-15T23:43:49Z")

</div>

Hi Dear Friends I Have a Little Problem. I Have: \[FONT=courier new\]Btn1.\[COLOR=#0000ff\]onRelease\[/COLOR\] = \[COLOR=#800080\]function/COLOR{\[/FONT\] \[INDENT\] \[COLOR=#a9a9a9\]\[FONT=courier new\]//Do Something\[/FONT\]\[/COLOR\] …

---

## [Tweening a MovieClip](https://forum.kirupa.com/t/tweening-a-movieclip/330228)

<div class="topic-metadata">

**Author:** [@LilyAirheart](https://forum.kirupa.com/u/LilyAirheart)\
**Replies:** 0\
**Last updated:** [December 15, 2012, 4:04pm UTC](https://forum.kirupa.com/t/tweening-a-movieclip/330228 "2012-12-15T16:04:18Z")

</div>

Hello there! I’m not the most savvy person when it comes to programming, so please forgive me if this is a really silly question. I want to make a ball move across the stage, but you can create up to five points on the …

---

## [Cleaning out correct whitespace in xml?](https://forum.kirupa.com/t/cleaning-out-correct-whitespace-in-xml/330227)

<div class="topic-metadata">

**Author:** [@lnsiu](https://forum.kirupa.com/u/lnsiu)\
**Replies:** 0\
**Last updated:** [December 15, 2012, 3:43pm UTC](https://forum.kirupa.com/t/cleaning-out-correct-whitespace-in-xml/330227 "2012-12-15T15:43:20Z")

</div>

How do I clean out the correct whitespace in xml? I have the DOMTLFText from the flash project and need to export it as a single line xml. But the code I wrote, removes things it shouldn't inside the texts as well, not…

---

## [Newbies in FLASH need HELP](https://forum.kirupa.com/t/newbies-in-flash-need-help/330226)

<div class="topic-metadata">

**Author:** [@biodesigner](https://forum.kirupa.com/u/biodesigner)\
**Replies:** 0\
**Last updated:** [December 15, 2012, 2:04pm UTC](https://forum.kirupa.com/t/newbies-in-flash-need-help/330226 "2012-12-15T14:04:45Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Hello i would like to made a menu for a website which is a metaphor of a street visit. So when the user see the animation he have the possibility to visit a street which is a movie clip calle…

---

## [Invisible instances](https://forum.kirupa.com/t/invisible-instances/330225)

<div class="topic-metadata">

**Author:** [@Mr\_Flopsie](https://forum.kirupa.com/u/Mr_Flopsie)\
**Replies:** 0\
**Last updated:** [December 15, 2012, 12:46pm UTC](https://forum.kirupa.com/t/invisible-instances/330225 "2012-12-15T12:46:29Z")

</div>

Hi all! I never really wanted to ask help online, but I guess nothing bad can come from asking help.. I have a simple flash game where you play as a space ship and collect orbs. After you play one game and go back to t…

---

## [Drag n' Rotate MC](https://forum.kirupa.com/t/drag-n-rotate-mc/330220)

<div class="topic-metadata">

**Author:** [@hsiehson](https://forum.kirupa.com/u/hsiehson)\
**Replies:** 0\
**Last updated:** [December 15, 2012, 4:12am UTC](https://forum.kirupa.com/t/drag-n-rotate-mc/330220 "2012-12-15T04:12:20Z")

</div>

Hi all, I'm thinking of creating a ruler (as a MC), and the user can drag it by click on it, and also rotate it IF the mouse click on a specific button (which is located on one end of the Ruler)... So far I'm fine with e…

---

## [Need advice on best practices for a text adventure game I am developing](https://forum.kirupa.com/t/need-advice-on-best-practices-for-a-text-adventure-game-i-am-developing/330219)

<div class="topic-metadata">

**Author:** [@Wedge](https://forum.kirupa.com/u/Wedge)\
**Replies:** 0\
**Last updated:** [December 15, 2012, 3:55am UTC](https://forum.kirupa.com/t/need-advice-on-best-practices-for-a-text-adventure-game-i-am-developing/330219 "2012-12-15T03:55:12Z")

</div>

Hello everyone, I've recently started development on my first large-scale Flash project, a text-based adventure/RPG, and I need some advice from those more experienced than I. I've done a few smaller projects before, so …

---

## [How to use removeChild without declaring the path](https://forum.kirupa.com/t/how-to-use-removechild-without-declaring-the-path/330218)

<div class="topic-metadata">

**Author:** [@John4213](https://forum.kirupa.com/u/John4213)\
**Replies:** 0\
**Last updated:** [December 15, 2012, 3:38am UTC](https://forum.kirupa.com/t/how-to-use-removechild-without-declaring-the-path/330218 "2012-12-15T03:38:08Z")

</div>

Hey, I was wondering how to use removeChild on movieclips if the path has not been declared, the reason for this is because different movieclips in my game will be temporarily assigned to different containers (background…

---

## [Alternativa Platform](https://forum.kirupa.com/t/alternativa-platform/330217)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [December 15, 2012, 3:33am UTC](https://forum.kirupa.com/t/alternativa-platform/330217 "2012-12-15T03:33:53Z")

</div>

I'm attempting to create a 3d drag and drop interface, I was interested in using http://alternativaplatform.com 3d engine but I don't know where/ how to start using it. Can anyone point me in the right direction? Th…

---

## [Can anyone provide me with Flash Player 10.1.82.76?](https://forum.kirupa.com/t/can-anyone-provide-me-with-flash-player-10-1-82-76/330215)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [December 14, 2012, 9:25pm UTC](https://forum.kirupa.com/t/can-anyone-provide-me-with-flash-player-10-1-82-76/330215 "2012-12-14T21:25:56Z")

</div>

I can't find this exact build on Adobe's site — I really need the standalone release/debug version of this player — is this something that someone may have somewhere, someplace?

---

## [Help with interactive story problem](https://forum.kirupa.com/t/help-with-interactive-story-problem/330208)

<div class="topic-metadata">

**Author:** [@lelina](https://forum.kirupa.com/u/lelina)\
**Replies:** 0\
**Last updated:** [December 14, 2012, 1:34am UTC](https://forum.kirupa.com/t/help-with-interactive-story-problem/330208 "2012-12-14T01:34:58Z")

</div>

Hello. I am making an interactive children's story for a project in Flash CS6. I am having trouble with one of the pages where the artwork from the fourth page goes onto the previous page when I click the back button.…

---

## [Best way to create a graphical and interactable timeline?](https://forum.kirupa.com/t/best-way-to-create-a-graphical-and-interactable-timeline/330207)

<div class="topic-metadata">

**Author:** [@Exploding\_Art](https://forum.kirupa.com/u/Exploding_Art)\
**Replies:** 0\
**Last updated:** [December 13, 2012, 9:01pm UTC](https://forum.kirupa.com/t/best-way-to-create-a-graphical-and-interactable-timeline/330207 "2012-12-13T21:01:26Z")

</div>

I'm looking for the best way, best practice, to create a graphical and interactable timeline on a website.I want to create an history timeline. There should be:• a timeline slider, both playable and slideable. • layers o…

---

## [\[AS3\] Multiple Blit on Stage Without Slowdown?](https://forum.kirupa.com/t/as3-multiple-blit-on-stage-without-slowdown/330206)

<div class="topic-metadata">

**Author:** [@Scheisse](https://forum.kirupa.com/u/Scheisse)\
**Replies:** 0\
**Last updated:** [December 13, 2012, 8:15pm UTC](https://forum.kirupa.com/t/as3-multiple-blit-on-stage-without-slowdown/330206 "2012-12-13T20:15:26Z")

</div>

Hello kirupa! I am using the following code to place characters on the screen using Blitting: var rec:Rectangle = new Rectangle(X, Y, width\_sprite, height\_sprite); var pt1:Poi…

---

## [Queue for BitmapData.draw](https://forum.kirupa.com/t/queue-for-bitmapdata-draw/330204)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [December 13, 2012, 6:08pm UTC](https://forum.kirupa.com/t/queue-for-bitmapdata-draw/330204 "2012-12-13T18:08:05Z")

</div>

Hello! I have my swf that's loading tons of other swfs and once they are loaded, they are being drawn to a bitmapData using the draw-function. Very often it loads many swf's at once which makes the draw-function redraw f…

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

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