# programming

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

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

**Page:** 163

---

## [Score counter in AS3](https://forum.kirupa.com/t/score-counter-in-as3/328790)

<div class="topic-metadata">

**Author:** [@chiapa](https://forum.kirupa.com/u/chiapa)\
**Replies:** 0\
**Last updated:** [June 17, 2012, 11:07am UTC](https://forum.kirupa.com/t/score-counter-in-as3/328790 "2012-06-17T11:07:30Z")

</div>

Hi everyone, The game I'm making is a shooter: alienships fly across the screen and when I click them, they die. I want to have a dynamic text that keeps score of the number of ships I kill, but I'm not managing to d…

---

## [How make a shuffle playlist](https://forum.kirupa.com/t/how-make-a-shuffle-playlist/328789)

<div class="topic-metadata">

**Author:** [@Orxan\_Zakirov](https://forum.kirupa.com/u/Orxan_Zakirov)\
**Replies:** 0\
**Last updated:** [June 17, 2012, 9:59am UTC](https://forum.kirupa.com/t/how-make-a-shuffle-playlist/328789 "2012-06-17T09:59:06Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Hello, I have a flash site and MP3 player in there. I want to make it play shuffle.\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]The playlist.as is here: \[/FONT\]\[/COLOR\]\[LEFT\]\[COLOR=#0000…

---

## [Tutorial: Where Will Your Styles Live?](https://forum.kirupa.com/t/tutorial-where-will-your-styles-live/328786)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 16, 2012, 10:55pm UTC](https://forum.kirupa.com/t/tutorial-where-will-your-styles-live/328786 "2012-06-16T22:55:24Z")

</div>

\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[COLOR=#333333\]Hi everyone,\[/COLOR\]\[/COLOR\]\[/FONT\]\[/FONT\]\[/COLOR\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[FONT=Segoe…

---

## [mp3 flash player issues](https://forum.kirupa.com/t/mp3-flash-player-issues/328785)

<div class="topic-metadata">

**Author:** [@taseandrei15](https://forum.kirupa.com/u/taseandrei15)\
**Replies:** 0\
**Last updated:** [June 16, 2012, 5:05pm UTC](https://forum.kirupa.com/t/mp3-flash-player-issues/328785 "2012-06-16T17:05:02Z")

</div>

Hi everyone, I'm new to AS3 so please be as patient as you can.:) For the past 3 weeks or so, I've been trying to make a mp3 player that loads the songs via an XML file, based on the date of the playlist. I have few …

---

## [Creating a torch light/spot light effect?](https://forum.kirupa.com/t/creating-a-torch-light-spot-light-effect/328784)

<div class="topic-metadata">

**Author:** [@Profitemole](https://forum.kirupa.com/u/Profitemole)\
**Replies:** 0\
**Last updated:** [June 16, 2012, 4:29pm UTC](https://forum.kirupa.com/t/creating-a-torch-light-spot-light-effect/328784 "2012-06-16T16:29:58Z")

</div>

I have two versions of the same movie clip background image, one at normal brightness and the other with a darker brightness (by duplicating the movie clip and placing it behind the brighter image). I've created a small …

---

## [AS3 game - creating a basic "shooting targets" game](https://forum.kirupa.com/t/as3-game-creating-a-basic-shooting-targets-game/328782)

<div class="topic-metadata">

**Author:** [@chiapa](https://forum.kirupa.com/u/chiapa)\
**Replies:** 0\
**Last updated:** [June 16, 2012, 9:02am UTC](https://forum.kirupa.com/t/as3-game-creating-a-basic-shooting-targets-game/328782 "2012-06-16T09:02:31Z")

</div>

Hi everyone, I'm new in AS3 and I'm having a hard time getting started. I need help to create a basic "shooting targets" game and the only thing I managed to do is create a crosshair and make it the mouse pointer. I …

---

## [\[FLASH 8\] How do I duplicate movieclips and make them keep code?](https://forum.kirupa.com/t/flash-8-how-do-i-duplicate-movieclips-and-make-them-keep-code/328781)

<div class="topic-metadata">

**Author:** [@Mablargy](https://forum.kirupa.com/u/Mablargy)\
**Replies:** 0\
**Last updated:** [June 16, 2012, 4:07am UTC](https://forum.kirupa.com/t/flash-8-how-do-i-duplicate-movieclips-and-make-them-keep-code/328781 "2012-06-16T04:07:55Z")

</div>

Hey guys, I'm having a little trouble here... I'm trying to duplicate a movieclip when a button is clicked, but I want the movieclip that's being duplicate to keep the same code and properties as the one it's duplicating…

---

## [Trouble with email link](https://forum.kirupa.com/t/trouble-with-email-link/328780)

<div class="topic-metadata">

**Author:** [@News2Me](https://forum.kirupa.com/u/News2Me)\
**Replies:** 0\
**Last updated:** [June 16, 2012, 4:00am UTC](https://forum.kirupa.com/t/trouble-with-email-link/328780 "2012-06-16T04:00:56Z")

</div>

Hi there, I need some help/assistance with an email link. I have an invite I created in Flash and at the end of some animation some buttons appear, one of them being "RSVP". When selected it pops up that standard …

---

## [Controlling Externally Loaded SWF in AS3](https://forum.kirupa.com/t/controlling-externally-loaded-swf-in-as3/328778)

<div class="topic-metadata">

**Author:** [@yanathin](https://forum.kirupa.com/u/yanathin)\
**Replies:** 0\
**Last updated:** [June 15, 2012, 4:54pm UTC](https://forum.kirupa.com/t/controlling-externally-loaded-swf-in-as3/328778 "2012-06-15T16:54:33Z")

</div>

I’m a little new to AS3 so there are a few things that I’m trying to learn from knowing AS2 before. One of them is loading external SWF files. Here’s what I have going on… On the first frame of my main container file, I …

---

## [Random pause in multiple movie clips](https://forum.kirupa.com/t/random-pause-in-multiple-movie-clips/328777)

<div class="topic-metadata">

**Author:** [@FlashFish](https://forum.kirupa.com/u/FlashFish)\
**Replies:** 0\
**Last updated:** [June 15, 2012, 3:04pm UTC](https://forum.kirupa.com/t/random-pause-in-multiple-movie-clips/328777 "2012-06-15T15:04:19Z")

</div>

Hey. I have 1000 identical movie clips that I'm having trouble dealing with. Ultimately I need them to 'disappear' one at a time with a little animation but I'm having trouble coming up with a method which doesn't invol…

---

## [Image Cropping](https://forum.kirupa.com/t/image-cropping/328775)

<div class="topic-metadata">

**Author:** [@gopik3](https://forum.kirupa.com/u/gopik3)\
**Replies:** 0\
**Last updated:** [June 15, 2012, 11:57am UTC](https://forum.kirupa.com/t/image-cropping/328775 "2012-06-15T11:57:00Z")

</div>

hello i need to crop the image using mouse drag,now i cropped by rectangle crop.it work perfectly.now i need to draw a like a pencil tool an drag the covered area in the pencil tool.how can i cut image. Thank…

---

## [Play on MouseOver, Play in Reverse on MouseOut?](https://forum.kirupa.com/t/play-on-mouseover-play-in-reverse-on-mouseout/328774)

<div class="topic-metadata">

**Author:** [@iMitchellHD](https://forum.kirupa.com/u/iMitchellHD)\
**Replies:** 0\
**Last updated:** [June 15, 2012, 11:21am UTC](https://forum.kirupa.com/t/play-on-mouseover-play-in-reverse-on-mouseout/328774 "2012-06-15T11:21:34Z")

</div>

So i've made a movie clip named MTF\_Holder I've made it play on MouseOver and then stop at the end, but i want it to play the movie clip in reverse on Mouse\_Out How would i do that? the code ive used so far is ... s…

---

## [Controlling an empty movieclip](https://forum.kirupa.com/t/controlling-an-empty-movieclip/328773)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [June 15, 2012, 8:02am UTC](https://forum.kirupa.com/t/controlling-an-empty-movieclip/328773 "2012-06-15T08:02:48Z")

</div>

I am calling in a .swf file which is a video, I want to then be able to control the swf file by being able to pause it and play it again. I thought it would be as simple as container\_mc.stop(); but nothing happens. Does …

---

## [Smart fox server question (please help)](https://forum.kirupa.com/t/smart-fox-server-question-please-help/328772)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [June 15, 2012, 2:04am UTC](https://forum.kirupa.com/t/smart-fox-server-question-please-help/328772 "2012-06-15T02:04:14Z")

</div>

Hi I can never find the answer to this, does anyone know how I can get smart fox server to run on my apache web server, and by run on it I mean if i put it on the apache web server will it run like 24/7?

---

## [How to Style Email Generated from PHP (line breaks, dollar signs)](https://forum.kirupa.com/t/how-to-style-email-generated-from-php-line-breaks-dollar-signs/328768)

<div class="topic-metadata">

**Author:** [@Chris\_Walters](https://forum.kirupa.com/u/Chris_Walters)\
**Replies:** 0\
**Last updated:** [June 14, 2012, 7:32pm UTC](https://forum.kirupa.com/t/how-to-style-email-generated-from-php-line-breaks-dollar-signs/328768 "2012-06-14T19:32:40Z")

</div>

Good Afternoon! Thank you SO much for the tutorial on using PHP to send contact form info through email. I now have a working form/email solution but would like to apply some basic formatting to the email that is gener…

---

## [Refreshing a shared object question](https://forum.kirupa.com/t/refreshing-a-shared-object-question/328767)

<div class="topic-metadata">

**Author:** [@chamber\_luke](https://forum.kirupa.com/u/chamber_luke)\
**Replies:** 0\
**Last updated:** [June 14, 2012, 5:53pm UTC](https://forum.kirupa.com/t/refreshing-a-shared-object-question/328767 "2012-06-14T17:53:57Z")

</div>

Ok I have 2 swf files running simultaneously. One takes in the information and the other displays it. So far I have gotten both swf files to recognize the shared object but I need the display swf to refresh when the i…

---

## [i18n issue with swf loaded into another swf](https://forum.kirupa.com/t/i18n-issue-with-swf-loaded-into-another-swf/328766)

<div class="topic-metadata">

**Author:** [@feuerfuchs](https://forum.kirupa.com/u/feuerfuchs)\
**Replies:** 0\
**Last updated:** [June 14, 2012, 4:19pm UTC](https://forum.kirupa.com/t/i18n-issue-with-swf-loaded-into-another-swf/328766 "2012-06-14T16:19:25Z")

</div>

Hi, I am loading an swf into my main.swf in a more or less standard way (loader.load(urlRequest)). So far, things work just fine. Now I am trying to internationalize both my main.swf and the swf loaded at runtime (ba…

---

## [Need Help Wit CSS Animation - Urgent](https://forum.kirupa.com/t/need-help-wit-css-animation-urgent/328765)

<div class="topic-metadata">

**Author:** [@Reinhardt](https://forum.kirupa.com/u/Reinhardt)\
**Replies:** 0\
**Last updated:** [June 14, 2012, 2:21pm UTC](https://forum.kirupa.com/t/need-help-wit-css-animation-urgent/328765 "2012-06-14T14:21:41Z")

</div>

Hi peope! I need help with a bit of CSS... Im working on a menu system and what I want to do is if you hover over "mmt\_002" it has to animate and show "ms\_002" below. - please note the div structure in my code below. The…

---

## [Save XML formatted with tabs instead of spaces?](https://forum.kirupa.com/t/save-xml-formatted-with-tabs-instead-of-spaces/328764)

<div class="topic-metadata">

**Author:** [@e\_v](https://forum.kirupa.com/u/e_v)\
**Replies:** 0\
**Last updated:** [June 14, 2012, 2:14pm UTC](https://forum.kirupa.com/t/save-xml-formatted-with-tabs-instead-of-spaces/328764 "2012-06-14T14:14:15Z")

</div>

I'm creating some XML and saving it to a file via FileStream, but the child nodes are indented with 2 spaces. How can I reformat with tabs instead? I'm trying to write a recursive function to go through the xml and bui…

---

## [Adobe Integrated Runtime](https://forum.kirupa.com/t/adobe-integrated-runtime/328758)

<div class="topic-metadata">

**Author:** [@Praveen\_Kumar\_P](https://forum.kirupa.com/u/Praveen_Kumar_P)\
**Replies:** 0\
**Last updated:** [June 14, 2012, 6:38am UTC](https://forum.kirupa.com/t/adobe-integrated-runtime/328758 "2012-06-14T06:38:38Z")

</div>

Hi, Is it possible to deploy an AIR application in windows CE based devices? Thanks & regards, Praveen

---

## [1009 Refrence to null object](https://forum.kirupa.com/t/1009-refrence-to-null-object/328757)

<div class="topic-metadata">

**Author:** [@csd2112](https://forum.kirupa.com/u/csd2112)\
**Replies:** 0\
**Last updated:** [June 14, 2012, 6:25am UTC](https://forum.kirupa.com/t/1009-refrence-to-null-object/328757 "2012-06-14T06:25:36Z")

</div>

Hi, so I've read through all the other forums trying to figure this out, getting error in output TypeError: Error #1009: Cannot access a property or method of a null object reference. at testweb\_fla::MainTimeline/m…

---

## [Publish without opening IDE?](https://forum.kirupa.com/t/publish-without-opening-ide/328755)

<div class="topic-metadata">

**Author:** [@vinpez](https://forum.kirupa.com/u/vinpez)\
**Replies:** 0\
**Last updated:** [June 13, 2012, 5:38pm UTC](https://forum.kirupa.com/t/publish-without-opening-ide/328755 "2012-06-13T17:38:41Z")

</div>

Hi all, I have a .fla that the marketing team opens up, changes three actionscript variables (a url, title etc.) and publishes. They do this a lot and were wondering if there's a way to take the new variable informati…

---

## [Stick with flash pro or move to flex?](https://forum.kirupa.com/t/stick-with-flash-pro-or-move-to-flex/328752)

<div class="topic-metadata">

**Author:** [@Ragnoroct](https://forum.kirupa.com/u/Ragnoroct)\
**Replies:** 0\
**Last updated:** [June 13, 2012, 4:12pm UTC](https://forum.kirupa.com/t/stick-with-flash-pro-or-move-to-flex/328752 "2012-06-13T16:12:02Z")

</div>

\[h=1\] As a career I think I want to be a programmer. I started programming with actionscript 3.0. I bought a book and learned a little bit from that. I then decided to make my own flash game and I just finished it yest…

---

## [Removing an mc only if a condition is met](https://forum.kirupa.com/t/removing-an-mc-only-if-a-condition-is-met/328751)

<div class="topic-metadata">

**Author:** [@wolher](https://forum.kirupa.com/u/wolher)\
**Replies:** 0\
**Last updated:** [June 13, 2012, 3:43pm UTC](https://forum.kirupa.com/t/removing-an-mc-only-if-a-condition-is-met/328751 "2012-06-13T15:43:04Z")

</div>

Hi There, this is my first post here at Kirupa. I'm trying to remove an mc only if a condition is met, the problem is that it dissapears because I'm not leaving AS enough time to adding it to the stage and removing it. B…

---

## [Crazy question about Movie Clips](https://forum.kirupa.com/t/crazy-question-about-movie-clips/328749)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [June 13, 2012, 1:06pm UTC](https://forum.kirupa.com/t/crazy-question-about-movie-clips/328749 "2012-06-13T13:06:34Z")

</div>

Hello everyone! I just have this crazy idea of creating a "special" movie clip. So the idea is to create a mc called A and inside of this same mc, create 4225 (210x210) mc that will be numbered from 0 to 4224. And at…

---

## [Making a game with score registration](https://forum.kirupa.com/t/making-a-game-with-score-registration/328746)

<div class="topic-metadata">

**Author:** [@Affydawg](https://forum.kirupa.com/u/Affydawg)\
**Replies:** 0\
**Last updated:** [June 13, 2012, 10:13am UTC](https://forum.kirupa.com/t/making-a-game-with-score-registration/328746 "2012-06-13T10:13:21Z")

</div>

Hello \[smile\] I have a problem making a kind of game in flash with AS3. The "game" I'm making is supposed to: There is four people playing this game, and they are playing three different games. After every game is d…

---

## [setChildIndex causes infinite loop and new movieclips!](https://forum.kirupa.com/t/setchildindex-causes-infinite-loop-and-new-movieclips/328744)

<div class="topic-metadata">

**Author:** [@DrHemroid](https://forum.kirupa.com/u/DrHemroid)\
**Replies:** 0\
**Last updated:** [June 13, 2012, 4:10am UTC](https://forum.kirupa.com/t/setchildindex-causes-infinite-loop-and-new-movieclips/328744 "2012-06-13T04:10:57Z")

</div>

Before I go on and break down my code for you guys, let me give you the situation. I want to have 2 movieclips (BattleAnimation1, BattleAnimation2), each with 1 movieclip inside them (Character). The Character moviecl…

---

## [\[FLASH 8\] Little problem with input texts and variables](https://forum.kirupa.com/t/flash-8-little-problem-with-input-texts-and-variables/328743)

<div class="topic-metadata">

**Author:** [@Mablargy](https://forum.kirupa.com/u/Mablargy)\
**Replies:** 0\
**Last updated:** [June 13, 2012, 3:01am UTC](https://forum.kirupa.com/t/flash-8-little-problem-with-input-texts-and-variables/328743 "2012-06-13T03:01:46Z")

</div>

Hey guys, how's everyone doing?Well I'm pretty new to Actionscript, I consider myself a n00bie, which is why I come to you guys. I was just fooling around with a little "gravity" here, making a ball move in different dir…

---

## [AS3 assign class to movieclip - AN EASY QUESTION](https://forum.kirupa.com/t/as3-assign-class-to-movieclip-an-easy-question/328742)

<div class="topic-metadata">

**Author:** [@Lexlutha](https://forum.kirupa.com/u/Lexlutha)\
**Replies:** 0\
**Last updated:** [June 12, 2012, 11:32pm UTC](https://forum.kirupa.com/t/as3-assign-class-to-movieclip-an-easy-question/328742 "2012-06-12T23:32:47Z")

</div>

Hello Gurus! I have an AS file with the following code: package { import flash.events.MouseEvent; import flash.events.Event; import flash.display.MovieClip; public class btnButton { public function btnButton(…

---

## [ClearExternalAll.swf](https://forum.kirupa.com/t/clearexternalall-swf/328739)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [June 12, 2012, 2:05pm UTC](https://forum.kirupa.com/t/clearexternalall-swf/328739 "2012-06-12T14:05:45Z")

</div>

I've made a flash header that pulls in videos and displays the ClearExternalAll.swf, locally it all works fine with the folder set-up: HEADER folder header.swf ClearExternalAll.swf FILMS folder I've uploaded it in …

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

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