# programming

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

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

**Page:** 586

---

## [Help with if/then statements, or a better solution?](https://forum.kirupa.com/t/help-with-if-then-statements-or-a-better-solution/303322)

<div class="topic-metadata">

**Author:** [@vigordesign](https://forum.kirupa.com/u/vigordesign)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 6:17pm UTC](https://forum.kirupa.com/t/help-with-if-then-statements-or-a-better-solution/303322 "2010-01-18T18:17:08Z")

</div>

Hey there, I just got a new job as a Flash Developer and my skills are a bit rusty. Been away from Flash for a few years. I have a page within a presentation that I need to have the user click on all 3 movieclips on …

---

## [Accessing nested Movieclips from loaded SWF](https://forum.kirupa.com/t/accessing-nested-movieclips-from-loaded-swf/303318)

<div class="topic-metadata">

**Author:** [@aaron2004](https://forum.kirupa.com/u/aaron2004)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 5:40pm UTC](https://forum.kirupa.com/t/accessing-nested-movieclips-from-loaded-swf/303318 "2010-01-18T17:40:42Z")

</div>

(duplicate post...erase)

---

## [Decode variables from PHP](https://forum.kirupa.com/t/decode-variables-from-php/303317)

<div class="topic-metadata">

**Author:** [@tbAS3](https://forum.kirupa.com/u/tbAS3)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 5:36pm UTC](https://forum.kirupa.com/t/decode-variables-from-php/303317 "2010-01-18T17:36:59Z")

</div>

Hi, Been searching around to find a solution with no luck. I do hope someone can help here, or point me to a solution. This is all very new... I've got a simple page in Flash that takes user info from three input box…

---

## [HitTestPoint trouble when moving root](https://forum.kirupa.com/t/hittestpoint-trouble-when-moving-root/303316)

<div class="topic-metadata">

**Author:** [@albino](https://forum.kirupa.com/u/albino)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 5:35pm UTC](https://forum.kirupa.com/t/hittestpoint-trouble-when-moving-root/303316 "2010-01-18T17:35:41Z")

</div>

Hi, basically, I'm having trouble with the hitTestPoint method. As soon as I move the root of the swf, it no longer works as it should. To see what I mean, run this code: package todd.test { import flash.disp…

---

## [How to assign a function with arguments into a variable?](https://forum.kirupa.com/t/how-to-assign-a-function-with-arguments-into-a-variable/303315)

<div class="topic-metadata">

**Author:** [@zoink](https://forum.kirupa.com/u/zoink)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 5:26pm UTC](https://forum.kirupa.com/t/how-to-assign-a-function-with-arguments-into-a-variable/303315 "2010-01-18T17:26:05Z")

</div>

Here's my problem: I need to assign this function: var f2:Function = function(i:String){ trace("this is " + i); } into a separate variable.. something like var testVar:Function = f2("TestString"); This doesn't …

---

## [MovieLaoder Troubleshooting](https://forum.kirupa.com/t/movielaoder-troubleshooting/303314)

<div class="topic-metadata">

**Author:** [@arctavian](https://forum.kirupa.com/u/arctavian)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 5:20pm UTC](https://forum.kirupa.com/t/movielaoder-troubleshooting/303314 "2010-01-18T17:20:32Z")

</div>

Could someone tell me why dynamic text won't show up when using MovieLoader. I'm using Movie Loader to break down a flash website into different parts but when I try to load a dynamic text that access a .txt file it won'…

---

## [Loading Images from Array Randomly](https://forum.kirupa.com/t/loading-images-from-array-randomly/303313)

<div class="topic-metadata">

**Author:** [@lletdownl](https://forum.kirupa.com/u/lletdownl)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 5:15pm UTC](https://forum.kirupa.com/t/loading-images-from-array-randomly/303313 "2010-01-18T17:15:27Z")

</div>

Hi Everyone... i am having a bit of trouble and am hoping for some feedback. I am trying, with this code, to first, shuffle the order of the images in the array so their loading sequence is never the same when the page…

---

## [Adding a "sort by" function to a gallery](https://forum.kirupa.com/t/adding-a-sort-by-function-to-a-gallery/303311)

<div class="topic-metadata">

**Author:** [@Heerefishyfish](https://forum.kirupa.com/u/Heerefishyfish)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 4:42pm UTC](https://forum.kirupa.com/t/adding-a-sort-by-function-to-a-gallery/303311 "2010-01-18T16:42:21Z")

</div>

Hi all, I have a portfolio page that showcases my work, and am interested in offering the ability to "filter" the thumbmails of each by various tags. This can be seen in action here www.thefwa.com. The sorting button…

---

## [.currentFrame special in some way?](https://forum.kirupa.com/t/currentframe-special-in-some-way/303305)

<div class="topic-metadata">

**Author:** [@Eppiox](https://forum.kirupa.com/u/Eppiox)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 3:36pm UTC](https://forum.kirupa.com/t/currentframe-special-in-some-way/303305 "2010-01-18T15:36:08Z")

</div>

Basically i have a mini map and i want to check what a mini map tile is playing at. so i tried to trace it, thinking that the error i get was only because the tile was not yet instantiated i made the following function a…

---

## [Removing eventlistener from deleted instance](https://forum.kirupa.com/t/removing-eventlistener-from-deleted-instance/303304)

<div class="topic-metadata">

**Author:** [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 2:40pm UTC](https://forum.kirupa.com/t/removing-eventlistener-from-deleted-instance/303304 "2010-01-18T14:40:29Z")

</div>

Hey all, in my main I have a system that allowed certain classes to be loaded and unloaded. When I load Game.as, it contains a trace statement when you press the left arrow key. When I remove the game instance from the…

---

## [Call MC to stage (random)](https://forum.kirupa.com/t/call-mc-to-stage-random/303301)

<div class="topic-metadata">

**Author:** [@Pafke](https://forum.kirupa.com/u/Pafke)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 1:54pm UTC](https://forum.kirupa.com/t/call-mc-to-stage-random/303301 "2010-01-18T13:54:53Z")

</div>

Hi, I think this is quite a basic code, but for some reason I can't figure out how to do it ^^. I've got an MC that walks a path, this path is tweened, not scripted. Now this MC is in my library, I want this MC to spaw…

---

## [PHP - Uploading file and sending via PHP - in a pickle!](https://forum.kirupa.com/t/php-uploading-file-and-sending-via-php-in-a-pickle/303300)

<div class="topic-metadata">

**Author:** [@fulci](https://forum.kirupa.com/u/fulci)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 1:38pm UTC](https://forum.kirupa.com/t/php-uploading-file-and-sending-via-php-in-a-pickle/303300 "2010-01-18T13:38:28Z")

</div>

Hey all, I'm in a pickle here with a tiny bit of PHP. I have a code which allows users to upload a file, write a message, and then it off to whoever. However, I really need the option of up to three files being upload, w…

---

## [Need Help with Guitar Hero Type of Game](https://forum.kirupa.com/t/need-help-with-guitar-hero-type-of-game/303296)

<div class="topic-metadata">

**Author:** [@redback93](https://forum.kirupa.com/u/redback93)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 12:38pm UTC](https://forum.kirupa.com/t/need-help-with-guitar-hero-type-of-game/303296 "2010-01-18T12:38:52Z")

</div>

Hello. I am trying to make a game like guitar hero. I am inside the Blue Button's code and there are some errors. Here is the code: package { import flash.display.MovieClip; import flash.ui.Keyboard; import flash.e…

---

## [For Sale 32GB Apple iPhone 3Gs : €180 euro](https://forum.kirupa.com/t/for-sale-32gb-apple-iphone-3gs-180-euro/303291)

<div class="topic-metadata">

**Author:** [@oyinphones](https://forum.kirupa.com/u/oyinphones)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 11:05am UTC](https://forum.kirupa.com/t/for-sale-32gb-apple-iphone-3gs-180-euro/303291 "2010-01-18T11:05:23Z")

</div>

We are recognized distributor of various consumer electronics. We specialize in a wide range of products such as Laptops, Cell Phones, Xbox 360, Sony Psp, plasma TV, Pda Phones, MP3 and MP4, video games console, digital …

---

## [Update the Flash variable in the Database without loading the Web document(Php)](https://forum.kirupa.com/t/update-the-flash-variable-in-the-database-without-loading-the-web-document-php/303288)

<div class="topic-metadata">

**Author:** [@dinesh\_cape](https://forum.kirupa.com/u/dinesh_cape)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 10:31am UTC](https://forum.kirupa.com/t/update-the-flash-variable-in-the-database-without-loading-the-web-document-php/303288 "2010-01-18T10:31:56Z")

</div>

Hi friend.. Now i am working on a gaming portal. So that i need to update the score of the user into the MYsql database from Falsh. Whether any direct connection between the database and flash means please advice me in…

---

## [Preloading Google Maps API](https://forum.kirupa.com/t/preloading-google-maps-api/303286)

<div class="topic-metadata">

**Author:** [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 10:00am UTC](https://forum.kirupa.com/t/preloading-google-maps-api/303286 "2010-01-18T10:00:28Z")

</div>

Hi, Is it possible to preload the Google Maps API. I have obviously preloaded my movie but would like to do the same for my Map as when it loads there is a plain grey background as it loads (can I change the colour of…

---

## [Actionscript course in London?](https://forum.kirupa.com/t/actionscript-course-in-london/303285)

<div class="topic-metadata">

**Author:** [@Alisha](https://forum.kirupa.com/u/Alisha)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 9:50am UTC](https://forum.kirupa.com/t/actionscript-course-in-london/303285 "2010-01-18T09:50:14Z")

</div>

Hi, I'm interested in doing an Actionscript course in London in the next months, but there are so many I don't know which one to choose. I'm looking for a 3-day course. Any suggestions/recommendations? Thanks a lot

---

## [Display button text as HTML?](https://forum.kirupa.com/t/display-button-text-as-html/303282)

<div class="topic-metadata">

**Author:** [@stephsh](https://forum.kirupa.com/u/stephsh)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 8:49am UTC](https://forum.kirupa.com/t/display-button-text-as-html/303282 "2010-01-18T08:49:32Z")

</div>

I have created a series of buttons in C# and would like their text to be displayed in HTML. Can I do this without changing the button to an HTML button? protected void CreateButton() { btnSkill = new Button(); btnSki…

---

## [Walking simulation](https://forum.kirupa.com/t/walking-simulation/303278)

<div class="topic-metadata">

**Author:** [@ricardokb](https://forum.kirupa.com/u/ricardokb)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 6:17am UTC](https://forum.kirupa.com/t/walking-simulation/303278 "2010-01-18T06:17:53Z")

</div>

Hi all, I've been studying few flash tutorials from this site (very good ones, I must say). On what I am focused is to develop a "game" (to call it some how) where you control a person (from third person) and you can…

---

## [How to search and display the results in flash](https://forum.kirupa.com/t/how-to-search-and-display-the-results-in-flash/303276)

<div class="topic-metadata">

**Author:** [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 5:25am UTC](https://forum.kirupa.com/t/how-to-search-and-display-the-results-in-flash/303276 "2010-01-18T05:25:25Z")

</div>

Hello Friends, I am working in Flash 8 and using AS 2.0 coding. I am working with page flipping application. Here i have an option "search". I will tell you the scenario. Here I am loading images/pages dynamicall…

---

## [Open source C Flash compiler/player?](https://forum.kirupa.com/t/open-source-c-flash-compiler-player/303274)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 4:57am UTC](https://forum.kirupa.com/t/open-source-c-flash-compiler-player/303274 "2010-01-18T04:57:18Z")

</div>

Am I asking too much when looking for an open source Flash Player or AS3 compiler? C would be best if possible... I found one player, but it's only for AS2. \[frowning\] Anyone else know of any?

---

## [Simple code request](https://forum.kirupa.com/t/simple-code-request/303270)

<div class="topic-metadata">

**Author:** [@Sbarton22](https://forum.kirupa.com/u/Sbarton22)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 3:56am UTC](https://forum.kirupa.com/t/simple-code-request/303270 "2010-01-18T03:56:33Z")

</div>

I am just restarting my flash adventures and am trying to learn AS3. I can a real quick code request. I am trying to make a MC bounce off the sides of the stage. When I use the following code, the MC gets stuck going…

---

## [Query for all of someone's friends](https://forum.kirupa.com/t/query-for-all-of-someones-friends/303269)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 3:47am UTC](https://forum.kirupa.com/t/query-for-all-of-someones-friends/303269 "2010-01-18T03:47:57Z")

</div>

TABLE user userId username 14 john 2 sally 3 mike Table friend userId friendId 14 2 3 14 3 2 I would like to query for the userId and username of all of john's friends. I att…

---

## [A Button to Disappear a MovieClip](https://forum.kirupa.com/t/a-button-to-disappear-a-movieclip/303267)

<div class="topic-metadata">

**Author:** [@Shertok](https://forum.kirupa.com/u/Shertok)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 12:59am UTC](https://forum.kirupa.com/t/a-button-to-disappear-a-movieclip/303267 "2010-01-18T00:59:45Z")

</div>

I would appreciate any help!! I have a button and 2 MovieClips, I am trying by clicking on a button to make one of them to be alpha=0. The result I keep getting is disappearing of all. These 2 MovieClips are on th…

---

## [Single Horiz. Sliding Image gallery](https://forum.kirupa.com/t/single-horiz-sliding-image-gallery/303265)

<div class="topic-metadata">

**Author:** [@Wubbena](https://forum.kirupa.com/u/Wubbena)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 12:42am UTC](https://forum.kirupa.com/t/single-horiz-sliding-image-gallery/303265 "2010-01-18T00:42:39Z")

</div>

http://www.mateuarchitecture.com/ Please take a look at the above site. Once past the intro pages their image gallery has 3 horiz. lines of images. The images move left when you move the mouse left and right when movin…

---

## [Begging for help with my flash portfolio](https://forum.kirupa.com/t/begging-for-help-with-my-flash-portfolio/303264)

<div class="topic-metadata">

**Author:** [@varget](https://forum.kirupa.com/u/varget)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 12:38am UTC](https://forum.kirupa.com/t/begging-for-help-with-my-flash-portfolio/303264 "2010-01-18T00:38:09Z")

</div>

I am new here at kiruopa so hi everyone! I have been working on my flash for a while now and have solved a few problems but now I am pretty stuck... My portfolio is made basically out of lynda tutorials so I am in now …

---

## [Help with dynamic nav/menu-Flash CS4](https://forum.kirupa.com/t/help-with-dynamic-nav-menu-flash-cs4/303263)

<div class="topic-metadata">

**Author:** [@chemaster](https://forum.kirupa.com/u/chemaster)\
**Replies:** 0\
**Last updated:** [January 18, 2010, 12:33am UTC](https://forum.kirupa.com/t/help-with-dynamic-nav-menu-flash-cs4/303263 "2010-01-18T00:33:44Z")

</div>

Hello, i recently ran into a couple of issues with a nav im building. im a designer, not an AS developer, so please excuse my noob AS skills, i am a beginner when it comes to this stuff. The nav itself is pretty basic, i…

---

## [Overlapping transparency](https://forum.kirupa.com/t/overlapping-transparency/303261)

<div class="topic-metadata">

**Author:** [@caltrop](https://forum.kirupa.com/u/caltrop)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 9:57pm UTC](https://forum.kirupa.com/t/overlapping-transparency/303261 "2010-01-17T21:57:56Z")

</div>

I have searched google and the forums for this topic but I cannot put together a good search phrase. Any links or suggestions would be helpful. I have a program that generates multiple circles that need to be semi-tra…

---

## [XML with flash](https://forum.kirupa.com/t/xml-with-flash/303255)

<div class="topic-metadata">

**Author:** [@oldballs](https://forum.kirupa.com/u/oldballs)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 9:38pm UTC](https://forum.kirupa.com/t/xml-with-flash/303255 "2010-01-17T21:38:00Z")

</div>

hey, im using xml for the fist time with AS2. I am not a coder .. just a designer (so please excuse my dumb actionscript) I used kirupa's XML photogallery tutorial and edited it down for what i need. Except right now …

---

## [Flash working methods](https://forum.kirupa.com/t/flash-working-methods/303253)

<div class="topic-metadata">

**Author:** [@Palendrome](https://forum.kirupa.com/u/Palendrome)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 8:42pm UTC](https://forum.kirupa.com/t/flash-working-methods/303253 "2010-01-17T20:42:08Z")

</div>

Hi, If you have a fairly lengthy interactive presentation with nested movide clips do you have to test compile every time and start at the beginning to check out your progress? If you have a few movieclips with text li…

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

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