# programming

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

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

**Page:** 503

---

## [removeChild help!](https://forum.kirupa.com/t/removechild-help/308669)

<div class="topic-metadata">

**Author:** [@mummys12](https://forum.kirupa.com/u/mummys12)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 2:02am UTC](https://forum.kirupa.com/t/removechild-help/308669 "2010-04-28T02:02:52Z")

</div>

Hello I am a new for AS3 and I cannot find the way to remove the child I tried to remove in the class but it doesn't work, at all. I made several scenes and when it goes to next scene, want to remove all child displyed…

---

## [Help with AS 3 and Movie Clips](https://forum.kirupa.com/t/help-with-as-3-and-movie-clips/308665)

<div class="topic-metadata">

**Author:** [@beyondflash](https://forum.kirupa.com/u/beyondflash)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 12:43am UTC](https://forum.kirupa.com/t/help-with-as-3-and-movie-clips/308665 "2010-04-28T00:43:35Z")

</div>

I have a series of movie clips named Imagex\_y where x is the number of the current test and y is the number of the current question. In as 2 I have a for loop as such: for (i=0; i\<=6; i++) { this\["MCNAME"+i+"\_…

---

## [Basic Problem I'm Sure](https://forum.kirupa.com/t/basic-problem-im-sure/308664)

<div class="topic-metadata">

**Author:** [@tonyhandlebars](https://forum.kirupa.com/u/tonyhandlebars)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 11:38pm UTC](https://forum.kirupa.com/t/basic-problem-im-sure/308664 "2010-04-27T23:38:07Z")

</div>

Hello, New to the forum. Working with MX 2004 (My site's www.danevans.info - it looks like I drew it with my feet but that's sort of the idea). I have this persistent problem I hope someone can help me with. Someti…

---

## [Question: Anyone ARToolKit?](https://forum.kirupa.com/t/question-anyone-artoolkit/308663)

<div class="topic-metadata">

**Author:** [@mr\_skribbs](https://forum.kirupa.com/u/mr_skribbs)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 11:37pm UTC](https://forum.kirupa.com/t/question-anyone-artoolkit/308663 "2010-04-27T23:37:13Z")

</div>

I was wondering if anyone has/is going to use ARToolkit? The reason is because I've created a wrapper for a case study that should make using ARToolKit easier to use. Anyone interested in trying it out?

---

## [Question about displaying text based on conditional](https://forum.kirupa.com/t/question-about-displaying-text-based-on-conditional/308659)

<div class="topic-metadata">

**Author:** [@webguync](https://forum.kirupa.com/u/webguync)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 10:15pm UTC](https://forum.kirupa.com/t/question-about-displaying-text-based-on-conditional/308659 "2010-04-27T22:15:30Z")

</div>

This is a two part question. Question 1 I want to display text based on what is resolved within this part feedback.htmlText +="\<font color='#fc0c33'\>Your score is "+Math.round(score\*100)+"%\</font\>." so it would…

---

## [AS1 & 2 Photo Gallery Using XML and Flash](https://forum.kirupa.com/t/as1-2-photo-gallery-using-xml-and-flash/308655)

<div class="topic-metadata">

**Author:** [@codeBoyX](https://forum.kirupa.com/u/codeBoyX)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 8:58pm UTC](https://forum.kirupa.com/t/as1-2-photo-gallery-using-xml-and-flash/308655 "2010-04-27T20:58:04Z")

</div>

I just completed an excellent tutorial, \*\*Photo Gallery \*\*\[COLOR=#003366\]\[FONT=Verdana\]Using XML and Flash \[/FONT\]\[/COLOR\]\[COLOR=#333333\]\[FONT=Verdana\]by kirupa | \[/FONT\]\[/COLOR\]\[COLOR=#333333\]\[FONT=Verdana\]2 September 2…

---

## [PHP to AS3 help](https://forum.kirupa.com/t/php-to-as3-help/308654)

<div class="topic-metadata">

**Author:** [@ben0910](https://forum.kirupa.com/u/ben0910)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 8:50pm UTC](https://forum.kirupa.com/t/php-to-as3-help/308654 "2010-04-27T20:50:24Z")

</div>

I have been trying to convert this code to as3 all day and it seems there is an issue with formatiing the array. if anyone is familiar with php please help. Also i am not sure how to handle the attr post but here is what…

---

## [Flash Detection Scripts question](https://forum.kirupa.com/t/flash-detection-scripts-question/308653)

<div class="topic-metadata">

**Author:** [@jgcalifornia](https://forum.kirupa.com/u/jgcalifornia)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 8:34pm UTC](https://forum.kirupa.com/t/flash-detection-scripts-question/308653 "2010-04-27T20:34:39Z")

</div>

hi..Sorry if the answer to this might be painfully obvious, but I just need to fully get it...I was reading about this script, here: http://www.kirupa.com/developer/mx/detection.htm and I wondered if the script needs to …

---

## [Flash CS4 Galleries not working in Dreamweaver](https://forum.kirupa.com/t/flash-cs4-galleries-not-working-in-dreamweaver/308650)

<div class="topic-metadata">

**Author:** [@aw1221](https://forum.kirupa.com/u/aw1221)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 7:52pm UTC](https://forum.kirupa.com/t/flash-cs4-galleries-not-working-in-dreamweaver/308650 "2010-04-27T19:52:00Z")

</div>

i would really appreciate some help! i have uploaded flash galleries i created in bridge CS4 to my site in dreamweaver. i used an iframe within a divtag and everything worked great in the previews, but once i upload the …

---

## [Developing for Android - Resources?](https://forum.kirupa.com/t/developing-for-android-resources/308648)

<div class="topic-metadata">

**Author:** [@bobthebob](https://forum.kirupa.com/u/bobthebob)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 5:59pm UTC](https://forum.kirupa.com/t/developing-for-android-resources/308648 "2010-04-27T17:59:24Z")

</div>

hello all - I'm a relative noob looking to develop a simple app for the Android platform, I've got the thing working in Air on my machine and am wondering how easy it will be to get it to run on Android OS devices. I've…

---

## [Advice on GUI components for AS2/mtasc project](https://forum.kirupa.com/t/advice-on-gui-components-for-as2-mtasc-project/308644)

<div class="topic-metadata">

**Author:** [@jonnyh](https://forum.kirupa.com/u/jonnyh)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 4:57pm UTC](https://forum.kirupa.com/t/advice-on-gui-components-for-as2-mtasc-project/308644 "2010-04-27T16:57:21Z")

</div>

Hi all I'm working on a \[visualisation tool to understand political relationships, and back at the tail end of 2009 picked up a dusty copy of Flash 6 to create a prototype. Some months later I converted my AS1 code to …

---

## [I Know there are other threads about this but they have all died\*TypeError 1009\*](https://forum.kirupa.com/t/i-know-there-are-other-threads-about-this-but-they-have-all-died-typeerror-1009/308643)

<div class="topic-metadata">

**Author:** [@bhodge21](https://forum.kirupa.com/u/bhodge21)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 4:26pm UTC](https://forum.kirupa.com/t/i-know-there-are-other-threads-about-this-but-they-have-all-died-typeerror-1009/308643 "2010-04-27T16:26:51Z")

</div>

Hi everyone please do not get upset at me for creating a new thread. this is my first post and i am very new to Flash CS4 and AS3. and i would like to go ahead and say that i appreciate all the help you guys and gals hav…

---

## [Link color - css](https://forum.kirupa.com/t/link-color-css/308639)

<div class="topic-metadata">

**Author:** [@lillizzierae](https://forum.kirupa.com/u/lillizzierae)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 3:22pm UTC](https://forum.kirupa.com/t/link-color-css/308639 "2010-04-27T15:22:17Z")

</div>

I have a div for my navigation. My navigation is all images.. there's no text at all. My CSS for my navigation is external. I have a:link (in my external css) and it's an orange color. I want that for my links but NOT fo…

---

## [Automate 'Trace Bitmap'](https://forum.kirupa.com/t/automate-trace-bitmap/308638)

<div class="topic-metadata">

**Author:** [@maxoys45](https://forum.kirupa.com/u/maxoys45)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 2:54pm UTC](https://forum.kirupa.com/t/automate-trace-bitmap/308638 "2010-04-27T14:54:11Z")

</div>

Hi there, I'm making an animation from video and I'm using the trace bitmap option to give it a 'cartoon' feel. I was wondering if there is anyway to do this faster? I have imported all the frames onto the flash time…

---

## [Lightbox and XML gallery AS3](https://forum.kirupa.com/t/lightbox-and-xml-gallery-as3/308633)

<div class="topic-metadata">

**Author:** [@Pafke](https://forum.kirupa.com/u/Pafke)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 1:50pm UTC](https://forum.kirupa.com/t/lightbox-and-xml-gallery-as3/308633 "2010-04-27T13:50:20Z")

</div>

Hi everybody, I'm currently working on a project that has a flash gallery that makes use of XML. Now the current code let's the url open in a new webpage, I want to make use of a lightbox to put the url OVER the origin…

---

## [\-\>(thank you very much)\<- to all who helped me](https://forum.kirupa.com/t/thank-you-very-much-to-all-who-helped-me/308631)

<div class="topic-metadata">

**Author:** [@chopficaro](https://forum.kirupa.com/u/chopficaro)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 11:42am UTC](https://forum.kirupa.com/t/thank-you-very-much-to-all-who-helped-me/308631 "2010-04-27T11:42:00Z")

</div>

A few months ago I knew next to nothing about web development. I then watched like 1000 hours of tutorials and was still a n00b. It was in building the sites and asking questions here and in some other sites that I was a…

---

## [MovieClip changes height](https://forum.kirupa.com/t/movieclip-changes-height/308630)

<div class="topic-metadata">

**Author:** [@krazycat](https://forum.kirupa.com/u/krazycat)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 11:36am UTC](https://forum.kirupa.com/t/movieclip-changes-height/308630 "2010-04-27T11:36:15Z")

</div>

I have a weird problem. I create a movieclip, and place it in another movieclip, which is placed on stage. In the first MC I have a button, and when I push this button the movieclips height suddenly changes!? I don't h…

---

## [Notification System: stage.dispatchEvent error](https://forum.kirupa.com/t/notification-system-stage-dispatchevent-error/308628)

<div class="topic-metadata">

**Author:** [@generator85](https://forum.kirupa.com/u/generator85)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 11:00am UTC](https://forum.kirupa.com/t/notification-system-stage-dispatchevent-error/308628 "2010-04-27T11:00:53Z")

</div>

I'm building a class that displays a standard notification on the stage, let's call it NoticeHandler. Any class can send a string to this class through stage.dispatchEvent. ErrorHandler listens for this event on the stag…

---

## [Background Scaling](https://forum.kirupa.com/t/background-scaling/308627)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 10:49am UTC](https://forum.kirupa.com/t/background-scaling/308627 "2010-04-27T10:49:16Z")

</div>

Hi guys, I'm doing a flash website with a background. Now the problem is that when i scale it the image going to distort how can i do? Here the link: http://plagahosting.net/andraprova/home.html Please help me....:(

---

## [Jumping camera movement PLEASE help me](https://forum.kirupa.com/t/jumping-camera-movement-please-help-me/308625)

<div class="topic-metadata">

**Author:** [@kissaten](https://forum.kirupa.com/u/kissaten)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 10:08am UTC](https://forum.kirupa.com/t/jumping-camera-movement-please-help-me/308625 "2010-04-27T10:08:29Z")

</div>

Hey im making a platform game and so far i have player movement but i really need to get the camera to move up and down when i make the character jump. could anyone help me ??

---

## [Thumbnails on flash only gallery](https://forum.kirupa.com/t/thumbnails-on-flash-only-gallery/308624)

<div class="topic-metadata">

**Author:** [@Paco\_Loco](https://forum.kirupa.com/u/Paco_Loco)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 10:06am UTC](https://forum.kirupa.com/t/thumbnails-on-flash-only-gallery/308624 "2010-04-27T10:06:02Z")

</div>

Hello guys my first post here so be gentle:) i am using the code to build the flash gallery (the one without XML),everything is working but now i need to add some thumbnails that load a specific pic from the array, wit…

---

## [Adding things to middle of array](https://forum.kirupa.com/t/adding-things-to-middle-of-array/308622)

<div class="topic-metadata">

**Author:** [@RebeccaLessay](https://forum.kirupa.com/u/RebeccaLessay)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 9:35am UTC](https://forum.kirupa.com/t/adding-things-to-middle-of-array/308622 "2010-04-27T09:35:55Z")

</div>

Just wondering if there's a way to add an object to somewhere in the middle of an array. push() only add things to the end of an array \[frowning\]

---

## [OOP problem. class within a class?](https://forum.kirupa.com/t/oop-problem-class-within-a-class/308621)

<div class="topic-metadata">

**Author:** [@Geki](https://forum.kirupa.com/u/Geki)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 7:38am UTC](https://forum.kirupa.com/t/oop-problem-class-within-a-class/308621 "2010-04-27T07:38:07Z")

</div>

Hey, I'm quite new to OOP and have come to a problem. Lets say I have a 'hands' class that I use so: var h:hands = new hands(0); //this gives me the first hand var h2:hands = new hands(1); // this gives me the seco…

---

## [Writing DOMDocument to XML file](https://forum.kirupa.com/t/writing-domdocument-to-xml-file/308620)

<div class="topic-metadata">

**Author:** [@Holmesc](https://forum.kirupa.com/u/Holmesc)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 6:37am UTC](https://forum.kirupa.com/t/writing-domdocument-to-xml-file/308620 "2010-04-27T06:37:20Z")

</div>

In my lovely PHP application, I've loaded in an XML document as a DOM object, then edited it. However, I'm having trouble writing it to my XML file. My code goes something like this: $xmlDoc = new DOMDocument(); $xml…

---

## [UncaughtErrorEvent](https://forum.kirupa.com/t/uncaughterrorevent/308616)

<div class="topic-metadata">

**Author:** [@stephgravity](https://forum.kirupa.com/u/stephgravity)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 5:21am UTC](https://forum.kirupa.com/t/uncaughterrorevent/308616 "2010-04-27T05:21:18Z")

</div>

Hi, Do you know anything similar to UncaughtErrorEvent but for flex 3.4 and flash player 9.0 ? I've seen that this UncaughtErrorEvent should work for flex 4 and flash 10.1, but not less. Is there anything for the v…

---

## [Javascript function in PDF document](https://forum.kirupa.com/t/javascript-function-in-pdf-document/308613)

<div class="topic-metadata">

**Author:** [@asthyanax](https://forum.kirupa.com/u/asthyanax)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 4:28am UTC](https://forum.kirupa.com/t/javascript-function-in-pdf-document/308613 "2010-04-27T04:28:44Z")

</div>

Not sure where to post that so sorry if it's not the right forum. I'm trying to include a swf in a pdf document with a button in it. I've looked at the javascript for pdf documentation but I can't really make anything wo…

---

## [Free Software](https://forum.kirupa.com/t/free-software/308612)

<div class="topic-metadata">

**Author:** [@theBond](https://forum.kirupa.com/u/theBond)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 1:28am UTC](https://forum.kirupa.com/t/free-software/308612 "2010-04-27T01:28:46Z")

</div>

Hello, Hope i am posting in right sub-forum. I wrote a client side socket program in Flash (action script) and exported in .swf format which connects to a server. I want to do the same thing in opensource (free) so…

---

## [Reverse Children sort order](https://forum.kirupa.com/t/reverse-children-sort-order/308611)

<div class="topic-metadata">

**Author:** [@Mattster](https://forum.kirupa.com/u/Mattster)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 1:26am UTC](https://forum.kirupa.com/t/reverse-children-sort-order/308611 "2010-04-27T01:26:06Z")

</div>

Hey, so I am still working on my simulator. . . this is not CRUCIAL but I would like to be able to change it. As the notes come down the screen, they get added on top of each other since each child is added at a specif…

---

## [Class can't extend Document Class, or can it?](https://forum.kirupa.com/t/class-cant-extend-document-class-or-can-it/308610)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 12:56am UTC](https://forum.kirupa.com/t/class-cant-extend-document-class-or-can-it/308610 "2010-04-27T00:56:15Z")

</div>

I have two classes. One is my Document Class, and another extends my Document Class. It doesn't work, and gives me this error "Error #2136: The SWF file MyGame.swf contains invalid data." :gas: Any ideas? ty ty

---

## [Flash CS4 using AS3 to addChild then removeChild gives error 1120](https://forum.kirupa.com/t/flash-cs4-using-as3-to-addchild-then-removechild-gives-error-1120/308609)

<div class="topic-metadata">

**Author:** [@zebedee76](https://forum.kirupa.com/u/zebedee76)\
**Replies:** 0\
**Last updated:** [April 26, 2010, 11:11pm UTC](https://forum.kirupa.com/t/flash-cs4-using-as3-to-addchild-then-removechild-gives-error-1120/308609 "2010-04-26T23:11:33Z")

</div>

Hi, Hope I'm in the right place for this plea from yet another novice trying to learn AS3 in Flash with a couple of very good books but no one to talk to about it - and in danger of losing hair in the process. My pro…

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

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