# programming

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

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

**Page:** 223

---

## [Dynamic MovieClip names](https://forum.kirupa.com/t/dynamic-movieclip-names/325453)

<div class="topic-metadata">

**Author:** [@colinbrain](https://forum.kirupa.com/u/colinbrain)\
**Replies:** 0\
**Last updated:** [October 17, 2011, 4:47am UTC](https://forum.kirupa.com/t/dynamic-movieclip-names/325453 "2011-10-17T04:47:43Z")

</div>

Hi there- I'm looking to get some information on something I've been wondering about for a while now. Is it possible to call a dynamic movieclip? Here's an example: I have 30 movieclips all named sequentially: A001, …

---

## [As3 referencing from an object within an array](https://forum.kirupa.com/t/as3-referencing-from-an-object-within-an-array/325452)

<div class="topic-metadata">

**Author:** [@wisker](https://forum.kirupa.com/u/wisker)\
**Replies:** 0\
**Last updated:** [October 17, 2011, 3:57am UTC](https://forum.kirupa.com/t/as3-referencing-from-an-object-within-an-array/325452 "2011-10-17T03:57:53Z")

</div>

Hi I have a several objects nested within an array. I'm trying to reference a property of one specific object (intel). function eventGenerator():void { var randomArea:Number; randomArea = Math.ceil(Math.random()\*5)…

---

## [Tutorial: Introduction to Animation in Flash](https://forum.kirupa.com/t/tutorial-introduction-to-animation-in-flash/325450)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [October 17, 2011, 12:36am UTC](https://forum.kirupa.com/t/tutorial-introduction-to-animation-in-flash/325450 "2011-10-17T00:36:28Z")

</div>

Hi everyone, This is the thread to discuss all things related to the Introduction to Animation in Flash tutorial. Don't be shy. Cheers, Kirupa :cowboy:

---

## [Dynamically adding a keypress event handler](https://forum.kirupa.com/t/dynamically-adding-a-keypress-event-handler/325449)

<div class="topic-metadata">

**Author:** [@zzxjoanw](https://forum.kirupa.com/u/zzxjoanw)\
**Replies:** 0\
**Last updated:** [October 16, 2011, 7:35pm UTC](https://forum.kirupa.com/t/dynamically-adding-a-keypress-event-handler/325449 "2011-10-16T19:35:10Z")

</div>

I'm new to VB and trying to add a Key(Down? Press?) Handler to a dynamicly created textbox. The error I get is "'KeyDown' is not an event of 'Object'". How do I fix this? Here are the relevant parts of my code: Publ…

---

## [Flash Media Server Hosting Provider List](https://forum.kirupa.com/t/flash-media-server-hosting-provider-list/325448)

<div class="topic-metadata">

**Author:** [@black\_pearl](https://forum.kirupa.com/u/black_pearl)\
**Replies:** 0\
**Last updated:** [October 16, 2011, 5:17pm UTC](https://forum.kirupa.com/t/flash-media-server-hosting-provider-list/325448 "2011-10-16T17:17:42Z")

</div>

Hi, Can anyone please suggest some names, who provide hosting facility with FLASH MEDIA SERVER. I am working on a Karaoke project and I am using FMS 4 and PHP for the development. Any help would be appreciated. Tha…

---

## [How to use apparat to optimize SWF files?](https://forum.kirupa.com/t/how-to-use-apparat-to-optimize-swf-files/325446)

<div class="topic-metadata">

**Author:** [@zeldalink](https://forum.kirupa.com/u/zeldalink)\
**Replies:** 0\
**Last updated:** [October 16, 2011, 11:04am UTC](https://forum.kirupa.com/t/how-to-use-apparat-to-optimize-swf-files/325446 "2011-10-16T11:04:54Z")

</div>

I'm just installing Apparat, and I'm interested in using it to optimize my SWFs. On its google code page some optimizations are listed out .. sliding window, flowgraph ... so is it possible to make use of these optimiz…

---

## [Can constants be compiled inline?](https://forum.kirupa.com/t/can-constants-be-compiled-inline/325445)

<div class="topic-metadata">

**Author:** [@zeldalink](https://forum.kirupa.com/u/zeldalink)\
**Replies:** 0\
**Last updated:** [October 16, 2011, 11:02am UTC](https://forum.kirupa.com/t/can-constants-be-compiled-inline/325445 "2011-10-16T11:02:43Z")

</div>

I've been using 'const' for years, but I just found out that it is executed like a normal variable at runtime. Typically constants are supposed to be 'inlined'.... .... so when you write this: const SPEED:int = 5;…

---

## [Help!Urgently!Thx!](https://forum.kirupa.com/t/help-urgently-thx/325444)

<div class="topic-metadata">

**Author:** [@ag3d](https://forum.kirupa.com/u/ag3d)\
**Replies:** 0\
**Last updated:** [October 16, 2011, 9:10am UTC](https://forum.kirupa.com/t/help-urgently-thx/325444 "2011-10-16T09:10:17Z")

</div>

Does anyone know how to insert flashxml component to pages created by gaia framework? When I insert it, it show: VerifyError: Error #1053: Illegal override of insert in com.greensock.TimelineLite. ReferenceError: Er…

---

## [Handbags for four seasons](https://forum.kirupa.com/t/handbags-for-four-seasons/325442)

<div class="topic-metadata">

**Author:** [@htttdesxenghf](https://forum.kirupa.com/u/htttdesxenghf)\
**Replies:** 0\
**Last updated:** [October 16, 2011, 6:13am UTC](https://forum.kirupa.com/t/handbags-for-four-seasons/325442 "2011-10-16T06:13:33Z")

</div>

Handbags for four seasons Handbags for four seasons There are many and, multiple \[Chanel wallet accesible to own nowadays. What is it that makes this one more famous or more wanted than the other? What reason above a…

---

## [Zombie-Survivor target finding?](https://forum.kirupa.com/t/zombie-survivor-target-finding/325441)

<div class="topic-metadata">

**Author:** [@narfnin](https://forum.kirupa.com/u/narfnin)\
**Replies:** 0\
**Last updated:** [October 16, 2011, 1:40am UTC](https://forum.kirupa.com/t/zombie-survivor-target-finding/325441 "2011-10-16T01:40:12Z")

</div>

So I have two arrays, survivors and zombehz, and I want elements from one (a survivor) to set an element from the other (a zombie) as its target, and to shoot said target until it dies. Conversely, I want the zombies t…

---

## [Listening the Event triggered by another class - Possible?](https://forum.kirupa.com/t/listening-the-event-triggered-by-another-class-possible/325439)

<div class="topic-metadata">

**Author:** [@zeeto](https://forum.kirupa.com/u/zeeto)\
**Replies:** 0\
**Last updated:** [October 15, 2011, 8:29pm UTC](https://forum.kirupa.com/t/listening-the-event-triggered-by-another-class-possible/325439 "2011-10-15T20:29:09Z")

</div>

Hi guys, I've got a problem listening to the event. I've got 3 classes: package com.zeeto.swfaddress { import flash.display.MovieClip; import com.asual.swfaddress.\*; public class SwfAddress extends MovieClip { …

---

## [Simple Experiment With Dynamic Text and a Button](https://forum.kirupa.com/t/simple-experiment-with-dynamic-text-and-a-button/325436)

<div class="topic-metadata">

**Author:** [@GoldenSilence](https://forum.kirupa.com/u/GoldenSilence)\
**Replies:** 0\
**Last updated:** [October 15, 2011, 12:37pm UTC](https://forum.kirupa.com/t/simple-experiment-with-dynamic-text-and-a-button/325436 "2011-10-15T12:37:20Z")

</div>

I wanted to conduct a simple experiment, where I update a dynamic text field on the click of a button. Well, it throws no errors, but it doesn't work, and I can't figure out where I went wrong. import flash.events.Mo…

---

## [Dynamic parameters and properties](https://forum.kirupa.com/t/dynamic-parameters-and-properties/325433)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [October 15, 2011, 2:57am UTC](https://forum.kirupa.com/t/dynamic-parameters-and-properties/325433 "2011-10-15T02:57:21Z")

</div>

Hi everyone! I am converting the tweens in a project from the standard Flash tweens to TweenLite/Max, but I have encountered a problem, I mean something I don't know how to do, or if it is possible to do. Let's see an ex…

---

## [stopDrag() doesn't work on Child](https://forum.kirupa.com/t/stopdrag-doesnt-work-on-child/325432)

<div class="topic-metadata">

**Author:** [@colinbrain](https://forum.kirupa.com/u/colinbrain)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 11:39pm UTC](https://forum.kirupa.com/t/stopdrag-doesnt-work-on-child/325432 "2011-10-14T23:39:36Z")

</div>

Hey there I have a website with a slider that worked once upon a time. It still works if the swf is not added to the stage by the preloader. If I load the swf directly, rather than the html with the preloader, the slid…

---

## [Neep Help Quickly Please - Want to Loop through my ArrayCollection](https://forum.kirupa.com/t/neep-help-quickly-please-want-to-loop-through-my-arraycollection/325431)

<div class="topic-metadata">

**Author:** [@apage3](https://forum.kirupa.com/u/apage3)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 7:42pm UTC](https://forum.kirupa.com/t/neep-help-quickly-please-want-to-loop-through-my-arraycollection/325431 "2011-10-14T19:42:41Z")

</div>

Hi, I'm using FlashBuilder 4 and trying to create a dropdownlist that populates a datagrid. The functionality is fine but my data is being chopped up too much. Currently every since "nepName" tag in my XML file is showi…

---

## [Color Troubles](https://forum.kirupa.com/t/color-troubles/325430)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 5:48pm UTC](https://forum.kirupa.com/t/color-troubles/325430 "2011-10-14T17:48:54Z")

</div>

I've got colors like this #553aa1 and I'm trying to use excludeColor() on the collision Detection kit but it needs 32 bit colors how can I get this??? I've tried just tacking on 0xFF(0xFF553aa1) with no luck.

---

## [Why does the content spill over and how do I position this under the menu and title?](https://forum.kirupa.com/t/why-does-the-content-spill-over-and-how-do-i-position-this-under-the-menu-and-title/325428)

<div class="topic-metadata">

**Author:** [@Flash\_flea](https://forum.kirupa.com/u/Flash_flea)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 4:06pm UTC](https://forum.kirupa.com/t/why-does-the-content-spill-over-and-how-do-i-position-this-under-the-menu-and-title/325428 "2011-10-14T16:06:12Z")

</div>

I was following this tutorial on how to add a scrolling image gallery to a Flash website. (http://www.republicofcode.com/tutorials/flash/xmlimagegallery/index.php) From what I understand from this tutorial, it is just …

---

## [Stop falling snow for CS4/AS3](https://forum.kirupa.com/t/stop-falling-snow-for-cs4-as3/325427)

<div class="topic-metadata">

**Author:** [@caseygoose](https://forum.kirupa.com/u/caseygoose)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 3:17pm UTC](https://forum.kirupa.com/t/stop-falling-snow-for-cs4-as3/325427 "2011-10-14T15:17:24Z")

</div>

I have just finished the falling snow tutorial which works perfectly. However I am unable to make it stop once it reaches a certain frame. I have spent the past 40 minutes searching the forums but have been unable to fin…

---

## [\[cs4\] Help with Textfields](https://forum.kirupa.com/t/cs4-help-with-textfields/325426)

<div class="topic-metadata">

**Author:** [@baileyrainne](https://forum.kirupa.com/u/baileyrainne)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 2:14pm UTC](https://forum.kirupa.com/t/cs4-help-with-textfields/325426 "2011-10-14T14:14:03Z")

</div>

I have an input textfield, and when I click in it, all the text in the textfield moves to the left so you can't see it anymore. (Here is a screen shot of it with both textfields having "100" in them after clicking in the…

---

## [Optimizing code for removing lag](https://forum.kirupa.com/t/optimizing-code-for-removing-lag/325423)

<div class="topic-metadata">

**Author:** [@12abhi12](https://forum.kirupa.com/u/12abhi12)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 7:48am UTC](https://forum.kirupa.com/t/optimizing-code-for-removing-lag/325423 "2011-10-14T07:48:20Z")

</div>

I recently completed the battle engine for my game. But the problem is that it is lagging horribly. Please suggest ways to optimize the code(because the graphics I'm using are really very basic) Please tell if you need…

---

## [AS3 code not working if i add a scene before the as3 code scene](https://forum.kirupa.com/t/as3-code-not-working-if-i-add-a-scene-before-the-as3-code-scene/325422)

<div class="topic-metadata">

**Author:** [@mohiniraj](https://forum.kirupa.com/u/mohiniraj)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 7:47am UTC](https://forum.kirupa.com/t/as3-code-not-working-if-i-add-a-scene-before-the-as3-code-scene/325422 "2011-10-14T07:47:05Z")

</div>

Hi, I have an Actionscript coded flash file which run perfectly without any error. I am not getting why it shows an error after i do insert a scene before or a frame before the current frames; TypeError: Error #100…

---

## [How do I convert HTML code to XML friendly data?](https://forum.kirupa.com/t/how-do-i-convert-html-code-to-xml-friendly-data/325421)

<div class="topic-metadata">

**Author:** [@cocoqw123](https://forum.kirupa.com/u/cocoqw123)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 6:28am UTC](https://forum.kirupa.com/t/how-do-i-convert-html-code-to-xml-friendly-data/325421 "2011-10-14T06:28:14Z")

</div>

I have a PHP page that parses data from an XML file and places it in my landing page. Obviously XML prohibits the use of "\<" and "\>". So my question is, are there any utilities or tools that could automate the convers…

---

## [Embedding HTML in HTML w/o Frameset?](https://forum.kirupa.com/t/embedding-html-in-html-w-o-frameset/325420)

<div class="topic-metadata">

**Author:** [@cocoqw123](https://forum.kirupa.com/u/cocoqw123)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 6:27am UTC](https://forum.kirupa.com/t/embedding-html-in-html-w-o-frameset/325420 "2011-10-14T06:27:40Z")

</div>

Hello All, I am trying to embed an external page into a web site without the need for using framesets. It has been a long time since I have been back inside the world of web development. Using frames seems very limi…

---

## [Best resource to learn HTML and CSS](https://forum.kirupa.com/t/best-resource-to-learn-html-and-css/325419)

<div class="topic-metadata">

**Author:** [@cocoqw123](https://forum.kirupa.com/u/cocoqw123)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 6:27am UTC](https://forum.kirupa.com/t/best-resource-to-learn-html-and-css/325419 "2011-10-14T06:27:04Z")

</div>

just wanted your opinions. What is the best resource to learn HTML and CSS? I tend to like to learn by example by decompiling sites with Firebug and meddling with the code, then using a resource like w3schools..but ho…

---

## [Need help with iPhone like barrel selector/scroller](https://forum.kirupa.com/t/need-help-with-iphone-like-barrel-selector-scroller/325417)

<div class="topic-metadata">

**Author:** [@Greg767](https://forum.kirupa.com/u/Greg767)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 5:56am UTC](https://forum.kirupa.com/t/need-help-with-iphone-like-barrel-selector-scroller/325417 "2011-10-14T05:56:42Z")

</div>

Hi, I am building a touch scroller component and I have a problem with event propagation within the layers of the component. More precisely, when the scrolled element that is holding a button is under the upper or lower …

---

## [Optimization pls](https://forum.kirupa.com/t/optimization-pls/325410)

<div class="topic-metadata">

**Author:** [@tenchy](https://forum.kirupa.com/u/tenchy)\
**Replies:** 0\
**Last updated:** [October 13, 2011, 10:17pm UTC](https://forum.kirupa.com/t/optimization-pls/325410 "2011-10-13T22:17:12Z")

</div>

I got 23 boxes (box1, box2...) inside two movieclips (Circle.SizeableCircle). I need to bring all these to the front, using localToGlobal. This brings box1 to the front (or whatever it's called): var cpBox1:Point=new …

---

## [A way (using js?) to make a single link work with TWO href?](https://forum.kirupa.com/t/a-way-using-js-to-make-a-single-link-work-with-two-href/325409)

<div class="topic-metadata">

**Author:** [@eabigelow](https://forum.kirupa.com/u/eabigelow)\
**Replies:** 0\
**Last updated:** [October 13, 2011, 8:05pm UTC](https://forum.kirupa.com/t/a-way-using-js-to-make-a-single-link-work-with-two-href/325409 "2011-10-13T20:05:03Z")

</div>

Hi-- I have a link that has an mp3 sound as its href: \<a href="sounds/genealogy.mp3" class="track track-default"\>this is a link\</a\> Unfortunately, I also need that same link to go to a part on the site (href=#green…

---

## [Looking for game developers](https://forum.kirupa.com/t/looking-for-game-developers/325408)

<div class="topic-metadata">

**Author:** [@GGames](https://forum.kirupa.com/u/GGames)\
**Replies:** 0\
**Last updated:** [October 13, 2011, 6:53pm UTC](https://forum.kirupa.com/t/looking-for-game-developers/325408 "2011-10-13T18:53:03Z")

</div>

Hey everyone, I'm looking for game developers to work with. More details here: \[URL="http://www.youtube.com/watch?v=4ZkUKkPw8JI"\]http://www.youtube.com/watch?v=4ZkUKkPw8JI We mostly work in Flash, but you only need to …

---

## [PHP POST string to AS3 array](https://forum.kirupa.com/t/php-post-string-to-as3-array/325406)

<div class="topic-metadata">

**Author:** [@kill\_robot\_kill](https://forum.kirupa.com/u/kill_robot_kill)\
**Replies:** 0\
**Last updated:** [October 13, 2011, 5:39pm UTC](https://forum.kirupa.com/t/php-post-string-to-as3-array/325406 "2011-10-13T17:39:26Z")

</div>

I need some help creating an array from a string send via POST from a php loop. The string looks sorta like this: keyword=key1val & text=text1val & keyword=key2val & text=text2val (spaces added for readability) I hav…

---

## [AS3 Fade flicker on button edges](https://forum.kirupa.com/t/as3-fade-flicker-on-button-edges/325404)

<div class="topic-metadata">

**Author:** [@AndyC364](https://forum.kirupa.com/u/AndyC364)\
**Replies:** 0\
**Last updated:** [October 13, 2011, 2:13pm UTC](https://forum.kirupa.com/t/as3-fade-flicker-on-button-edges/325404 "2011-10-13T14:13:45Z")

</div>

Hi, I'm working on a project where I need to make a picture of a building fade darker on mouse over, while sections of the building get brighter. The sections rise up when you hover over them and will load a pdf when y…

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

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