# programming

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

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

**Page:** 652

---

## [Efficiency Question: One Big SWF or many smaller SWFs](https://forum.kirupa.com/t/efficiency-question-one-big-swf-or-many-smaller-swfs/299035)

<div class="topic-metadata">

**Author:** [@RookC](https://forum.kirupa.com/u/RookC)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 9:15pm UTC](https://forum.kirupa.com/t/efficiency-question-one-big-swf-or-many-smaller-swfs/299035 "2009-10-28T21:15:33Z")

</div>

I'm working on a site with four different games (and right off the bat-- kirupa has been a GREAT resource) The site has all your standard jumping around to different sections like a normal web site. Game 1, 2, 3, 4, Tr…

---

## [Runtime font embed with spaces in style name](https://forum.kirupa.com/t/runtime-font-embed-with-spaces-in-style-name/299034)

<div class="topic-metadata">

**Author:** [@Jao](https://forum.kirupa.com/u/Jao)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 8:41pm UTC](https://forum.kirupa.com/t/runtime-font-embed-with-spaces-in-style-name/299034 "2009-10-28T20:41:54Z")

</div>

Hey guys. I'm feeling overgoogled atm, but still can't find any solution. I have font "Futura" with "Condensed Medium" style, actually 4 styles - "Medium, Italic, Condensed Medium, Condensed ExtraBold". However, when I…

---

## [Re-ordering Associative array on its Keys](https://forum.kirupa.com/t/re-ordering-associative-array-on-its-keys/299031)

<div class="topic-metadata">

**Author:** [@Raabi](https://forum.kirupa.com/u/Raabi)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 8:10pm UTC](https://forum.kirupa.com/t/re-ordering-associative-array-on-its-keys/299031 "2009-10-28T20:10:42Z")

</div>

Hello Working first time with the Associative arrays, I could not find a way to re-order the array based on its Keys. I used the following code to retrieve the data from the array "arrHues": for (var prop: String…

---

## [Select Dynamic Image Placement](https://forum.kirupa.com/t/select-dynamic-image-placement/299028)

<div class="topic-metadata">

**Author:** [@samoscratch](https://forum.kirupa.com/u/samoscratch)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 7:46pm UTC](https://forum.kirupa.com/t/select-dynamic-image-placement/299028 "2009-10-28T19:46:06Z")

</div>

Hey guys, I'm curious if any of you know of an easy way to place and image dynamically on top of another. This wouldn't be for all images on my site, only on select ones. It would be an image of the word "new" place…

---

## [Black Bitmaps](https://forum.kirupa.com/t/black-bitmaps/299027)

<div class="topic-metadata">

**Author:** [@dtk13](https://forum.kirupa.com/u/dtk13)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 6:54pm UTC](https://forum.kirupa.com/t/black-bitmaps/299027 "2009-10-28T18:54:51Z")

</div>

I'm trying to load jpgs into my swf at runtime but they always come out black and there is no image. Could it be that my files are too big?

---

## [Game Design - Need Ideas](https://forum.kirupa.com/t/game-design-need-ideas/299026)

<div class="topic-metadata">

**Author:** [@ericwinter](https://forum.kirupa.com/u/ericwinter)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 6:51pm UTC](https://forum.kirupa.com/t/game-design-need-ideas/299026 "2009-10-28T18:51:07Z")

</div>

Hey all this is my first post on kirupa.com but I've been in/out of this website for years now. I am in the works of a great JAVA platform-style game with a twisty story line, many characters, dynamic lighting effects,…

---

## [Flash going extremely slow (certain documents)](https://forum.kirupa.com/t/flash-going-extremely-slow-certain-documents/299025)

<div class="topic-metadata">

**Author:** [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 6:50pm UTC](https://forum.kirupa.com/t/flash-going-extremely-slow-certain-documents/299025 "2009-10-28T18:50:41Z")

</div>

For some reason whenever I try to access a any of the files within a project that I'm working on it goes extremely slow. I'll click something, or type something and it'll take like 30 seconds before I actually see it do …

---

## [How to animate arrays?](https://forum.kirupa.com/t/how-to-animate-arrays/299020)

<div class="topic-metadata">

**Author:** [@Mini\_Master2000](https://forum.kirupa.com/u/Mini_Master2000)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 6:21pm UTC](https://forum.kirupa.com/t/how-to-animate-arrays/299020 "2009-10-28T18:21:33Z")

</div>

I successfully created a menu using an array. But after researching and using other custom classes, I can't figure out how to animate arrays. The animation is simple; I want each of the buttons fade in one at a time. Any…

---

## [move\_uploaded\_file() error (part2)](https://forum.kirupa.com/t/move-uploaded-file-error-part2/299019)

<div class="topic-metadata">

**Author:** [@speedy\_rudolf](https://forum.kirupa.com/u/speedy_rudolf)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 6:13pm UTC](https://forum.kirupa.com/t/move-uploaded-file-error-part2/299019 "2009-10-28T18:13:27Z")

</div>

Hi. While trying to test a some code, I ran into this error: Warning: move\_uploaded\_file() \[function.move-uploaded-file\]: Unable to access Resource id #3/eroare.php in /home/www/free/uv.ro/rudolf.uv.ro/php/upload.php o…

---

## [Altering Kirupa's Xml Gallery Load Any Size Image](https://forum.kirupa.com/t/altering-kirupas-xml-gallery-load-any-size-image/299016)

<div class="topic-metadata">

**Author:** [@jumpsuit1](https://forum.kirupa.com/u/jumpsuit1)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 5:31pm UTC](https://forum.kirupa.com/t/altering-kirupas-xml-gallery-load-any-size-image/299016 "2009-10-28T17:31:53Z")

</div>

I want to load photos of different sizes for the XML photo gallery, as of right now you can only load a preset size. Here is the code, does anyone know how I can go about this? function loadXML(loaded) { if (loaded) …

---

## [Casual games and sponsorship](https://forum.kirupa.com/t/casual-games-and-sponsorship/299015)

<div class="topic-metadata">

**Author:** [@mesmerize](https://forum.kirupa.com/u/mesmerize)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 4:56pm UTC](https://forum.kirupa.com/t/casual-games-and-sponsorship/299015 "2009-10-28T16:56:05Z")

</div>

\[Lets Design has just wrote an article, that might be of interest to some of you, on flash casual games and reasons for sponsorship. Please feel free to use this article on your blogs/portfolios (as content) but maintain…

---

## [Flash performance - chilicasino.com](https://forum.kirupa.com/t/flash-performance-chilicasino-com/299014)

<div class="topic-metadata">

**Author:** [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 4:42pm UTC](https://forum.kirupa.com/t/flash-performance-chilicasino-com/299014 "2009-10-28T16:42:47Z")

</div>

Hello, as you can see there https://www.chilicasino.com/, the flash marquee suffers a lot because of the banner about it. do you have any suggestions how to make this faster? Do you think if I combine the two it will…

---

## [Keeping form fields populated after validation with coldFusion](https://forum.kirupa.com/t/keeping-form-fields-populated-after-validation-with-coldfusion/299013)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 4:16pm UTC](https://forum.kirupa.com/t/keeping-form-fields-populated-after-validation-with-coldfusion/299013 "2009-10-28T16:16:22Z")

</div>

Hi all, CF noob again. I'm building a coldFusion driven web form and I'm able to validate the variables (aka form fields) just fine, but when an error is thrown (i.e., when the user doesn't fill in a required field), it…

---

## [Possible to pass a function name?](https://forum.kirupa.com/t/possible-to-pass-a-function-name/299009)

<div class="topic-metadata">

**Author:** [@jik\_ff](https://forum.kirupa.com/u/jik_ff)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 2:50pm UTC](https://forum.kirupa.com/t/possible-to-pass-a-function-name/299009 "2009-10-28T14:50:13Z")

</div>

Is it possible to call a function from a string? such as if I passed the name of a function to this function, is there a command to convert the string to a function call? : function CallSpecific(passedFunctionName:Str…

---

## [Stopping snow effect AS2 problem](https://forum.kirupa.com/t/stopping-snow-effect-as2-problem/299007)

<div class="topic-metadata">

**Author:** [@foot01](https://forum.kirupa.com/u/foot01)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 2:43pm UTC](https://forum.kirupa.com/t/stopping-snow-effect-as2-problem/299007 "2009-10-28T14:43:40Z")

</div>

I have this code that controls snowflakes on stage. It works great but I don't know how I can stop this when I need to. I see a "onEnterFrame" but if I try and do a "delete tempFlake.onEnterFrame" on a button...it does…

---

## [ColdFusion form error](https://forum.kirupa.com/t/coldfusion-form-error/299006)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 2:34pm UTC](https://forum.kirupa.com/t/coldfusion-form-error/299006 "2009-10-28T14:34:29Z")

</div>

I'm a coldfusion newb and am trying to build my first form with it. From what I understand, when you use conditional logic with CF, the else statements are nested inside the if statements. Nevertheless, I'm trying to p…

---

## [FLV does not load in browser](https://forum.kirupa.com/t/flv-does-not-load-in-browser/299004)

<div class="topic-metadata">

**Author:** [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 2:02pm UTC](https://forum.kirupa.com/t/flv-does-not-load-in-browser/299004 "2009-10-28T14:02:21Z")

</div>

Hi, I have flash movie that loads flv's from a server, in flash IDE and even when you load the swf from the server this all works super and is not a problem. However when the flash is embedded in a hmtl page it does not…

---

## [FLV conundrum](https://forum.kirupa.com/t/flv-conundrum/299003)

<div class="topic-metadata">

**Author:** [@sybot](https://forum.kirupa.com/u/sybot)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 1:52pm UTC](https://forum.kirupa.com/t/flv-conundrum/299003 "2009-10-28T13:52:22Z")

</div>

ok guys, I've been pondering the various ways in which video's can be used in flash, and how to use these methods to produce on different formats so I've come here to seek some advice The company I work for, create…

---

## [Constructors can't be private?](https://forum.kirupa.com/t/constructors-cant-be-private/299002)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 1:39pm UTC](https://forum.kirupa.com/t/constructors-cant-be-private/299002 "2009-10-28T13:39:43Z")

</div>

I was trying to develop a system where instances of an object can only be created using static functions. Setting the constructor to private gave me the following error: 1153: A constructor can only be declared public. …

---

## [CS4-Problem with creating symbols](https://forum.kirupa.com/t/cs4-problem-with-creating-symbols/299000)

<div class="topic-metadata">

**Author:** [@Versaiteis](https://forum.kirupa.com/u/Versaiteis)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 12:50pm UTC](https://forum.kirupa.com/t/cs4-problem-with-creating-symbols/299000 "2009-10-28T12:50:00Z")

</div>

I'm not quite sure what happened, but now, whenever I try to convert any object to a symbol, it puts it in the library, completely hides the object on the stage and puts the blue border with the registration at 0,0 in th…

---

## [No exit on the left and right (x) borders](https://forum.kirupa.com/t/no-exit-on-the-left-and-right-x-borders/298999)

<div class="topic-metadata">

**Author:** [@JoakimN73](https://forum.kirupa.com/u/JoakimN73)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 12:13pm UTC](https://forum.kirupa.com/t/no-exit-on-the-left-and-right-x-borders/298999 "2009-10-28T12:13:40Z")

</div>

Hi! I am using this script to make something else than snow to go upwards instead of down. However. I would like to have the "snow" not to exit on the right and left side of the borders of my flash file. Because there …

---

## [3D - Working out x,y,z coordinates](https://forum.kirupa.com/t/3d-working-out-x-y-z-coordinates/298996)

<div class="topic-metadata">

**Author:** [@nasher268](https://forum.kirupa.com/u/nasher268)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 11:02am UTC](https://forum.kirupa.com/t/3d-working-out-x-y-z-coordinates/298996 "2009-10-28T11:02:51Z")

</div>

I am working on a function that will convert a theoretical 3d point into x and y coordinates on the screen. But I need to know where the 3d point is in relation to the camera. My question is: How would I work out the p…

---

## [Missing font on data grid text entry](https://forum.kirupa.com/t/missing-font-on-data-grid-text-entry/298995)

<div class="topic-metadata">

**Author:** [@wakarimasen](https://forum.kirupa.com/u/wakarimasen)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 10:51am UTC](https://forum.kirupa.com/t/missing-font-on-data-grid-text-entry/298995 "2009-10-28T10:51:58Z")

</div>

hello all, having a really frustrating problem. I have a file, originally penned by anoother developer in CS3 and resaved as CS4. It uses datagrids extensively. When clicking on a cell in a data grid it now fails to ren…

---

## [Hiding the fact that a class is a DisplayObjectContainer](https://forum.kirupa.com/t/hiding-the-fact-that-a-class-is-a-displayobjectcontainer/298994)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 10:43am UTC](https://forum.kirupa.com/t/hiding-the-fact-that-a-class-is-a-displayobjectcontainer/298994 "2009-10-28T10:43:49Z")

</div>

I have a class which will contain exactly one child, no more, no less, and other classes are not allowed to change that fact. I could throw error messages every time a child is added or removed by overriding the defaul…

---

## [I have recive 1084: syntax Error:expecting identifier befor 22038\_fla](https://forum.kirupa.com/t/i-have-recive-1084-syntax-error-expecting-identifier-befor-22038-fla/298993)

<div class="topic-metadata">

**Author:** [@MS\_Dark](https://forum.kirupa.com/u/MS_Dark)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 9:50am UTC](https://forum.kirupa.com/t/i-have-recive-1084-syntax-error-expecting-identifier-befor-22038-fla/298993 "2009-10-28T09:50:21Z")

</div>

hi all. i have One XML Base Gallery i khink its decompilered so i want change some in that. i have this Error Line 1 : I have recive 1084: syntax Error:expecting identifier befor 22038\_fla so i cant solve that Can any …

---

## [Delay stage creation](https://forum.kirupa.com/t/delay-stage-creation/298991)

<div class="topic-metadata">

**Author:** [@AdObeOne](https://forum.kirupa.com/u/AdObeOne)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 9:26am UTC](https://forum.kirupa.com/t/delay-stage-creation/298991 "2009-10-28T09:26:21Z")

</div>

Hello, I would like to set the stage size to the size of a random jpeg after it successfully loaded. So I don't know the dimenstions beforehand. It there a way to do that without using javascript. I know there is a sol…

---

## [Please help : Unable to add children to canvas](https://forum.kirupa.com/t/please-help-unable-to-add-children-to-canvas/298989)

<div class="topic-metadata">

**Author:** [@superFlex](https://forum.kirupa.com/u/superFlex)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 8:59am UTC](https://forum.kirupa.com/t/please-help-unable-to-add-children-to-canvas/298989 "2009-10-28T08:59:37Z")

</div>

Hi, I am very new to flex and not able to understand where am i going wrong .. I am trying to add children (images based on child and parent relation..) to Canvas by overriding createChildren() method, but only one …

---

## [Recognizing strings as instance names](https://forum.kirupa.com/t/recognizing-strings-as-instance-names/298986)

<div class="topic-metadata">

**Author:** [@romit\_2034](https://forum.kirupa.com/u/romit_2034)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 7:30am UTC](https://forum.kirupa.com/t/recognizing-strings-as-instance-names/298986 "2009-10-28T07:30:47Z")

</div>

I have something like this as a part of my code var gen:particle; var a:int = 0; var b:int = 1; for (var i:int=0; i\<100; i++) { gen = new particle(); addChild(gen); gen.x = a; a = a+20; gen.name =…

---

## [Add object to stage on mouseclick](https://forum.kirupa.com/t/add-object-to-stage-on-mouseclick/298985)

<div class="topic-metadata">

**Author:** [@Jord070](https://forum.kirupa.com/u/Jord070)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 5:58am UTC](https://forum.kirupa.com/t/add-object-to-stage-on-mouseclick/298985 "2009-10-28T05:58:57Z")

</div>

Hi guys, Complete newbie to flash and as3, but im getting into it a bit with college and im making a small basic flash webpage. Im not sure if this is possible but im going try and explain it best i can to get a few …

---

## [Scrolling in a Top Down RPG](https://forum.kirupa.com/t/scrolling-in-a-top-down-rpg/298983)

<div class="topic-metadata">

**Author:** [@haventownsend](https://forum.kirupa.com/u/haventownsend)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 3:58am UTC](https://forum.kirupa.com/t/scrolling-in-a-top-down-rpg/298983 "2009-10-28T03:58:40Z")

</div>

Hello. My problem I am presenting today is that which is too broad to just ask "How do I make it scroll?" I have made an earlier post about creating boundaries, and with the wonderful help, it was successful. You kno…

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

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