# programming

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

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

**Page:** 809

---

## [How do I wait until data is loaded?](https://forum.kirupa.com/t/how-do-i-wait-until-data-is-loaded/288868)

<div class="topic-metadata">

**Author:** [@zachwlewis](https://forum.kirupa.com/u/zachwlewis)\
**Replies:** 0\
**Last updated:** [May 22, 2009, 3:05am UTC](https://forum.kirupa.com/t/how-do-i-wait-until-data-is-loaded/288868 "2009-05-22T03:05:01Z")

</div>

I have two classes: Level, which dictates a tile-based level, and MapLoader, which loads a text file on my local machine. I am calling a load function through Level asking MapLoader to load, but when I try to parse the…

---

## [How to get number of properties in an associative array?](https://forum.kirupa.com/t/how-to-get-number-of-properties-in-an-associative-array/288867)

<div class="topic-metadata">

**Author:** [@ohbeewan](https://forum.kirupa.com/u/ohbeewan)\
**Replies:** 0\
**Last updated:** [May 22, 2009, 1:55am UTC](https://forum.kirupa.com/t/how-to-get-number-of-properties-in-an-associative-array/288867 "2009-05-22T01:55:23Z")

</div>

Umm, how do you get the length of, or number of properties in, an associative array/dynamic object? Thanks!

---

## [SoundManager - Pausing Sound by referenceing code in seperate .AS file](https://forum.kirupa.com/t/soundmanager-pausing-sound-by-referenceing-code-in-seperate-as-file/288864)

<div class="topic-metadata">

**Author:** [@nonprogrammer](https://forum.kirupa.com/u/nonprogrammer)\
**Replies:** 0\
**Last updated:** [May 22, 2009, 1:11am UTC](https://forum.kirupa.com/t/soundmanager-pausing-sound-by-referenceing-code-in-seperate-as-file/288864 "2009-05-22T01:11:28Z")

</div>

Okay, so because of the way this game has been built the whole game world is initialized on game start up. I wanted to have this Zombie Penguin enemy use a walk sound (it would be odd if he moved and was silent) but beca…

---

## [Database driven product website](https://forum.kirupa.com/t/database-driven-product-website/288863)

<div class="topic-metadata">

**Author:** [@GiveMeCoffee](https://forum.kirupa.com/u/GiveMeCoffee)\
**Replies:** 0\
**Last updated:** [May 22, 2009, 12:56am UTC](https://forum.kirupa.com/t/database-driven-product-website/288863 "2009-05-22T00:56:48Z")

</div>

I have to create a website that features about 100 products. However, I would like it to be database driven - mySQL. In the database I want to be able to store an image(or link to an image?) of the product, the product n…

---

## [Getting the pan/tilt of mouse](https://forum.kirupa.com/t/getting-the-pan-tilt-of-mouse/288860)

<div class="topic-metadata">

**Author:** [@prisma](https://forum.kirupa.com/u/prisma)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 11:03pm UTC](https://forum.kirupa.com/t/getting-the-pan-tilt-of-mouse/288860 "2009-05-21T23:03:46Z")

</div>

Hi, I'm not very good with more advanced maths, so I have to ask this: If I have a camera which gives out 360 degree pan (x) and tilt (y) values, and I want to get the pan and tilt values of where I have my cursor in t…

---

## [Rotate TextInput Component](https://forum.kirupa.com/t/rotate-textinput-component/288859)

<div class="topic-metadata">

**Author:** [@jewelee](https://forum.kirupa.com/u/jewelee)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 10:57pm UTC](https://forum.kirupa.com/t/rotate-textinput-component/288859 "2009-05-21T22:57:48Z")

</div>

Hi there; I have several textInput components on my stage and would like the user to be able to rotate them using a button. When the button is deployed, the textInput will rotate, but the text in the (textfield?) disappe…

---

## [indexOf("what")-what if i want to find all the what's in this sentence full of what's](https://forum.kirupa.com/t/indexof-what-what-if-i-want-to-find-all-the-whats-in-this-sentence-full-of-whats/288856)

<div class="topic-metadata">

**Author:** [@pantas](https://forum.kirupa.com/u/pantas)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 10:30pm UTC](https://forum.kirupa.com/t/indexof-what-what-if-i-want-to-find-all-the-whats-in-this-sentence-full-of-whats/288856 "2009-05-21T22:30:26Z")

</div>

damm, this week looks like its never ending... can anyone help me out here? "what if i want to find all the what's in this sentence full of what's?" i cant do this with indexOf, and it wont work either with lastIndexOf…

---

## [Setting Focus on a TextInput inside a ViewStack](https://forum.kirupa.com/t/setting-focus-on-a-textinput-inside-a-viewstack/288855)

<div class="topic-metadata">

**Author:** [@bmorrise](https://forum.kirupa.com/u/bmorrise)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 10:27pm UTC](https://forum.kirupa.com/t/setting-focus-on-a-textinput-inside-a-viewstack/288855 "2009-05-21T22:27:34Z")

</div>

I have a Canvas that I add to the stage using the PopUpManager and in this Canvas I have a ViewStack. One of the Canvases inside the ViewStack has an TextInput that I want to set the focus on when the Canvas that was add…

---

## [Advanced XML Reader/Slideshow email feature is driving me crazy](https://forum.kirupa.com/t/advanced-xml-reader-slideshow-email-feature-is-driving-me-crazy/288854)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 10:20pm UTC](https://forum.kirupa.com/t/advanced-xml-reader-slideshow-email-feature-is-driving-me-crazy/288854 "2009-05-21T22:20:18Z")

</div>

http://www.kirupa.com/forum/showthread.php?t=258493&highlight=lewi-p I love the functionality and I thought I was almost finished. Until I started testing the Email to a friend functionality. I have stepped back all …

---

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

<div class="topic-metadata">

**Author:** [@dmswann](https://forum.kirupa.com/u/dmswann)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 8:30pm UTC](https://forum.kirupa.com/t/1180-error/288851 "2009-05-21T20:30:30Z")

</div>

I am using this code exactly from a tutorial except with my criteria, why am I getting this error? var video:Video = new Video(935,525.9); addchild(video); var nc:NetConnection = new NetConnection(); nc.connect(null)…

---

## ['undefined' in txt area and picture slider only loading some pics](https://forum.kirupa.com/t/undefined-in-txt-area-and-picture-slider-only-loading-some-pics/288850)

<div class="topic-metadata">

**Author:** [@oktodes](https://forum.kirupa.com/u/oktodes)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 8:30pm UTC](https://forum.kirupa.com/t/undefined-in-txt-area-and-picture-slider-only-loading-some-pics/288850 "2009-05-21T20:30:02Z")

</div>

Hi, I made a website that does it alright on the internet on my PC, and I haven’t heard any complaints from my client either, but a few hours ago I visited a friend and on his PC the website didn’t work exactly as it …

---

## [Problem with button class in .as file working with fla file](https://forum.kirupa.com/t/problem-with-button-class-in-as-file-working-with-fla-file/288849)

<div class="topic-metadata">

**Author:** [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 7:24pm UTC](https://forum.kirupa.com/t/problem-with-button-class-in-as-file-working-with-fla-file/288849 "2009-05-21T19:24:09Z")

</div>

Solved...Thanks!

---

## [ExternalInterface Call](https://forum.kirupa.com/t/externalinterface-call/288848)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 7:23pm UTC](https://forum.kirupa.com/t/externalinterface-call/288848 "2009-05-21T19:23:04Z")

</div>

I need to upgrade some AS 2.0 code and could use some help. In my HTML pages I have a short JS script that looks like this: \<script language="JavaScript" type="text/javascript"\> function startImage(name) { retu…

---

## [How to removeChild? Pleasee](https://forum.kirupa.com/t/how-to-removechild-pleasee/288847)

<div class="topic-metadata">

**Author:** [@danzalec](https://forum.kirupa.com/u/danzalec)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 7:20pm UTC](https://forum.kirupa.com/t/how-to-removechild-pleasee/288847 "2009-05-21T19:20:28Z")

</div>

I have this code for a multi gallery. I need to remove the child where the swf loads. Help me!! the code function newvid(event:MouseEvent) { trace("you clicked me1"); var loadit = new Loader(); addChild(loadit); loadi…

---

## [Passing variables between SWF files](https://forum.kirupa.com/t/passing-variables-between-swf-files/288846)

<div class="topic-metadata">

**Author:** [@tvandenburg](https://forum.kirupa.com/u/tvandenburg)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 7:03pm UTC](https://forum.kirupa.com/t/passing-variables-between-swf-files/288846 "2009-05-21T19:03:19Z")

</div>

I apologize if this has been asked and answered a thousand times, but I've spent the better part of an hour searching and haven't found my answer, so here I am \[wink\] I have a flash file that I made that displays a scr…

---

## [Multicolumn htmlText](https://forum.kirupa.com/t/multicolumn-htmltext/288845)

<div class="topic-metadata">

**Author:** [@enginer9](https://forum.kirupa.com/u/enginer9)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 6:39pm UTC](https://forum.kirupa.com/t/multicolumn-htmltext/288845 "2009-05-21T18:39:25Z")

</div>

Hi everybody! Hope ypu can give some help on this... I'm trying to split a dynamic text into 2 separate text fields, as htmlText, more like newspaper multicolumn pagination. I've tried this http://danielmclaren.net…

---

## [\*controlling root-level MC with internal MC\*](https://forum.kirupa.com/t/controlling-root-level-mc-with-internal-mc/288842)

<div class="topic-metadata">

**Author:** [@imageConscious](https://forum.kirupa.com/u/imageConscious)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 5:22pm UTC](https://forum.kirupa.com/t/controlling-root-level-mc-with-internal-mc/288842 "2009-05-21T17:22:14Z")

</div>

I've reworking a client's site, so I'm somewhat limited on the changes I can make to the overall structure - BUT - here's my quandry: I have a nav system that is on the \_root level - the main content of the site exists…

---

## [Debugging animation](https://forum.kirupa.com/t/debugging-animation/288839)

<div class="topic-metadata">

**Author:** [@aoshima](https://forum.kirupa.com/u/aoshima)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 4:17pm UTC](https://forum.kirupa.com/t/debugging-animation/288839 "2009-05-21T16:17:26Z")

</div>

hi, i new here. nice to meet you all. \[smiley\] currently i am having trouble with my animation. i have an animation with sound that last about 8 minutes. here's the problem, when i was debugging the animation wi…

---

## ["thank you"-site in php-email-form don't appears](https://forum.kirupa.com/t/thank-you-site-in-php-email-form-dont-appears/288838)

<div class="topic-metadata">

**Author:** [@KwaZeeModo](https://forum.kirupa.com/u/KwaZeeModo)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 4:14pm UTC](https://forum.kirupa.com/t/thank-you-site-in-php-email-form-dont-appears/288838 "2009-05-21T16:14:59Z")

</div>

hello kirupa-team, why my email-form (from http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm) works perfect when i try the kirupa-original-file, but don't work anymore after i but the form in a flash (fl…

---

## [Which wordpress plugin can build a small community for users to register](https://forum.kirupa.com/t/which-wordpress-plugin-can-build-a-small-community-for-users-to-register/288835)

<div class="topic-metadata">

**Author:** [@needesigner\_com](https://forum.kirupa.com/u/needesigner_com)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 3:37pm UTC](https://forum.kirupa.com/t/which-wordpress-plugin-can-build-a-small-community-for-users-to-register/288835 "2009-05-21T15:37:13Z")

</div>

Which Wordpress plugin can build a small community for readers to register? It should allow readers to build their own profiles and discuss in a forum. What I found is Buddypress but it is for WordPress MU. Bal…

---

## [Needs help in page flip](https://forum.kirupa.com/t/needs-help-in-page-flip/288833)

<div class="topic-metadata">

**Author:** [@bknsandeep](https://forum.kirupa.com/u/bknsandeep)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 3:34pm UTC](https://forum.kirupa.com/t/needs-help-in-page-flip/288833 "2009-05-21T15:34:13Z")

</div>

Dear all, I need to make a flash as like : www.sectionseven.com . please suggest me how to creat this type of page flip effect......... Sandeep Joshi

---

## [Racing Game-Finish up](https://forum.kirupa.com/t/racing-game-finish-up/288832)

<div class="topic-metadata">

**Author:** [@cberish](https://forum.kirupa.com/u/cberish)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 3:11pm UTC](https://forum.kirupa.com/t/racing-game-finish-up/288832 "2009-05-21T15:11:10Z")

</div>

Hey guys, I have done a tutorial by Paola Russion for a racing game using AS2...It is very cool as it simulates a first person racing experience instead of an "overhead" look. Anyway, I would like to add in one simp…

---

## [Game countdown timer skipping on replay! Help](https://forum.kirupa.com/t/game-countdown-timer-skipping-on-replay-help/288831)

<div class="topic-metadata">

**Author:** [@JinxBunny](https://forum.kirupa.com/u/JinxBunny)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 3:10pm UTC](https://forum.kirupa.com/t/game-countdown-timer-skipping-on-replay-help/288831 "2009-05-21T15:10:00Z")

</div>

Ok i've got a simple demo for a spot the difference game, you click, find the differences, if you find all 5, the find count goes down to 0 and you get a win screen.. that's fine if you don't find them all within 30 s…

---

## [Sum of numbers in an array](https://forum.kirupa.com/t/sum-of-numbers-in-an-array/288825)

<div class="topic-metadata">

**Author:** [@KammyLH](https://forum.kirupa.com/u/KammyLH)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 2:02pm UTC](https://forum.kirupa.com/t/sum-of-numbers-in-an-array/288825 "2009-05-21T14:02:57Z")

</div>

How would I find the sum of the numbers in an array with an unknown length? Thanks

---

## [How do you Refresh swf after changes?](https://forum.kirupa.com/t/how-do-you-refresh-swf-after-changes/288821)

<div class="topic-metadata">

**Author:** [@Matt\_da\_best](https://forum.kirupa.com/u/Matt_da_best)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 12:38pm UTC](https://forum.kirupa.com/t/how-do-you-refresh-swf-after-changes/288821 "2009-05-21T12:38:09Z")

</div>

Do you have any idea how I would refresh my movie or put the changes into place when a user presses this button to reset the shared object positions: //reset button resetButton.onRelease = function () { \_root.box.b…

---

## [Question about include](https://forum.kirupa.com/t/question-about-include/288817)

<div class="topic-metadata">

**Author:** [@sleidia](https://forum.kirupa.com/u/sleidia)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 11:34am UTC](https://forum.kirupa.com/t/question-about-include/288817 "2009-05-21T11:34:41Z")

</div>

Hello, I'm trying to move onto a different way of doing actionscripting. What I want to do is move all my code into a single \*.as file for every movie I produce, so that I can see and edit all the code from a single …

---

## [Flash CS4 with ActionScript 3.0](https://forum.kirupa.com/t/flash-cs4-with-actionscript-3-0/288810)

<div class="topic-metadata">

**Author:** [@Bollampalli](https://forum.kirupa.com/u/Bollampalli)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 8:59am UTC](https://forum.kirupa.com/t/flash-cs4-with-actionscript-3-0/288810 "2009-05-21T08:59:14Z")

</div>

Hi friends, I hav made a small movie clip in the Flash CS4 and exported in to the FLEX but when i compiled my FLEX .MXML file there was no animation of the movie clip. I could see only the still image of my movie clip.…

---

## [Importing Maya models into flash CS4](https://forum.kirupa.com/t/importing-maya-models-into-flash-cs4/288809)

<div class="topic-metadata">

**Author:** [@d2d82](https://forum.kirupa.com/u/d2d82)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 8:43am UTC](https://forum.kirupa.com/t/importing-maya-models-into-flash-cs4/288809 "2009-05-21T08:43:08Z")

</div>

Could someone tell me what the process is for importing 3D models from Maya into Flash CS4? I heard you could use Swift 3D but I don't have that. Could anyone else shed more light? Also if anyone knows any good video t…

---

## [Interface doesn't work](https://forum.kirupa.com/t/interface-doesnt-work/288807)

<div class="topic-metadata">

**Author:** [@Fristi](https://forum.kirupa.com/u/Fristi)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 8:04am UTC](https://forum.kirupa.com/t/interface-doesnt-work/288807 "2009-05-21T08:04:47Z")

</div>

Hello, I am creating a flash game. In this flash game the user has to estimate the weight of several products. I've created an interface for all ProductStacks to implement so i can take care of some stuff through calli…

---

## [Freezing the Flash Movie in a pop-up](https://forum.kirupa.com/t/freezing-the-flash-movie-in-a-pop-up/288803)

<div class="topic-metadata">

**Author:** [@peachtea](https://forum.kirupa.com/u/peachtea)\
**Replies:** 0\
**Last updated:** [May 21, 2009, 6:56am UTC](https://forum.kirupa.com/t/freezing-the-flash-movie-in-a-pop-up/288803 "2009-05-21T06:56:58Z")

</div>

Hi All I have created 2 Flash movies in the form of a slideshow. The flash clips are embedded in the webpage that I was modifying and it works perfectly fine. What I would like to do is to allow users to be able to c…

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

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