# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=44

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

**Page:** 45

---

## [Send Image Data to flash](https://forum.kirupa.com/t/send-image-data-to-flash/330281)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [December 24, 2012, 8:28am UTC](https://forum.kirupa.com/t/send-image-data-to-flash/330281 "2012-12-24T08:28:41Z")

</div>

Hello everyone, How can i send image data from javascript to flash via callback method, My images are ready & callback is working but as i try to send image from javascript to flash my browser hangs Is there any work aro…

---

## [How to remove xml loaded jpgs on EXIT\_FRAME?](https://forum.kirupa.com/t/how-to-remove-xml-loaded-jpgs-on-exit-frame/330279)

<div class="topic-metadata">

**Author:** [@ngrinchenko](https://forum.kirupa.com/u/ngrinchenko)\
**Replies:** 0\
**Last updated:** [December 24, 2012, 4:59am UTC](https://forum.kirupa.com/t/how-to-remove-xml-loaded-jpgs-on-exit-frame/330279 "2012-12-24T04:59:16Z")

</div>

I have a perfectly working code which removes an xml loaded image thumb scroller. It is set up to remove the loaded jpg's on a mouse click with the listener assigned to a navigation object. My problem is that on that …

---

## [Cursor over dynamic textfield fails to track](https://forum.kirupa.com/t/cursor-over-dynamic-textfield-fails-to-track/330277)

<div class="topic-metadata">

**Author:** [@straris](https://forum.kirupa.com/u/straris)\
**Replies:** 0\
**Last updated:** [December 23, 2012, 9:53pm UTC](https://forum.kirupa.com/t/cursor-over-dynamic-textfield-fails-to-track/330277 "2012-12-23T21:53:26Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]I am having a problem and i am not sure what to do although the answer must be obvious..\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=Arial\]I have a movieclip and inside the movieclip a dynamic text fie…

---

## [Searching for a Lua interpreter library to use in Flash Project](https://forum.kirupa.com/t/searching-for-a-lua-interpreter-library-to-use-in-flash-project/330276)

<div class="topic-metadata">

**Author:** [@tick\_tock1](https://forum.kirupa.com/u/tick_tock1)\
**Replies:** 0\
**Last updated:** [December 23, 2012, 9:13pm UTC](https://forum.kirupa.com/t/searching-for-a-lua-interpreter-library-to-use-in-flash-project/330276 "2012-12-23T21:13:45Z")

</div>

I've been looking for a Lua intepreter to use inside a flash project. To clarify, I want the ability to take in raw Lua code, not complied code, and run it on the fly in my running Flash project. The closest things to a …

---

## [Odd problem with shapeflag and hitTest](https://forum.kirupa.com/t/odd-problem-with-shapeflag-and-hittest/330273)

<div class="topic-metadata">

**Author:** [@Rittto](https://forum.kirupa.com/u/Rittto)\
**Replies:** 0\
**Last updated:** [December 22, 2012, 7:17pm UTC](https://forum.kirupa.com/t/odd-problem-with-shapeflag-and-hittest/330273 "2012-12-22T19:17:06Z")

</div>

I've been working on getting slopes working properly for a horribly long amount of time. I've almost got it working, but it's still annoyingly difficult. Here's the current problem. Moving the character without moving…

---

## [Auto adjustment (expand or collapse) of sub-buttons when clicked on the main button](https://forum.kirupa.com/t/auto-adjustment-expand-or-collapse-of-sub-buttons-when-clicked-on-the-main-button/330266)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [December 21, 2012, 8:10am UTC](https://forum.kirupa.com/t/auto-adjustment-expand-or-collapse-of-sub-buttons-when-clicked-on-the-main-button/330266 "2012-12-21T08:10:22Z")

</div>

Hi, I have the following buttons and some sub buttons (Main buttons are in \[COLOR=#0000ff\]Blue \*\*\[/COLOR\]&\[COLOR=#0000ff\]\[/COLOR\] Sub buttons are in \[COLOR=#a52a2a\]Brown \*\*\[/COLOR\]Color).\[COLOR=#0000ff\]\[/COLOR\] \[COLO…

---

## [Boggle Game - How to randomize the dice and grid?](https://forum.kirupa.com/t/boggle-game-how-to-randomize-the-dice-and-grid/330265)

<div class="topic-metadata">

**Author:** [@daejeon](https://forum.kirupa.com/u/daejeon)\
**Replies:** 0\
**Last updated:** [December 21, 2012, 7:14am UTC](https://forum.kirupa.com/t/boggle-game-how-to-randomize-the-dice-and-grid/330265 "2012-12-21T07:14:24Z")

</div>

I'm looking to create a boggle grid. Boggle contains 16 x 6 sided dice each with different letters. I can randomize which side of the dice (mc frame) is displayed, but I cannot randomize the order of the grid. How w…

---

## [MouseCursorData in Flash Professional 5.5 doesn't display my PNG](https://forum.kirupa.com/t/mousecursordata-in-flash-professional-5-5-doesnt-display-my-png/330263)

<div class="topic-metadata">

**Author:** [@ls\_ac](https://forum.kirupa.com/u/ls_ac)\
**Replies:** 0\
**Last updated:** [December 21, 2012, 2:53am UTC](https://forum.kirupa.com/t/mousecursordata-in-flash-professional-5-5-doesnt-display-my-png/330263 "2012-12-21T02:53:13Z")

</div>

var bitmapDatas:Vector.\<BitmapData\> = new Vector.\<BitmapData\>( 1, true ); bitmapDatas\[0\] = new cursorTarget(); var cursorData:MouseCursorData = new MouseCursorData( ); cursorData.hotSpot = new Point( 15…

---

## [UIComponent memory issue](https://forum.kirupa.com/t/uicomponent-memory-issue/330261)

<div class="topic-metadata">

**Author:** [@destinier](https://forum.kirupa.com/u/destinier)\
**Replies:** 0\
**Last updated:** [December 20, 2012, 1:01pm UTC](https://forum.kirupa.com/t/uicomponent-memory-issue/330261 "2012-12-20T13:01:49Z")

</div>

Hi all, I have observed \*\*UIComponent \*\*and found some interesting thing. Please check the following code which is present in \*\*UIComponent \*\*constructor. addEventListener(Event.ADDED, addedHandler); addEve…

---

## [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…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=43)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=45)
