# programming

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

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

**Page:** 1786

---

## [Help with code (effeciency) for my Crane Game](https://forum.kirupa.com/t/help-with-code-effeciency-for-my-crane-game/221237)

<div class="topic-metadata">

**Author:** [@DRJOE](https://forum.kirupa.com/u/DRJOE)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 6:57pm UTC](https://forum.kirupa.com/t/help-with-code-effeciency-for-my-crane-game/221237 "2007-04-02T18:57:34Z")

</div>

Hello. I'm in the process of making a score based Crane Game, in which the player will collect as many dolls as they can (with varying point worths) before the timer runs down. The game will have 4 difficulty modes and…

---

## [I coded an uploader \> How do I limit file types?](https://forum.kirupa.com/t/i-coded-an-uploader-how-do-i-limit-file-types/221233)

<div class="topic-metadata">

**Author:** [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 6:30pm UTC](https://forum.kirupa.com/t/i-coded-an-uploader-how-do-i-limit-file-types/221233 "2007-04-02T18:30:29Z")

</div>

Here is the php code: \[LEFT\] \<?php if(!(copy($\_FILES\['userfile'\]\['tmp\_name'\], "Upload/" . $\_FILES\['userfile'\]\['name'\]))) die("Cannot upload files."); echo "Upload Complete!"; ?\> What …

---

## [AI System (Calling all A.S. Gurus)](https://forum.kirupa.com/t/ai-system-calling-all-a-s-gurus/221231)

<div class="topic-metadata">

**Author:** [@FlashHed](https://forum.kirupa.com/u/FlashHed)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 6:04pm UTC](https://forum.kirupa.com/t/ai-system-calling-all-a-s-gurus/221231 "2007-04-02T18:04:59Z")

</div>

Hi, I'm working with a friend who is a teacher in in game design theory, and we are constructing a basic A.I. system in flash. He's providing the theory and I am providing the code. I've attached the project file to ma…

---

## [Made functions using for loop, trace returns undefined when running functions?](https://forum.kirupa.com/t/made-functions-using-for-loop-trace-returns-undefined-when-running-functions/221229)

<div class="topic-metadata">

**Author:** [@REEF](https://forum.kirupa.com/u/REEF)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 5:52pm UTC](https://forum.kirupa.com/t/made-functions-using-for-loop-trace-returns-undefined-when-running-functions/221229 "2007-04-02T17:52:54Z")

</div>

var navAreas:Array = new Array("LOL", "WOOT", "ROFL"); for (var f:Number = 0; f \< navAreas.length; f++) { this\["action" + f\] = function () { trace(navAreas\[f\]); }; // should make functions action0, action1, …

---

## [Free transform tool](https://forum.kirupa.com/t/free-transform-tool/221227)

<div class="topic-metadata">

**Author:** [@maxx9](https://forum.kirupa.com/u/maxx9)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 5:44pm UTC](https://forum.kirupa.com/t/free-transform-tool/221227 "2007-04-02T17:44:30Z")

</div>

HI, How can I make a free transform tool with actionscript ? Can Anyone help ? Its urgent.

---

## [Help with a Simple Flash Poll](https://forum.kirupa.com/t/help-with-a-simple-flash-poll/221225)

<div class="topic-metadata">

**Author:** [@misterpatrick](https://forum.kirupa.com/u/misterpatrick)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 5:24pm UTC](https://forum.kirupa.com/t/help-with-a-simple-flash-poll/221225 "2007-04-02T17:24:40Z")

</div>

Hello all, I am trying to create a simple Flash-based poll and since I am not much of a programmer, I am incorporating existing examples out there. I have messed around with the Sephiroth examples and while they work f…

---

## [\[Flash 8\] hitTest Help](https://forum.kirupa.com/t/flash-8-hittest-help/221223)

<div class="topic-metadata">

**Author:** [@tehchunk](https://forum.kirupa.com/u/tehchunk)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 5:17pm UTC](https://forum.kirupa.com/t/flash-8-hittest-help/221223 "2007-04-02T17:17:11Z")

</div>

I am working on a project where I have several movie clips that the user can drag, but I'm trying to keep them confined in a circular area. I tried creating a movie clip that contains a shape of the surrounding area, and…

---

## [Saving my place in flash when I use html back button](https://forum.kirupa.com/t/saving-my-place-in-flash-when-i-use-html-back-button/221220)

<div class="topic-metadata">

**Author:** [@dibble](https://forum.kirupa.com/u/dibble)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 4:51pm UTC](https://forum.kirupa.com/t/saving-my-place-in-flash-when-i-use-html-back-button/221220 "2007-04-02T16:51:23Z")

</div>

Hi, I'm creating a timeline for a website and wish to know if it is possible to save the users place in the timeline when they go to another page and then click the back button. Basically the scenario is this... A …

---

## [lineTo() coordinates from array?](https://forum.kirupa.com/t/lineto-coordinates-from-array/221214)

<div class="topic-metadata">

**Author:** [@project107](https://forum.kirupa.com/u/project107)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 4:28pm UTC](https://forum.kirupa.com/t/lineto-coordinates-from-array/221214 "2007-04-02T16:28:48Z")

</div>

How? I currently have this: // create new array for coordinates // x = time xcord = new Array("20","40","50","80","120","150"); // y = slider location ycord = new Array("21","56","87","90","43","200"); // xcordLength…

---

## [Flash Form Script](https://forum.kirupa.com/t/flash-form-script/221213)

<div class="topic-metadata">

**Author:** [@Swoop](https://forum.kirupa.com/u/Swoop)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 4:26pm UTC](https://forum.kirupa.com/t/flash-form-script/221213 "2007-04-02T16:26:28Z")

</div>

I am new at scripting and such but wondering if someone would be able to give me a hand and point me in the right direction. I recently created a form in flash and managed to get it all set up so i receive it through e-m…

---

## [jQuery & scriptaculous](https://forum.kirupa.com/t/jquery-scriptaculous/221212)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 4:23pm UTC](https://forum.kirupa.com/t/jquery-scriptaculous/221212 "2007-04-02T16:23:12Z")

</div>

Is it common for competing javascript libraries to not play well together? I have scriptaculous sliding sidebars with jQuery Thickbox iframe popup links and thickbox appears to be disabling the scriptaculous slide effec…

---

## [SEARCH a tutorial about making a FLV player (flashMX2004)](https://forum.kirupa.com/t/search-a-tutorial-about-making-a-flv-player-flashmx2004/221210)

<div class="topic-metadata">

**Author:** [@5TEF](https://forum.kirupa.com/u/5TEF)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 3:32pm UTC](https://forum.kirupa.com/t/search-a-tutorial-about-making-a-flv-player-flashmx2004/221210 "2007-04-02T15:32:42Z")

</div>

hi, all is in the title ! \[smile\] i need to make a custom FLV player...never done this before. i search a cool tutorial to learn making a FLV player, with flash MX2004, and only with AS ( no composant ) thks stef

---

## [Project: Age of Empire Help](https://forum.kirupa.com/t/project-age-of-empire-help/221209)

<div class="topic-metadata">

**Author:** [@Haloplat](https://forum.kirupa.com/u/Haloplat)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 3:27pm UTC](https://forum.kirupa.com/t/project-age-of-empire-help/221209 "2007-04-02T15:27:29Z")

</div>

ok i know im demanding a lot but can sum1 explain this code to me over here i got this from nathan99's work im trying to expand it. thanks a lot nathan99 and if u r here could u help a felow member out? this is the co…

---

## [Anyone used GeoIp in PEAR repositry?](https://forum.kirupa.com/t/anyone-used-geoip-in-pear-repositry/221206)

<div class="topic-metadata">

**Author:** [@Zaid\_W1red](https://forum.kirupa.com/u/Zaid_W1red)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 3:17pm UTC](https://forum.kirupa.com/t/anyone-used-geoip-in-pear-repositry/221206 "2007-04-02T15:17:46Z")

</div>

This is my first time using anything from PEAR, and in trying to find out where to begin, I keep being told I need to 'compile' the extension myself. After hours googling all I can find are articles that presume the re…

---

## [Flash PHP Email Form Help - emtpy values](https://forum.kirupa.com/t/flash-php-email-form-help-emtpy-values/221205)

<div class="topic-metadata">

**Author:** [@aaadar](https://forum.kirupa.com/u/aaadar)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 3:14pm UTC](https://forum.kirupa.com/t/flash-php-email-form-help-emtpy-values/221205 "2007-04-02T15:14:30Z")

</div>

I've got a swf that has a form inside a movie as follows \_parent.contentMain (an instance of formclip movie) inside the contentMain I've a form witha submit button with the following code. ========================…

---

## [Help with starting animation over movie](https://forum.kirupa.com/t/help-with-starting-animation-over-movie/221204)

<div class="topic-metadata">

**Author:** [@Poolbear2](https://forum.kirupa.com/u/Poolbear2)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 2:24pm UTC](https://forum.kirupa.com/t/help-with-starting-animation-over-movie/221204 "2007-04-02T14:24:34Z")

</div>

Help! I've used every tutorial book I can find and still can't solve this problem. I have my movie and which teaches my students about fractions but it needed a little animation overlay in it so I added the animation in …

---

## [Moving a MC onEnterFrame](https://forum.kirupa.com/t/moving-a-mc-onenterframe/221203)

<div class="topic-metadata">

**Author:** [@Curb](https://forum.kirupa.com/u/Curb)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 2:24pm UTC](https://forum.kirupa.com/t/moving-a-mc-onenterframe/221203 "2007-04-02T14:24:13Z")

</div>

I'm at loss here. We're trying to make an endless banner that loops with dynamically loaded text. The text is embed and the anti aliasing is set for animation. But the endless part isn't the problem, thanks to a grea…

---

## [Previous Button Invisible On First Page](https://forum.kirupa.com/t/previous-button-invisible-on-first-page/221202)

<div class="topic-metadata">

**Author:** [@Zarahs](https://forum.kirupa.com/u/Zarahs)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 2:10pm UTC](https://forum.kirupa.com/t/previous-button-invisible-on-first-page/221202 "2007-04-02T14:10:26Z")

</div>

I have several pages of info I'm pulling from external txt files. I want my btn\_previous to not be visible on the first page. Likewise, I want my btn\_next to not be visible when the last page loads. The btns are actually…

---

## [Permission error](https://forum.kirupa.com/t/permission-error/221199)

<div class="topic-metadata">

**Author:** [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 1:04pm UTC](https://forum.kirupa.com/t/permission-error/221199 "2007-04-02T13:04:30Z")

</div>

Hi I have a file which works, loading in xml, and has links to extra sites such as flickr however when i allow permission for this, the navigation buttons stop working \[stuck\_out\_tongue\] any explaination? thanks

---

## [Preloader for external swfs](https://forum.kirupa.com/t/preloader-for-external-swfs/221198)

<div class="topic-metadata">

**Author:** [@welsh](https://forum.kirupa.com/u/welsh)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 12:54pm UTC](https://forum.kirupa.com/t/preloader-for-external-swfs/221198 "2007-04-02T12:54:51Z")

</div>

hi everyone, i was wondering if anyone could help me. I have a site that opens its pages by loading swfs into an empty movie clip on the stage. My problem is that the swfs are biggish, and take time to load. I have pre…

---

## [\[php & mysql\]](https://forum.kirupa.com/t/php-mysql/221196)

<div class="topic-metadata">

**Author:** [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 12:01pm UTC](https://forum.kirupa.com/t/php-mysql/221196 "2007-04-02T12:01:10Z")

</div>

I am making a simple php login form which pulls usernames and passwords from a MySQL database. I need to know how I can set each users homepage. E.g. Chris is sent to - chris.php when he logs in Matt is sent to - ma…

---

## [Except particular movie](https://forum.kirupa.com/t/except-particular-movie/221192)

<div class="topic-metadata">

**Author:** [@tobijas20](https://forum.kirupa.com/u/tobijas20)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 11:33am UTC](https://forum.kirupa.com/t/except-particular-movie/221192 "2007-04-02T11:33:15Z")

</div>

Hi, I have duplicated movie instances (s1, s2, s3...). Now "onRelease" bttn2 (duplicated instance of "bttn") it does something with movie s2, but how to start other function for all other "s" movies? How define them? I…

---

## [\[Flash 8\] Dynamically loading pngs using XML but, why is it taking so long?](https://forum.kirupa.com/t/flash-8-dynamically-loading-pngs-using-xml-but-why-is-it-taking-so-long/221191)

<div class="topic-metadata">

**Author:** [@aio193](https://forum.kirupa.com/u/aio193)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 11:32am UTC](https://forum.kirupa.com/t/flash-8-dynamically-loading-pngs-using-xml-but-why-is-it-taking-so-long/221191 "2007-04-02T11:32:10Z")

</div>

Dear all, I'm dynamically loading pngs into an attached movieclip. It works fine testing it locally but when its up on a server, it takes quite a while to load each picture, even though they are only between 10-20kbs e…

---

## [Several questions (default window position, hiding menu's, and other q's)](https://forum.kirupa.com/t/several-questions-default-window-position-hiding-menus-and-other-qs/221187)

<div class="topic-metadata">

**Author:** [@Mythic\_Fr0st](https://forum.kirupa.com/u/Mythic_Fr0st)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 10:55am UTC](https://forum.kirupa.com/t/several-questions-default-window-position-hiding-menus-and-other-qs/221187 "2007-04-02T10:55:02Z")

</div>

Several questions (default window position, hiding menu's, and other q's) Question 1: I am wondering how come when I test my game it looks normal, but when I publish it as swf or .exe It seems to be oddly sized, and …

---

## [Updatable Image Database in Flash](https://forum.kirupa.com/t/updatable-image-database-in-flash/221181)

<div class="topic-metadata">

**Author:** [@jarmanje](https://forum.kirupa.com/u/jarmanje)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 9:48am UTC](https://forum.kirupa.com/t/updatable-image-database-in-flash/221181 "2007-04-02T09:48:57Z")

</div>

Hello, I am currently designing a web site where my product is built up of 8 steps before they purchase that specified product. One on step i would like the texture/colours to be selected. Now, i think i have a theor…

---

## [Is layering without z-index possible?](https://forum.kirupa.com/t/is-layering-without-z-index-possible/221180)

<div class="topic-metadata">

**Author:** [@rohan](https://forum.kirupa.com/u/rohan)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 9:45am UTC](https://forum.kirupa.com/t/is-layering-without-z-index-possible/221180 "2007-04-02T09:45:25Z")

</div>

Hi, I've got to create an email signature for an annoying client that wants to overly complicate the job for me :fight: (don't you hate that). They need a curved border around an email signature which has 9 (yes thats …

---

## [Loader Help](https://forum.kirupa.com/t/loader-help/221178)

<div class="topic-metadata">

**Author:** [@SlinkyChick](https://forum.kirupa.com/u/SlinkyChick)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 8:33am UTC](https://forum.kirupa.com/t/loader-help/221178 "2007-04-02T08:33:24Z")

</div>

Hi, i am quite new to Flash, so if this is a daft question, please forgive me. I have a loader component on the stage (quali\_ldr) which i am using to load an external swf (ITQuals.swf), within this swf file there is a …

---

## [Am i doing something wrong?](https://forum.kirupa.com/t/am-i-doing-something-wrong/221174)

<div class="topic-metadata">

**Author:** [@mALLA](https://forum.kirupa.com/u/mALLA)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 6:18am UTC](https://forum.kirupa.com/t/am-i-doing-something-wrong/221174 "2007-04-02T06:18:44Z")

</div>

If you create a movie clip and have a textbox (or some component) at y \> 3500 position. you cant scroll further down i.e. past the 3500 position to view the componet. ? \[image\]

---

## [Loadmovie() / gotoandplay](https://forum.kirupa.com/t/loadmovie-gotoandplay/221173)

<div class="topic-metadata">

**Author:** [@Dragonknight](https://forum.kirupa.com/u/Dragonknight)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 5:23am UTC](https://forum.kirupa.com/t/loadmovie-gotoandplay/221173 "2007-04-02T05:23:19Z")

</div>

im having a problem with Loadmovie() im trying to load a movie and gotoandplay it like this var placeholder:MovieClip = this.createEmptyMovieClip("monster", 5); monster.loadMovie(\_root.monsterfile); monster.\_x = p…

---

## [Having a bad day \>\<](https://forum.kirupa.com/t/having-a-bad-day/221170)

<div class="topic-metadata">

**Author:** [@superiority](https://forum.kirupa.com/u/superiority)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 4:32am UTC](https://forum.kirupa.com/t/having-a-bad-day/221170 "2007-04-02T04:32:48Z")

</div>

I can't seem to get a simple hitTest working. I think I should get more sleep or something, but here's my problem. I have this code pasted on the frame: this.map\_mc.to\_hrp.hitTest(char\_mc){ touching=true; \_global.targ…

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

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