# programming

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

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

**Page:** 564

---

## [Math Random Memory Game CS3](https://forum.kirupa.com/t/math-random-memory-game-cs3/304682)

<div class="topic-metadata">

**Author:** [@Joepiooo](https://forum.kirupa.com/u/Joepiooo)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 7:08pm UTC](https://forum.kirupa.com/t/math-random-memory-game-cs3/304682 "2010-02-11T19:08:04Z")

</div>

Hello, I made a memory game with a tutorial. My knowledge of AS3 is not that good so I have the following question. There is a function like Math.Random to random generate number and put them on stage. I made a memory …

---

## [Help rookie](https://forum.kirupa.com/t/help-rookie/304681)

<div class="topic-metadata">

**Author:** [@duchman](https://forum.kirupa.com/u/duchman)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 6:55pm UTC](https://forum.kirupa.com/t/help-rookie/304681 "2010-02-11T18:55:22Z")

</div>

hello,Im so new in this, help.. I have looped 5 frame movie clip on stage contained of several objects. IN3rd layer I have a button symbol "logo" in frame by frame mc, which reacts on rollovers made in "over" state of a …

---

## [Get Movie Clip Problem](https://forum.kirupa.com/t/get-movie-clip-problem/304679)

<div class="topic-metadata">

**Author:** [@shapper](https://forum.kirupa.com/u/shapper)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 6:12pm UTC](https://forum.kirupa.com/t/get-movie-clip-problem/304679 "2010-02-11T18:12:12Z")

</div>

Hello, I have a MC on my stage and I am trying to get it using the following: var r: MovieClip = getChildByName('MyMovie'); I get an error: 1118: Implicit coercion of a value with static type flash.display:DisplayObj…

---

## [AS for Proportional Scaling makes MC Disappear?](https://forum.kirupa.com/t/as-for-proportional-scaling-makes-mc-disappear/304678)

<div class="topic-metadata">

**Author:** [@adefesche](https://forum.kirupa.com/u/adefesche)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 5:59pm UTC](https://forum.kirupa.com/t/as-for-proportional-scaling-makes-mc-disappear/304678 "2010-02-11T17:59:09Z")

</div>

Hey all, hoping I might be able to get a hand here. I'm creating a simple liquid flash site layout with one MC that does not scale and remains at a constant position, and one mc that should stretch to fit either the hei…

---

## [\[AS2\] How do I rotate a movie clip based on time?](https://forum.kirupa.com/t/as2-how-do-i-rotate-a-movie-clip-based-on-time/304675)

<div class="topic-metadata">

**Author:** [@himynameiscat](https://forum.kirupa.com/u/himynameiscat)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 5:34pm UTC](https://forum.kirupa.com/t/as2-how-do-i-rotate-a-movie-clip-based-on-time/304675 "2010-02-11T17:34:02Z")

</div>

Basically what I'm trying to do is make a sundial-style clock animation. I'm using AS2 in Flash CS4. I'm still quite new to Flash so my AS know-how is slightly limited... I want to get the time from the user's comput…

---

## [Multiple WHILE loops on one page](https://forum.kirupa.com/t/multiple-while-loops-on-one-page/304673)

<div class="topic-metadata">

**Author:** [@skot00mc](https://forum.kirupa.com/u/skot00mc)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 4:55pm UTC](https://forum.kirupa.com/t/multiple-while-loops-on-one-page/304673 "2010-02-11T16:55:46Z")

</div>

I'm finding that if there is more than one WHILE loop on a page, the first loop returns a mysql error, as well as the other loops fail. So, for example, I have a SELECT query on two tables, and then one WHILE loop list…

---

## [Renaming movieclip](https://forum.kirupa.com/t/renaming-movieclip/304672)

<div class="topic-metadata">

**Author:** [@akram85s](https://forum.kirupa.com/u/akram85s)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 4:15pm UTC](https://forum.kirupa.com/t/renaming-movieclip/304672 "2010-02-11T16:15:58Z")

</div>

i'm doing this var Length:Number=10; for (var i:uint=0; i\<Length; i++) { var Box:Table= new Table(); Box.x=i\*Box.width; Box.PersonName.text=TreeXML.Table.Na… addChild(Box); } /\* every thing is fine till now, but …

---

## [AS3: DisplacementMapFilter for image morphing](https://forum.kirupa.com/t/as3-displacementmapfilter-for-image-morphing/304671)

<div class="topic-metadata">

**Author:** [@digits](https://forum.kirupa.com/u/digits)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 4:06pm UTC](https://forum.kirupa.com/t/as3-displacementmapfilter-for-image-morphing/304671 "2010-02-11T16:06:53Z")

</div>

Hi guys, it's been a while... Recently I have been building an application to manipulate images, and as a part of that I have adapted a class to morph dynamically loaded images. The problem I am having is that when i…

---

## [Text Area Gotcha](https://forum.kirupa.com/t/text-area-gotcha/304670)

<div class="topic-metadata">

**Author:** [@RollingSton3](https://forum.kirupa.com/u/RollingSton3)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 4:02pm UTC](https://forum.kirupa.com/t/text-area-gotcha/304670 "2010-02-11T16:02:11Z")

</div>

I hoping someone with Flash CS3 can take the time to try and recreate this to see if this is really what I ran into or if I had some other problem going on. Here's what I did to run into the problem: Made a new flash f…

---

## [2D game "field-of-vision"](https://forum.kirupa.com/t/2d-game-field-of-vision/304669)

<div class="topic-metadata">

**Author:** [@ThreeDollarBill](https://forum.kirupa.com/u/ThreeDollarBill)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 3:32pm UTC](https://forum.kirupa.com/t/2d-game-field-of-vision/304669 "2010-02-11T15:32:49Z")

</div>

i am trying to make a 2D top-view shooter game.. the enemies will have a "field of vision" / "field of sight" which will depict what they can and can't see.. its sort of like a projection in front of the enemies, and if …

---

## [Add particles from an Array inside to a MovieClip](https://forum.kirupa.com/t/add-particles-from-an-array-inside-to-a-movieclip/304667)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 3:22pm UTC](https://forum.kirupa.com/t/add-particles-from-an-array-inside-to-a-movieclip/304667 "2010-02-11T15:22:55Z")

</div>

var myArray:Array = new Array(); for(var i=0; i\<10; i++){ var p:Particle = new Particle(); p.x = Math.random() \* 250; p.y = Math.random() \* 250; addChild(p); myArray.push(p); } Hi, I have this array of particle…

---

## [Form Not Emailing/Submiting](https://forum.kirupa.com/t/form-not-emailing-submiting/304661)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 12:37pm UTC](https://forum.kirupa.com/t/form-not-emailing-submiting/304661 "2010-02-11T12:37:53Z")

</div>

I have a form that should send to my email address (as it has always done in the past with the same form), but for some reason it is not at all. Is there something wrong with my code, or my hosting service. I have use…

---

## [Dynamic Movie Clip Creating Help](https://forum.kirupa.com/t/dynamic-movie-clip-creating-help/304660)

<div class="topic-metadata">

**Author:** [@Kainevg](https://forum.kirupa.com/u/Kainevg)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 11:57am UTC](https://forum.kirupa.com/t/dynamic-movie-clip-creating-help/304660 "2010-02-11T11:57:24Z")

</div>

Hey guys, For my game, I need it so when you click a button, a certain movie clip gets created at a certain place.. thats been done fine.. I need it so if you click on another button AFTER the movie clip has been creat…

---

## [Load & Unload with Action Script 3](https://forum.kirupa.com/t/load-unload-with-action-script-3/304659)

<div class="topic-metadata">

**Author:** [@hani3d](https://forum.kirupa.com/u/hani3d)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 11:42am UTC](https://forum.kirupa.com/t/load-unload-with-action-script-3/304659 "2010-02-11T11:42:37Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]Hi,\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\]Anybody can help me to complete my project \>\>\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\]My project is PC software and not related to web.\[/FONT\]\[…

---

## [Passing a URL with PARAM and Embeded](https://forum.kirupa.com/t/passing-a-url-with-param-and-embeded/304657)

<div class="topic-metadata">

**Author:** [@chemicaldesign](https://forum.kirupa.com/u/chemicaldesign)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 11:14am UTC](https://forum.kirupa.com/t/passing-a-url-with-param-and-embeded/304657 "2010-02-11T11:14:52Z")

</div>

Dear All, I have trawled through many flash sites and forums and just can't find a solution to this problem. I have a Flash into that is embedded in an HTML file. At the end of the intro I want to do to another HTML …

---

## [Dynamic text in Dynamic MovieClip](https://forum.kirupa.com/t/dynamic-text-in-dynamic-movieclip/304656)

<div class="topic-metadata">

**Author:** [@h3d0](https://forum.kirupa.com/u/h3d0)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 10:32am UTC](https://forum.kirupa.com/t/dynamic-text-in-dynamic-movieclip/304656 "2010-02-11T10:32:48Z")

</div>

Greetings everyone! I’ve created a MovieClip and placed a Dynamic Text into this clip. I’ve named the text “text\_txt”; I’ve exported my MovieClip for action script (made it a class) and gave it name “ImageContainer”; A…

---

## [Restrict Enterkey](https://forum.kirupa.com/t/restrict-enterkey/304654)

<div class="topic-metadata">

**Author:** [@shemimp](https://forum.kirupa.com/u/shemimp)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 8:59am UTC](https://forum.kirupa.com/t/restrict-enterkey/304654 "2010-02-11T08:59:38Z")

</div>

I just want to restrict enterkey of an input textbox and multiline property should be true.anybody can help me? I am using a multiline=true input textbox.I want to disable enterkey. ie when user clicking on enterkey af…

---

## [How To create FLV file Recorder - Please Help me](https://forum.kirupa.com/t/how-to-create-flv-file-recorder-please-help-me/304651)

<div class="topic-metadata">

**Author:** [@faizi](https://forum.kirupa.com/u/faizi)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 7:53am UTC](https://forum.kirupa.com/t/how-to-create-flv-file-recorder-please-help-me/304651 "2010-02-11T07:53:47Z")

</div>

I want to create FLV file Recorder in flash currently im create FLV recorder using Electro Server 4...in this file video captured And Record also but not save to my folder... please help me put \[frowning\] plzzz do an…

---

## [RPG for learning a language?](https://forum.kirupa.com/t/rpg-for-learning-a-language/304639)

<div class="topic-metadata">

**Author:** [@jarmel123](https://forum.kirupa.com/u/jarmel123)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 2:49am UTC](https://forum.kirupa.com/t/rpg-for-learning-a-language/304639 "2010-02-11T02:49:16Z")

</div>

I'm thinking a game like 'stick RPG' from xgenstudios except you're dropped into a city of some foreign country (say France) and the player starts at the airport, walks outside and meets the driver that's been arranged f…

---

## [Get global position of movieclip inside a movieclip](https://forum.kirupa.com/t/get-global-position-of-movieclip-inside-a-movieclip/304634)

<div class="topic-metadata">

**Author:** [@waverider303](https://forum.kirupa.com/u/waverider303)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 12:09am UTC](https://forum.kirupa.com/t/get-global-position-of-movieclip-inside-a-movieclip/304634 "2010-02-11T00:09:51Z")

</div>

I have a movie clip called "myMC". I set its x value as such: \[AS\] var myMC:MovieClip = new MovieClip(); addChild(myMC); myMC.x = 100; myMC.y = 243; \[/AS\] I then Have another movie clip that is inside "myMC": \[AS\] v…

---

## [Need Help understanding as3 please](https://forum.kirupa.com/t/need-help-understanding-as3-please/304626)

<div class="topic-metadata">

**Author:** [@marvy](https://forum.kirupa.com/u/marvy)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 11:11pm UTC](https://forum.kirupa.com/t/need-help-understanding-as3-please/304626 "2010-02-10T23:11:55Z")

</div>

I feel tired and defeated, when it was just as2 I could jumble up some code and just make things work, I can do it with php but not with as3, it just trows errors into my face accompanied by descriptions which I cant mak…

---

## [How do I go about animating and using the animated scene?](https://forum.kirupa.com/t/how-do-i-go-about-animating-and-using-the-animated-scene/304622)

<div class="topic-metadata">

**Author:** [@oluc](https://forum.kirupa.com/u/oluc)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 10:08pm UTC](https://forum.kirupa.com/t/how-do-i-go-about-animating-and-using-the-animated-scene/304622 "2010-02-10T22:08:09Z")

</div>

I am trying to work out the smartest way to do an animation and I hope someone can help me here. I have a scene with water and 2 boats and I need to get the boats moving as if they are swaying in the water at the dock.…

---

## [TIP: The Language Reference at the tip of your fingers](https://forum.kirupa.com/t/tip-the-language-reference-at-the-tip-of-your-fingers/304619)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 9:44pm UTC](https://forum.kirupa.com/t/tip-the-language-reference-at-the-tip-of-your-fingers/304619 "2010-02-10T21:44:59Z")

</div>

Would this go better in "Showcases and Critiques"? It's more of a little tutorial than an AS3 project or library, so I wasn't sure where to place it. I thought I would take advantage of a bit of Kirupa's traffic to get…

---

## [\[Renamed\] Changing a TextField's Font and Color](https://forum.kirupa.com/t/renamed-changing-a-textfields-font-and-color/304616)

<div class="topic-metadata">

**Author:** [@spielcool](https://forum.kirupa.com/u/spielcool)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 8:55pm UTC](https://forum.kirupa.com/t/renamed-changing-a-textfields-font-and-color/304616 "2010-02-10T20:55:47Z")

</div>

hi all, i am new user of flash and learning the flash script. i have got this script in flash8 help. but not able to change the font type and color. could anyone help me.......plzzzz ...............................…

---

## [Collision detections for multiple mc](https://forum.kirupa.com/t/collision-detections-for-multiple-mc/304615)

<div class="topic-metadata">

**Author:** [@Matrix015](https://forum.kirupa.com/u/Matrix015)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 8:44pm UTC](https://forum.kirupa.com/t/collision-detections-for-multiple-mc/304615 "2010-02-10T20:44:56Z")

</div>

I am trying to create collision detection between mcs without having to write the code 10 times. I thought this would work but it gives me this error: TypeError: Error #1034: Type Coercion failed: cannot convert "crisi…

---

## [List Component html text](https://forum.kirupa.com/t/list-component-html-text/304614)

<div class="topic-metadata">

**Author:** [@DashMasterful](https://forum.kirupa.com/u/DashMasterful)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 8:42pm UTC](https://forum.kirupa.com/t/list-component-html-text/304614 "2010-02-10T20:42:43Z")

</div>

so i have a List component that acts as a table of contents for my slider viewer, it displays the title of each slide, but i'm using a cdata tag inside the html, needless to say the cdata tag appears on each slide tilte …

---

## [CSS - Height change is shifting site](https://forum.kirupa.com/t/css-height-change-is-shifting-site/304613)

<div class="topic-metadata">

**Author:** [@split67](https://forum.kirupa.com/u/split67)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 8:25pm UTC](https://forum.kirupa.com/t/css-height-change-is-shifting-site/304613 "2010-02-10T20:25:58Z")

</div>

I have 2 different background images for the home and about pages. The about page bg's height is greater than the home page (#content). When i specify the height for the about page (#content2), it shifts the entire site …

---

## [Pipe Dream / Toobz](https://forum.kirupa.com/t/pipe-dream-toobz/304608)

<div class="topic-metadata">

**Author:** [@okashira](https://forum.kirupa.com/u/okashira)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 6:42pm UTC](https://forum.kirupa.com/t/pipe-dream-toobz/304608 "2010-02-10T18:42:56Z")

</div>

Hi! I'm "trying" to recreate an old game called pipe dreams, I've also seen this game for the ipod touch/ iphone(called toobz). I have most of the game figured out and have also created a basic layout which will be b…

---

## [Display Objects and nested movie clips](https://forum.kirupa.com/t/display-objects-and-nested-movie-clips/304603)

<div class="topic-metadata">

**Author:** [@ligaa](https://forum.kirupa.com/u/ligaa)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 6:16pm UTC](https://forum.kirupa.com/t/display-objects-and-nested-movie-clips/304603 "2010-02-10T18:16:33Z")

</div>

Hey all, Can anyone give a good, accurate description of the relationship between the Display Object hierarchy and nested movie clips? Here's my issue: I have a movie clip, that has a few movie clips and text fields …

---

## [AS3: Moving Camera?](https://forum.kirupa.com/t/as3-moving-camera/304601)

<div class="topic-metadata">

**Author:** [@lgm432](https://forum.kirupa.com/u/lgm432)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 5:09pm UTC](https://forum.kirupa.com/t/as3-moving-camera/304601 "2010-02-10T17:09:37Z")

</div>

I don't know much about making a platformer, and can't find and good guides WRITTEN IN AS3 that explain how to make one. So if anyone could either tell me how to make the screen move with the character USING AS3 OR point…

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

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