# programming

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

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

**Page:** 285

---

## [removeChild from inside a class](https://forum.kirupa.com/t/removechild-from-inside-a-class/321862)

<div class="topic-metadata">

**Author:** [@molkman](https://forum.kirupa.com/u/molkman)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 4:23pm UTC](https://forum.kirupa.com/t/removechild-from-inside-a-class/321862 "2011-05-03T16:23:00Z")

</div>

Hello, I have a hopefully very simple problem. I created two children from my document class "MainClass". One (hero) is of the class "HeroDo" and another is from the class "canDy". public static var hero:HeroDo=new…

---

## [How to "attach" a class to an object](https://forum.kirupa.com/t/how-to-attach-a-class-to-an-object/321859)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 3:26pm UTC](https://forum.kirupa.com/t/how-to-attach-a-class-to-an-object/321859 "2011-05-03T15:26:27Z")

</div>

So let's say that the user drags four instances of an object on stage (this is an object from the library). Now when the user clicks on one of these objects I want to "attach" a class to that object so that it has its ow…

---

## [Pokemon Game : \]](https://forum.kirupa.com/t/pokemon-game/321857)

<div class="topic-metadata">

**Author:** [@FlashByDefault](https://forum.kirupa.com/u/FlashByDefault)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 3:13pm UTC](https://forum.kirupa.com/t/pokemon-game/321857 "2011-05-03T15:13:37Z")

</div>

Hello all, I am willing to show my game to everyone, for I have not created all this code, I just work around it and push it into my direction, If anyone would like to take a look be my guest \[smile\] if you have any adv…

---

## [How do I import a background into another file?](https://forum.kirupa.com/t/how-do-i-import-a-background-into-another-file/321856)

<div class="topic-metadata">

**Author:** [@xyandz](https://forum.kirupa.com/u/xyandz)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 1:53pm UTC](https://forum.kirupa.com/t/how-do-i-import-a-background-into-another-file/321856 "2011-05-03T13:53:03Z")

</div>

solved

---

## [Using a container or something to shortenen my functions?](https://forum.kirupa.com/t/using-a-container-or-something-to-shortenen-my-functions/321855)

<div class="topic-metadata">

**Author:** [@8BitBoyx](https://forum.kirupa.com/u/8BitBoyx)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 1:24pm UTC](https://forum.kirupa.com/t/using-a-container-or-something-to-shortenen-my-functions/321855 "2011-05-03T13:24:43Z")

</div>

Hi I need to make a project for school where as I click on a appartment it shows the floorplan of that building. something like this http://dl.dropbox.com/u/11355063/test.swf Now I need to click on each separate par…

---

## [Error #1053: Illegal override](https://forum.kirupa.com/t/error-1053-illegal-override/321852)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 1:16pm UTC](https://forum.kirupa.com/t/error-1053-illegal-override/321852 "2011-05-03T13:16:55Z")

</div>

I have a very basic Flash movie that includes an FLVPlayback 2.5 component on the stage, using the following Actionscript to stream an FLV: import fl.video.\*; var flvDirectory:String = "/flash/flv/"; var flvFileNam…

---

## [RemoveChild Error 2025](https://forum.kirupa.com/t/removechild-error-2025/321851)

<div class="topic-metadata">

**Author:** [@whenyourmadgowe](https://forum.kirupa.com/u/whenyourmadgowe)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 12:31pm UTC](https://forum.kirupa.com/t/removechild-error-2025/321851 "2011-05-03T12:31:35Z")

</div>

New to flash as3 need some help, cant seem to get past a 2025 error when remove child is used. My player hits of an object called present\_mc2 and is removed but an error comes up on stage. ArgumentError: Error #2025:…

---

## [Image fading in/out](https://forum.kirupa.com/t/image-fading-in-out/321850)

<div class="topic-metadata">

**Author:** [@Jesscee](https://forum.kirupa.com/u/Jesscee)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 10:28am UTC](https://forum.kirupa.com/t/image-fading-in-out/321850 "2011-05-03T10:28:52Z")

</div>

Hello~ Sorry about the newbie question, but I'm not sure how to go about this (I am using actionscript 3). On the timeline I have a bunch of buttons which point to different frame labels with images and content. I…

---

## [Flash Project Size & Secure](https://forum.kirupa.com/t/flash-project-size-secure/321849)

<div class="topic-metadata">

**Author:** [@xtramine](https://forum.kirupa.com/u/xtramine)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 10:25am UTC](https://forum.kirupa.com/t/flash-project-size-secure/321849 "2011-05-03T10:25:16Z")

</div>

Hello everyone. I've got 2 questions, I'll be very happy if you can help. 1) I'm trying to create a Flash Login Form but I guess its working with ASP or PHP. Can I make Flash to check usernames from any local mdb? A…

---

## [3d collision detection \[renamed\]](https://forum.kirupa.com/t/3d-collision-detection-renamed/321848)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 9:50am UTC](https://forum.kirupa.com/t/3d-collision-detection-renamed/321848 "2011-05-03T09:50:54Z")

</div>

EDIT :The thread has transitioned into \[3d collision detection with as3 \] - check last post \*Hello fellow AS3 brethren. I'm in the making of my molehill game, and have now approached a little problem: I have my Terra…

---

## [1120 Error](https://forum.kirupa.com/t/1120-error/321847)

<div class="topic-metadata">

**Author:** [@Hurst88](https://forum.kirupa.com/u/Hurst88)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 9:40am UTC](https://forum.kirupa.com/t/1120-error/321847 "2011-05-03T09:40:39Z")

</div>

Okay I'm getting a 1120 Access of Undefined Property Error on Frame 1, Line 7. Also my buttons do not appear when I publish the site. Below is a link to my file. Any suggestions? http://www.mediafire.com/?72b0xe07n8…

---

## [Movieclip in movieclip as3](https://forum.kirupa.com/t/movieclip-in-movieclip-as3/321846)

<div class="topic-metadata">

**Author:** [@wouter11](https://forum.kirupa.com/u/wouter11)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 9:40am UTC](https://forum.kirupa.com/t/movieclip-in-movieclip-as3/321846 "2011-05-03T09:40:04Z")

</div>

Hi all, If got a question, when designing in the fla, you can create objects convert them to movieclips and then double click on that movieclip so your inside your movieclip. Now i wanted to code everything so no more …

---

## [Is it possible to change publish settings using AS3?](https://forum.kirupa.com/t/is-it-possible-to-change-publish-settings-using-as3/321845)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 9:36am UTC](https://forum.kirupa.com/t/is-it-possible-to-change-publish-settings-using-as3/321845 "2011-05-03T09:36:42Z")

</div>

Is it possible to change the publish settings - specifically, the file path and name of the exported swf - using Actionscript? Or must they always be set in the Publish Settings dialogue box? Nothing I've seen indica…

---

## [Particle display/render problem (flickering)](https://forum.kirupa.com/t/particle-display-render-problem-flickering/321843)

<div class="topic-metadata">

**Author:** [@Onebigparty](https://forum.kirupa.com/u/Onebigparty)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 7:32am UTC](https://forum.kirupa.com/t/particle-display-render-problem-flickering/321843 "2011-05-03T07:32:04Z")

</div>

So I am fairly new to AS3 (and to flash for that matter). I have been learning for about a month or so. For my latest project I have been playing around with particle effects, with the ultimate intention of learning how …

---

## [Disable Hand cursor of simple button](https://forum.kirupa.com/t/disable-hand-cursor-of-simple-button/321842)

<div class="topic-metadata">

**Author:** [@kstv\_chttrj](https://forum.kirupa.com/u/kstv_chttrj)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 7:18am UTC](https://forum.kirupa.com/t/disable-hand-cursor-of-simple-button/321842 "2011-05-03T07:18:07Z")

</div>

simpleButton.buttonMode=false ; is not working. I wonder if it is possible in as3. IN as2 it was quite simple. Lot of people said use movieClip instead of simpleButton. But I badly need this on a button.

---

## [How to make a perspective ball bounce?](https://forum.kirupa.com/t/how-to-make-a-perspective-ball-bounce/321841)

<div class="topic-metadata">

**Author:** [@arundracula](https://forum.kirupa.com/u/arundracula)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 5:56am UTC](https://forum.kirupa.com/t/how-to-make-a-perspective-ball-bounce/321841 "2011-05-03T05:56:54Z")

</div>

Hi, How to do this type of ball movement. Like in this tennis game? http://www.gamedesign.jp/flash/tennis/tennis.html Pls help.

---

## [Help with my Pokemon Game](https://forum.kirupa.com/t/help-with-my-pokemon-game/321839)

<div class="topic-metadata">

**Author:** [@FlashByDefault](https://forum.kirupa.com/u/FlashByDefault)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 3:33am UTC](https://forum.kirupa.com/t/help-with-my-pokemon-game/321839 "2011-05-03T03:33:27Z")

</div>

Hey anyone want to help with my game, it would be awesome. I do not know anyone personally that knows flash, I am in the middle of creating a Flash Pokemon Game, if you would like to help or just take a look send me an…

---

## ["Plugin tool script error in method ik\_isIKContainer"](https://forum.kirupa.com/t/plugin-tool-script-error-in-method-ik-isikcontainer/321837)

<div class="topic-metadata">

**Author:** [@AnnieCanoe](https://forum.kirupa.com/u/AnnieCanoe)\
**Replies:** 0\
**Last updated:** [May 3, 2011, 12:00am UTC](https://forum.kirupa.com/t/plugin-tool-script-error-in-method-ik-isikcontainer/321837 "2011-05-03T00:00:49Z")

</div>

Hi! Without any reason, Flash CS4 starts displaying this message over and over again in the Output window, stealing focus from anything else I'm doing. (I hate hate HATE stolen focus. Bad UI designer!) Googling doesn'…

---

## [Website Page Transistion Help 2.0](https://forum.kirupa.com/t/website-page-transistion-help-2-0/321836)

<div class="topic-metadata">

**Author:** [@Hurst88](https://forum.kirupa.com/u/Hurst88)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 11:40pm UTC](https://forum.kirupa.com/t/website-page-transistion-help-2-0/321836 "2011-05-02T23:40:09Z")

</div>

Okay here is what I want to do... Basically, I have a black bar near the bottom of my website with \[COLOR=darkgreen\]Home\[/COLOR\], About, and Contact buttons. What I would like to have happen when you click on any of …

---

## [How do u flip image like the one in my link below](https://forum.kirupa.com/t/how-do-u-flip-image-like-the-one-in-my-link-below/321834)

<div class="topic-metadata">

**Author:** [@fodious23](https://forum.kirupa.com/u/fodious23)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 11:00pm UTC](https://forum.kirupa.com/t/how-do-u-flip-image-like-the-one-in-my-link-below/321834 "2011-05-02T23:00:28Z")

</div>

\[COLOR=#22229c\]check out the flipping shoe on this page. \[/COLOR\] \[COLOR=#22229c\]How do u flip image like the one in this link: \[/COLOR\]http://www.office.co.uk/mens/toms/toms\_canvas/71/529/17339/1/

---

## [Stop my video from looping](https://forum.kirupa.com/t/stop-my-video-from-looping/321833)

<div class="topic-metadata">

**Author:** [@nippyeyes](https://forum.kirupa.com/u/nippyeyes)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 10:19pm UTC](https://forum.kirupa.com/t/stop-my-video-from-looping/321833 "2011-05-02T22:19:02Z")

</div>

Hi, i am working on a project and i have an external actionscript file. I've made a few simple animations on the stage just simple tweens of things moving into place however, i'm not too sure how to stop these animation…

---

## [Need help with curved text](https://forum.kirupa.com/t/need-help-with-curved-text/321831)

<div class="topic-metadata">

**Author:** [@lupus81](https://forum.kirupa.com/u/lupus81)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 9:24pm UTC](https://forum.kirupa.com/t/need-help-with-curved-text/321831 "2011-05-02T21:24:38Z")

</div>

Hi everyone! I'm trying to dynamically curve textBox(that is also dynamically created). I know that there is a way to do that, with separate textBoxes(for each letter). Can somebody explain it to me, or better show me …

---

## [Preloader pops TypeError: Error #1009:](https://forum.kirupa.com/t/preloader-pops-typeerror-error-1009/321830)

<div class="topic-metadata">

**Author:** [@djburner](https://forum.kirupa.com/u/djburner)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 9:19pm UTC](https://forum.kirupa.com/t/preloader-pops-typeerror-error-1009/321830 "2011-05-02T21:19:30Z")

</div>

Hi to you all. I've made preloaders in the past, but now I'm getting this error, and I don't know what is exactly the problem. TypeError: Error #1009: Cannot access a property or method of a null object reference at com.…

---

## [Array Problem's](https://forum.kirupa.com/t/array-problems/321829)

<div class="topic-metadata">

**Author:** [@FlashByDefault](https://forum.kirupa.com/u/FlashByDefault)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 9:19pm UTC](https://forum.kirupa.com/t/array-problems/321829 "2011-05-02T21:19:03Z")

</div>

Good Afternoon all, Just a quick question about 2D arrays, you see I have a 2D array of Text var textBlocks:Array = new Array( \["Hey there, Press X to continue"\], \["How is it going?"\], \["Well …

---

## [Can't catch io error](https://forum.kirupa.com/t/cant-catch-io-error/321826)

<div class="topic-metadata">

**Author:** [@cakepizza](https://forum.kirupa.com/u/cakepizza)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 4:46pm UTC](https://forum.kirupa.com/t/cant-catch-io-error/321826 "2011-05-02T16:46:21Z")

</div>

Empty flash 10 project with just this code on the first frame. var path="incorrectPath"; var myLoader:Loader = new Loader(); myLoader.addEventListener(IOErrorEvent.IO\_ERROR, errorHandler); function errorHandler(e:IOEr…

---

## [Flash RPG Game - Array + Other MovieClips](https://forum.kirupa.com/t/flash-rpg-game-array-other-movieclips/321824)

<div class="topic-metadata">

**Author:** [@FlashByDefault](https://forum.kirupa.com/u/FlashByDefault)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 4:35pm UTC](https://forum.kirupa.com/t/flash-rpg-game-array-other-movieclips/321824 "2011-05-02T16:35:53Z")

</div>

So right now i have an Array that shows my map, and i have a text box that types out my message when I press 'X', but the issue is, when I bring up that text box, its behind the array, so i can't see it \[frowning\] I …

---

## [Help with something](https://forum.kirupa.com/t/help-with-something/321823)

<div class="topic-metadata">

**Author:** [@mitchy2011](https://forum.kirupa.com/u/mitchy2011)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 4:09pm UTC](https://forum.kirupa.com/t/help-with-something/321823 "2011-05-02T16:09:40Z")

</div>

Hi Guys, I was wondering if you could help me with something. I am currently working on a website www.okeydokeyentertainments.com, and my client wants it so when you hover over the 4 images, phoenix illusions etc, a …

---

## [Tell a movieclip to go to a frame](https://forum.kirupa.com/t/tell-a-movieclip-to-go-to-a-frame/321822)

<div class="topic-metadata">

**Author:** [@Kaytee](https://forum.kirupa.com/u/Kaytee)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 3:54pm UTC](https://forum.kirupa.com/t/tell-a-movieclip-to-go-to-a-frame/321822 "2011-05-02T15:54:44Z")

</div>

Hey:) does anyone know how to make a movieclip go to a frame using as3? I'm making a virtual pet game, I want the user to be able to choose from three possible pets at the start... Once they click on the pet that the…

---

## [AS3 ending a game](https://forum.kirupa.com/t/as3-ending-a-game/321820)

<div class="topic-metadata">

**Author:** [@mediawhale](https://forum.kirupa.com/u/mediawhale)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 2:20pm UTC](https://forum.kirupa.com/t/as3-ending-a-game/321820 "2011-05-02T14:20:40Z")

</div>

I need help ending a piece only when all the buttons are clicked. Here's the code I have.Also I'm new to this, a laymen explanation would be much appreciated. I want to actually learn how this is done. stop (); natur…

---

## [HTML tags not working well](https://forum.kirupa.com/t/html-tags-not-working-well/321819)

<div class="topic-metadata">

**Author:** [@WILWILWEL](https://forum.kirupa.com/u/WILWILWEL)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 12:47pm UTC](https://forum.kirupa.com/t/html-tags-not-working-well/321819 "2011-05-02T12:47:44Z")

</div>

Hello and thanks in advanced for reading into this. I'm experiencing problems with HTML tags within textfields (multiline textfields). HTML rendering is activated. Fonts are embedded for bold and regular Verdana. In…

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

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