# programming

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

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

**Page:** 1951

---

## [Simple Enemy AI](https://forum.kirupa.com/t/simple-enemy-ai/208620)

<div class="topic-metadata">

**Author:** [@bholaday](https://forum.kirupa.com/u/bholaday)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 2:57pm UTC](https://forum.kirupa.com/t/simple-enemy-ai/208620 "2006-11-30T14:57:49Z")

</div>

Hi, I am creating a mega man-like game. I need some simple enemy movement code that needs to: 1. Activate the enemy's movement only when the player is within a certain proximity of the enemy. 2. "Fly" (both enemies are…

---

## [Masking the falling snow tut](https://forum.kirupa.com/t/masking-the-falling-snow-tut/208619)

<div class="topic-metadata">

**Author:** [@thumbslinger](https://forum.kirupa.com/u/thumbslinger)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 2:51pm UTC](https://forum.kirupa.com/t/masking-the-falling-snow-tut/208619 "2006-11-30T14:51:39Z")

</div>

Hello- Glad to join this forum! I like the falling snow tutorial and have used it a few times. I'm trying to mask the snow in a snowglobe but I can't seem to add any background layers. The only way the mask seems to …

---

## [The mysterious filter issue](https://forum.kirupa.com/t/the-mysterious-filter-issue/208618)

<div class="topic-metadata">

**Author:** [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 2:27pm UTC](https://forum.kirupa.com/t/the-mysterious-filter-issue/208618 "2006-11-30T14:27:27Z")

</div>

I have a movie i've been working on with a double layered infinite menu. The top menu is revealed through a mask, and the bottom menu is contained within a movieclip that has an "adjust color" filter on it, it is set to …

---

## [onSoundComplete not working to goto next song with mp3 player](https://forum.kirupa.com/t/onsoundcomplete-not-working-to-goto-next-song-with-mp3-player/208612)

<div class="topic-metadata">

**Author:** [@sunn2000](https://forum.kirupa.com/u/sunn2000)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 12:24pm UTC](https://forum.kirupa.com/t/onsoundcomplete-not-working-to-goto-next-song-with-mp3-player/208612 "2006-11-30T12:24:53Z")

</div>

as per a tutorial i've created a .as file to play audio files via and .xml file the xml file : \<?xml version="1.0" encoding="UTF-8"?\> \<songs\> \<song url="AUDIO/audio1.mp3" name="jazzanova - eclipse" /\> \<song url="AUD…

---

## [Removing movieclips problem](https://forum.kirupa.com/t/removing-movieclips-problem/208610)

<div class="topic-metadata">

**Author:** [@jose3760](https://forum.kirupa.com/u/jose3760)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 12:16pm UTC](https://forum.kirupa.com/t/removing-movieclips-problem/208610 "2006-11-30T12:16:36Z")

</div>

I have my guy who shoots at blocks. I want it so that when the bullets hit the blocks, the bullet dissapears and the block dissapears. right now, im using .\_alpha because i couldnt get the removemovieclip() to work. he…

---

## [Platform problems](https://forum.kirupa.com/t/platform-problems/208608)

<div class="topic-metadata">

**Author:** [@Campestre](https://forum.kirupa.com/u/Campestre)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 11:46am UTC](https://forum.kirupa.com/t/platform-problems/208608 "2006-11-30T11:46:21Z")

</div>

Hi there, I have been learning to do a platform game looking at Kirupa's tutorials, I got to do bottom and left and right sides collision detection working almost good, but I have these problems: - the bottom collision d…

---

## [Depth problem to the dynamic loading movie clips](https://forum.kirupa.com/t/depth-problem-to-the-dynamic-loading-movie-clips/208607)

<div class="topic-metadata">

**Author:** [@jasvarghese](https://forum.kirupa.com/u/jasvarghese)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 11:32am UTC](https://forum.kirupa.com/t/depth-problem-to-the-dynamic-loading-movie-clips/208607 "2006-11-30T11:32:10Z")

</div>

Hai all In my stage im loading many dynamic movieClips.at the same tim i have the static movieClips too..while i'm loading these dynamic movieClips, thats overlapping the static movieclips on the screen.. actually i ne…

---

## [Which is the Better Way](https://forum.kirupa.com/t/which-is-the-better-way/208606)

<div class="topic-metadata">

**Author:** [@sandeep\_cdac200](https://forum.kirupa.com/u/sandeep_cdac200)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 11:26am UTC](https://forum.kirupa.com/t/which-is-the-better-way/208606 "2006-11-30T11:26:27Z")

</div>

hi all Once again i am back with some problem.Now this time my question is something related to performance.Here is the deal. I am creating a simple shooting game in which you can fire any number of bullets and X numbe…

---

## [Customise jumper design's](https://forum.kirupa.com/t/customise-jumper-designs/208601)

<div class="topic-metadata">

**Author:** [@Iso\_Rob](https://forum.kirupa.com/u/Iso_Rob)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 10:23am UTC](https://forum.kirupa.com/t/customise-jumper-designs/208601 "2006-11-30T10:23:41Z")

</div>

Hi all, I was wondering how hard it would be to create something like the following: http://nikeid.nike.com/nikeid/index.jhtml?\_requestid=10308208 Ideally I want the customer to design their own jumper with severa…

---

## [Error code: Felkod I Dreamweaver: TypeError: MM.event has no properties](https://forum.kirupa.com/t/error-code-felkod-i-dreamweaver-typeerror-mm-event-has-no-properties/208597)

<div class="topic-metadata">

**Author:** [@Hyperion](https://forum.kirupa.com/u/Hyperion)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 9:36am UTC](https://forum.kirupa.com/t/error-code-felkod-i-dreamweaver-typeerror-mm-event-has-no-properties/208597 "2006-11-30T09:36:51Z")

</div>

Hi, When I try to cut and paste in Dreamweaver, I get the following error message: TypeError: MM.event has no properties Does anyone know why I can't cut and paste, and how to solve this problem? Thanks! /Marc…

---

## [Flash to replace Powerpoint?](https://forum.kirupa.com/t/flash-to-replace-powerpoint/208591)

<div class="topic-metadata">

**Author:** [@masskontroll](https://forum.kirupa.com/u/masskontroll)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 8:52am UTC](https://forum.kirupa.com/t/flash-to-replace-powerpoint/208591 "2006-11-30T08:52:55Z")

</div>

One of my clients would like to give a more flashy presentation instead of the usual powerpoint stuff. Can I build a presentation in flash on a mac, which can be used in a windows environment using a stand-alone applicat…

---

## [How can I make an HTML info hover panel?](https://forum.kirupa.com/t/how-can-i-make-an-html-info-hover-panel/208590)

<div class="topic-metadata">

**Author:** [@spindrift](https://forum.kirupa.com/u/spindrift)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 8:34am UTC](https://forum.kirupa.com/t/how-can-i-make-an-html-info-hover-panel/208590 "2006-11-30T08:34:25Z")

</div>

Hi guys, I have an image on my website that when the user hovers over displays a 'help/info' panel pretty much like the one on http://www.download.com/3120-20\_4-0.html?tg=dl-20&qt=winzip&tag=srch if you hover over one …

---

## [Need Suggestions Regarding Show/Hide of Div's](https://forum.kirupa.com/t/need-suggestions-regarding-show-hide-of-divs/208588)

<div class="topic-metadata">

**Author:** [@FrankieB](https://forum.kirupa.com/u/FrankieB)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 8:10am UTC](https://forum.kirupa.com/t/need-suggestions-regarding-show-hide-of-divs/208588 "2006-11-30T08:10:59Z")

</div>

Hey fella's, I have a project where I need to build a testimonials page, with a hovering box that has a testimonial in it. This box is fixed on the screen. Down the page are links, with short blurbs to each testimoni…

---

## [TextFormat issue](https://forum.kirupa.com/t/textformat-issue/208585)

<div class="topic-metadata">

**Author:** [@htrain26](https://forum.kirupa.com/u/htrain26)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 6:49am UTC](https://forum.kirupa.com/t/textformat-issue/208585 "2006-11-30T06:49:57Z")

</div>

Hello, I'm am trying to set up some Dynamic text to have some TextFormat code on them. Now I have this AS: //create TextFormat Objects that define the states of the sub-menu options var btnDisable:TextFormat = new Tex…

---

## [Comparing Arrays with PHP](https://forum.kirupa.com/t/comparing-arrays-with-php/208584)

<div class="topic-metadata">

**Author:** [@nobody](https://forum.kirupa.com/u/nobody)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 6:41am UTC](https://forum.kirupa.com/t/comparing-arrays-with-php/208584 "2006-11-30T06:41:10Z")

</div>

Hello I am back with more questions because I still suck. So I have two arrays. $dates\_arr which contains a numerical date for each row in my database within a certain month. Ie it could be something like \[0\]=\>4 \[1\]=\>2…

---

## [How can I load buttons at runtime?](https://forum.kirupa.com/t/how-can-i-load-buttons-at-runtime/208583)

<div class="topic-metadata">

**Author:** [@azukizero](https://forum.kirupa.com/u/azukizero)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 6:37am UTC](https://forum.kirupa.com/t/how-can-i-load-buttons-at-runtime/208583 "2006-11-30T06:37:04Z")

</div>

Hey all, I'd like to learn the correct way to design flash sites in the direction of the Kirupa tutorial found here: http://www.kirupa.com/developer/flash8/best\_structure\_flash\_site.htm Although that's a hellava lot …

---

## [Can I kill function?](https://forum.kirupa.com/t/can-i-kill-function/208582)

<div class="topic-metadata">

**Author:** [@xelaxam](https://forum.kirupa.com/u/xelaxam)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 5:18am UTC](https://forum.kirupa.com/t/can-i-kill-function/208582 "2006-11-30T05:18:03Z")

</div>

Pretty easy question... is it possible to disable function after you did a certai action... For exemple after I click on btc this.btc.onRollOver = function () { btc.gotoAndPlay("\_over"); } this.btc.onRollOut = func…

---

## [Ajax Form Validation](https://forum.kirupa.com/t/ajax-form-validation/208581)

<div class="topic-metadata">

**Author:** [@nvzak](https://forum.kirupa.com/u/nvzak)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 5:10am UTC](https://forum.kirupa.com/t/ajax-form-validation/208581 "2006-11-30T05:10:25Z")

</div>

OK, I have recently been trying to implement this form validation through ajax. i can get it to work here http://cyhite.com/test\_ajax/test\_123.html but not here: http://acc.cyhite.com/ Here is the code i put together f…

---

## [Output Array to Dynamic Text Field](https://forum.kirupa.com/t/output-array-to-dynamic-text-field/208577)

<div class="topic-metadata">

**Author:** [@Lou](https://forum.kirupa.com/u/Lou)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 4:09am UTC](https://forum.kirupa.com/t/output-array-to-dynamic-text-field/208577 "2006-11-30T04:09:31Z")

</div>

Is there a better way to write this code? In a 'for loop' of some sort? I want each item in the array to be displayed in a seperate textbox slot0.text = inventory\[0\] slot1.text = inventory\[1\] slot2.text = inventory\[…

---

## [Swfobject center in the browser](https://forum.kirupa.com/t/swfobject-center-in-the-browser/208570)

<div class="topic-metadata">

**Author:** [@Derlei](https://forum.kirupa.com/u/Derlei)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 2:36am UTC](https://forum.kirupa.com/t/swfobject-center-in-the-browser/208570 "2006-11-30T02:36:01Z")

</div>

Can someone help me to center in the browser my swf, i´m using swfobject. \<script type="text/javascript" src="swfobject.js"\>\</script\> \<div id="flashcontent" align="center"\>If you see this, you need flash player 8!\</d…

---

## [Loading a SWF](https://forum.kirupa.com/t/loading-a-swf/208565)

<div class="topic-metadata">

**Author:** [@oscillate](https://forum.kirupa.com/u/oscillate)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 1:38am UTC](https://forum.kirupa.com/t/loading-a-swf/208565 "2006-11-30T01:38:28Z")

</div>

Hey everyone, I'm trying to load a .swf into my movie. So far, it works but it automatically puts the .swf in the top left-hand corner. How can I make sure the .swf only loads where I want it to be? Thanks so much! E…

---

## [Sending Variables to .asp page... Please Help](https://forum.kirupa.com/t/sending-variables-to-asp-page-please-help/208556)

<div class="topic-metadata">

**Author:** [@Lance](https://forum.kirupa.com/u/Lance)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 11:42pm UTC](https://forum.kirupa.com/t/sending-variables-to-asp-page-please-help/208556 "2006-11-29T23:42:06Z")

</div>

I have been using flash for some time now but mostly for design/animation type stuff. Now I am getting into the variables and database related coding. I am using one of the "Quiz Templates" that is in Flash 8 Pro to make…

---

## [Detect Flash Version in CFM](https://forum.kirupa.com/t/detect-flash-version-in-cfm/208545)

<div class="topic-metadata">

**Author:** [@garebear](https://forum.kirupa.com/u/garebear)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 9:57pm UTC](https://forum.kirupa.com/t/detect-flash-version-in-cfm/208545 "2006-11-29T21:57:05Z")

</div>

I have a swf embedded in a coldfusion (cfm) page. I generate the "detect flash version" on the html tab of the publish settings and I post it to the internet and test - works as expected. I copy the generated code and …

---

## [Filereference, progressbar](https://forum.kirupa.com/t/filereference-progressbar/208544)

<div class="topic-metadata">

**Author:** [@onetwo](https://forum.kirupa.com/u/onetwo)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 9:48pm UTC](https://forum.kirupa.com/t/filereference-progressbar/208544 "2006-11-29T21:48:03Z")

</div>

I have a script that works fine re uploading the multiple files I am selecting but I cannot get the progress bar to work. I could of course use the script often shown where files are uploaded as soon as they have been se…

---

## [Referencing a movieclip within an attached movieclip](https://forum.kirupa.com/t/referencing-a-movieclip-within-an-attached-movieclip/208543)

<div class="topic-metadata">

**Author:** [@aerahn](https://forum.kirupa.com/u/aerahn)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 9:33pm UTC](https://forum.kirupa.com/t/referencing-a-movieclip-within-an-attached-movieclip/208543 "2006-11-29T21:33:21Z")

</div>

Hello, I am trying to reference a movieclip within a movieclip that I am loading using "attachmovie". In the first frame of the root, I am attaching the movie. Then, from the attached movie I am calling a function that…

---

## [Random File list with PHP](https://forum.kirupa.com/t/random-file-list-with-php/208542)

<div class="topic-metadata">

**Author:** [@jonahholliday](https://forum.kirupa.com/u/jonahholliday)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 9:28pm UTC](https://forum.kirupa.com/t/random-file-list-with-php/208542 "2006-11-29T21:28:01Z")

</div>

Hi, I have been scratching my head trying to figure this out... sadly I haven't. I'm sure this is something simple; please help me out. using PHP I would like to list all the files in a specified folder in a random …

---

## [Problem with a photoSlider](https://forum.kirupa.com/t/problem-with-a-photoslider/208534)

<div class="topic-metadata">

**Author:** [@Johnsson](https://forum.kirupa.com/u/Johnsson)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 7:50pm UTC](https://forum.kirupa.com/t/problem-with-a-photoslider/208534 "2006-11-29T19:50:50Z")

</div>

:hr: Hi I need some help with this slider...:te: I originally got the file from: http://www.braingiants.com/ I'm trying to change it from sliding horizontally to vertically. I think I've got it allmost right, but it j…

---

## [Fonts in a shared library](https://forum.kirupa.com/t/fonts-in-a-shared-library/208525)

<div class="topic-metadata">

**Author:** [@ORNj](https://forum.kirupa.com/u/ORNj)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 5:34pm UTC](https://forum.kirupa.com/t/fonts-in-a-shared-library/208525 "2006-11-29T17:34:59Z")

</div>

I have standard 07\_53 in a seperate file I'm using to store shared assets. When I import the pixel font into another file and use it in a dynamic html text box it always looks blurry. Besides the obvious "is the mc/text …

---

## [Does ActionScript support pointer variables?](https://forum.kirupa.com/t/does-actionscript-support-pointer-variables/208521)

<div class="topic-metadata">

**Author:** [@flashinapan](https://forum.kirupa.com/u/flashinapan)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 5:02pm UTC](https://forum.kirupa.com/t/does-actionscript-support-pointer-variables/208521 "2006-11-29T17:02:23Z")

</div>

I am wondering if ActionScript has something similar to pointer variables as in the C language. I have a rather long reference to movie clips in arrays, and would like to streamline the code instead of having to use the …

---

## [External Audio Help](https://forum.kirupa.com/t/external-audio-help/208518)

<div class="topic-metadata">

**Author:** [@wyclef](https://forum.kirupa.com/u/wyclef)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 4:39pm UTC](https://forum.kirupa.com/t/external-audio-help/208518 "2006-11-29T16:39:29Z")

</div>

What's wrong with this code? I'm trying to have audio as external mp3. myAudio = new Sound(myAudioMC); myAudio.loadSound("mix.mp3", isStreaming); myAudio.setVolume(20); myAudio.start(0, 999);

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

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