# programming

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

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

**Page:** 999

---

## [Simple physics](https://forum.kirupa.com/t/simple-physics/276537)

<div class="topic-metadata">

**Author:** [@tekoer](https://forum.kirupa.com/u/tekoer)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 1:40pm UTC](https://forum.kirupa.com/t/simple-physics/276537 "2008-11-30T13:40:59Z")

</div>

Hey, I've been researching alot about various physics engines for flash and there seem to be alot of good ones out there. Although they seem quite complicated for the very simple thing I am trying to create, which is an …

---

## [Flashden Help](https://forum.kirupa.com/t/flashden-help/276536)

<div class="topic-metadata">

**Author:** [@Jim\_Bechdel](https://forum.kirupa.com/u/Jim_Bechdel)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 12:34pm UTC](https://forum.kirupa.com/t/flashden-help/276536 "2008-11-30T12:34:37Z")

</div>

I have some flashden templates can anyone help me with any kind of tutorial on how to use them. jbechdel@comcast,net

---

## [\[AS2\] LOADS OF QUESTIONS, need help!](https://forum.kirupa.com/t/as2-loads-of-questions-need-help/276532)

<div class="topic-metadata">

**Author:** [@tivaelydoc](https://forum.kirupa.com/u/tivaelydoc)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 9:49am UTC](https://forum.kirupa.com/t/as2-loads-of-questions-need-help/276532 "2008-11-30T09:49:16Z")

</div>

Ok, I got this engine I'm designing: http://spamtheweb.com/ul/upload/4108/2876\_attachmovie4.php FLA: http://www.mediafire.com/?j0wnx1wjgye I want to make it open source for everyone that wants to make a scene cre…

---

## [Attachmovie and duplicate movieclip fun](https://forum.kirupa.com/t/attachmovie-and-duplicate-movieclip-fun/276531)

<div class="topic-metadata">

**Author:** [@clot](https://forum.kirupa.com/u/clot)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 9:13am UTC](https://forum.kirupa.com/t/attachmovie-and-duplicate-movieclip-fun/276531 "2008-11-30T09:13:58Z")

</div>

Ok having some issues with this: I create a new movieclip: this.createEmptyMovieClip("setClip1", this.getNextHighestDepth()); and then I attach a bunch of the same movieclip from the library to my new clip: (in a f…

---

## [Problems with referencing the stage](https://forum.kirupa.com/t/problems-with-referencing-the-stage/276529)

<div class="topic-metadata">

**Author:** [@mdev](https://forum.kirupa.com/u/mdev)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 7:19am UTC](https://forum.kirupa.com/t/problems-with-referencing-the-stage/276529 "2008-11-30T07:19:00Z")

</div>

Hi, I'm fairly new to Flash and actionscript, and it seems I haven't fully understood how the stage should be referenced when you start moving down in the object hierarchy. Hopefully someone here can help me shed a l…

---

## [\[Flash8\] Dynamic Texts Flickers and Can't Solve it](https://forum.kirupa.com/t/flash8-dynamic-texts-flickers-and-cant-solve-it/276528)

<div class="topic-metadata">

**Author:** [@shey\_py](https://forum.kirupa.com/u/shey_py)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 7:18am UTC](https://forum.kirupa.com/t/flash8-dynamic-texts-flickers-and-cant-solve-it/276528 "2008-11-30T07:18:42Z")

</div>

Hi guys, I googled for 4 hours and read most of the posts that came up when searched for different tags I thought would match, and still have no answer. My problem is the following: I have a dynamic text field that …

---

## [Every variable is undefined when published in cs4](https://forum.kirupa.com/t/every-variable-is-undefined-when-published-in-cs4/276527)

<div class="topic-metadata">

**Author:** [@test1](https://forum.kirupa.com/u/test1)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 6:42am UTC](https://forum.kirupa.com/t/every-variable-is-undefined-when-published-in-cs4/276527 "2008-11-30T06:42:15Z")

</div>

I know I've read a few other posts about this but I'm not really sure what the problem is or what I'm supposed to do. Basically I have a very large project with lots of classes and it sounds like I'm going to have to go …

---

## [Problem with databinding in Flex](https://forum.kirupa.com/t/problem-with-databinding-in-flex/276523)

<div class="topic-metadata">

**Author:** [@lunetics](https://forum.kirupa.com/u/lunetics)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 4:41am UTC](https://forum.kirupa.com/t/problem-with-databinding-in-flex/276523 "2008-11-30T04:41:41Z")

</div>

Hello! Having problem databinding in my Flex/AS3 application. I´ve an image component and a button. When pressing the button it will add a ColorMatrixFilter to the image. \[AS\] \<mx:Script\> \<!\[CDATA\[ private function app…

---

## [How do I refer to instanced objects properties](https://forum.kirupa.com/t/how-do-i-refer-to-instanced-objects-properties/276521)

<div class="topic-metadata">

**Author:** [@renton79](https://forum.kirupa.com/u/renton79)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 2:52am UTC](https://forum.kirupa.com/t/how-do-i-refer-to-instanced-objects-properties/276521 "2008-11-30T02:52:35Z")

</div>

I am generating 2 particles (objects) in a for loop. What I get are two instances named by actionscript (instance2 and instance4). Pictures of my code are below (2 files: main.as and particle.as). \[image\] \[image\] …

---

## [Stop scrolling when mouse rolls out](https://forum.kirupa.com/t/stop-scrolling-when-mouse-rolls-out/276519)

<div class="topic-metadata">

**Author:** [@cdtheed](https://forum.kirupa.com/u/cdtheed)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 1:09am UTC](https://forum.kirupa.com/t/stop-scrolling-when-mouse-rolls-out/276519 "2008-11-30T01:09:42Z")

</div>

A

---

## [Restored from Backup: 1106 Operand of increment must be a reference](https://forum.kirupa.com/t/restored-from-backup-1106-operand-of-increment-must-be-a-reference/276506)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [November 29, 2008, 10:12pm UTC](https://forum.kirupa.com/t/restored-from-backup-1106-operand-of-increment-must-be-a-reference/276506 "2008-11-29T22:12:07Z")

</div>

Due to a forum upgrade, this thread was accidentally not ported over. You can access it from the following location: http://www.kirupa.com/temp/backupthreads/operandincrement.htm :doh:

---

## [Restored from Backup: Timer Class to Disable the Stage](https://forum.kirupa.com/t/restored-from-backup-timer-class-to-disable-the-stage/276505)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [November 29, 2008, 10:11pm UTC](https://forum.kirupa.com/t/restored-from-backup-timer-class-to-disable-the-stage/276505 "2008-11-29T22:11:01Z")

</div>

Unfortunately, a forum upgrade caused this thread from being ported over. You can see a backup of it from here: http://www.kirupa.com/temp/backupthreads/timerdisablestage.htm \[frowning\]

---

## [AS 2: Limiting the number of rows in a multiline input textfield](https://forum.kirupa.com/t/as-2-limiting-the-number-of-rows-in-a-multiline-input-textfield/276503)

<div class="topic-metadata">

**Author:** [@Lemuel](https://forum.kirupa.com/u/Lemuel)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 7:53pm UTC](https://forum.kirupa.com/t/as-2-limiting-the-number-of-rows-in-a-multiline-input-textfield/276503 "2008-11-28T19:53:26Z")

</div>

\[Flash CS3 - AS2 - Mac\] Hi, I need your help, I'm stuck on this and am unsure what to do next to look for a solution. Heres a brief description of my current project. I'm using mProjector to turn my Flash movie into …

---

## [Imported sounds play at odd times](https://forum.kirupa.com/t/imported-sounds-play-at-odd-times/276500)

<div class="topic-metadata">

**Author:** [@Pixelmech](https://forum.kirupa.com/u/Pixelmech)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 7:12pm UTC](https://forum.kirupa.com/t/imported-sounds-play-at-odd-times/276500 "2008-11-28T19:12:14Z")

</div>

I'm working on a fairly small project that has 4 scenes. In each scene I have one or more sound files playing. In a couple scenes, there is a movie clip that has a sound playing too. I am playing the sounds by setting…

---

## [&#^@#\* please help](https://forum.kirupa.com/t/please-help/276497)

<div class="topic-metadata">

**Author:** [@outback](https://forum.kirupa.com/u/outback)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 5:17pm UTC](https://forum.kirupa.com/t/please-help/276497 "2008-11-28T17:17:35Z")

</div>

Hey, can anyone help me out? I need to edit this code. \<? eval(gzinflate(base64\_decode('FZrFzsTQYYVfpbuk8sJMapXIzMzeVOYxMz59/3jtkazrA9+ZmX//63///V/VlQ3/bL52qofsqP65H9v/bfMBo//Ms70isP8rq2Iuq3/+Q0wnOak95QzF+vEvu2GukWX3…

---

## [Browse CD ROM rom flash movie](https://forum.kirupa.com/t/browse-cd-rom-rom-flash-movie/276496)

<div class="topic-metadata">

**Author:** [@fruitbeard](https://forum.kirupa.com/u/fruitbeard)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 5:08pm UTC](https://forum.kirupa.com/t/browse-cd-rom-rom-flash-movie/276496 "2008-11-28T17:08:08Z")

</div>

Hi there, I've tried a few methods for this and none seem to be what I want" I want to browse the contents of the CD ROM from the Flash file. Any takers ? Cheers upfront. http://www.fgps.com/keith

---

## [Extending the Document class](https://forum.kirupa.com/t/extending-the-document-class/276493)

<div class="topic-metadata">

**Author:** [@Burvs](https://forum.kirupa.com/u/Burvs)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 3:36pm UTC](https://forum.kirupa.com/t/extending-the-document-class/276493 "2008-11-28T15:36:00Z")

</div>

I've build a flash FLA project which has the class "MyGame" as its document class which all works great. Now I want to make a slightly different version of it with a few bits of extra functionality, so I've got a new F…

---

## [FLVPlayback: Scale video, not Skin/Screen](https://forum.kirupa.com/t/flvplayback-scale-video-not-skin-screen/276491)

<div class="topic-metadata">

**Author:** [@davidb2002](https://forum.kirupa.com/u/davidb2002)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 2:08pm UTC](https://forum.kirupa.com/t/flvplayback-scale-video-not-skin-screen/276491 "2008-11-28T14:08:28Z")

</div>

I have managed to dynamically create an FLVPlayback with AS3 that will dynamically load an flv file. However, I now receive the unwanted effect that when the video is loaded in, the skin of hte player scales down to fit …

---

## [\[FMX04\]flash gallery with xml not working on PCs](https://forum.kirupa.com/t/fmx04-flash-gallery-with-xml-not-working-on-pcs/276490)

<div class="topic-metadata">

**Author:** [@Reggie\_Schultz](https://forum.kirupa.com/u/Reggie_Schultz)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 2:00pm UTC](https://forum.kirupa.com/t/fmx04-flash-gallery-with-xml-not-working-on-pcs/276490 "2008-11-28T14:00:22Z")

</div>

Hi all, thank you for your help with this. I am adding flash galleries to www.puredanceacademy.ca on the Facilities and Gallery pages. On my mac I've tested the galleries using Firefox, Safari, and Opera and they are w…

---

## [setTimeout and function do not work properly](https://forum.kirupa.com/t/settimeout-and-function-do-not-work-properly/276483)

<div class="topic-metadata">

**Author:** [@vcm11](https://forum.kirupa.com/u/vcm11)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 10:23am UTC](https://forum.kirupa.com/t/settimeout-and-function-do-not-work-properly/276483 "2008-11-28T10:23:57Z")

</div>

Am i doing something wrong here? can i use the function in this way? setTimeout (fadeIn(cinema\_mc, 3), 1000); function fadeIn(mc, speed) { mc.onEnterFrame = function(speed) { if (this.\_alpha\>=100) { delete th…

---

## [Using Proxy](https://forum.kirupa.com/t/using-proxy/276480)

<div class="topic-metadata">

**Author:** [@ice13](https://forum.kirupa.com/u/ice13)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 9:21am UTC](https://forum.kirupa.com/t/using-proxy/276480 "2008-11-28T09:21:52Z")

</div>

Hi, I'm not sure if this is possible but I've been trying to come up with something which uses flash\_proxy override getProperty to run some code on a variable call, but to also make use of code-hinting in flash editors…

---

## [Process TextEvent first](https://forum.kirupa.com/t/process-textevent-first/276477)

<div class="topic-metadata">

**Author:** [@DFox](https://forum.kirupa.com/u/DFox)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 6:32am UTC](https://forum.kirupa.com/t/process-textevent-first/276477 "2008-11-28T06:32:15Z")

</div>

Hi, I have an application that is using a MouseDown event on the stage, and a TextEvent to process links within an a TextField that shows HTML (links use a href). When the user clicks on the text link, the MouseDown e…

---

## [Need serious help in coding animation regarding XML](https://forum.kirupa.com/t/need-serious-help-in-coding-animation-regarding-xml/276474)

<div class="topic-metadata">

**Author:** [@mebius89](https://forum.kirupa.com/u/mebius89)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 5:22am UTC](https://forum.kirupa.com/t/need-serious-help-in-coding-animation-regarding-xml/276474 "2008-11-28T05:22:47Z")

</div>

So, I created a falling animation. I copied the motion as AS3. I pasted it in the area I want my character to fall. But when I run my codes, i got an error saying I'm accessing undefined property "fall" Here's my mot…

---

## [Particle lifespan](https://forum.kirupa.com/t/particle-lifespan/276470)

<div class="topic-metadata">

**Author:** [@fatratstew](https://forum.kirupa.com/u/fatratstew)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 1:14am UTC](https://forum.kirupa.com/t/particle-lifespan/276470 "2008-11-28T01:14:16Z")

</div>

This is driving me nuts: (im new to actionscript btw) I have created the particle emitter below, but the particles last forever. How can I remove each particle after it has existed a certain amount of time? (eg. 3secs) …

---

## [How to remove movieclip from array?AS3](https://forum.kirupa.com/t/how-to-remove-movieclip-from-array-as3/276468)

<div class="topic-metadata">

**Author:** [@White\_wizard](https://forum.kirupa.com/u/White_wizard)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 12:36am UTC](https://forum.kirupa.com/t/how-to-remove-movieclip-from-array-as3/276468 "2008-11-28T00:36:07Z")

</div>

Hi here is my code: var arrows:Array = new Array(); var gameTimer:Timer = new Timer(1000); // 1 second var maxTime:int; var Time:int = 2; var arrow\_speed:int = 5; maxTime = Time; gameTimer.start(); import flash.display.M…

---

## [BRAND NEW FOR SALE IPHONE 3G 16GB......$300USD awomobiles@rock.com](https://forum.kirupa.com/t/brand-new-for-sale-iphone-3g-16gb-300usd-awomobiles-rock-com/276465)

<div class="topic-metadata">

**Author:** [@omoiphones](https://forum.kirupa.com/u/omoiphones)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 11:36pm UTC](https://forum.kirupa.com/t/brand-new-for-sale-iphone-3g-16gb-300usd-awomobiles-rock-com/276465 "2008-11-27T23:36:31Z")

</div>

we are Registerd and Legitimate With a Work Force of Over 200 Staffs and 90 R & D Research Engineers that always make sure that all products are delivered in good condition. We supply many other electronic products, such…

---

## [AS3 projects and AIR](https://forum.kirupa.com/t/as3-projects-and-air/276464)

<div class="topic-metadata">

**Author:** [@RichSad](https://forum.kirupa.com/u/RichSad)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 11:34pm UTC](https://forum.kirupa.com/t/as3-projects-and-air/276464 "2008-11-27T23:34:59Z")

</div>

Hi actionscripters, I have a bunch of projects that I have made in Flex Builder Pro. I use the plug-in version with Eclipse. I use straight "Actionscript Projects", meaning I don't use any of that mxml stuff or designe…

---

## [Alternating Banners](https://forum.kirupa.com/t/alternating-banners/276462)

<div class="topic-metadata">

**Author:** [@peterbz](https://forum.kirupa.com/u/peterbz)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 9:36pm UTC](https://forum.kirupa.com/t/alternating-banners/276462 "2008-11-27T21:36:53Z")

</div>

I was wondering how to make a alternating dynamic banner like on Digital Tutors: http://www.digitaltutors.com/digital\_tutors/index.php Is it possible so that I can read off a MySQL database inside Flash and retrieve 4 …

---

## [Shoot Bullet Array](https://forum.kirupa.com/t/shoot-bullet-array/276461)

<div class="topic-metadata">

**Author:** [@ryrocks](https://forum.kirupa.com/u/ryrocks)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 8:35pm UTC](https://forum.kirupa.com/t/shoot-bullet-array/276461 "2008-11-27T20:35:00Z")

</div>

Hey, I'm trying to fix my character shooting function/hit test. If I shoot one bullet at an enemy mc then the hit test occurs and the enemy plays the "dead" animation. However if I fire multiple bullets then the hit test…

---

## [Problems with Class files](https://forum.kirupa.com/t/problems-with-class-files/276459)

<div class="topic-metadata">

**Author:** [@Sephiroth1](https://forum.kirupa.com/u/Sephiroth1)\
**Replies:** 0\
**Last updated:** [November 27, 2008, 8:19pm UTC](https://forum.kirupa.com/t/problems-with-class-files/276459 "2008-11-27T20:19:13Z")

</div>

Guys, having lots of trouble getting this into all into a Class (.AS) File. I wrote it originally thinking it would be kool, now I have been told it needs to be written into a Class file(S), any help or advice would be…

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

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