# programming

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

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

**Page:** 322

---

## [Switch Statement Stuff](https://forum.kirupa.com/t/switch-statement-stuff/319685)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [March 1, 2011, 7:18pm UTC](https://forum.kirupa.com/t/switch-statement-stuff/319685 "2011-03-01T19:18:11Z")

</div>

Id like to use a switch statement to check if a given value falls between certain values and then based on different values and then perform differently in each situation. I'm hoping i just have a syntax understanding d…

---

## [Uploading files - best method](https://forum.kirupa.com/t/uploading-files-best-method/319678)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [March 1, 2011, 1:16pm UTC](https://forum.kirupa.com/t/uploading-files-best-method/319678 "2011-03-01T13:16:30Z")

</div>

Hi there, Does anybody can confirm which one is the best method to use in order to upload files. There is the move\_uploaded\_file vs fopen vs curl. Which one would be the most effetive when it comes to any kind of files. …

---

## [\[Help\] image dragger gallery](https://forum.kirupa.com/t/help-image-dragger-gallery/319673)

<div class="topic-metadata">

**Author:** [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Replies:** 0\
**Last updated:** [March 1, 2011, 10:31am UTC](https://forum.kirupa.com/t/help-image-dragger-gallery/319673 "2011-03-01T10:31:02Z")

</div>

do anyone know where i can download the code of a image gallery which works by dragging the photo on stage only? I don't want scroll bar control or mouse move detection, i just want to drag the thumbnails along x-axis …

---

## [One API to rule them all](https://forum.kirupa.com/t/one-api-to-rule-them-all/319672)

<div class="topic-metadata">

**Author:** [@TOdorus](https://forum.kirupa.com/u/TOdorus)\
**Replies:** 0\
**Last updated:** [March 1, 2011, 10:08am UTC](https://forum.kirupa.com/t/one-api-to-rule-them-all/319672 "2011-03-01T10:08:03Z")

</div>

I was researching micropayments and I found Gamersafe and MochiCoins. After reading through their docs, it ocurred to me that a player can have an account with credit (so an investment) with either one of them. Writing a…

---

## [Retry Upload File on SSL error](https://forum.kirupa.com/t/retry-upload-file-on-ssl-error/319670)

<div class="topic-metadata">

**Author:** [@kszo](https://forum.kirupa.com/u/kszo)\
**Replies:** 0\
**Last updated:** [March 1, 2011, 7:08am UTC](https://forum.kirupa.com/t/retry-upload-file-on-ssl-error/319670 "2011-03-01T07:08:01Z")

</div>

Hi, I had some problems with my SSL (GeoTrust). On some browsers (mostly FF3.6 on WinXP), uploading a file using flash over SSL gives me an IOError. Something I found out is that uploading without SSL works even the…

---

## [Golfshop](https://forum.kirupa.com/t/golfshop/319669)

<div class="topic-metadata">

**Author:** [@Sheena28](https://forum.kirupa.com/u/Sheena28)\
**Replies:** 0\
**Last updated:** [March 1, 2011, 4:18am UTC](https://forum.kirupa.com/t/golfshop/319669 "2011-03-01T04:18:29Z")

</div>

The new Ping K15 Driver is designed for golfers who attach great importance to both fault tolerance and on distance and accuracy. These needs have observed the development of the K15 Ping Drivers. Thus, the K15 Ping Driv…

---

## [Clearing the actions on a specific frame](https://forum.kirupa.com/t/clearing-the-actions-on-a-specific-frame/319667)

<div class="topic-metadata">

**Author:** [@michaelchandler](https://forum.kirupa.com/u/michaelchandler)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 10:30pm UTC](https://forum.kirupa.com/t/clearing-the-actions-on-a-specific-frame/319667 "2011-02-28T22:30:42Z")

</div>

I have this timer code on the first frame of the movie. function pause() { play(); clearInterval(timer); } stop(); timer = setInterval(pause, 3000); And I want it to perform this timer until I press a button on th…

---

## [Start at center of movie clip](https://forum.kirupa.com/t/start-at-center-of-movie-clip/319665)

<div class="topic-metadata">

**Author:** [@eddieangel](https://forum.kirupa.com/u/eddieangel)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 9:01pm UTC](https://forum.kirupa.com/t/start-at-center-of-movie-clip/319665 "2011-02-28T21:01:21Z")

</div>

I have a movie clip container that contains 7 smaller movie clips, images converted to movie clips actually. This is a scrolling banner that can scroll left or right. How do I start in the middle of this banner inst…

---

## [Exhausting HitTest: Details Inside](https://forum.kirupa.com/t/exhausting-hittest-details-inside/319663)

<div class="topic-metadata">

**Author:** [@DAINO](https://forum.kirupa.com/u/DAINO)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 7:18pm UTC](https://forum.kirupa.com/t/exhausting-hittest-details-inside/319663 "2011-02-28T19:18:58Z")

</div>

Hello, Let's start: I have my character and is gun. The gun has is own class, and the enemies too. I am attaching the shots from the enemy class, and attaching the enemy from the stage. My problem come when the shots…

---

## [Help with mp3 scrubber and volume bars when loading externally](https://forum.kirupa.com/t/help-with-mp3-scrubber-and-volume-bars-when-loading-externally/319661)

<div class="topic-metadata">

**Author:** [@guitar8101](https://forum.kirupa.com/u/guitar8101)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 6:32pm UTC](https://forum.kirupa.com/t/help-with-mp3-scrubber-and-volume-bars-when-loading-externally/319661 "2011-02-28T18:32:25Z")

</div>

Hey everyone, well here's my situation. I have this mp3 player that I am loading as an external swf in to a container. At first the mp3 player was loading but was not functioning at all. So some code was changed and t…

---

## [Stage Size problem](https://forum.kirupa.com/t/stage-size-problem/319659)

<div class="topic-metadata">

**Author:** [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 5:28pm UTC](https://forum.kirupa.com/t/stage-size-problem/319659 "2011-02-28T17:28:31Z")

</div>

Dear forumer, I was planning to make a photo gallery using AS3, i have created a new .fla file and set my stage to 465x200, and load in photo horizontally, with the stage size 465x200, it enable user to see oni 3 display…

---

## [Help writing a simple game rule for a platform game](https://forum.kirupa.com/t/help-writing-a-simple-game-rule-for-a-platform-game/319657)

<div class="topic-metadata">

**Author:** [@razzdesigns](https://forum.kirupa.com/u/razzdesigns)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 4:47pm UTC](https://forum.kirupa.com/t/help-writing-a-simple-game-rule-for-a-platform-game/319657 "2011-02-28T16:47:11Z")

</div>

Hi Guys! Just have a quick question for you. I'm creating a game at the moment for my university course and it involves the player character jumping on top of boxs twice to break them as opposed to just once. What …

---

## [Generate XML of selected folders and files](https://forum.kirupa.com/t/generate-xml-of-selected-folders-and-files/319656)

<div class="topic-metadata">

**Author:** [@shaji](https://forum.kirupa.com/u/shaji)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 4:10pm UTC](https://forum.kirupa.com/t/generate-xml-of-selected-folders-and-files/319656 "2011-02-28T16:10:27Z")

</div>

I am trying to generate XML of a user selected folder and inner folders along with the files recursively. Structure of the XML generated should be as the user selected folder. I am able to list all the folders and fi…

---

## [Action scripting 3](https://forum.kirupa.com/t/action-scripting-3/319653)

<div class="topic-metadata">

**Author:** [@Akaml\_Rasool](https://forum.kirupa.com/u/Akaml_Rasool)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 3:40pm UTC](https://forum.kirupa.com/t/action-scripting-3/319653 "2011-02-28T15:40:46Z")

</div>

I want to learn action scripting 3. please anyone can help me? Thanks

---

## [Is programming a File Monitor/Watcher Application in WF4 possible?](https://forum.kirupa.com/t/is-programming-a-file-monitor-watcher-application-in-wf4-possible/319652)

<div class="topic-metadata">

**Author:** [@codrenalin](https://forum.kirupa.com/u/codrenalin)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 3:32pm UTC](https://forum.kirupa.com/t/is-programming-a-file-monitor-watcher-application-in-wf4-possible/319652 "2011-02-28T15:32:58Z")

</div>

\[FONT=Arial\]Hello,\[/FONT\] \[FONT=Arial\]I need to know if it is possible to develop an application to track file activity for a specified type in a specified folder/directory using WF4 Visual Studio 2010.\[/FONT\] \[FONT=Aria…

---

## [Space Games](https://forum.kirupa.com/t/space-games/319651)

<div class="topic-metadata">

**Author:** [@bigpappi23](https://forum.kirupa.com/u/bigpappi23)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 2:56pm UTC](https://forum.kirupa.com/t/space-games/319651 "2011-02-28T14:56:07Z")

</div>

hi guys...well, i'm trying to make a space game much like space invaders...in my game i have a panel on the bottom of my screen which displays the health bar and equipment of my player...now my problem is when the enemie…

---

## [FP 11 Incubator First Impressions \[Updated to 11.0.1.3\]](https://forum.kirupa.com/t/fp-11-incubator-first-impressions-updated-to-11-0-1-3/319650)

<div class="topic-metadata">

**Author:** [@krilnon](https://forum.kirupa.com/u/krilnon)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 1:10pm UTC](https://forum.kirupa.com/t/fp-11-incubator-first-impressions-updated-to-11-0-1-3/319650 "2011-02-28T13:10:06Z")

</div>

So, what have people found so far in the new version of Flash Player? flash.crypto package: namespace crypto = 'flash.crypto'; trace(crypto::\['generateRandomBytes'\](8)); // returns a ByteArray with 8 random bytes S…

---

## [As2 Horizontal Gallery - Headache](https://forum.kirupa.com/t/as2-horizontal-gallery-headache/319648)

<div class="topic-metadata">

**Author:** [@tbone101](https://forum.kirupa.com/u/tbone101)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 12:03pm UTC](https://forum.kirupa.com/t/as2-horizontal-gallery-headache/319648 "2011-02-28T12:03:54Z")

</div>

Hi all I'm developing a horizontal scrolling loop gallery which currently works using button controls. However what i'm stuck on is i would like it to scroll through the images with a delay by its self. i can't find a…

---

## [AS3 \<--\> ASP communication](https://forum.kirupa.com/t/as3-asp-communication/319646)

<div class="topic-metadata">

**Author:** [@walterTheManiac](https://forum.kirupa.com/u/walterTheManiac)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 11:42am UTC](https://forum.kirupa.com/t/as3-asp-communication/319646 "2011-02-28T11:42:52Z")

</div>

Hi guys, Im having hell of a lot of trouble with finding a propper example of the following: An AS3 flash project that reads a variable posted by ASP and then sends another variable to another asp file which then rece…

---

## [Create Projector via command](https://forum.kirupa.com/t/create-projector-via-command/319639)

<div class="topic-metadata">

**Author:** [@trzeci\_eu](https://forum.kirupa.com/u/trzeci_eu)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 1:51am UTC](https://forum.kirupa.com/t/create-projector-via-command/319639 "2011-02-28T01:51:15Z")

</div>

Hello, Is any solution to create projector via command? I have not to use "Create Projector" from menu, because I have responser for Event.FULLSCREAN, and I quit application. I can not use Flash IDE, because I use 10.2…

---

## [Need very simple AS3 game ideas](https://forum.kirupa.com/t/need-very-simple-as3-game-ideas/319638)

<div class="topic-metadata">

**Author:** [@arunarun](https://forum.kirupa.com/u/arunarun)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 12:34am UTC](https://forum.kirupa.com/t/need-very-simple-as3-game-ideas/319638 "2011-02-28T00:34:54Z")

</div>

Hello, I am going to be teaching a Flash CS5/ActionScript 3.0 class to 12-14 year olds, and I need some simple ideas and code. These are teenagers, so I am not seeking to get too complicated, but some simple ideas wo…

---

## [Detecting the resolutions of webcams](https://forum.kirupa.com/t/detecting-the-resolutions-of-webcams/319637)

<div class="topic-metadata">

**Author:** [@LeonardLew](https://forum.kirupa.com/u/LeonardLew)\
**Replies:** 0\
**Last updated:** [February 28, 2011, 12:24am UTC](https://forum.kirupa.com/t/detecting-the-resolutions-of-webcams/319637 "2011-02-28T00:24:41Z")

</div>

Hey there, as pretty much anyone who has ever messed around with this part of AS3 I've run into an issue with detecting the resolution of the webcams hooked up to the individual machines. Now while the documentation…

---

## [AS3.0 Book](https://forum.kirupa.com/t/as3-0-book/319635)

<div class="topic-metadata">

**Author:** [@FlashAj325](https://forum.kirupa.com/u/FlashAj325)\
**Replies:** 0\
**Last updated:** [February 27, 2011, 8:50pm UTC](https://forum.kirupa.com/t/as3-0-book/319635 "2011-02-27T20:50:32Z")

</div>

\[FONT="Courier New"\]Hello! I am no longer new, as many of you may know. But that is not important right now. I would like to get as much out of my learning experience as I possibly can, but I seem to be up a creek withou…

---

## [Locking Letter Spacing](https://forum.kirupa.com/t/locking-letter-spacing/319633)

<div class="topic-metadata">

**Author:** [@VeddyCent](https://forum.kirupa.com/u/VeddyCent)\
**Replies:** 0\
**Last updated:** [February 27, 2011, 7:48pm UTC](https://forum.kirupa.com/t/locking-letter-spacing/319633 "2011-02-27T19:48:37Z")

</div>

Hey, I have a textbox on the stage where its letter spacing is set to 4. When I change the textbox content with code the letter spacing goes back to 0. So is there a way to lock the text spacing or do I have to creat…

---

## [Loading Ext Swf into movieclip](https://forum.kirupa.com/t/loading-ext-swf-into-movieclip/319632)

<div class="topic-metadata">

**Author:** [@Sauce](https://forum.kirupa.com/u/Sauce)\
**Replies:** 0\
**Last updated:** [February 27, 2011, 2:55pm UTC](https://forum.kirupa.com/t/loading-ext-swf-into-movieclip/319632 "2011-02-27T14:55:45Z")

</div>

Hi all, I am new here and even to actionscripting. I am trying the follwoing and need help. Urgent! I have created a drop down menu from which I am loading ext swf to the main screen. I am able to load the ext swf wi…

---

## [Symbol Definitions - problem](https://forum.kirupa.com/t/symbol-definitions-problem/319630)

<div class="topic-metadata">

**Author:** [@sicga](https://forum.kirupa.com/u/sicga)\
**Replies:** 0\
**Last updated:** [February 27, 2011, 12:30pm UTC](https://forum.kirupa.com/t/symbol-definitions-problem/319630 "2011-02-27T12:30:36Z")

</div>

Hi I'm trying to get back into doing Flash after a couple of years so I opened a project I partly completed some time ago in order to finish it off. I tried to reproduce the actionscript 2 code in Flash 8 but there i…

---

## [Making external sound files play instantly?](https://forum.kirupa.com/t/making-external-sound-files-play-instantly/319627)

<div class="topic-metadata">

**Author:** [@Mr\_Magoolachub](https://forum.kirupa.com/u/Mr_Magoolachub)\
**Replies:** 0\
**Last updated:** [February 27, 2011, 5:09am UTC](https://forum.kirupa.com/t/making-external-sound-files-play-instantly/319627 "2011-02-27T05:09:27Z")

</div>

Hi, recently a friend of mine has asked me if I could create a program for him in flash which would be able to play sounds corresponding to keys on the keyboard, but split in to 3 groups, and only 1 sound from each group…

---

## [Rendering outside stage boundaries](https://forum.kirupa.com/t/rendering-outside-stage-boundaries/319626)

<div class="topic-metadata">

**Author:** [@Donutfiend84](https://forum.kirupa.com/u/Donutfiend84)\
**Replies:** 0\
**Last updated:** [February 27, 2011, 4:37am UTC](https://forum.kirupa.com/t/rendering-outside-stage-boundaries/319626 "2011-02-27T04:37:08Z")

</div>

I realize there have been a number of other threads on this subject, but none of the solutions seems to be working for me. I am developing a flash file, that will dynamically load other swf's and play them on screen, b…

---

## [Multiple ground isntances using Arrays \[Help please\]](https://forum.kirupa.com/t/multiple-ground-isntances-using-arrays-help-please/319623)

<div class="topic-metadata">

**Author:** [@JoeyMaru](https://forum.kirupa.com/u/JoeyMaru)\
**Replies:** 0\
**Last updated:** [February 26, 2011, 11:38pm UTC](https://forum.kirupa.com/t/multiple-ground-isntances-using-arrays-help-please/319623 "2011-02-26T23:38:13Z")

</div>

Hello everyone! I've been browsing this forum for a long time, and I wanted to make an account so I could actually communicate with it's members. \[smile\] Currently I'm working on a game engine with a friend of mine, …

---

## [Help me pleeeasseee](https://forum.kirupa.com/t/help-me-pleeeasseee/319622)

<div class="topic-metadata">

**Author:** [@spritez85](https://forum.kirupa.com/u/spritez85)\
**Replies:** 0\
**Last updated:** [February 26, 2011, 8:59pm UTC](https://forum.kirupa.com/t/help-me-pleeeasseee/319622 "2011-02-26T20:59:35Z")

</div>

\*\*I am trying to figure out how to even go about solving javascript problem and after hours of trying to do this myself, I've come to the conclusion I am just not smart enough and I am hoping someone out there is! \*\* Y…

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

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