# programming

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

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

**Page:** 1850

---

## [I can't remove a mouseListener](https://forum.kirupa.com/t/i-cant-remove-a-mouselistener/216804)

<div class="topic-metadata">

**Author:** [@4Lb3Rt0](https://forum.kirupa.com/u/4Lb3Rt0)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 7:01pm UTC](https://forum.kirupa.com/t/i-cant-remove-a-mouselistener/216804 "2007-02-20T19:01:27Z")

</div>

I have a proble with a "simple" mouseListener. I've create a class. I've attached the class to a movieClip. The movieClip is used in a swf file I called "0\_gioco.swf". "0\_gioco.swf" is loaded into "main.swf". In main.s…

---

## [Pausing the loading of an external SWF?](https://forum.kirupa.com/t/pausing-the-loading-of-an-external-swf/216801)

<div class="topic-metadata">

**Author:** [@snailface](https://forum.kirupa.com/u/snailface)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 6:28pm UTC](https://forum.kirupa.com/t/pausing-the-loading-of-an-external-swf/216801 "2007-02-20T18:28:43Z")

</div>

Does anyone know of a way to pause the loading of an external file so that it can be resumed later. Alternatively, does anyone know of a way to detect the file size of an external file without actually loading it into …

---

## [Need a littile help with this script --\>](https://forum.kirupa.com/t/need-a-littile-help-with-this-script/216797)

<div class="topic-metadata">

**Author:** [@Zhet](https://forum.kirupa.com/u/Zhet)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 5:55pm UTC](https://forum.kirupa.com/t/need-a-littile-help-with-this-script/216797 "2007-02-20T17:55:38Z")

</div>

I need this script to run, but I gues I'm no so good with actionscript and making stupid mistakes. Anyway, heres the script I have problems with: on (press) { startDrag(\_target); } on (release) { stopDrag(); this.\_x…

---

## [Captions in photo gallery](https://forum.kirupa.com/t/captions-in-photo-gallery/216794)

<div class="topic-metadata">

**Author:** [@lbeaudoin\_gmail](https://forum.kirupa.com/u/lbeaudoin_gmail)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 5:30pm UTC](https://forum.kirupa.com/t/captions-in-photo-gallery/216794 "2007-02-20T17:30:49Z")

</div>

Hi, I have used this tutorial http://www.kirupa.com/developer/mx/photogallery.htm to create my online portfolio and everything works fine. The only thing is that would like to be able to write a description for each im…

---

## [Stupid Me (If Conditions)](https://forum.kirupa.com/t/stupid-me-if-conditions/216790)

<div class="topic-metadata">

**Author:** [@ChromeDemon](https://forum.kirupa.com/u/ChromeDemon)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 5:04pm UTC](https://forum.kirupa.com/t/stupid-me-if-conditions/216790 "2007-02-20T17:04:41Z")

</div>

In my If Conditions testvar \>= 1800 && \<= 2000 (testvar is larger than 1800 but smaller than 2000) is not working in my condition how do i write this correct ?? I am a bit blocked in my head today ... sorry for thi…

---

## [IN/OUT keywords?](https://forum.kirupa.com/t/in-out-keywords/216788)

<div class="topic-metadata">

**Author:** [@Al6200](https://forum.kirupa.com/u/Al6200)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 4:45pm UTC](https://forum.kirupa.com/t/in-out-keywords/216788 "2007-02-20T16:45:37Z")

</div>

In the context of: int xyz(IN int arg1, IN int arg2, OUT int arg3) { return 42; } I have no idea what these keywords mean, and I'm having trouble researching it since its pretty hard to search for "IN". As a side…

---

## [PHP keep included links intact](https://forum.kirupa.com/t/php-keep-included-links-intact/216784)

<div class="topic-metadata">

**Author:** [@unchew](https://forum.kirupa.com/u/unchew)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 3:15pm UTC](https://forum.kirupa.com/t/php-keep-included-links-intact/216784 "2007-02-20T15:15:55Z")

</div>

Hi, I'm making a web page that will consist in various included php files (header, menu, footer, etc). The problem arrives when I move up or down in the directory levels. Let's imagine my footer.php file has an image w…

---

## [attachMovie in array](https://forum.kirupa.com/t/attachmovie-in-array/216783)

<div class="topic-metadata">

**Author:** [@qpixo](https://forum.kirupa.com/u/qpixo)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 3:13pm UTC](https://forum.kirupa.com/t/attachmovie-in-array/216783 "2007-02-20T15:13:05Z")

</div>

Is that possible to load some movie clips in an array and attach them in specific movie clip that have been defined. Basically I want them to load as a slide. Here what I mean: var tab\_mc = \[\]; var slide\_mc = thi…

---

## [XML parser in PHP problem](https://forum.kirupa.com/t/xml-parser-in-php-problem/216782)

<div class="topic-metadata">

**Author:** [@Greggeh](https://forum.kirupa.com/u/Greggeh)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 2:26pm UTC](https://forum.kirupa.com/t/xml-parser-in-php-problem/216782 "2007-02-20T14:26:54Z")

</div>

Ok so I did the xml parsing tutorial here (http://www.kirupa.com/web/xml\_php\_parse\_intermediate.htm)and got everything to work. Now i want to make my XML file an RSS file so people can subcribe to the file. Now the prob…

---

## [Center movie clip in window](https://forum.kirupa.com/t/center-movie-clip-in-window/216774)

<div class="topic-metadata">

**Author:** [@ChadS](https://forum.kirupa.com/u/ChadS)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 1:55pm UTC](https://forum.kirupa.com/t/center-movie-clip-in-window/216774 "2007-02-20T13:55:44Z")

</div>

Hi there- I realize this is an incredibly stupid question, but I haven't found any information on how to do it so far. I want to center an object in the window. Of, of course I can set \_x and \_y to a certain pixel value,…

---

## [Couple of questions concerning security and rpc](https://forum.kirupa.com/t/couple-of-questions-concerning-security-and-rpc/216766)

<div class="topic-metadata">

**Author:** [@ArcanE](https://forum.kirupa.com/u/ArcanE)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 12:59pm UTC](https://forum.kirupa.com/t/couple-of-questions-concerning-security-and-rpc/216766 "2007-02-20T12:59:25Z")

</div>

I'm currently in the talks with a client who wants us to develop a eLearning tool which integrates video, audio, speech recognition among others. We currently have the knowledge and skills to develop E-learning programs …

---

## [Keeping Distance between objects?](https://forum.kirupa.com/t/keeping-distance-between-objects/216762)

<div class="topic-metadata">

**Author:** [@RyanGus](https://forum.kirupa.com/u/RyanGus)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 12:23pm UTC](https://forum.kirupa.com/t/keeping-distance-between-objects/216762 "2007-02-20T12:23:58Z")

</div>

Hello: How can i make two objects to keep the same distance in between them when i move one of those to another place? thanks for any help!!!!!

---

## [Get instance name using mouse listener](https://forum.kirupa.com/t/get-instance-name-using-mouse-listener/216761)

<div class="topic-metadata">

**Author:** [@whitespace](https://forum.kirupa.com/u/whitespace)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 11:50am UTC](https://forum.kirupa.com/t/get-instance-name-using-mouse-listener/216761 "2007-02-20T11:50:39Z")

</div>

Hi, Im using a simple mouse listener to detect any mouseDown events. Ive got alot of movie clips on the stage and i was wondering if there is any easy way to get the name of the movie clip ive clicked on? I want to t…

---

## [Accessing variables within includes?](https://forum.kirupa.com/t/accessing-variables-within-includes/216756)

<div class="topic-metadata">

**Author:** [@J\_S](https://forum.kirupa.com/u/J_S)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 10:44am UTC](https://forum.kirupa.com/t/accessing-variables-within-includes/216756 "2007-02-20T10:44:00Z")

</div>

I'm quite new to PHP and need some help. I've got index.php which looks like this: \<?php $sectionname = "index"; include "header.php"; ?\> Then in header.php i've got: \<?php echo($sectionname); ?\> index.php d…

---

## [Generate XML file from list of files in folder for Flash mp3 player](https://forum.kirupa.com/t/generate-xml-file-from-list-of-files-in-folder-for-flash-mp3-player/216755)

<div class="topic-metadata">

**Author:** [@Toiletfreak](https://forum.kirupa.com/u/Toiletfreak)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 10:38am UTC](https://forum.kirupa.com/t/generate-xml-file-from-list-of-files-in-folder-for-flash-mp3-player/216755 "2007-02-20T10:38:17Z")

</div>

Hi there, I am entirely new to PHP. I have created a flash mp3 player which will probably be a tutorial in the future. Everything's fine, BTW how do I generate a temporary XML playlist using PHP or ASP.NET, load it us…

---

## [Setting the color of multiple MCs using one Color Object](https://forum.kirupa.com/t/setting-the-color-of-multiple-mcs-using-one-color-object/216754)

<div class="topic-metadata">

**Author:** [@schmichael](https://forum.kirupa.com/u/schmichael)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 10:34am UTC](https://forum.kirupa.com/t/setting-the-color-of-multiple-mcs-using-one-color-object/216754 "2007-02-20T10:34:08Z")

</div>

Hiya I am making a movie that has to be published to Flash Player 6 and want to set a bunch of movie clips to have the same color. Here is my function: \[AS\] var fillObjs\_ar:Array = \[square\_mc, circle\_mc\]; function colour…

---

## [Mouse Movment](https://forum.kirupa.com/t/mouse-movment/216753)

<div class="topic-metadata">

**Author:** [@meetmurali](https://forum.kirupa.com/u/meetmurali)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 10:33am UTC](https://forum.kirupa.com/t/mouse-movment/216753 "2007-02-20T10:33:55Z")

</div>

Hi all, I am using this code for vertical scrolling gallery. How to add the X and Y Positions For Mouse up and Down for the Below code. if (\_global.chk == undefined) { \_global.chk = 1; } mask\_y = getProperty("\_roo…

---

## [Reg SVG File](https://forum.kirupa.com/t/reg-svg-file/216745)

<div class="topic-metadata">

**Author:** [@gvnirmal](https://forum.kirupa.com/u/gvnirmal)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 9:06am UTC](https://forum.kirupa.com/t/reg-svg-file/216745 "2007-02-20T09:06:27Z")

</div>

Hi All, I have a small doubt..Can a SVG file be played using Flash 8..?? Plz Clarify..! Thanks, Nirmal.

---

## [Flash Popup Window(XML)](https://forum.kirupa.com/t/flash-popup-window-xml/216744)

<div class="topic-metadata">

**Author:** [@Ruga](https://forum.kirupa.com/u/Ruga)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 9:02am UTC](https://forum.kirupa.com/t/flash-popup-window-xml/216744 "2007-02-20T09:02:57Z")

</div>

Hi, I have learnt the skill of making photo gallery by using XML and Flash\*\*(Photo Gallery Using XML and Flash)\*\*, however, I could not fix the new popup window size and hide the toolbar. The script is //getURL st…

---

## [Thumbnail over state](https://forum.kirupa.com/t/thumbnail-over-state/216741)

<div class="topic-metadata">

**Author:** [@anothermethod](https://forum.kirupa.com/u/anothermethod)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 7:42am UTC](https://forum.kirupa.com/t/thumbnail-over-state/216741 "2007-02-20T07:42:36Z")

</div>

Hello - I have question regarding thumbnail hovers... I created a image gallery using PHP & SQL. I have thumbnails that swap out the main image and caption. What I'd like to do next is create a over state for the thu…

---

## [Game Class Structure?](https://forum.kirupa.com/t/game-class-structure/216739)

<div class="topic-metadata">

**Author:** [@Flashthinker](https://forum.kirupa.com/u/Flashthinker)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 7:07am UTC](https://forum.kirupa.com/t/game-class-structure/216739 "2007-02-20T07:07:03Z")

</div>

I recently started working on a simple 3D fps and I did some planning. But I'm not entirely sure what's the best way to layout my classes. I made a diagram but I'm not sure if it's right... Is it wise to initialize all…

---

## [Convert sound to mp3 on server](https://forum.kirupa.com/t/convert-sound-to-mp3-on-server/216737)

<div class="topic-metadata">

**Author:** [@mirzahat](https://forum.kirupa.com/u/mirzahat)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 6:22am UTC](https://forum.kirupa.com/t/convert-sound-to-mp3-on-server/216737 "2007-02-20T06:22:20Z")

</div>

Hello, is there anyway, something like a small tool, that can convert wav and other sound formats to mp3 on the server so I can load it into Flash? Something that can run in background as a utility and not a GUI applicat…

---

## [External Loaded Dynamic text disappearing with certain html tags](https://forum.kirupa.com/t/external-loaded-dynamic-text-disappearing-with-certain-html-tags/216736)

<div class="topic-metadata">

**Author:** [@michael1](https://forum.kirupa.com/u/michael1)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 5:51am UTC](https://forum.kirupa.com/t/external-loaded-dynamic-text-disappearing-with-certain-html-tags/216736 "2007-02-20T05:51:48Z")

</div>

Sup All // Title says it all. Doing a site for a client, and I have a news section that has an external .txt file that loads dynamically into a text box in flash. Basic, stuff .. no sweat. However, I am embedding the…

---

## [Component wizard = trace("help");](https://forum.kirupa.com/t/component-wizard-trace-help/216732)

<div class="topic-metadata">

**Author:** [@brndn](https://forum.kirupa.com/u/brndn)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 4:47am UTC](https://forum.kirupa.com/t/component-wizard-trace-help/216732 "2007-02-20T04:47:33Z")

</div>

i am a bit stumped as to how i can update the items of a dropdown list. in theory this should be working but will only assign \[COLOR=darkred\]\[board\_styles\]\[/COLOR\] once Something like an upDateAfterEvent for set componen…

---

## [Conditional statement trouble - tracking a state?](https://forum.kirupa.com/t/conditional-statement-trouble-tracking-a-state/216731)

<div class="topic-metadata">

**Author:** [@Head\_In\_A\_Pan](https://forum.kirupa.com/u/Head_In_A_Pan)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 4:23am UTC](https://forum.kirupa.com/t/conditional-statement-trouble-tracking-a-state/216731 "2007-02-20T04:23:13Z")

</div>

.

---

## [The million dollar question. XML popup](https://forum.kirupa.com/t/the-million-dollar-question-xml-popup/216729)

<div class="topic-metadata">

**Author:** [@fadingblack](https://forum.kirupa.com/u/fadingblack)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 3:02am UTC](https://forum.kirupa.com/t/the-million-dollar-question-xml-popup/216729 "2007-02-20T03:02:56Z")

</div>

Hi! I have been looking through thr forums and this question has been asked a million times, AND NEVER GOT AN ANSWER!!! This is very weird at kirupa. Have we found the unsolved problem??? \[alien\] Here it goes again: …

---

## [\[FLEX2 AS3\]Need help getting data objects onto the stage](https://forum.kirupa.com/t/flex2-as3-need-help-getting-data-objects-onto-the-stage/216722)

<div class="topic-metadata">

**Author:** [@1upthecoder](https://forum.kirupa.com/u/1upthecoder)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 11:42pm UTC](https://forum.kirupa.com/t/flex2-as3-need-help-getting-data-objects-onto-the-stage/216722 "2007-02-19T23:42:56Z")

</div>

Hello Everyone! please bare with me as im new to AS3 and flex and i may not know the exact terminology but ill do my best:hugegrin: . I am building an application in flex builder 2 using AS3 and for some reason I canno…

---

## [Problem using tween class within embedded swf's](https://forum.kirupa.com/t/problem-using-tween-class-within-embedded-swfs/216719)

<div class="topic-metadata">

**Author:** [@cnatale](https://forum.kirupa.com/u/cnatale)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 11:13pm UTC](https://forum.kirupa.com/t/problem-using-tween-class-within-embedded-swfs/216719 "2007-02-19T23:13:40Z")

</div>

Hello, I have a flash project that consists of a container swf with a navigation menu that loads other swf files into a container movieclip. One clip that is loaded uses the tween class to daisy-chain together an intro…

---

## [MAYDAY MAYDAY, Photo Gallery issue!](https://forum.kirupa.com/t/mayday-mayday-photo-gallery-issue/216718)

<div class="topic-metadata">

**Author:** [@marito](https://forum.kirupa.com/u/marito)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 11:11pm UTC](https://forum.kirupa.com/t/mayday-mayday-photo-gallery-issue/216718 "2007-02-19T23:11:27Z")

</div>

Hi! Firstly, I want to say that the code I am working with is the same found here: http://www.kirupa.com/developer/mx/photogallery.htm The code is working perfectly (pictures are displaying) when opening the file, wo…

---

## [Target Path using variables?](https://forum.kirupa.com/t/target-path-using-variables/216710)

<div class="topic-metadata">

**Author:** [@ZumoWrestler](https://forum.kirupa.com/u/ZumoWrestler)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 9:43pm UTC](https://forum.kirupa.com/t/target-path-using-variables/216710 "2007-02-19T21:43:45Z")

</div>

Hey everyone, I've run into a problem where I want to use a variable as part of a target path...example.. var myVar:String = String("myMC"); //say I have a MC with this path...this.myMC this.myVar.\_y = 3; is ther…

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

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