# programming

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

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

**Page:** 279

---

## [Flash Video gallery on Ted.com](https://forum.kirupa.com/t/flash-video-gallery-on-ted-com/322209)

<div class="topic-metadata">

**Author:** [@freddie1988](https://forum.kirupa.com/u/freddie1988)\
**Replies:** 0\
**Last updated:** [May 14, 2011, 10:30am UTC](https://forum.kirupa.com/t/flash-video-gallery-on-ted-com/322209 "2011-05-14T10:30:00Z")

</div>

Hi Everyone, Does anybody know where I can find the same video gallery as the one on TED.com. I have searched the internet high and low and can't find anything remotely similar. Any ideas? Thanks Freddie

---

## [How do you make an array 'spawn' a movie clip?](https://forum.kirupa.com/t/how-do-you-make-an-array-spawn-a-movie-clip/322206)

<div class="topic-metadata">

**Author:** [@NoobSurfer](https://forum.kirupa.com/u/NoobSurfer)\
**Replies:** 0\
**Last updated:** [May 14, 2011, 2:38am UTC](https://forum.kirupa.com/t/how-do-you-make-an-array-spawn-a-movie-clip/322206 "2011-05-14T02:38:39Z")

</div>

Im asking this because right now im gettin some code off a tutorial named "How to Create a Platform Game in AS3" that creates the levels with arrays and also creates the sprites with code. The code for this is below /…

---

## [Slow response in game](https://forum.kirupa.com/t/slow-response-in-game/322201)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 8:19pm UTC](https://forum.kirupa.com/t/slow-response-in-game/322201 "2011-05-13T20:19:04Z")

</div>

Hello all, I have created a Mahjong solitaire game in which 144 tiles are laid out on the stage, variably stacked up to four levels. You find two matching tiles that have free sides and have no tile sitting on top of t…

---

## [How to get the 'i' variable out of a for loop](https://forum.kirupa.com/t/how-to-get-the-i-variable-out-of-a-for-loop/322200)

<div class="topic-metadata">

**Author:** [@fartek](https://forum.kirupa.com/u/fartek)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 8:06pm UTC](https://forum.kirupa.com/t/how-to-get-the-i-variable-out-of-a-for-loop/322200 "2011-05-13T20:06:25Z")

</div>

Hey guys, Here's my problem. I have this code: function playbackClick(e:MouseEvent):void { for (i=0;i\<clickArray.length;i++){ var myTimer:Timer = new Timer(clickArray\*\*1000, 1); myTimer.start();…

---

## [Loading multiple animated movieclips with script](https://forum.kirupa.com/t/loading-multiple-animated-movieclips-with-script/322199)

<div class="topic-metadata">

**Author:** [@razzipep](https://forum.kirupa.com/u/razzipep)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 8:05pm UTC](https://forum.kirupa.com/t/loading-multiple-animated-movieclips-with-script/322199 "2011-05-13T20:05:12Z")

</div>

Hi I am a noob to Flash AS3, having a problem loading animated MC's. I am creating an AS3 file. I have 5 animated movie clips, I want to load a new clip after the previous one is done animating. I would like to load e…

---

## [Keep nav selected once it has been clicked](https://forum.kirupa.com/t/keep-nav-selected-once-it-has-been-clicked/322198)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 7:05pm UTC](https://forum.kirupa.com/t/keep-nav-selected-once-it-has-been-clicked/322198 "2011-05-13T19:05:20Z")

</div>

Hi All, How many of you guys are using "gotoAndStop" methods for your navigation? For example, I'm building a site where the user clicks the nav, and the nav turns a certain color, then when another nav item is clicke…

---

## [Mobile Ads for AS3?](https://forum.kirupa.com/t/mobile-ads-for-as3/322197)

<div class="topic-metadata">

**Author:** [@Captain\_Planet](https://forum.kirupa.com/u/Captain_Planet)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 6:41pm UTC](https://forum.kirupa.com/t/mobile-ads-for-as3/322197 "2011-05-13T18:41:11Z")

</div>

Hi folks. I've made a mobile app using AS3. I'm looking for an ad-serving company which supports AS3. I've made apps in AS2 before and used AdMob, but they don't seem to upport AS3? And I can't seem to find anybody …

---

## [Sound Bar](https://forum.kirupa.com/t/sound-bar/322195)

<div class="topic-metadata">

**Author:** [@btdat2006](https://forum.kirupa.com/u/btdat2006)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 5:48pm UTC](https://forum.kirupa.com/t/sound-bar/322195 "2011-05-13T17:48:27Z")

</div>

http://www.kirupa.com/developer/mx/soundbar.htm i did from guide but it isn't finish. begin at point : Now click on the button we made back in step c. Bring up the Actions panel again (right-click on the button and…

---

## [Need Help with the Kirupa Sliding menu tutorial](https://forum.kirupa.com/t/need-help-with-the-kirupa-sliding-menu-tutorial/322193)

<div class="topic-metadata">

**Author:** [@Poldenais](https://forum.kirupa.com/u/Poldenais)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 2:34pm UTC](https://forum.kirupa.com/t/need-help-with-the-kirupa-sliding-menu-tutorial/322193 "2011-05-13T14:34:34Z")

</div>

Hi, I was doing out a menu like the Kirupa Sliding menu tutorial. I created a larger flash file but Im getting errors when trying to run...."access of undefined menu property menuSlide. Any ideas where I'm going wrong…

---

## [Mouse Drag on One Clip to Move Another Clip](https://forum.kirupa.com/t/mouse-drag-on-one-clip-to-move-another-clip/322191)

<div class="topic-metadata">

**Author:** [@bobrast11](https://forum.kirupa.com/u/bobrast11)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 2:10pm UTC](https://forum.kirupa.com/t/mouse-drag-on-one-clip-to-move-another-clip/322191 "2011-05-13T14:10:36Z")

</div>

I new to Actionscript and am trying to create an animation that will demonstrate the basics of steering a sailboat. There will be a movieclip top view of the boat hull. Another movie clip will be the boat tiller. One end…

---

## [Loading \<content:encoded\> from XML](https://forum.kirupa.com/t/loading-content-encoded-from-xml/322190)

<div class="topic-metadata">

**Author:** [@danieldmm](https://forum.kirupa.com/u/danieldmm)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 1:48pm UTC](https://forum.kirupa.com/t/loading-content-encoded-from-xml/322190 "2011-05-13T13:48:21Z")

</div>

I'm trying to acces the src, any ideas? \<content:encoded\> \<!\[CDATA\[\<img src="m.jpg" /\>\]\]\> \</content:encoded\>

---

## [Height at point in triangle](https://forum.kirupa.com/t/height-at-point-in-triangle/322189)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 1:20pm UTC](https://forum.kirupa.com/t/height-at-point-in-triangle/322189 "2011-05-13T13:20:39Z")

</div>

\[LEFT\]Hey guys Using \*http://gpwiki.org/index.php/MathGem:Height\_of\_a\_Point\_in\_a\_Triangle \*i tried to write a method that returns the properties of a given point in a triangle, unfortunately, it's not returning the prope…

---

## [removeChild using packages](https://forum.kirupa.com/t/removechild-using-packages/322188)

<div class="topic-metadata">

**Author:** [@codr](https://forum.kirupa.com/u/codr)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 12:41pm UTC](https://forum.kirupa.com/t/removechild-using-packages/322188 "2011-05-13T12:41:24Z")

</div>

is it possible to use removeChild and removeEventlistener in external .as files? It rejects these functions in the main as file so I'm curious. I haven't tried yet either cause I'm not entirely sure of how I would go ab…

---

## [Copy flash XML website](https://forum.kirupa.com/t/copy-flash-xml-website/322186)

<div class="topic-metadata">

**Author:** [@palsingh](https://forum.kirupa.com/u/palsingh)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 12:01pm UTC](https://forum.kirupa.com/t/copy-flash-xml-website/322186 "2011-05-13T12:01:18Z")

</div>

i want to copy this website \[COLOR="red"\]URL removed by moderator \[/COLOR\]\[c\]http://www.template-preview.com/GalleryAdminVideo-templates/300110702/\[/c\] i also need to have its all files like xml and php can anyone help…

---

## [Point Roll](https://forum.kirupa.com/t/point-roll/322185)

<div class="topic-metadata">

**Author:** [@murli2308](https://forum.kirupa.com/u/murli2308)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 11:00am UTC](https://forum.kirupa.com/t/point-roll/322185 "2011-05-13T11:00:48Z")

</div>

Please send me link where I can get the detail of Point Roll or the link where I could get tutorials of Point Roll

---

## [onClick instead of EventListener](https://forum.kirupa.com/t/onclick-instead-of-eventlistener/322184)

<div class="topic-metadata">

**Author:** [@kareem\_3d](https://forum.kirupa.com/u/kareem_3d)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 10:25am UTC](https://forum.kirupa.com/t/onclick-instead-of-eventlistener/322184 "2011-05-13T10:25:40Z")

</div>

Hello everyone . First i used to work on AS2 but i have converted to AS3 to benefit the new features . And here is my problem : i have a function where i will create in it several buttons each one do different task b…

---

## [Switch function with Comparison Operators inside Cases](https://forum.kirupa.com/t/switch-function-with-comparison-operators-inside-cases/322183)

<div class="topic-metadata">

**Author:** [@Emile7](https://forum.kirupa.com/u/Emile7)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 8:25am UTC](https://forum.kirupa.com/t/switch-function-with-comparison-operators-inside-cases/322183 "2011-05-13T08:25:00Z")

</div>

Hi everyone, I'm having difficulties with my switch script. Below is the code: public function resultValue():void { switch (\_calcSwitch) { case 0: break; case 1: for(var q:int; q \< queryArray.…

---

## [Making Game In Action Script Based on \_Bruno\`s Tutorial](https://forum.kirupa.com/t/making-game-in-action-script-based-on--bruno-s-tutorial/322180)

<div class="topic-metadata">

**Author:** [@Katolux](https://forum.kirupa.com/u/Katolux)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 3:09am UTC](https://forum.kirupa.com/t/making-game-in-action-script-based-on--bruno-s-tutorial/322180 "2011-05-13T03:09:09Z")

</div>

Hello guys I am a spanish student of a Videogames carrer. I first wanted to thank \_Bruno for his tutorial on how to do a Vertical Shooter (http://www.kirupa.com/developer/actionscript/vertical\_shooter.htm) After try…

---

## [AS3 health bar](https://forum.kirupa.com/t/as3-health-bar/322179)

<div class="topic-metadata">

**Author:** [@robotronic](https://forum.kirupa.com/u/robotronic)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 1:59am UTC](https://forum.kirupa.com/t/as3-health-bar/322179 "2011-05-13T01:59:54Z")

</div>

Ive seen a lot of tutorials but none are really what im looking for. I have a square right now which is saved as troop1\_mc. Inside that MC i have a green bar called healthBar\_mc. Pretty much how can I get healthBar…

---

## [Question for stage.focus](https://forum.kirupa.com/t/question-for-stage-focus/322177)

<div class="topic-metadata">

**Author:** [@celestale](https://forum.kirupa.com/u/celestale)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 1:31am UTC](https://forum.kirupa.com/t/question-for-stage-focus/322177 "2011-05-13T01:31:55Z")

</div>

Hello! stage.focus = txt\_firstnameEdit; I need to make the blinking cursor at the txt\_firstnameEdit when i enter the stage. but the blinking cursor appeared infront of string\_0. string\_0 is pre-entered in the textbox…

---

## [Urgent Help with Image Gallery](https://forum.kirupa.com/t/urgent-help-with-image-gallery/322176)

<div class="topic-metadata">

**Author:** [@jennyg3011](https://forum.kirupa.com/u/jennyg3011)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 12:10am UTC](https://forum.kirupa.com/t/urgent-help-with-image-gallery/322176 "2011-05-13T00:10:18Z")

</div>

Hi, I really need help with an image gallery i have created. Cannot think of a resolution So....I have a dynamic image gallery that pulls the pics into a movie clip and adds them to the container (slider) The issu…

---

## [Quality Of Images Importing From PS](https://forum.kirupa.com/t/quality-of-images-importing-from-ps/322175)

<div class="topic-metadata">

**Author:** [@techn0guy](https://forum.kirupa.com/u/techn0guy)\
**Replies:** 0\
**Last updated:** [May 13, 2011, 12:05am UTC](https://forum.kirupa.com/t/quality-of-images-importing-from-ps/322175 "2011-05-13T00:05:54Z")

</div>

Hi, Sorry if I'm posting in the wrong section of the forums but this is about a video game I am making. I am creating all the graphics in Photoshop then importing them into flash but they look absolutely terrible when im…

---

## [Tile based game lags](https://forum.kirupa.com/t/tile-based-game-lags/322174)

<div class="topic-metadata">

**Author:** [@John4213](https://forum.kirupa.com/u/John4213)\
**Replies:** 0\
**Last updated:** [May 12, 2011, 11:27pm UTC](https://forum.kirupa.com/t/tile-based-game-lags/322174 "2011-05-12T23:27:44Z")

</div>

Hello, in a tile based game I'm making around 1300 different blocks are used for each level, as you can probably imagine this lags like crazy, so I used the following actionscript inside of each tile: \*onEnterFrame = f…

---

## [Hit Detection question](https://forum.kirupa.com/t/hit-detection-question/322173)

<div class="topic-metadata">

**Author:** [@designCannon](https://forum.kirupa.com/u/designCannon)\
**Replies:** 0\
**Last updated:** [May 12, 2011, 9:53pm UTC](https://forum.kirupa.com/t/hit-detection-question/322173 "2011-05-12T21:53:52Z")

</div>

I'm making an educational side-scrolling game where basically one animal "eats" other aquatic animals on the stage. Right now, it counts as a hit when anywhere on the entire movieclip for the character ("char") touches o…

---

## [AS3 And TweenLite CPU Optimization](https://forum.kirupa.com/t/as3-and-tweenlite-cpu-optimization/322171)

<div class="topic-metadata">

**Author:** [@rtplol](https://forum.kirupa.com/u/rtplol)\
**Replies:** 0\
**Last updated:** [May 12, 2011, 8:36pm UTC](https://forum.kirupa.com/t/as3-and-tweenlite-cpu-optimization/322171 "2011-05-12T20:36:42Z")

</div>

Hi There, I'm currently working on a game where every "Step" - defined by a global time modifier - everything on screen calculates where it's next position will be, then uses tweenlite to animate itself to that locatio…

---

## [SWC question](https://forum.kirupa.com/t/swc-question/322169)

<div class="topic-metadata">

**Author:** [@heiny99](https://forum.kirupa.com/u/heiny99)\
**Replies:** 0\
**Last updated:** [May 12, 2011, 7:27pm UTC](https://forum.kirupa.com/t/swc-question/322169 "2011-05-12T19:27:39Z")

</div>

Right now I have a .swf file I'm using to hold some fonts that I later upload and embed in a different project file. I know nothing about SWC files except that you can export them into your components folder for use. I…

---

## [Php And Flash](https://forum.kirupa.com/t/php-and-flash/322168)

<div class="topic-metadata">

**Author:** [@nickname](https://forum.kirupa.com/u/nickname)\
**Replies:** 0\
**Last updated:** [May 12, 2011, 7:22pm UTC](https://forum.kirupa.com/t/php-and-flash/322168 "2011-05-12T19:22:29Z")

</div>

Hi! My problem is communication between php and flash. Im trying to load values from php to flash textfield. Heres problem simplified: \[INDENT\]\[U\]t\_field-textField name\[/U\] \[U\]r\_val-received value from php script\[/U\] …

---

## [CS5 Explode Animation](https://forum.kirupa.com/t/cs5-explode-animation/322167)

<div class="topic-metadata">

**Author:** [@Gemixin](https://forum.kirupa.com/u/Gemixin)\
**Replies:** 0\
**Last updated:** [May 12, 2011, 6:53pm UTC](https://forum.kirupa.com/t/cs5-explode-animation/322167 "2011-05-12T18:53:34Z")

</div>

Hi there I have a boulder/rock image that I have turned in to a MovieClip. What I want to do is, have it explode (upon impact with a bullet) so I need to make an explosion animation within the timeline. I have trie…

---

## [External movie preload problem](https://forum.kirupa.com/t/external-movie-preload-problem/322165)

<div class="topic-metadata">

**Author:** [@NovemberRain](https://forum.kirupa.com/u/NovemberRain)\
**Replies:** 0\
**Last updated:** [May 12, 2011, 4:36pm UTC](https://forum.kirupa.com/t/external-movie-preload-problem/322165 "2011-05-12T16:36:58Z")

</div>

Hi I've a function to check the preloading of external SWF files. The code is below. function checkStat (){ tracker.onEnterFrame = function() { loadingStatus.\_visible = true; var l = holder.getBytesLoaded();…

---

## [Inconsistent framerate](https://forum.kirupa.com/t/inconsistent-framerate/322164)

<div class="topic-metadata">

**Author:** [@mono\_eric3](https://forum.kirupa.com/u/mono_eric3)\
**Replies:** 0\
**Last updated:** [May 12, 2011, 4:35pm UTC](https://forum.kirupa.com/t/inconsistent-framerate/322164 "2011-05-12T16:35:55Z")

</div>

Hello everyone! I am having some serious issues with the framerate in my game and I'm wondering if anyone can help. I am trying to create a game where a character runs from the left side to the right side of a large…

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

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