# flash

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

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

**Page:** 31

---

## [Get the time from XML and read out appropriate node in AS3](https://forum.kirupa.com/t/get-the-time-from-xml-and-read-out-appropriate-node-in-as3/331285)

<div class="topic-metadata">

**Author:** [@djjulia](https://forum.kirupa.com/u/djjulia)\
**Replies:** 0\
**Last updated:** [June 28, 2013, 10:46pm UTC](https://forum.kirupa.com/t/get-the-time-from-xml-and-read-out-appropriate-node-in-as3/331285 "2013-06-28T22:46:58Z")

</div>

Hi there. I have an XML file of various auction items that will display based on the time. I want to use AS3 to getUTCDate based on the hour set in the \<time\> field of the XML file and then display the appropriate XML no…

---

## [cs5.5 AS 3.0: move movieclip to fixed point on rollover](https://forum.kirupa.com/t/cs5-5-as-3-0-move-movieclip-to-fixed-point-on-rollover/331273)

<div class="topic-metadata">

**Author:** [@JBlij](https://forum.kirupa.com/u/JBlij)\
**Replies:** 0\
**Last updated:** [June 26, 2013, 3:56pm UTC](https://forum.kirupa.com/t/cs5-5-as-3-0-move-movieclip-to-fixed-point-on-rollover/331273 "2013-06-26T15:56:46Z")

</div>

I currently have a maze made where my circle (instancename = Muis2) moves around when my mouse moves around. When it mouses over the walls of my maze (Instancename = Maze) I want the circle to move back to its beginning …

---

## [Rotate a mc using matrix](https://forum.kirupa.com/t/rotate-a-mc-using-matrix/331271)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [June 26, 2013, 12:40pm UTC](https://forum.kirupa.com/t/rotate-a-mc-using-matrix/331271 "2013-06-26T12:40:47Z")

</div>

Hello everyone! I have this matrix and i want to know the value of the rotation in degrees... here is the matrix: cos(0.898834228515625) -sin(-0.438278198242188) 0 sin(0.438278198242188) cos(0.898834228515625)…

---

## [AS2 swapDepth Help Needed please!](https://forum.kirupa.com/t/as2-swapdepth-help-needed-please/331270)

<div class="topic-metadata">

**Author:** [@pistelli](https://forum.kirupa.com/u/pistelli)\
**Replies:** 0\
**Last updated:** [June 25, 2013, 9:44pm UTC](https://forum.kirupa.com/t/as2-swapdepth-help-needed-please/331270 "2013-06-25T21:44:38Z")

</div>

\[COLOR=#333333\]\[FONT=Verdana\]Hi all!\[/FONT\]\[/COLOR\] \[COLOR=#333333\]\[FONT=Verdana\]I\`m making a simple escape game. \[/FONT\]\[/COLOR\] \[COLOR=#333333\]\[FONT=Verdana\]It has an inventory also to store found stuff.\[/FONT\]\[/COLOR\] …

---

## [Get rotation angle from matrix](https://forum.kirupa.com/t/get-rotation-angle-from-matrix/331269)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [June 25, 2013, 7:00pm UTC](https://forum.kirupa.com/t/get-rotation-angle-from-matrix/331269 "2013-06-25T19:00:48Z")

</div>

I got this matrix\*:\* a="0.898834228515625" b="0.438278198242188" c="-0.438278198242188" d="0.898834228515625" How can I get the rotation angle out from this? Thanks in advance, ~Tompa

---

## [Convert a distance into x-axis and y-axis](https://forum.kirupa.com/t/convert-a-distance-into-x-axis-and-y-axis/331267)

<div class="topic-metadata">

**Author:** [@arsal](https://forum.kirupa.com/u/arsal)\
**Replies:** 0\
**Last updated:** [June 25, 2013, 11:36am UTC](https://forum.kirupa.com/t/convert-a-distance-into-x-axis-and-y-axis/331267 "2013-06-25T11:36:48Z")

</div>

Hello i was wondering how can i break distance between two points into their x-axis and y-axis ? can any body help me? i'll be thankful \[smile\]

---

## [Cannot access array from a function](https://forum.kirupa.com/t/cannot-access-array-from-a-function/331265)

<div class="topic-metadata">

**Author:** [@Sutirtha\_Das](https://forum.kirupa.com/u/Sutirtha_Das)\
**Replies:** 0\
**Last updated:** [June 25, 2013, 3:50am UTC](https://forum.kirupa.com/t/cannot-access-array-from-a-function/331265 "2013-06-25T03:50:24Z")

</div>

Hi, i'm making a tile based game. There is an array which holds the Map var myMap:Array = \[\[...\],\[......\] \<-- the 2d array with numbers representing tiles at a later function which is called by…

---

## [Remove all textfields automatically](https://forum.kirupa.com/t/remove-all-textfields-automatically/331263)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [June 24, 2013, 2:54pm UTC](https://forum.kirupa.com/t/remove-all-textfields-automatically/331263 "2013-06-24T14:54:45Z")

</div>

I got a huge FLA document with aruond 13 000 static textfields in different movieclips all over the library (Stage is empty). Is there a simple way to remove all these textfields? I got a script working with JSFL, but …

---

## [Help char movement with ease and physics](https://forum.kirupa.com/t/help-char-movement-with-ease-and-physics/331261)

<div class="topic-metadata">

**Author:** [@Gaara4000](https://forum.kirupa.com/u/Gaara4000)\
**Replies:** 0\
**Last updated:** [June 24, 2013, 9:51am UTC](https://forum.kirupa.com/t/help-char-movement-with-ease-and-physics/331261 "2013-06-24T09:51:00Z")

</div>

Hi there im new to this forum and well i'v been wanting to make this game in flash and well this is what i need. a char that moves and can collide with other chars (CPUs). the movement i'm aiming for its like i press r…

---

## [Loop trouble](https://forum.kirupa.com/t/loop-trouble/331259)

<div class="topic-metadata">

**Author:** [@Gedicus](https://forum.kirupa.com/u/Gedicus)\
**Replies:** 0\
**Last updated:** [June 23, 2013, 4:45pm UTC](https://forum.kirupa.com/t/loop-trouble/331259 "2013-06-23T16:45:10Z")

</div>

Hey guys, I am having a bit of trouble creating enemies at random points on my map, I want them to be contained within a certain y-axis range, I have made this code and it randomly generates then overwrites endless insta…

---

## [Convert to symbol - fill disappears!](https://forum.kirupa.com/t/convert-to-symbol-fill-disappears/331258)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [June 22, 2013, 10:23pm UTC](https://forum.kirupa.com/t/convert-to-symbol-fill-disappears/331258 "2013-06-22T22:23:32Z")

</div>

I got 2 layers on the timeline, the first layer is filled with roads\* (just a white shape with black stroke)\*, and the other layer is just a rectangle acting like a background. http://pasteboard.co/y8Gs3zE.png After I …

---

## [Flash Timelines](https://forum.kirupa.com/t/flash-timelines/331255)

<div class="topic-metadata">

**Author:** [@GeekAkash](https://forum.kirupa.com/u/GeekAkash)\
**Replies:** 0\
**Last updated:** [June 22, 2013, 2:16pm UTC](https://forum.kirupa.com/t/flash-timelines/331255 "2013-06-22T14:16:44Z")

</div>

I'm watching some Flash tutorials and I am getting confused with timelines. Where if you click on a object there is another timeline what does that mean? Like how can you control it? :pa: Thank you! -Akash

---

## [What does the target instance mean?](https://forum.kirupa.com/t/what-does-the-target-instance-mean/331254)

<div class="topic-metadata">

**Author:** [@GeekAkash](https://forum.kirupa.com/u/GeekAkash)\
**Replies:** 0\
**Last updated:** [June 21, 2013, 10:01pm UTC](https://forum.kirupa.com/t/what-does-the-target-instance-mean/331254 "2013-06-21T22:01:15Z")

</div>

What is the Target instance? I am a bit confused :crying: Is it an '\[COLOR=#0000ff\]Parameter' \[/COLOR\]?\[COLOR=#0000ff\] \[/COLOR\]In this Piece of code , what is the purpose of \[COLOR=#ff0000\]event.target ? \[/COLOR\]what…

---

## [Flash as2 RPG Game Help. Picking up weapon](https://forum.kirupa.com/t/flash-as2-rpg-game-help-picking-up-weapon/331253)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [June 21, 2013, 4:58pm UTC](https://forum.kirupa.com/t/flash-as2-rpg-game-help-picking-up-weapon/331253 "2013-06-21T16:58:02Z")

</div>

When my char picks up a weapon, how do I attach the weapon\_mc to the char? Since I can get the weapon\_mc to attach to the char starting position, but since the char has animation using the up, down, left, right keys, the…

---

## [XML to Multidimensional Array AS3](https://forum.kirupa.com/t/xml-to-multidimensional-array-as3/331250)

<div class="topic-metadata">

**Author:** [@djjulia](https://forum.kirupa.com/u/djjulia)\
**Replies:** 0\
**Last updated:** [June 21, 2013, 12:50am UTC](https://forum.kirupa.com/t/xml-to-multidimensional-array-as3/331250 "2013-06-21T00:50:51Z")

</div>

Hi there - I'm trying to take an xml feed of country names and then using a multidimensional array, parse those country names to their 3 letter FIFA code and then pass that to a dynamic text field. I'm certain that I nee…

---

## [Slow load of BitmapData](https://forum.kirupa.com/t/slow-load-of-bitmapdata/331249)

<div class="topic-metadata">

**Author:** [@Richard\_Molnar](https://forum.kirupa.com/u/Richard_Molnar)\
**Replies:** 0\
**Last updated:** [June 20, 2013, 5:43pm UTC](https://forum.kirupa.com/t/slow-load-of-bitmapdata/331249 "2013-06-20T17:43:15Z")

</div>

\[COLOR=#333333\]\[FONT=adobe-clean\]In my application, i am using a graphical counter for score. It has several effects that would be too hard to render real-time, so i have my whole animation converted to 2525x45px picture…

---

## [Customization Game: Final result output?](https://forum.kirupa.com/t/customization-game-final-result-output/331247)

<div class="topic-metadata">

**Author:** [@orange\_juice](https://forum.kirupa.com/u/orange_juice)\
**Replies:** 0\
**Last updated:** [June 20, 2013, 2:21am UTC](https://forum.kirupa.com/t/customization-game-final-result-output/331247 "2013-06-20T02:21:26Z")

</div>

Hi everyone, I'm working on a series of customization games e.g dress up and photo decorating and the games are working fine. However, I can't figure out a way to "show" the results on the next frame for example. For t…

---

## [Array inside getURL in ActionScript 2](https://forum.kirupa.com/t/array-inside-geturl-in-actionscript-2/331245)

<div class="topic-metadata">

**Author:** [@AndreiUle](https://forum.kirupa.com/u/AndreiUle)\
**Replies:** 0\
**Last updated:** [June 19, 2013, 8:29pm UTC](https://forum.kirupa.com/t/array-inside-geturl-in-actionscript-2/331245 "2013-06-19T20:29:21Z")

</div>

I have a gallery of images inside a movieclip and I want to add an url for each instance using the titles of the images kept inside an array. Images instances are named image0, image1, image2.....imagen. Code is not work…

---

## [Creating new Bad Guys](https://forum.kirupa.com/t/creating-new-bad-guys/331242)

<div class="topic-metadata">

**Author:** [@Joao\_Andrade](https://forum.kirupa.com/u/Joao_Andrade)\
**Replies:** 0\
**Last updated:** [June 19, 2013, 11:51am UTC](https://forum.kirupa.com/t/creating-new-bad-guys/331242 "2013-06-19T11:51:46Z")

</div>

So, i have a problem here... I want to creat every "x" tyme a bad guy in my game and when it collide with the player, i lose a life. Simple... But whenever it creats a new bad guy, the previous ones lose their insta…

---

## [\[JSFL\] Remove textfields from stage](https://forum.kirupa.com/t/jsfl-remove-textfields-from-stage/331238)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [June 19, 2013, 1:32am UTC](https://forum.kirupa.com/t/jsfl-remove-textfields-from-stage/331238 "2013-06-19T01:32:08Z")

</div>

I'm looking for a way to remove all textfiends that is directly placed to the stage. I do manage to get an array of the textfields, and I can get x, y, text etc. from it, but no way I've tested so far has worked to targe…

---

## [Flash as2 Need a second pair of eyes on my code. Creating AI movement](https://forum.kirupa.com/t/flash-as2-need-a-second-pair-of-eyes-on-my-code-creating-ai-movement/331230)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 10:48pm UTC](https://forum.kirupa.com/t/flash-as2-need-a-second-pair-of-eyes-on-my-code-creating-ai-movement/331230 "2013-06-17T22:48:07Z")

</div>

I have a enemy movieClip named: enemy01. I am creating AI movement for this mc. Here is my code: \_root.enemy01.speed = 1 \_root.enemy01.turnRate = .05 \_root.enemy01.agroRange = 200; \_root.enemy01.mode = "follow" \_root.…

---

## [Flash as2 Help with simple hitTest please](https://forum.kirupa.com/t/flash-as2-help-with-simple-hittest-please/331227)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 8:26pm UTC](https://forum.kirupa.com/t/flash-as2-help-with-simple-hittest-please/331227 "2013-06-17T20:26:40Z")

</div>

I am pulling my hair out, I have checked several of my flash books, Google, forums, and I cannot seem to get this hitTest to work. 1st frame on the stage (actionscript layer), is where all my code is at. I first, called …

---

## [AS2 mask several images in a loop](https://forum.kirupa.com/t/as2-mask-several-images-in-a-loop/331226)

<div class="topic-metadata">

**Author:** [@capdetrons](https://forum.kirupa.com/u/capdetrons)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 5:18pm UTC](https://forum.kirupa.com/t/as2-mask-several-images-in-a-loop/331226 "2013-06-17T17:18:30Z")

</div>

I'm completely confused here and would appreciate any help with this code where I'm trying to mask some images loaded into a container clip and distributed horizontally along the gallery but I can't manage to achieve it.…

---

## [Playing frames as mouse rolls out](https://forum.kirupa.com/t/playing-frames-as-mouse-rolls-out/331224)

<div class="topic-metadata">

**Author:** [@satrebor](https://forum.kirupa.com/u/satrebor)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 12:59pm UTC](https://forum.kirupa.com/t/playing-frames-as-mouse-rolls-out/331224 "2013-06-17T12:59:28Z")

</div>

I have a code attatched to button on(rollOver){gotoAndPlay(2);} I have Other animation on frame 42. How to do that, once I mouseOver flash plays frame 2. Once mouseOut flash plays 42 frame. The code like: on(rol…

---

## [Stopping FLVplayer in AS3 when leaving page?](https://forum.kirupa.com/t/stopping-flvplayer-in-as3-when-leaving-page/331220)

<div class="topic-metadata">

**Author:** [@vivsa](https://forum.kirupa.com/u/vivsa)\
**Replies:** 0\
**Last updated:** [June 16, 2013, 7:26am UTC](https://forum.kirupa.com/t/stopping-flvplayer-in-as3-when-leaving-page/331220 "2013-06-16T07:26:00Z")

</div>

Right now what happens is that I have a play and stop button that work on the page, but if the person were to leave the video page without pressing stop first the video continues. I have managed to stop the sound by writ…

---

## [Implementing Senocular Code](https://forum.kirupa.com/t/implementing-senocular-code/331219)

<div class="topic-metadata">

**Author:** [@Qualjak\_Qualie](https://forum.kirupa.com/u/Qualjak_Qualie)\
**Replies:** 0\
**Last updated:** [June 16, 2013, 5:24am UTC](https://forum.kirupa.com/t/implementing-senocular-code/331219 "2013-06-16T05:24:09Z")

</div>

I'm new to as3, and I'm trying to implement two of Senocular's source codes: duplicateMovieClip, and his transform tool. I have created code that successfully duplicates a MovieClip and enables the duplicated MovieClip t…

---

## [How to start an external file work automatically?](https://forum.kirupa.com/t/how-to-start-an-external-file-work-automatically/331216)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [June 15, 2013, 12:54pm UTC](https://forum.kirupa.com/t/how-to-start-an-external-file-work-automatically/331216 "2013-06-15T12:54:13Z")

</div>

Hi, I am loading an external file "Timer.swf" and want to start it automatically when the SYSTEM Clock shows exactly 10:00am. What is the code that will make my "Timer.swf" start. Thanks for any help.

---

## [Creating the installer for air](https://forum.kirupa.com/t/creating-the-installer-for-air/331214)

<div class="topic-metadata">

**Author:** [@FJW](https://forum.kirupa.com/u/FJW)\
**Replies:** 0\
**Last updated:** [June 15, 2013, 7:12am UTC](https://forum.kirupa.com/t/creating-the-installer-for-air/331214 "2013-06-15T07:12:10Z")

</div>

Hi Guys this may be another dumb question but I just can;t find the info. when I run my test app it dow create a folder 'Test' in my documents as expected but I need to put files in that folder. The problem is that if I …

---

## [Attach FLVPlayback Audio to an object](https://forum.kirupa.com/t/attach-flvplayback-audio-to-an-object/331212)

<div class="topic-metadata">

**Author:** [@RPSchmidt](https://forum.kirupa.com/u/RPSchmidt)\
**Replies:** 0\
**Last updated:** [June 14, 2013, 6:39pm UTC](https://forum.kirupa.com/t/attach-flvplayback-audio-to-an-object/331212 "2013-06-14T18:39:05Z")

</div>

Hello all... long time stalker, first time poster. I will try to make this as simple and brief as possible, because I can't currently attach any code to this post due to workplace restrictions. I created a closed capti…

---

## [Two microphone simultaneous input in Flash?](https://forum.kirupa.com/t/two-microphone-simultaneous-input-in-flash/331211)

<div class="topic-metadata">

**Author:** [@Pedro\_Santos](https://forum.kirupa.com/u/Pedro_Santos)\
**Replies:** 0\
**Last updated:** [June 13, 2013, 5:29pm UTC](https://forum.kirupa.com/t/two-microphone-simultaneous-input-in-flash/331211 "2013-06-13T17:29:16Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]I am creating a project but I am having some issues , the project consists in 2 persons screaming on two microphones, and filling a bar with that scream. The problem is how can flash work with …

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

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