# programming

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

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

**Page:** 414

---

## [How to go to next frame when transition is finished?](https://forum.kirupa.com/t/how-to-go-to-next-frame-when-transition-is-finished/314115)

<div class="topic-metadata">

**Author:** [@Frosteh](https://forum.kirupa.com/u/Frosteh)\
**Replies:** 0\
**Last updated:** [September 18, 2010, 4:13pm UTC](https://forum.kirupa.com/t/how-to-go-to-next-frame-when-transition-is-finished/314115 "2010-09-18T16:13:20Z")

</div>

So I've got some script in which I fade in a couple movie clips using the transition manager class. These mc's are buttons but I want it to finish the transition before it enables the button features. Here is my code so …

---

## [How can I break line in the XML?](https://forum.kirupa.com/t/how-can-i-break-line-in-the-xml/314114)

<div class="topic-metadata">

**Author:** [@RicardoLimaJR](https://forum.kirupa.com/u/RicardoLimaJR)\
**Replies:** 0\
**Last updated:** [September 18, 2010, 4:07pm UTC](https://forum.kirupa.com/t/how-can-i-break-line-in-the-xml/314114 "2010-09-18T16:07:31Z")

</div>

How can I break line in the XML in a specific part? \[COLOR=#000000\]I want this \[/COLOR\]DE R$ 999,99 POR 666,66 To be this. DE R$ 999,99 POR 666,66 XML: \<price\>DE R$ 999,99 POR R$ 666,66\</price\> AS: price\_txt.Tex…

---

## [FileReference Save as Filetype](https://forum.kirupa.com/t/filereference-save-as-filetype/314112)

<div class="topic-metadata">

**Author:** [@thehat](https://forum.kirupa.com/u/thehat)\
**Replies:** 0\
**Last updated:** [September 18, 2010, 3:07pm UTC](https://forum.kirupa.com/t/filereference-save-as-filetype/314112 "2010-09-18T15:07:16Z")

</div>

Is there any way to set the filetype you want to save to with the FileReference class? I'm creating PNGs for users to save to their hard drive, but I don't really want them to have to specify an extension. If they don't…

---

## [2d car racing](https://forum.kirupa.com/t/2d-car-racing/314109)

<div class="topic-metadata">

**Author:** [@basilisk](https://forum.kirupa.com/u/basilisk)\
**Replies:** 0\
**Last updated:** [September 18, 2010, 1:39pm UTC](https://forum.kirupa.com/t/2d-car-racing/314109 "2010-09-18T13:39:48Z")

</div>

Am trying to make 2d car racing game, but am stuck one problem. Am moving the BG in the game, instead of the car in x and y direction. But am not able to handle the rotation of the bg. can anybody help me with it? The g…

---

## [Unload attached movie](https://forum.kirupa.com/t/unload-attached-movie/314108)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [September 18, 2010, 12:56pm UTC](https://forum.kirupa.com/t/unload-attached-movie/314108 "2010-09-18T12:56:46Z")

</div>

I attach movie from library and place it on a fixed location of the stage. I want only 1 mc to be attached on stage and onPress any one of the buttons the previous mc will disppear and new attached mc replaced. Like, b…

---

## [onPress 2 actions](https://forum.kirupa.com/t/onpress-2-actions/314107)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [September 18, 2010, 12:44pm UTC](https://forum.kirupa.com/t/onpress-2-actions/314107 "2010-09-18T12:44:35Z")

</div>

If I want a button to perform 2 actions such as 1st time onPress the mc visible true and 2nd time onPress the mc visible false and true and false and so on.:ko:

---

## [How do I Z-sort triangles for a 3D engine?](https://forum.kirupa.com/t/how-do-i-z-sort-triangles-for-a-3d-engine/314105)

<div class="topic-metadata">

**Author:** [@zeldalink](https://forum.kirupa.com/u/zeldalink)\
**Replies:** 0\
**Last updated:** [September 18, 2010, 11:41am UTC](https://forum.kirupa.com/t/how-do-i-z-sort-triangles-for-a-3d-engine/314105 "2010-09-18T11:41:06Z")

</div>

Transferred to AS3 forum

---

## [PHP-mysql training @techpeeth](https://forum.kirupa.com/t/php-mysql-training-techpeeth/314102)

<div class="topic-metadata">

**Author:** [@techpeeth](https://forum.kirupa.com/u/techpeeth)\
**Replies:** 0\
**Last updated:** [September 18, 2010, 8:31am UTC](https://forum.kirupa.com/t/php-mysql-training-techpeeth/314102 "2010-09-18T08:31:08Z")

</div>

TechPeeth has launched the Industry oriented training programmes for fresh graduates to leverage their skills in IT/ITES domains: For Graduates/Freshers Training Programmes 1- IT Training in OpenSource Technologies (…

---

## [Access repeater element](https://forum.kirupa.com/t/access-repeater-element/314101)

<div class="topic-metadata">

**Author:** [@spectator](https://forum.kirupa.com/u/spectator)\
**Replies:** 0\
**Last updated:** [September 18, 2010, 8:10am UTC](https://forum.kirupa.com/t/access-repeater-element/314101 "2010-09-18T08:10:23Z")

</div>

Hello. I have one simple DataGrid with news listed. I have set a click event handler function for the DataGrid. My main app logic is based on viewstack. On one page of the viewstack I have the DataGrid mentioned above, o…

---

## [Swapping Sound Files](https://forum.kirupa.com/t/swapping-sound-files/314098)

<div class="topic-metadata">

**Author:** [@53effie](https://forum.kirupa.com/u/53effie)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 11:14pm UTC](https://forum.kirupa.com/t/swapping-sound-files/314098 "2010-09-17T23:14:57Z")

</div>

Hi folks, I am working on a Flash / AS3 project which has several audio tracks and starts off with an intro track. When the user clicks a button a window opens and the audio track changes, the new audio track continuou…

---

## [Flash CS5 not playing old files](https://forum.kirupa.com/t/flash-cs5-not-playing-old-files/314096)

<div class="topic-metadata">

**Author:** [@popops](https://forum.kirupa.com/u/popops)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 10:08pm UTC](https://forum.kirupa.com/t/flash-cs5-not-playing-old-files/314096 "2010-09-17T22:08:22Z")

</div>

I just upgraded to Flash cs5 from studioMX and find that cs5 won't play swf's from my old files properly. Does anyone else have this problem? Does anyone have a fix or work around. I downloaded the lastest upgrade fro…

---

## [Remove event listeners in separate handler functions](https://forum.kirupa.com/t/remove-event-listeners-in-separate-handler-functions/314094)

<div class="topic-metadata">

**Author:** [@trippel](https://forum.kirupa.com/u/trippel)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 9:47pm UTC](https://forum.kirupa.com/t/remove-event-listeners-in-separate-handler-functions/314094 "2010-09-17T21:47:46Z")

</div>

Hi, I've managed to create a button which on MOUSE\_DOWN scales its parent object- it works just like windows in your OS, where you grab the corner and can change the scale of the window. Here's how I've done it, (minu…

---

## [Load txt file from desktop to online swf](https://forum.kirupa.com/t/load-txt-file-from-desktop-to-online-swf/314093)

<div class="topic-metadata">

**Author:** [@Cabby](https://forum.kirupa.com/u/Cabby)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 9:29pm UTC](https://forum.kirupa.com/t/load-txt-file-from-desktop-to-online-swf/314093 "2010-09-17T21:29:50Z")

</div>

I am trying to find the solution to loading a .txt from c:/ to my online swf. Anyone got any solutions?

---

## [Categories for an AS3 resume](https://forum.kirupa.com/t/categories-for-an-as3-resume/314090)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 7:18pm UTC](https://forum.kirupa.com/t/categories-for-an-as3-resume/314090 "2010-09-17T19:18:54Z")

</div>

I'm writing up a resume for what experience I have in various categories of mostly AS3 (and so far doing quite poorly at it, sadly) giving each one an "experience rating" of between 0 and 5. What other commonly used li…

---

## [Working with multiple events](https://forum.kirupa.com/t/working-with-multiple-events/314089)

<div class="topic-metadata">

**Author:** [@scheda](https://forum.kirupa.com/u/scheda)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 7:15pm UTC](https://forum.kirupa.com/t/working-with-multiple-events/314089 "2010-09-17T19:15:36Z")

</div>

I have a datagrid that holds businesses information, and I have a button that a user will click that causes an API call to be run for every row. First off, here is my code. newHttp.addEventListener(ResultEvent.RESUL…

---

## [\[AS3\] Character Animation tied to Key Press](https://forum.kirupa.com/t/as3-character-animation-tied-to-key-press/314088)

<div class="topic-metadata">

**Author:** [@game2create](https://forum.kirupa.com/u/game2create)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 7:10pm UTC](https://forum.kirupa.com/t/as3-character-animation-tied-to-key-press/314088 "2010-09-17T19:10:57Z")

</div>

I am trying to make a platform game, a new concept for me. So, I'm tackling this project one step at a time. I created a character with animated states that reacts to pressed buttons (e.g. walking, jumping). I was ab…

---

## [Embedding Fonts Not working?](https://forum.kirupa.com/t/embedding-fonts-not-working/314087)

<div class="topic-metadata">

**Author:** [@Kirbyprime](https://forum.kirupa.com/u/Kirbyprime)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 7:00pm UTC](https://forum.kirupa.com/t/embedding-fonts-not-working/314087 "2010-09-17T19:00:54Z")

</div>

Not sure why it's not working so any assistance is appreciated. I have 2 text boxes. Both are Classic Text Fields. One is Input Text ( Selectable, Border , Auto Kern, AA Readability ). The other is Dynamic Text ( …

---

## [XML Problem with tags](https://forum.kirupa.com/t/xml-problem-with-tags/314080)

<div class="topic-metadata">

**Author:** [@drymetal](https://forum.kirupa.com/u/drymetal)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 3:54pm UTC](https://forum.kirupa.com/t/xml-problem-with-tags/314080 "2010-09-17T15:54:37Z")

</div>

Hey everyone. First, this site seems pretty informative - particularly the blogs. You'd be surprised how many sites don't have useful information on XML. \[smile\] I am trying to write a php file that when called with a …

---

## [Browser trace for swf](https://forum.kirupa.com/t/browser-trace-for-swf/314078)

<div class="topic-metadata">

**Author:** [@Cabby](https://forum.kirupa.com/u/Cabby)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 3:26pm UTC](https://forum.kirupa.com/t/browser-trace-for-swf/314078 "2010-09-17T15:26:11Z")

</div>

Problem installing Flash Player debug in order to run trace() on browser: I have CS3, have unintalled flash player and reinstalled Flash Player 9 Active X control debugger for IE. A right click should show the debugger, …

---

## [createEmptyMovieClip problem \[flash 8\]](https://forum.kirupa.com/t/createemptymovieclip-problem-flash-8/314077)

<div class="topic-metadata">

**Author:** [@wildliferescuer](https://forum.kirupa.com/u/wildliferescuer)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 1:50pm UTC](https://forum.kirupa.com/t/createemptymovieclip-problem-flash-8/314077 "2010-09-17T13:50:54Z")

</div>

Hi there I am fairly new to flash action script and I am having a problem with a project I am working on. The problem is as follows. I am trying to create a table of thumbnail pictures from an xml. I have made the table …

---

## [Remove transparent area from Bitmap](https://forum.kirupa.com/t/remove-transparent-area-from-bitmap/314075)

<div class="topic-metadata">

**Author:** [@thehat](https://forum.kirupa.com/u/thehat)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 1:09pm UTC](https://forum.kirupa.com/t/remove-transparent-area-from-bitmap/314075 "2010-09-17T13:09:47Z")

</div>

So I have a BitmapData object that's 400x400, and is mostly transparent with a small area (up to 50x50) of color somewhere inside. That's drawn to a bitmap, and now I somehow need to generate a Sprite that is only the d…

---

## [Pausing within a transition](https://forum.kirupa.com/t/pausing-within-a-transition/314069)

<div class="topic-metadata">

**Author:** [@SpencerPhillips](https://forum.kirupa.com/u/SpencerPhillips)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 10:30am UTC](https://forum.kirupa.com/t/pausing-within-a-transition/314069 "2010-09-17T10:30:13Z")

</div>

Hi, I'm new to actionscript and am trying to have a simple three pictures coming in one at a time then some text rotation around them. I have the following code for the pictures coming in from the left but I need to …

---

## [Actionscript 2: Need help](https://forum.kirupa.com/t/actionscript-2-need-help/314067)

<div class="topic-metadata">

**Author:** [@saurabhwisitech](https://forum.kirupa.com/u/saurabhwisitech)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 9:51am UTC](https://forum.kirupa.com/t/actionscript-2-need-help/314067 "2010-09-17T09:51:11Z")

</div>

I have a card built in actionscript 2. I want to preload video which is played in hardcoded player using dynamic content path. Any suggestion is welcome.

---

## [XML Driven menu](https://forum.kirupa.com/t/xml-driven-menu/314065)

<div class="topic-metadata">

**Author:** [@TCDown](https://forum.kirupa.com/u/TCDown)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 8:22am UTC](https://forum.kirupa.com/t/xml-driven-menu/314065 "2010-09-17T08:22:07Z")

</div>

Hi, I have been working through senocular's excellent tutorial on building an XML Driven menu and trying to adapt it to an Articulate ArtAPI. I having real trouble with the second level menu's and wondered if anyone…

---

## [TIMER problem](https://forum.kirupa.com/t/timer-problem/314064)

<div class="topic-metadata">

**Author:** [@elliria](https://forum.kirupa.com/u/elliria)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 8:19am UTC](https://forum.kirupa.com/t/timer-problem/314064 "2010-09-17T08:19:43Z")

</div>

hi everyone, i've gone crazy with a timer problem: i have a series of elements put into an array and i simply want to create an html "ALT effect". if you stay on it with the mouse for a while it shows some text. so i tri…

---

## [CS4 to Studio 8 problem](https://forum.kirupa.com/t/cs4-to-studio-8-problem/314063)

<div class="topic-metadata">

**Author:** [@DrArgumental](https://forum.kirupa.com/u/DrArgumental)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 7:52am UTC](https://forum.kirupa.com/t/cs4-to-studio-8-problem/314063 "2010-09-17T07:52:08Z")

</div>

Can someone convert the .fla I have attached to a studio 8 version or below. I'd be very grateful. Either post it below or email it to me at anthonypwillis1993@googlemail.com

---

## [Projectile Help](https://forum.kirupa.com/t/projectile-help/314059)

<div class="topic-metadata">

**Author:** [@Rifts1103](https://forum.kirupa.com/u/Rifts1103)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 4:21am UTC](https://forum.kirupa.com/t/projectile-help/314059 "2010-09-17T04:21:00Z")

</div>

I have this code to add my missile to the screen // SHOOTING function Shoot(event:MouseEvent) { var newMissile:Missile = new Missile(); // set direction newMissile.dx = Math.cos(Math.PI\*character\_mc.rot…

---

## [hiTest bug, or am I just stupid?](https://forum.kirupa.com/t/hitest-bug-or-am-i-just-stupid/314057)

<div class="topic-metadata">

**Author:** [@ikazuchi](https://forum.kirupa.com/u/ikazuchi)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 1:27am UTC](https://forum.kirupa.com/t/hitest-bug-or-am-i-just-stupid/314057 "2010-09-17T01:27:58Z")

</div>

Long story short, I created a plane shooting @ the boss. When the bullet hits Boss, it is removed. When the boss' life hits 0, it is removed. Both are removed via this.parent.removeChild(this). The problem is that afte…

---

## [Shooting in different Directions](https://forum.kirupa.com/t/shooting-in-different-directions/314054)

<div class="topic-metadata">

**Author:** [@Rifts1103](https://forum.kirupa.com/u/Rifts1103)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 12:33am UTC](https://forum.kirupa.com/t/shooting-in-different-directions/314054 "2010-09-17T00:33:25Z")

</div>

Hey I have been googling my butt off I can not find anything about AS3 and shooting in different directions. I just need to shoot in the direction my char is facing. I have this so far which work flawlessly \[wink\] …

---

## [Wrong order of the pictures in the slideshow](https://forum.kirupa.com/t/wrong-order-of-the-pictures-in-the-slideshow/314053)

<div class="topic-metadata">

**Author:** [@northflower](https://forum.kirupa.com/u/northflower)\
**Replies:** 0\
**Last updated:** [September 16, 2010, 10:07pm UTC](https://forum.kirupa.com/t/wrong-order-of-the-pictures-in-the-slideshow/314053 "2010-09-16T22:07:13Z")

</div>

Hi, I have made a small slideshow where images taken from an xml file with two texts for each item. The problem is that the slideshow works fine the first time, but since then the wrong image in the wrong order. The text…

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

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