# programming

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

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

**Page:** 1170

---

## [I need help programming bullets!](https://forum.kirupa.com/t/i-need-help-programming-bullets/264940)

<div class="topic-metadata">

**Author:** [@Bolshoi333](https://forum.kirupa.com/u/Bolshoi333)\
**Replies:** 4\
**Last updated:** [July 3, 2008, 1:47am UTC](https://forum.kirupa.com/t/i-need-help-programming-bullets/264940 "2008-07-03T01:47:12Z")

</div>

Below is skeleton code for bullets/various other things that are created in multiples var i:Number = 0; var goTime:Boolean = true; function newThingy(){ if(goTime == true){ attachMovie("thingy", "thingy" +i, i); …

---

## [Rollover detect bounding box NOT shape, how?](https://forum.kirupa.com/t/rollover-detect-bounding-box-not-shape-how/264979)

<div class="topic-metadata">

**Author:** [@Exnem](https://forum.kirupa.com/u/Exnem)\
**Replies:** 4\
**Last updated:** [July 2, 2008, 11:58pm UTC](https://forum.kirupa.com/t/rollover-detect-bounding-box-not-shape-how/264979 "2008-07-02T23:58:25Z")

</div>

Does anyone know how to make the mouse detect the bounding box of a movie clip instead of the actual shape when rolled over? I have some "buttons" that are really lines and are very hard to click so the mouse needs to …

---

## [Help Modifying/Understanding Flash Counter](https://forum.kirupa.com/t/help-modifying-understanding-flash-counter/265007)

<div class="topic-metadata">

**Author:** [@fester8542](https://forum.kirupa.com/u/fester8542)\
**Replies:** 4\
**Last updated:** [July 2, 2008, 11:56pm UTC](https://forum.kirupa.com/t/help-modifying-understanding-flash-counter/265007 "2008-07-02T23:56:07Z")

</div>

I've reluctantly agreed to try and help a friend fix a counter on one of the flash applets he hired someone to make for him. It's AS2 and done in Flash 8. http://www.bestondesign.com/globe-help.zip It pulls from the …

---

## [Trouble passing variables from js to swf from another page](https://forum.kirupa.com/t/trouble-passing-variables-from-js-to-swf-from-another-page/265016)

<div class="topic-metadata">

**Author:** [@way2web](https://forum.kirupa.com/u/way2web)\
**Replies:** 0\
**Last updated:** [July 2, 2008, 11:32pm UTC](https://forum.kirupa.com/t/trouble-passing-variables-from-js-to-swf-from-another-page/265016 "2008-07-02T23:32:40Z")

</div>

Hi, I'm using ExternalInterface to pass javascript variables to my swf file, when the javascript and the swf are in the same html page, everything works perfectly. The trouble comes when I try to send this variable thr…

---

## [How can i decrease the fla size?](https://forum.kirupa.com/t/how-can-i-decrease-the-fla-size/264907)

<div class="topic-metadata">

**Author:** [@ilikemyself](https://forum.kirupa.com/u/ilikemyself)\
**Replies:** 4\
**Last updated:** [July 2, 2008, 11:17pm UTC](https://forum.kirupa.com/t/how-can-i-decrease-the-fla-size/264907 "2008-07-02T23:17:13Z")

</div>

Hi, i have a fla. that has 3 buttons and 1 bar (made in flash) and that makes my fla weight 2.2mb which i don't really know why... How can i reduce it?

---

## [Preload troubles](https://forum.kirupa.com/t/preload-troubles/265014)

<div class="topic-metadata">

**Author:** [@idontknow07](https://forum.kirupa.com/u/idontknow07)\
**Replies:** 0\
**Last updated:** [July 2, 2008, 10:47pm UTC](https://forum.kirupa.com/t/preload-troubles/265014 "2008-07-02T22:47:14Z")

</div>

Hey guys, Im using the AS3 preloader code from kirupa's tutorial and I am having a problem. The preloader works fine, but the movie I am loading has a animation to play (like an intro). Here is the problem: When the pr…

---

## [addChild MC dissapears on stop();](https://forum.kirupa.com/t/addchild-mc-dissapears-on-stop/265005)

<div class="topic-metadata">

**Author:** [@Jrockwell3](https://forum.kirupa.com/u/Jrockwell3)\
**Replies:** 0\
**Last updated:** [July 2, 2008, 9:46pm UTC](https://forum.kirupa.com/t/addchild-mc-dissapears-on-stop/265005 "2008-07-02T21:46:51Z")

</div>

I'm adding a movieclip from my library to a movieclip on stage that has a motion tween. The added movieclip needs to be part of the tween. When the tween is complete I have stop(); to keep it from repeating, however, w…

---

## [Recursive function with return value](https://forum.kirupa.com/t/recursive-function-with-return-value/264980)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 5\
**Last updated:** [July 2, 2008, 9:04pm UTC](https://forum.kirupa.com/t/recursive-function-with-return-value/264980 "2008-07-02T21:04:57Z")

</div>

How can I have a recursive function that also returns a value. Here's an example. public function getNine():Number{ var num:Number; var myArray:Array = new Array(1,2,3,4,5,6,7,8,9); if(myArray\[0\] != 9){ myArray.sli…

---

## [AS3 vs AS2 Performance](https://forum.kirupa.com/t/as3-vs-as2-performance/264924)

<div class="topic-metadata">

**Author:** [@Neeraj](https://forum.kirupa.com/u/Neeraj)\
**Replies:** 6\
**Last updated:** [July 2, 2008, 8:52pm UTC](https://forum.kirupa.com/t/as3-vs-as2-performance/264924 "2008-07-02T20:52:44Z")

</div>

Hello, I did some performance tests in AS2 and AS3 and what I found is really surprising. I just wrote the below code in AS3 and similar code in AS2. But I don’t see ANY performance improvements in AS3 version. On a P4…

---

## [Snow 3.0 with collision](https://forum.kirupa.com/t/snow-3-0-with-collision/264994)

<div class="topic-metadata">

**Author:** [@evilrobo](https://forum.kirupa.com/u/evilrobo)\
**Replies:** 0\
**Last updated:** [July 2, 2008, 8:22pm UTC](https://forum.kirupa.com/t/snow-3-0-with-collision/264994 "2008-07-02T20:22:14Z")

</div>

Hey all. So I used a variation of the Snow tutorial for a site and it works great aside from one thing. The snow (or leaves, in my case) tend to disappear at the edges of the movie clip instead of bouncing off or simply …

---

## [cs3 loadmovie help](https://forum.kirupa.com/t/cs3-loadmovie-help/264992)

<div class="topic-metadata">

**Author:** [@Flo\_rida1](https://forum.kirupa.com/u/Flo_rida1)\
**Replies:** 1\
**Last updated:** [July 2, 2008, 8:13pm UTC](https://forum.kirupa.com/t/cs3-loadmovie-help/264992 "2008-07-02T20:13:48Z")

</div>

\[COLOR=Green\]Ok so all im trying to do is have a main window load other .swf files into it. THATS IT! The links work. they go to where i set the action script. BUT BEFORE it goes to any links, it flashes my main.swf…

---

## [Webcam Delay](https://forum.kirupa.com/t/webcam-delay/264985)

<div class="topic-metadata">

**Author:** [@kurisun](https://forum.kirupa.com/u/kurisun)\
**Replies:** 0\
**Last updated:** [July 2, 2008, 7:39pm UTC](https://forum.kirupa.com/t/webcam-delay/264985 "2008-07-02T19:39:24Z")

</div>

Hi. I'm making a little webcam effect and I need some help making a delay on the video. I have all the other parts working the only bit left is to get the webcam to playback 1 second later than it is captured. Got an…

---

## [Multiple netstream issue with FMS3 & Flex3](https://forum.kirupa.com/t/multiple-netstream-issue-with-fms3-flex3/264984)

<div class="topic-metadata">

**Author:** [@amitabh\_arya](https://forum.kirupa.com/u/amitabh_arya)\
**Replies:** 0\
**Last updated:** [July 2, 2008, 7:00pm UTC](https://forum.kirupa.com/t/multiple-netstream-issue-with-fms3-flex3/264984 "2008-07-02T19:00:29Z")

</div>

\[FONT=Calibri\] Hi, \[/FONT\] \[FONT=Calibri\]I am facing a problem to create (publish/play) multiple Net streams. Its a multiuser chat and video conferencing application.\[/FONT\] \[FONT=Calibri\] When, I am testing a…

---

## [ExternalInterface.addCallback not working in FireFox](https://forum.kirupa.com/t/externalinterface-addcallback-not-working-in-firefox/264508)

<div class="topic-metadata">

**Author:** [@voxecho](https://forum.kirupa.com/u/voxecho)\
**Replies:** 1\
**Last updated:** [July 2, 2008, 6:19pm UTC](https://forum.kirupa.com/t/externalinterface-addcallback-not-working-in-firefox/264508 "2008-07-02T18:19:25Z")

</div>

\[please note that everything i am describing works fine in IE\] Hey all, i've seen this thread or similar in many forums, and no answer has helped. I have set up a function in Flash that i want available to Javascrip…

---

## [Relative Links in Flash / Flash Video Component](https://forum.kirupa.com/t/relative-links-in-flash-flash-video-component/246745)

<div class="topic-metadata">

**Author:** [@Blenderben](https://forum.kirupa.com/u/Blenderben)\
**Replies:** 1\
**Last updated:** [July 2, 2008, 6:12pm UTC](https://forum.kirupa.com/t/relative-links-in-flash-flash-video-component/246745 "2008-07-02T18:12:06Z")

</div>

So I have created a Flash video player that reads FLVs I am using the Flash Video Component. I am also using FlashVars to control the content path, so I use my one player on many different FLV files. Now here is my…

---

## [Papervision: Does an object get rendered and uses processing](https://forum.kirupa.com/t/papervision-does-an-object-get-rendered-and-uses-processing/264978)

<div class="topic-metadata">

**Author:** [@BeechyBoy](https://forum.kirupa.com/u/BeechyBoy)\
**Replies:** 0\
**Last updated:** [July 2, 2008, 5:56pm UTC](https://forum.kirupa.com/t/papervision-does-an-object-get-rendered-and-uses-processing/264978 "2008-07-02T17:56:36Z")

</div>

My scene is a carrousel and it contains too many objects in view of the camera. I will move the camera so that only a few objects are in the sight line of the camera. Will this reduce the processing that takes place? I w…

---

## [Different images tween](https://forum.kirupa.com/t/different-images-tween/264969)

<div class="topic-metadata">

**Author:** [@birne](https://forum.kirupa.com/u/birne)\
**Replies:** 0\
**Last updated:** [July 2, 2008, 5:06pm UTC](https://forum.kirupa.com/t/different-images-tween/264969 "2008-07-02T17:06:44Z")

</div>

hello, i want to make a pictureshow. from one folder with my images i create movieclips and tween them form right side of the screen to the left side of the scree. but at the moment i can only create one movieclip at …

---

## [CAPTCHA validation HELP](https://forum.kirupa.com/t/captcha-validation-help/264224)

<div class="topic-metadata">

**Author:** [@jon\_d](https://forum.kirupa.com/u/jon_d)\
**Replies:** 5\
**Last updated:** [July 2, 2008, 4:32pm UTC](https://forum.kirupa.com/t/captcha-validation-help/264224 "2008-07-02T16:32:10Z")

</div>

Hi all, I have tried using this CAPTCHA Validation PHP script http://www.ebrueggeman.com/blog/php/creating-a-php-captcha/ I have created the CAPTCHA alright, but it seems that no matter what letters I enter (wrong or…

---

## [Triggering an EXE](https://forum.kirupa.com/t/triggering-an-exe/264967)

<div class="topic-metadata">

**Author:** [@alanmace](https://forum.kirupa.com/u/alanmace)\
**Replies:** 0\
**Last updated:** [July 2, 2008, 4:28pm UTC](https://forum.kirupa.com/t/triggering-an-exe/264967 "2008-07-02T16:28:52Z")

</div>

I have a project in which the client wants to click on a button and have it run an exe file. If I link to it directly, it just tries to download it through a browser. Is there a way to just run the file?

---

## [Need help with xml loading video player](https://forum.kirupa.com/t/need-help-with-xml-loading-video-player/264958)

<div class="topic-metadata">

**Author:** [@dowe](https://forum.kirupa.com/u/dowe)\
**Replies:** 1\
**Last updated:** [July 2, 2008, 4:18pm UTC](https://forum.kirupa.com/t/need-help-with-xml-loading-video-player/264958 "2008-07-02T16:18:38Z")

</div>

I have a video player I am using and need help with one of the functions. My video player is xml loaded and does a great job. what i need it to do is move on to the next item in the xml list instead of simply looping t…

---

## [LocalConnection for slide presentation](https://forum.kirupa.com/t/localconnection-for-slide-presentation/264868)

<div class="topic-metadata">

**Author:** [@dru\_nasty](https://forum.kirupa.com/u/dru_nasty)\
**Replies:** 1\
**Last updated:** [July 2, 2008, 4:13pm UTC](https://forum.kirupa.com/t/localconnection-for-slide-presentation/264868 "2008-07-02T16:13:02Z")

</div>

I'm having trouble figuring out how to do this. I have two fla's. When published I want the two standalone swfs to talk to eachother using LocalConnection. Anyhow, I attached game1 and game2. The code is just thrown t…

---

## [Looping functions problem, it just skips to the last instance](https://forum.kirupa.com/t/looping-functions-problem-it-just-skips-to-the-last-instance/264935)

<div class="topic-metadata">

**Author:** [@ivank](https://forum.kirupa.com/u/ivank)\
**Replies:** 3\
**Last updated:** [July 2, 2008, 4:07pm UTC](https://forum.kirupa.com/t/looping-functions-problem-it-just-skips-to-the-last-instance/264935 "2008-07-02T16:07:23Z")

</div>

Hello All, I am using Actionscript and the problem I am having is the I am running a for loop to execute a function which loads the variables from XML and then another function to load an external SWF which will load t…

---

## [Image Scroller](https://forum.kirupa.com/t/image-scroller/264966)

<div class="topic-metadata">

**Author:** [@chrisvwebb](https://forum.kirupa.com/u/chrisvwebb)\
**Replies:** 0\
**Last updated:** [July 2, 2008, 3:52pm UTC](https://forum.kirupa.com/t/image-scroller/264966 "2008-07-02T15:52:29Z")

</div>

Alright...so I'm a bit new to this blog, so if my question has already been posted somewhere else...forgive me:crying:\*maybe even redirect me. But I want to create a horizontal image scroller with ability to click on t…

---

## [Inserting Flash video into HTML](https://forum.kirupa.com/t/inserting-flash-video-into-html/264965)

<div class="topic-metadata">

**Author:** [@tinlegs](https://forum.kirupa.com/u/tinlegs)\
**Replies:** 0\
**Last updated:** [July 2, 2008, 3:49pm UTC](https://forum.kirupa.com/t/inserting-flash-video-into-html/264965 "2008-07-02T15:49:27Z")

</div>

Hi Everyone! I'm new here and am hoping someone out there might be able to help. I'm building my own website (never done it before, so all the jargon is new to me) and have purchased a ready made Flash video to use on …

---

## [Declaring headers for HTML emails](https://forum.kirupa.com/t/declaring-headers-for-html-emails/264961)

<div class="topic-metadata">

**Author:** [@wes\_design](https://forum.kirupa.com/u/wes_design)\
**Replies:** 0\
**Last updated:** [July 2, 2008, 3:28pm UTC](https://forum.kirupa.com/t/declaring-headers-for-html-emails/264961 "2008-07-02T15:28:46Z")

</div>

hey all I am working on a form and I want to declare a html header in the process file so the user gets an email in rich text or html format my big problem is that there is a form \<form\>\<option value='¿Que Tal? …

---

## [Options for multiplayer game](https://forum.kirupa.com/t/options-for-multiplayer-game/264904)

<div class="topic-metadata">

**Author:** [@Lida\_Tang](https://forum.kirupa.com/u/Lida_Tang)\
**Replies:** 2\
**Last updated:** [July 2, 2008, 3:04pm UTC](https://forum.kirupa.com/t/options-for-multiplayer-game/264904 "2008-07-02T15:04:13Z")

</div>

Hi guys, I am pretty new to making networked games, especially for Flash. From what I've been able to find, if you want a multiplayer component to your game, you need to get a backend server to handle matchmaking and g…

---

## [AsBroadcaster difficulty](https://forum.kirupa.com/t/asbroadcaster-difficulty/264909)

<div class="topic-metadata">

**Author:** [@toddflom](https://forum.kirupa.com/u/toddflom)\
**Replies:** 2\
**Last updated:** [July 2, 2008, 2:47pm UTC](https://forum.kirupa.com/t/asbroadcaster-difficulty/264909 "2008-07-02T14:47:49Z")

</div>

Hi, I'm having and issue with AsBroadcaster. I'm trying to get different instances of the same MovieClip to respond to an event. The problem is, I can only ever get one to respond. Here is the class for the mc broadcas…

---

## [How to trigger a function when a movie finish playing?](https://forum.kirupa.com/t/how-to-trigger-a-function-when-a-movie-finish-playing/264751)

<div class="topic-metadata">

**Author:** [@alex298](https://forum.kirupa.com/u/alex298)\
**Replies:** 6\
**Last updated:** [July 2, 2008, 2:14pm UTC](https://forum.kirupa.com/t/how-to-trigger-a-function-when-a-movie-finish-playing/264751 "2008-07-02T14:14:18Z")

</div>

Hello, I have a very simple movie. A ball moves in x-axis and stops in a set location. The codes are: function moveBall(evt:Event):void { stage.addEventListener(Event.ENTER\_FRAME, moveBall); stage.frameRate = 15; …

---

## [Open-source Flash-games!](https://forum.kirupa.com/t/open-source-flash-games/264955)

<div class="topic-metadata">

**Author:** [@Wampiro\_UHA](https://forum.kirupa.com/u/Wampiro_UHA)\
**Replies:** 1\
**Last updated:** [July 2, 2008, 2:13pm UTC](https://forum.kirupa.com/t/open-source-flash-games/264955 "2008-07-02T14:13:46Z")

</div>

Hi... i'm currently developing a community-site for my friends (PHP/MySQL) and thought it could be really cool with a section with games. Is it possible, somewhere, to get free open-source flash-games which can be em…

---

## [CDATA issue with HTML text](https://forum.kirupa.com/t/cdata-issue-with-html-text/262451)

<div class="topic-metadata">

**Author:** [@bpdp](https://forum.kirupa.com/u/bpdp)\
**Replies:** 2\
**Last updated:** [July 2, 2008, 1:40pm UTC](https://forum.kirupa.com/t/cdata-issue-with-html-text/262451 "2008-07-02T13:40:27Z")

</div>

Hello, I have an htmlTextField that I am loading html text from a xml doc. the problem is that the text is not rendering as html. so all my HTML is displayed in the textField. here is the XML: \<description\>\<!\[CDATA\[\<…

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

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