# programming

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

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

**Page:** 271

---

## [Help with getDefinitionByName](https://forum.kirupa.com/t/help-with-getdefinitionbyname/322701)

<div class="topic-metadata">

**Author:** [@sami016](https://forum.kirupa.com/u/sami016)\
**Replies:** 0\
**Last updated:** [May 31, 2011, 10:24am UTC](https://forum.kirupa.com/t/help-with-getdefinitionbyname/322701 "2011-05-31T10:24:45Z")

</div>

Hey, Im having some trouble with getDefinitionByName. Basically I have a class called "tower\_arrow". I can create this tower and it works fine like this: var pr = new tower\_arrow(); However, I need a system that load…

---

## [Verlet collision detection, direction](https://forum.kirupa.com/t/verlet-collision-detection-direction/322700)

<div class="topic-metadata">

**Author:** [@johaannes](https://forum.kirupa.com/u/johaannes)\
**Replies:** 0\
**Last updated:** [May 31, 2011, 10:24am UTC](https://forum.kirupa.com/t/verlet-collision-detection-direction/322700 "2011-05-31T10:24:11Z")

</div>

Ok so I have been doing a bunch of flash games for a while now. And it has been fun doing them with some basic physics(euler). But there comes a time when you need to step out onto deep waters. So I decided I would try t…

---

## [Augmented Reality Game](https://forum.kirupa.com/t/augmented-reality-game/322699)

<div class="topic-metadata">

**Author:** [@bigpappi23](https://forum.kirupa.com/u/bigpappi23)\
**Replies:** 0\
**Last updated:** [May 31, 2011, 9:45am UTC](https://forum.kirupa.com/t/augmented-reality-game/322699 "2011-05-31T09:45:29Z")

</div>

hi guys....i'm trying to make an augmented reality game using flash CS4..my game will be composed of a main menu..and in the main menu you can either choose to start a new game,option,and exit button, what will i do to…

---

## [Augmented Reality](https://forum.kirupa.com/t/augmented-reality/322697)

<div class="topic-metadata">

**Author:** [@bigpappi23](https://forum.kirupa.com/u/bigpappi23)\
**Replies:** 0\
**Last updated:** [May 31, 2011, 9:39am UTC](https://forum.kirupa.com/t/augmented-reality/322697 "2011-05-31T09:39:32Z")

</div>

hi guys....i'm trying to make an augmented reality game..my game will be composed of a main menu..and in the main menu you can either choose to start a new game,option,and exit button, what will i do to make my backgroun…

---

## [Save input text to another textfield](https://forum.kirupa.com/t/save-input-text-to-another-textfield/322694)

<div class="topic-metadata">

**Author:** [@jeponkz](https://forum.kirupa.com/u/jeponkz)\
**Replies:** 0\
**Last updated:** [May 31, 2011, 6:02am UTC](https://forum.kirupa.com/t/save-input-text-to-another-textfield/322694 "2011-05-31T06:02:03Z")

</div>

How could I save the text in an input Textfield into another textfield?

---

## [I have no idea what is going on](https://forum.kirupa.com/t/i-have-no-idea-what-is-going-on/322693)

<div class="topic-metadata">

**Author:** [@joecoolman](https://forum.kirupa.com/u/joecoolman)\
**Replies:** 0\
**Last updated:** [May 31, 2011, 1:56am UTC](https://forum.kirupa.com/t/i-have-no-idea-what-is-going-on/322693 "2011-05-31T01:56:13Z")

</div>

It makes me angry. The code is simple and doesn't work. In a timeline of a movie I wrote: for (i=1; i\<6; i++) { wave.duplicateMovieClip("wave"+i,30+i); } function initposition(wn,xmax){ for (s=1; s\<6; s++) { this\[wn+…

---

## [phpMyAdmin Connection Issue](https://forum.kirupa.com/t/phpmyadmin-connection-issue/322691)

<div class="topic-metadata">

**Author:** [@CharlieAdams](https://forum.kirupa.com/u/CharlieAdams)\
**Replies:** 0\
**Last updated:** [May 30, 2011, 8:54pm UTC](https://forum.kirupa.com/t/phpmyadmin-connection-issue/322691 "2011-05-30T20:54:54Z")

</div>

I am using a mac with Dreamweaver CS4, XAMPP and phpMyAdmin. I cannot figure out why this code won't work? Are some of the codes not compatible with my OS? Every time I try and log in with the username and password I…

---

## [Advanced Drag And Drop!](https://forum.kirupa.com/t/advanced-drag-and-drop/322690)

<div class="topic-metadata">

**Author:** [@evolutionxbox](https://forum.kirupa.com/u/evolutionxbox)\
**Replies:** 0\
**Last updated:** [May 30, 2011, 7:15pm UTC](https://forum.kirupa.com/t/advanced-drag-and-drop/322690 "2011-05-30T19:15:10Z")

</div>

Drag and Drop! I have been reading some Drag and Drop tutorials, and they all require that I know the source moveclip and the target to know whether or not they have been 'hit'. Because there are multiple targets wit…

---

## [3D prevent cacheAsBitmap?](https://forum.kirupa.com/t/3d-prevent-cacheasbitmap/322689)

<div class="topic-metadata">

**Author:** [@patrickjv](https://forum.kirupa.com/u/patrickjv)\
**Replies:** 0\
**Last updated:** [May 30, 2011, 7:14pm UTC](https://forum.kirupa.com/t/3d-prevent-cacheasbitmap/322689 "2011-05-30T19:14:49Z")

</div>

Is there any way to add 3D properties like .z and .rotationY without the MovieClip's cacheAsBitmap property being automatically set to true? This automatic cacheAsBitmap to true messes up the visual of my MC (which is us…

---

## [Encrypt ActionScript in SWF](https://forum.kirupa.com/t/encrypt-actionscript-in-swf/322687)

<div class="topic-metadata">

**Author:** [@renton79](https://forum.kirupa.com/u/renton79)\
**Replies:** 0\
**Last updated:** [May 30, 2011, 5:53pm UTC](https://forum.kirupa.com/t/encrypt-actionscript-in-swf/322687 "2011-05-30T17:53:40Z")

</div>

Does anyone know really working encryption, obfuscation software to make it a bit harder to decode the source from SWF? I have tried demo from html magic, it doesn't work at all, after protecting swf it wont play, load…

---

## [AS3 Format numbers with comma](https://forum.kirupa.com/t/as3-format-numbers-with-comma/322683)

<div class="topic-metadata">

**Author:** [@mvrb](https://forum.kirupa.com/u/mvrb)\
**Replies:** 0\
**Last updated:** [May 30, 2011, 2:44pm UTC](https://forum.kirupa.com/t/as3-format-numbers-with-comma/322683 "2011-05-30T14:44:36Z")

</div>

Hello there. I’m showing the users score in a textbox. But if the number exceeds 1000 it should show 1.000 example: 10000000 =\> 10,000,000 I’ve been searching a lot on Google, but I just can’t make it work. Can anyone h…

---

## [Music Loop Trouble AS2](https://forum.kirupa.com/t/music-loop-trouble-as2/322679)

<div class="topic-metadata">

**Author:** [@redu4](https://forum.kirupa.com/u/redu4)\
**Replies:** 0\
**Last updated:** [May 30, 2011, 9:56am UTC](https://forum.kirupa.com/t/music-loop-trouble-as2/322679 "2011-05-30T09:56:04Z")

</div>

I'm making a musical plaything with loops and sound effects on buttons. I tried just getting the sound to work the old fashioned way, with this script on the only frame in the scene. newclip=houseloopID(); newclip.…

---

## [Playing different Flash Video Using the same AS3 FLVPlayback Component](https://forum.kirupa.com/t/playing-different-flash-video-using-the-same-as3-flvplayback-component/322677)

<div class="topic-metadata">

**Author:** [@deaconpt](https://forum.kirupa.com/u/deaconpt)\
**Replies:** 0\
**Last updated:** [May 30, 2011, 9:15am UTC](https://forum.kirupa.com/t/playing-different-flash-video-using-the-same-as3-flvplayback-component/322677 "2011-05-30T09:15:30Z")

</div>

Hello there, Noob alert \[image\] I am working on flash (as3) template that I downloaded. I created a movieclip that is placed in the root where I have a AS3 FLVPlayback Component, and also an animation, and a button. …

---

## [Shared Objects? Save and Load?](https://forum.kirupa.com/t/shared-objects-save-and-load/322676)

<div class="topic-metadata">

**Author:** [@TheAwesomeDude](https://forum.kirupa.com/u/TheAwesomeDude)\
**Replies:** 0\
**Last updated:** [May 30, 2011, 8:24am UTC](https://forum.kirupa.com/t/shared-objects-save-and-load/322676 "2011-05-30T08:24:10Z")

</div>

Hi! Im trying to learn Adobe Flash and making some stuff and that export it to my iPad. It doesnt have to be Shared Object, just read on internet that it could be used. But i dont know. I need a save and load function.…

---

## [Creating Dynamic MovieClips](https://forum.kirupa.com/t/creating-dynamic-movieclips/322675)

<div class="topic-metadata">

**Author:** [@evolutionxbox](https://forum.kirupa.com/u/evolutionxbox)\
**Replies:** 0\
**Last updated:** [May 30, 2011, 1:05am UTC](https://forum.kirupa.com/t/creating-dynamic-movieclips/322675 "2011-05-30T01:05:53Z")

</div>

After a click event I want to dynamically create 2 movieclips with the sequential number in their name, e.g. mc\_001 & mv\_001 so that I can 'link' them together later on. How can I create a movieclip with a dynamic name…

---

## [CS5 - Having problems displaying text](https://forum.kirupa.com/t/cs5-having-problems-displaying-text/322671)

<div class="topic-metadata">

**Author:** [@max\_carpenter](https://forum.kirupa.com/u/max_carpenter)\
**Replies:** 0\
**Last updated:** [May 29, 2011, 9:40pm UTC](https://forum.kirupa.com/t/cs5-having-problems-displaying-text/322671 "2011-05-29T21:40:48Z")

</div>

Good Evening, I am new here and still fairly new to flash. Don't konw if I am being stupid or not. Just started working in CS5 (missed a few versions) and getting very frustrated. Don't do much flash work so still a …

---

## [Custom Import Package Problems](https://forum.kirupa.com/t/custom-import-package-problems/322670)

<div class="topic-metadata">

**Author:** [@evolutionxbox](https://forum.kirupa.com/u/evolutionxbox)\
**Replies:** 0\
**Last updated:** [May 29, 2011, 8:26pm UTC](https://forum.kirupa.com/t/custom-import-package-problems/322670 "2011-05-29T20:26:46Z")

</div>

I have a custom package: package ma601jc { public class stringUtils { public function stringUtils() { } public function testFunction(input:String):String { return input; } } } I import it in…

---

## [Need help - Problem with Flash-XML runing in server](https://forum.kirupa.com/t/need-help-problem-with-flash-xml-runing-in-server/322668)

<div class="topic-metadata">

**Author:** [@socialme](https://forum.kirupa.com/u/socialme)\
**Replies:** 0\
**Last updated:** [May 29, 2011, 6:44pm UTC](https://forum.kirupa.com/t/need-help-problem-with-flash-xml-runing-in-server/322668 "2011-05-29T18:44:53Z")

</div>

Hello guys, I am new with Flash. I have problems with a minisite to open images called by Flash and defined at a galery xml file, all files, iamges, index, etc. were uploaded at a server in the same directory. Opening …

---

## [AS 3 race game, need help](https://forum.kirupa.com/t/as-3-race-game-need-help/322664)

<div class="topic-metadata">

**Author:** [@VincentDB](https://forum.kirupa.com/u/VincentDB)\
**Replies:** 0\
**Last updated:** [May 29, 2011, 4:29pm UTC](https://forum.kirupa.com/t/as-3-race-game-need-help/322664 "2011-05-29T16:29:29Z")

</div>

Hello, i'm a belgian student. For school I have to make an assignment, make a site with an easy as 3 flash game. I was following this tutorial. link : www.emanueleferonato.com/2010/06/16/create-a-flash-racing-game-tuto…

---

## [How to catch progress of file copy?](https://forum.kirupa.com/t/how-to-catch-progress-of-file-copy/322663)

<div class="topic-metadata">

**Author:** [@stuit](https://forum.kirupa.com/u/stuit)\
**Replies:** 0\
**Last updated:** [May 29, 2011, 4:13pm UTC](https://forum.kirupa.com/t/how-to-catch-progress-of-file-copy/322663 "2011-05-29T16:13:59Z")

</div>

I'm making application with ability to copy system files and I need to show copying progress. Can anyone show some examples, I would be very appreciated. I'm trying to use FileStream class, but I seem to lack experience. …

---

## [Need to unload image before loading next one. Help!](https://forum.kirupa.com/t/need-to-unload-image-before-loading-next-one-help/322662)

<div class="topic-metadata">

**Author:** [@as3ohh](https://forum.kirupa.com/u/as3ohh)\
**Replies:** 0\
**Last updated:** [May 29, 2011, 1:33pm UTC](https://forum.kirupa.com/t/need-to-unload-image-before-loading-next-one-help/322662 "2011-05-29T13:33:19Z")

</div>

Hey Friends, I am trying to figure out the best way to unload an image before loading another in my onComplete function. I have tried using a removeChild call but it says the DisplayObject must be a child of the Ca…

---

## [AS3 remove objects](https://forum.kirupa.com/t/as3-remove-objects/322657)

<div class="topic-metadata">

**Author:** [@pff](https://forum.kirupa.com/u/pff)\
**Replies:** 0\
**Last updated:** [May 29, 2011, 2:10am UTC](https://forum.kirupa.com/t/as3-remove-objects/322657 "2011-05-29T02:10:04Z")

</div>

currently i am removing objects when they reach the edge of the screen with public function mover(e:Event) { this.y += speed; if (this.y == stage.stageHeight - this.height) …

---

## [PHO to XML issues](https://forum.kirupa.com/t/pho-to-xml-issues/322655)

<div class="topic-metadata">

**Author:** [@mazz2000](https://forum.kirupa.com/u/mazz2000)\
**Replies:** 0\
**Last updated:** [May 28, 2011, 11:39pm UTC](https://forum.kirupa.com/t/pho-to-xml-issues/322655 "2011-05-28T23:39:04Z")

</div>

Hi all, I'm just getting into XML. I've just completed a tutorial that i found on here with some success but i have a question. I've written a page called xml.php for my test This page on the server connects to my d…

---

## [Movement smoother?](https://forum.kirupa.com/t/movement-smoother/322653)

<div class="topic-metadata">

**Author:** [@TheAwesomeDude](https://forum.kirupa.com/u/TheAwesomeDude)\
**Replies:** 0\
**Last updated:** [May 28, 2011, 9:09pm UTC](https://forum.kirupa.com/t/movement-smoother/322653 "2011-05-28T21:09:03Z")

</div>

Hi! When i touch a bottom, my player starts to to move at the speed of 30. = Player.x += 30. Is there anyway to make that movement smoother? Becuase its looks a bit laggy. My friend told me that he belived that you …

---

## [Simple Waveform Generator](https://forum.kirupa.com/t/simple-waveform-generator/322652)

<div class="topic-metadata">

**Author:** [@evolutionxbox](https://forum.kirupa.com/u/evolutionxbox)\
**Replies:** 0\
**Last updated:** [May 28, 2011, 8:43pm UTC](https://forum.kirupa.com/t/simple-waveform-generator/322652 "2011-05-28T20:43:41Z")

</div>

How do I go about generating a simple waveform of a sound object. I emphasise simple.

---

## [\[AS3\]Question i asked on every forum on the web and no answers](https://forum.kirupa.com/t/as3-question-i-asked-on-every-forum-on-the-web-and-no-answers/322648)

<div class="topic-metadata">

**Author:** [@fastboy619](https://forum.kirupa.com/u/fastboy619)\
**Replies:** 0\
**Last updated:** [May 28, 2011, 2:44pm UTC](https://forum.kirupa.com/t/as3-question-i-asked-on-every-forum-on-the-web-and-no-answers/322648 "2011-05-28T14:44:26Z")

</div>

\[FONT="Trebuchet MS"\]how can i access a movieclip via its instance name in a nother Movieclip class? and a nother question how can i access a movieclip via its class name in another movieclip class? BTW i want to acc…

---

## [NetConnection.Connect.Failed](https://forum.kirupa.com/t/netconnection-connect-failed/322647)

<div class="topic-metadata">

**Author:** [@ericwen1999](https://forum.kirupa.com/u/ericwen1999)\
**Replies:** 0\
**Last updated:** [May 28, 2011, 2:29pm UTC](https://forum.kirupa.com/t/netconnection-connect-failed/322647 "2011-05-28T14:29:49Z")

</div>

Why can't i connect??? package { import flash.display.Sprite; import flash.media.Camera; import flash.media.Microphone; import flash.media.Video; import flash.net.NetConnection; import flash.net.NetStream;…

---

## [AIR..dynamic text](https://forum.kirupa.com/t/air-dynamic-text/322645)

<div class="topic-metadata">

**Author:** [@E\_Smuga](https://forum.kirupa.com/u/E_Smuga)\
**Replies:** 0\
**Last updated:** [May 28, 2011, 7:16am UTC](https://forum.kirupa.com/t/air-dynamic-text/322645 "2011-05-28T07:16:11Z")

</div>

Not sure what his is called of even if it is possible. This would be used for an AIR app. I want to highlight text in any desktop application window, then either by clicking ctrl+whatever or by right clicking the hig…

---

## [To change fulscreen mode](https://forum.kirupa.com/t/to-change-fulscreen-mode/322644)

<div class="topic-metadata">

**Author:** [@gopik3](https://forum.kirupa.com/u/gopik3)\
**Replies:** 0\
**Last updated:** [May 28, 2011, 7:09am UTC](https://forum.kirupa.com/t/to-change-fulscreen-mode/322644 "2011-05-28T07:09:38Z")

</div>

am creating a flash game throw as2 in cs3.game is in fullscreen mode using fscommed.i want to change my screen size throw as2 only plz help me

---

## [HELP! So I didn't read the readme before installing XAMPP on a 64 bit sytem :(](https://forum.kirupa.com/t/help-so-i-didnt-read-the-readme-before-installing-xampp-on-a-64-bit-sytem/322643)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [May 28, 2011, 4:48am UTC](https://forum.kirupa.com/t/help-so-i-didnt-read-the-readme-before-installing-xampp-on-a-64-bit-sytem/322643 "2011-05-28T04:48:24Z")

</div>

Who reads readmes besides noobs I have a 64 bit Vista desktop that I do all my development on. Following the instructions on an Adobe tute for using Dreamweaver 5's WordPress capability I stalled XAMMP in C:\\xampp My…

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

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