# programming

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

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

**Page:** 144

---

## [Why does this create more than one custom class?](https://forum.kirupa.com/t/why-does-this-create-more-than-one-custom-class/329859)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [October 25, 2012, 5:54pm UTC](https://forum.kirupa.com/t/why-does-this-create-more-than-one-custom-class/329859 "2012-10-25T17:54:49Z")

</div>

I will try to summarize this as much as possible, based on what I believe I have isolated as the reason for this behavior. I have a solitaire game. The main class, Solitaire, calls an instance of Console, which manages…

---

## [Trace Random number and display in Dynamic text field?](https://forum.kirupa.com/t/trace-random-number-and-display-in-dynamic-text-field/329858)

<div class="topic-metadata">

**Author:** [@Chris\_Lad](https://forum.kirupa.com/u/Chris_Lad)\
**Replies:** 0\
**Last updated:** [October 25, 2012, 4:36pm UTC](https://forum.kirupa.com/t/trace-random-number-and-display-in-dynamic-text-field/329858 "2012-10-25T16:36:22Z")

</div>

Iv got it to show what damage is done and it works but it keeps putting the health bar to 0 or less then 0 any idea's? heres the code without tracing damage that worked fine with the health bar: if (this.hitTest(\_root…

---

## [Movieclip in movieclip as hitbox referencing...HELP please](https://forum.kirupa.com/t/movieclip-in-movieclip-as-hitbox-referencing-help-please/329856)

<div class="topic-metadata">

**Author:** [@FJW](https://forum.kirupa.com/u/FJW)\
**Replies:** 0\
**Last updated:** [October 25, 2012, 2:17pm UTC](https://forum.kirupa.com/t/movieclip-in-movieclip-as-hitbox-referencing-help-please/329856 "2012-10-25T14:17:04Z")

</div>

if (objects\*.hitTestObject(ourShip)) { trace(ourShip.x,ourShip.y) } //The movieclip has a second layer called hitbox. Can I use this to test for hits as the current overall movieclip is too large? If so ho…

---

## [Interface casting does not work](https://forum.kirupa.com/t/interface-casting-does-not-work/329855)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [October 25, 2012, 12:48pm UTC](https://forum.kirupa.com/t/interface-casting-does-not-work/329855 "2012-10-25T12:48:56Z")

</div>

Hi, I am having a problem with an interface: I have IAgent is an interface Agent implements IAgent var iAgentContainer : IAgent; iAgentContainer = new Agent(); I use this casting as I want to use only the functio…

---

## [Rich text editor for AS3](https://forum.kirupa.com/t/rich-text-editor-for-as3/329854)

<div class="topic-metadata">

**Author:** [@gkp\_gaurav1](https://forum.kirupa.com/u/gkp_gaurav1)\
**Replies:** 0\
**Last updated:** [October 25, 2012, 12:12pm UTC](https://forum.kirupa.com/t/rich-text-editor-for-as3/329854 "2012-10-25T12:12:51Z")

</div>

Is there any rich text editor available that can generate "AS3 Compatible" codes? I want to add this to the web admin, where user can set the font size and color of the text and it should generate as3 compatible code lik…

---

## [(Flash CS 5.5) pictures in scroll pane won't close after opening](https://forum.kirupa.com/t/flash-cs-5-5-pictures-in-scroll-pane-wont-close-after-opening/329853)

<div class="topic-metadata">

**Author:** [@tseyigai](https://forum.kirupa.com/u/tseyigai)\
**Replies:** 0\
**Last updated:** [October 25, 2012, 2:49am UTC](https://forum.kirupa.com/t/flash-cs-5-5-pictures-in-scroll-pane-wont-close-after-opening/329853 "2012-10-25T02:49:42Z")

</div>

Hello, I have an art site that I did a few years ago and now when I'm wanting to edit it I'm not able to close any of the picture windows in it. I'm using Flash CS5.5 but it has an action 2.0 script. \*Below is the sw…

---

## [Handling read only Array](https://forum.kirupa.com/t/handling-read-only-array/329843)

<div class="topic-metadata">

**Author:** [@kasna](https://forum.kirupa.com/u/kasna)\
**Replies:** 0\
**Last updated:** [October 24, 2012, 3:39am UTC](https://forum.kirupa.com/t/handling-read-only-array/329843 "2012-10-24T03:39:46Z")

</div>

\[FONT=arial\]In a garbage collection based system, what is the most effective way to handle a read only array if such a structure does not exist natively in the language.\[/FONT\]

---

## [Help with integrating Flash to php](https://forum.kirupa.com/t/help-with-integrating-flash-to-php/329842)

<div class="topic-metadata">

**Author:** [@white\_bloodcell](https://forum.kirupa.com/u/white_bloodcell)\
**Replies:** 0\
**Last updated:** [October 24, 2012, 1:52am UTC](https://forum.kirupa.com/t/help-with-integrating-flash-to-php/329842 "2012-10-24T01:52:13Z")

</div>

Hello i've seen some articles on kirupa and used them for my project. But i'm having difficulties now. Does anyone knows how to put up the published swf/html file into a php website i created beforehand. Also how do i ac…

---

## [Why is this div not centering in IE6 and Android?](https://forum.kirupa.com/t/why-is-this-div-not-centering-in-ie6-and-android/329841)

<div class="topic-metadata">

**Author:** [@jpf566](https://forum.kirupa.com/u/jpf566)\
**Replies:** 0\
**Last updated:** [October 23, 2012, 7:04pm UTC](https://forum.kirupa.com/t/why-is-this-div-not-centering-in-ie6-and-android/329841 "2012-10-23T19:04:27Z")

</div>

Does anyone know why the text block div isn't centering? (Horizontally) www.sheffieldfurniture .com/stickleysale/ Also, what have you guys found to be the best way to diagnose these types of problems? I find Firebug …

---

## [Array returned from function](https://forum.kirupa.com/t/array-returned-from-function/329838)

<div class="topic-metadata">

**Author:** [@tragic](https://forum.kirupa.com/u/tragic)\
**Replies:** 0\
**Last updated:** [October 23, 2012, 1:12pm UTC](https://forum.kirupa.com/t/array-returned-from-function/329838 "2012-10-23T13:12:01Z")

</div>

hi, When an array is returned from a function with return array; Is it returned in the reverse order? I have a function takes an array as an argument that holds strings which are file locations for some images, the f…

---

## [Web Service Operation returns null values](https://forum.kirupa.com/t/web-service-operation-returns-null-values/329837)

<div class="topic-metadata">

**Author:** [@Brian\_Corbin](https://forum.kirupa.com/u/Brian_Corbin)\
**Replies:** 0\
**Last updated:** [October 22, 2012, 11:09pm UTC](https://forum.kirupa.com/t/web-service-operation-returns-null-values/329837 "2012-10-22T23:09:43Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]I got this function in my program. I linked to the Flex Libraries in my actionscript properties, but when I send info, it returns null. If I get an operation with no parameters, it works fine…

---

## [Web Service Tutorial Errors](https://forum.kirupa.com/t/web-service-tutorial-errors/329836)

<div class="topic-metadata">

**Author:** [@Brian\_Corbin](https://forum.kirupa.com/u/Brian_Corbin)\
**Replies:** 0\
**Last updated:** [October 22, 2012, 8:17pm UTC](https://forum.kirupa.com/t/web-service-tutorial-errors/329836 "2012-10-22T20:17:23Z")

</div>

Hi, I've been doing this tutorial found here http://www.kirupa.com/flash/connecting\_web\_service\_pg1.htm and it's giving me the following errors: 1046: Type was not found or was not a compile-time constant: LoadEvent. 1…

---

## [Loading Multiple SWFs from different pages into LoaderMax](https://forum.kirupa.com/t/loading-multiple-swfs-from-different-pages-into-loadermax/329835)

<div class="topic-metadata">

**Author:** [@ngrinchenko](https://forum.kirupa.com/u/ngrinchenko)\
**Replies:** 0\
**Last updated:** [October 22, 2012, 8:01pm UTC](https://forum.kirupa.com/t/loading-multiple-swfs-from-different-pages-into-loadermax/329835 "2012-10-22T20:01:58Z")

</div>

\[COLOR=#222222\]\[FONT=Helvetica Neue\]Hi, I have a page with various image buttons (page1). From this page I am accessing another page (page2) where greensock's SWF loader is constructed and loads multiple SWFs from the fi…

---

## [Huge Video file](https://forum.kirupa.com/t/huge-video-file/329833)

<div class="topic-metadata">

**Author:** [@Abacusss](https://forum.kirupa.com/u/Abacusss)\
**Replies:** 0\
**Last updated:** [October 22, 2012, 11:14am UTC](https://forum.kirupa.com/t/huge-video-file/329833 "2012-10-22T11:14:01Z")

</div>

Hello, I made a video page with flash(as2) and my video can not be opened at web browser even i can see video on my desktop. can u help me 4 that? video is mp4 36mb

---

## [Using constants in an extended class](https://forum.kirupa.com/t/using-constants-in-an-extended-class/329832)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [October 22, 2012, 10:22am UTC](https://forum.kirupa.com/t/using-constants-in-an-extended-class/329832 "2012-10-22T10:22:49Z")

</div>

Hi, I am having troubles using an extended class: Class B extends class A (that extends MovieClip) Class A defines a series of public static consts I'd like to use the A consts through the B instance, but they are not vi…

---

## [Check if external sound file exists](https://forum.kirupa.com/t/check-if-external-sound-file-exists/329830)

<div class="topic-metadata">

**Author:** [@hunsnowboarder](https://forum.kirupa.com/u/hunsnowboarder)\
**Replies:** 0\
**Last updated:** [October 21, 2012, 7:09pm UTC](https://forum.kirupa.com/t/check-if-external-sound-file-exists/329830 "2012-10-21T19:09:55Z")

</div>

Hi there Everyone! I have a very basic problem with sound. Here is my problem: I have an swf file which has a sound loaded in the library. It might or might not have another sound in the same directory. So what I would …

---

## [Did anyone try haxenme?](https://forum.kirupa.com/t/did-anyone-try-haxenme/329829)

<div class="topic-metadata">

**Author:** [@kadaj](https://forum.kirupa.com/u/kadaj)\
**Replies:** 0\
**Last updated:** [October 21, 2012, 6:23pm UTC](https://forum.kirupa.com/t/did-anyone-try-haxenme/329829 "2012-10-21T18:23:53Z")

</div>

Did anyone try haxenme? Do you prefer Adobe AIR or haxenme to target iOS and android devices? Or write code separately for each platform? I am a bit confused on choosing AIR. One of the reason is the premium APIs for f…

---

## [Remove Classes From Array](https://forum.kirupa.com/t/remove-classes-from-array/329827)

<div class="topic-metadata">

**Author:** [@molkman](https://forum.kirupa.com/u/molkman)\
**Replies:** 0\
**Last updated:** [October 21, 2012, 2:52pm UTC](https://forum.kirupa.com/t/remove-classes-from-array/329827 "2012-10-21T14:52:44Z")

</div>

Hello friends, here's another AS3 question from me that got me quite puzzled. I have a lot of classes put in an array to easily adress them. Like this: var newClass:NewClass = new NewClass ; niceArray.push(newClass) …

---

## [Jquery pop with SEO friendly URL updation](https://forum.kirupa.com/t/jquery-pop-with-seo-friendly-url-updation/329824)

<div class="topic-metadata">

**Author:** [@NovemberRain](https://forum.kirupa.com/u/NovemberRain)\
**Replies:** 0\
**Last updated:** [October 21, 2012, 5:14am UTC](https://forum.kirupa.com/t/jquery-pop-with-seo-friendly-url-updation/329824 "2012-10-21T05:14:31Z")

</div>

Hi, I'm looking for a jquery pop for my website to display some content. When I click on a link to come the popup with some content. But the url is not changed corresponding to the popup. A sample url like below is e…

---

## [Flash Game: Action Script 2: Basic Pathfinder](https://forum.kirupa.com/t/flash-game-action-script-2-basic-pathfinder/329823)

<div class="topic-metadata">

**Author:** [@Alex\_Solano](https://forum.kirupa.com/u/Alex_Solano)\
**Replies:** 0\
**Last updated:** [October 21, 2012, 3:44am UTC](https://forum.kirupa.com/t/flash-game-action-script-2-basic-pathfinder/329823 "2012-10-21T03:44:47Z")

</div>

\[COLOR=#464646\]\[FONT=Helvetica Neue\]Hello all, its been a while \[/FONT\]\[/COLOR\]\[image\] \[COLOR=#464646\]\[FONT=Helvetica Neue\]I'm currently working on this point and click game where the user click on a map and the charac…

---

## [Hosting from Home... Anyone with networking skilz?](https://forum.kirupa.com/t/hosting-from-home-anyone-with-networking-skilz/329822)

<div class="topic-metadata">

**Author:** [@Freddythunder](https://forum.kirupa.com/u/Freddythunder)\
**Replies:** 0\
**Last updated:** [October 20, 2012, 10:02pm UTC](https://forum.kirupa.com/t/hosting-from-home-anyone-with-networking-skilz/329822 "2012-10-20T22:02:44Z")

</div>

I have a few personal projects on the horizon that involve hosting my own server. To start, I found a few tutorials online that say you can host files on a old laptop or whatever but I cannot find any specific informat…

---

## [When should you use class and movieclips?](https://forum.kirupa.com/t/when-should-you-use-class-and-movieclips/329821)

<div class="topic-metadata">

**Author:** [@John4213](https://forum.kirupa.com/u/John4213)\
**Replies:** 0\
**Last updated:** [October 20, 2012, 6:38pm UTC](https://forum.kirupa.com/t/when-should-you-use-class-and-movieclips/329821 "2012-10-20T18:38:36Z")

</div>

Hi, I've read tutorials on it but I'm not really sure when to use class files for movieclips (specifically particles such as falling blood and debris). What's the advantage of having several movieclips each with a linked…

---

## [Distorting sound in flash](https://forum.kirupa.com/t/distorting-sound-in-flash/329820)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [October 20, 2012, 5:08pm UTC](https://forum.kirupa.com/t/distorting-sound-in-flash/329820 "2012-10-20T17:08:31Z")

</div>

Is it possible at all to when you import a sound from xml into flash - can you then distort the sound i.e. slow it down, speed it back up again? And how would you go about it? I am making a game where if you miss a hit…

---

## [Re-Initiate (Reset) Document Class](https://forum.kirupa.com/t/re-initiate-reset-document-class/329818)

<div class="topic-metadata">

**Author:** [@molkman](https://forum.kirupa.com/u/molkman)\
**Replies:** 0\
**Last updated:** [October 20, 2012, 1:57pm UTC](https://forum.kirupa.com/t/re-initiate-reset-document-class/329818 "2012-10-20T13:57:03Z")

</div>

Hello, I have a project using a document class. Now I was thinking about simple thing, is it possible to re-initiate, I mean "reset" the document class, so that it starts over again? Like, I want to reset all variables…

---

## [Checking for existing file & supported file types](https://forum.kirupa.com/t/checking-for-existing-file-supported-file-types/329816)

<div class="topic-metadata">

**Author:** [@sbaden](https://forum.kirupa.com/u/sbaden)\
**Replies:** 0\
**Last updated:** [October 20, 2012, 12:20am UTC](https://forum.kirupa.com/t/checking-for-existing-file-supported-file-types/329816 "2012-10-20T00:20:51Z")

</div>

I've found plenty of code showing how to check for existing files to load into a flash scene but the only thing they check for is whether or not the file begins to load. The problem I'm having is that the file I'm checki…

---

## [Writing Pseudocode for Matching Cards Game](https://forum.kirupa.com/t/writing-pseudocode-for-matching-cards-game/329813)

<div class="topic-metadata">

**Author:** [@catcat31](https://forum.kirupa.com/u/catcat31)\
**Replies:** 0\
**Last updated:** [October 19, 2012, 9:24am UTC](https://forum.kirupa.com/t/writing-pseudocode-for-matching-cards-game/329813 "2012-10-19T09:24:22Z")

</div>

I've been asked to write a matching card game using pseudocode. I'm not sure where to begin. Can anyone provide some guidance please?

---

## [Simple way to show any live video stream in standalone player?](https://forum.kirupa.com/t/simple-way-to-show-any-live-video-stream-in-standalone-player/329812)

<div class="topic-metadata">

**Author:** [@kiruppian](https://forum.kirupa.com/u/kiruppian)\
**Replies:** 0\
**Last updated:** [October 19, 2012, 7:08am UTC](https://forum.kirupa.com/t/simple-way-to-show-any-live-video-stream-in-standalone-player/329812 "2012-10-19T07:08:08Z")

</div>

Hi! Is there a simple way to show any live video stream like for example any stream from http://www.twitch.tv via standalone flash/AIR player? Id like to create a desktop cinema with custom streams from the web for …

---

## [Word press tutorials](https://forum.kirupa.com/t/word-press-tutorials/329809)

<div class="topic-metadata">

**Author:** [@kasna](https://forum.kirupa.com/u/kasna)\
**Replies:** 0\
**Last updated:** [October 19, 2012, 3:17am UTC](https://forum.kirupa.com/t/word-press-tutorials/329809 "2012-10-19T03:17:13Z")

</div>

Where would be the best place to look for wordpress tutorials... i mean all in one place along with videos..that can also teach you how to incorporate HTML & CSS..

---

## [Tic Tac Toe Game](https://forum.kirupa.com/t/tic-tac-toe-game/329808)

<div class="topic-metadata">

**Author:** [@dyonp](https://forum.kirupa.com/u/dyonp)\
**Replies:** 0\
**Last updated:** [October 18, 2012, 8:36pm UTC](https://forum.kirupa.com/t/tic-tac-toe-game/329808 "2012-10-18T20:36:47Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Hey everyone, Im creating a tic tac toe game using AS3 and I got the basic board down and placement I just can't figure out how to track who won I tried different tutorials but its not the sa…

---

## [Nested Timeline Unresponsive](https://forum.kirupa.com/t/nested-timeline-unresponsive/329807)

<div class="topic-metadata">

**Author:** [@Kaalamity](https://forum.kirupa.com/u/Kaalamity)\
**Replies:** 0\
**Last updated:** [October 18, 2012, 8:23pm UTC](https://forum.kirupa.com/t/nested-timeline-unresponsive/329807 "2012-10-18T20:23:30Z")

</div>

New to asking for help on forums, but I'm at my wit's end. Working on a project for a friend. Its a simple matching game based on some photos. The basic mechanics are generating some random numbers, pairing those with so…

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

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