# programming

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

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

**Page:** 1074

---

## [addChild from custom class](https://forum.kirupa.com/t/addchild-from-custom-class/271150)

<div class="topic-metadata">

**Author:** [@neilness](https://forum.kirupa.com/u/neilness)\
**Replies:** 0\
**Last updated:** [September 19, 2008, 4:11am UTC](https://forum.kirupa.com/t/addchild-from-custom-class/271150 "2008-09-19T04:11:24Z")

</div>

I'm trying to write a custom class that will take a progress bar movieclip from the library, add it to the stage, update it with information from my loader event listener, and then remove it from the stage when everythin…

---

## [How to split an image on nine equal rectangels?](https://forum.kirupa.com/t/how-to-split-an-image-on-nine-equal-rectangels/271147)

<div class="topic-metadata">

**Author:** [@Birokrat](https://forum.kirupa.com/u/Birokrat)\
**Replies:** 0\
**Last updated:** [September 19, 2008, 2:39am UTC](https://forum.kirupa.com/t/how-to-split-an-image-on-nine-equal-rectangels/271147 "2008-09-19T02:39:24Z")

</div>

Hello! I m trying to split an image on nine equal restangels but i m having some problems due my lack of serious theorethical ground in actionscript here 's the code: function createRectangels():Void { var widthO…

---

## [Random images not repeated in other mc's](https://forum.kirupa.com/t/random-images-not-repeated-in-other-mcs/271145)

<div class="topic-metadata">

**Author:** [@dagdae](https://forum.kirupa.com/u/dagdae)\
**Replies:** 0\
**Last updated:** [September 19, 2008, 1:56am UTC](https://forum.kirupa.com/t/random-images-not-repeated-in-other-mcs/271145 "2008-09-19T01:56:08Z")

</div>

hi, I'm not really a coder so i'd love any help you could give. Basically I have 9 empty movie clips and I want them to be randomly filled with a jpg from external swfs which is fine but I don't want any of the 9 movie…

---

## [Simone Moreno trail effect](https://forum.kirupa.com/t/simone-moreno-trail-effect/271142)

<div class="topic-metadata">

**Author:** [@Floppy](https://forum.kirupa.com/u/Floppy)\
**Replies:** 0\
**Last updated:** [September 19, 2008, 12:08am UTC](https://forum.kirupa.com/t/simone-moreno-trail-effect/271142 "2008-09-19T00:08:23Z")

</div>

Hey, does anyone know how the trailing "worm" effect on this site was achieved? My first thought was having many very small movieclips that fade out in time, but it seems to work extremely fast and i think so many clips …

---

## [Transform displacementMapFilter](https://forum.kirupa.com/t/transform-displacementmapfilter/271137)

<div class="topic-metadata">

**Author:** [@maxmx](https://forum.kirupa.com/u/maxmx)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 10:21pm UTC](https://forum.kirupa.com/t/transform-displacementmapfilter/271137 "2008-09-18T22:21:29Z")

</div>

Hi, According to the Flash documentation, resizing, rotating or any other transformation isn't supported by the displacement Map Filter. I was wandering if there's any way around it at all (I seem to recall that it was …

---

## [Pause video on load](https://forum.kirupa.com/t/pause-video-on-load/271136)

<div class="topic-metadata">

**Author:** [@iwiniquit](https://forum.kirupa.com/u/iwiniquit)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 9:33pm UTC](https://forum.kirupa.com/t/pause-video-on-load/271136 "2008-09-18T21:33:09Z")

</div>

What would be the best way to pause a video/flv as soon as it loads and has the first frame up without it making any sound.

---

## [How difficult would it be to create something like this?](https://forum.kirupa.com/t/how-difficult-would-it-be-to-create-something-like-this/271134)

<div class="topic-metadata">

**Author:** [@XZiler8r](https://forum.kirupa.com/u/XZiler8r)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 9:20pm UTC](https://forum.kirupa.com/t/how-difficult-would-it-be-to-create-something-like-this/271134 "2008-09-18T21:20:39Z")

</div>

I'm looking to create a flash widget similar to what WoW has on their main page - http://www.worldofwarcraft.com/index.xml It needs to have images & text that could be called from a php or text file, so that it can be …

---

## [Color Picker](https://forum.kirupa.com/t/color-picker/271132)

<div class="topic-metadata">

**Author:** [@EssenceLord](https://forum.kirupa.com/u/EssenceLord)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 8:22pm UTC](https://forum.kirupa.com/t/color-picker/271132 "2008-09-18T20:22:50Z")

</div>

Well, this is something I made ages ago in an older version of actionscript, but I decided to convert it into AS3. Hopefully this helps! It's a color picker with two \[COLOR=#000000\]\[FONT=Arial\]palettes. One is color, …

---

## [White Box Menubar Component](https://forum.kirupa.com/t/white-box-menubar-component/271131)

<div class="topic-metadata">

**Author:** [@jon\_prance](https://forum.kirupa.com/u/jon_prance)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 8:18pm UTC](https://forum.kirupa.com/t/white-box-menubar-component/271131 "2008-09-18T20:18:28Z")

</div>

I've built a skin for the menubar component in AS 2.0 and skinned and styled it. However, I'm getting this white box rollover that comes before clicking the buttons on the menubar. Setstyles does not affect this rollover…

---

## [Sorting multi-dimesional arrays](https://forum.kirupa.com/t/sorting-multi-dimesional-arrays/271129)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 7:38pm UTC](https://forum.kirupa.com/t/sorting-multi-dimesional-arrays/271129 "2008-09-18T19:38:10Z")

</div>

Say I have a multi-dimensional array: $arr\[0\]\[0\] = 'pic0.jpeg'; $arr\[0\]\[1\] = 'screenshot of videogame'; $arr\[0\]\[2\] = 108.2; $arr\[1\]\[0\] = 'image.jpeg'; $arr\[1\]\[1\] = 'someones face'; $arr\[1\]\[2\] = 35.6; $arr\[2\]\[0\] = 'f…

---

## [Issues with depthSwap();](https://forum.kirupa.com/t/issues-with-depthswap/271128)

<div class="topic-metadata">

**Author:** [@bostondesign](https://forum.kirupa.com/u/bostondesign)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 7:18pm UTC](https://forum.kirupa.com/t/issues-with-depthswap/271128 "2008-09-18T19:18:30Z")

</div>

I am trying to make a user be able to move images around, bring the clicked on one to the front, and on reset set them all back up, not sure what the heck is goin on, any help would be appreciated. large1\_mc.large1.loa…

---

## [Question about AS1 to AS2 conversion of slots.fla](https://forum.kirupa.com/t/question-about-as1-to-as2-conversion-of-slots-fla/271127)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 5:59pm UTC](https://forum.kirupa.com/t/question-about-as1-to-as2-conversion-of-slots-fla/271127 "2008-09-18T17:59:50Z")

</div>

I was looking for a tutorial or example of a very simple slot machine that is also easy to win and found a perfect example on the old Macromedia site from 2000. I didn't even notice until much later that I was tweaking a…

---

## [Sending Multiple Items in Paypal](https://forum.kirupa.com/t/sending-multiple-items-in-paypal/271124)

<div class="topic-metadata">

**Author:** [@energy](https://forum.kirupa.com/u/energy)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 4:44pm UTC](https://forum.kirupa.com/t/sending-multiple-items-in-paypal/271124 "2008-09-18T16:44:39Z")

</div>

I have tried to figure out a solution but i could just set it up for one item till now. Here is a code which works for one item: var a:Number = 0; //var paypal\_lv = new LoadVars(); addcart.addEventListener(MouseEvent.…

---

## [Merge Datagrid Cells](https://forum.kirupa.com/t/merge-datagrid-cells/271123)

<div class="topic-metadata">

**Author:** [@EssenceLord](https://forum.kirupa.com/u/EssenceLord)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 4:19pm UTC](https://forum.kirupa.com/t/merge-datagrid-cells/271123 "2008-09-18T16:19:00Z")

</div>

I managed to create a (pseudo) merged cell for a project of mine which uses datagrids to display data. Never did see anything online about how to do it, so I had to do a bit of tweaking with cellRenderers. Here's what …

---

## [Fixed Carousel](https://forum.kirupa.com/t/fixed-carousel/271121)

<div class="topic-metadata">

**Author:** [@flamedude](https://forum.kirupa.com/u/flamedude)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 4:03pm UTC](https://forum.kirupa.com/t/fixed-carousel/271121 "2008-09-18T16:03:02Z")

</div>

Hi, I need to make a dynamic AS2 xml carousel and am looking for any advice/pointers. It's like the typical fake-3D carousel (like from gotoandlearn) but I need the carousel to always display 5 items at the front regar…

---

## [AS2 \> AS3 migratrion issues re. addChild()](https://forum.kirupa.com/t/as2-as3-migratrion-issues-re-addchild/271119)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 3:57pm UTC](https://forum.kirupa.com/t/as2-as3-migratrion-issues-re-addchild/271119 "2008-09-18T15:57:56Z")

</div>

Hi, forgive me making a nebulous and slightly rambling post, but I'm a reasonably proficient AS2 coder trying to programme in AS3 for the first time, and have not gone for before encountering a problem. I have a funct…

---

## [Manage calendar XML file from admin panel](https://forum.kirupa.com/t/manage-calendar-xml-file-from-admin-panel/271115)

<div class="topic-metadata">

**Author:** [@avaterera](https://forum.kirupa.com/u/avaterera)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 3:36pm UTC](https://forum.kirupa.com/t/manage-calendar-xml-file-from-admin-panel/271115 "2008-09-18T15:36:43Z")

</div>

Hi I have small problem and need help. Can anybody please give me some tips how to make script witch will help me to manage XML file? I have flash calendar witch is using events from xml file and I need to manage this fi…

---

## [TypeError #1009: Cannot access a property or method](https://forum.kirupa.com/t/typeerror-1009-cannot-access-a-property-or-method/271114)

<div class="topic-metadata">

**Author:** [@anix](https://forum.kirupa.com/u/anix)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 3:29pm UTC](https://forum.kirupa.com/t/typeerror-1009-cannot-access-a-property-or-method/271114 "2008-09-18T15:29:47Z")

</div>

Hi i am designing a site where i will be loading content into an empty movieclip, the content wil consist of a few movieclip that are moveable and they will each contain buttons within them. Now i want the buttons to con…

---

## [File Field processing in PHP](https://forum.kirupa.com/t/file-field-processing-in-php/271112)

<div class="topic-metadata">

**Author:** [@jasonmilburn](https://forum.kirupa.com/u/jasonmilburn)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 2:43pm UTC](https://forum.kirupa.com/t/file-field-processing-in-php/271112 "2008-09-18T14:43:42Z")

</div>

Nevermind I figured it out!

---

## [Fixing movieclips and dynamic text](https://forum.kirupa.com/t/fixing-movieclips-and-dynamic-text/271108)

<div class="topic-metadata">

**Author:** [@brisa\_main](https://forum.kirupa.com/u/brisa_main)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 1:51pm UTC](https://forum.kirupa.com/t/fixing-movieclips-and-dynamic-text/271108 "2008-09-18T13:51:55Z")

</div>

Hi I have this so far: However i don't want the next, prev and logo to scale with the image when resized. How can i do this? Stage.align = "TL"; Stage.scaleMode = "noBorder"; sizeListener = new Object(); sizeLi…

---

## [XML \> Flash, dynamic pictures/swf's?](https://forum.kirupa.com/t/xml-flash-dynamic-pictures-swfs/271105)

<div class="topic-metadata">

**Author:** [@Jiruharudo](https://forum.kirupa.com/u/Jiruharudo)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 12:55pm UTC](https://forum.kirupa.com/t/xml-flash-dynamic-pictures-swfs/271105 "2008-09-18T12:55:06Z")

</div>

Hello all. I have this script, which centers a picture or swf dynamicly with a XML file. Though some Swf files (or pictures for that matter) don't center/scale properly.. Can anyone spot the flaw to why it might be…

---

## [Send form e-mail response problem with Event.COMPLETE](https://forum.kirupa.com/t/send-form-e-mail-response-problem-with-event-complete/271100)

<div class="topic-metadata">

**Author:** [@alexmbra](https://forum.kirupa.com/u/alexmbra)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 11:34am UTC](https://forum.kirupa.com/t/send-form-e-mail-response-problem-with-event-complete/271100 "2008-09-18T11:34:33Z")

</div>

Ok. Here is the problem. I am sending e-mail from a flash form and asp, and the e-mail is sent with no problems, but I can not get the status. "Event.COMPLETE" only works locally. How can I get a response if the e-mail…

---

## [Understanding addEventListener and removeEventListener help](https://forum.kirupa.com/t/understanding-addeventlistener-and-removeeventlistener-help/271098)

<div class="topic-metadata">

**Author:** [@alexmbra](https://forum.kirupa.com/u/alexmbra)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 11:10am UTC](https://forum.kirupa.com/t/understanding-addeventlistener-and-removeeventlistener-help/271098 "2008-09-18T11:10:56Z")

</div>

What will happen if I just add a addEventListener without the removeEventListener? Will it be creating a new eventListener everytime the event occurs, or will it be replacing the old one? Thanks

---

## [AMFPHP Services over HTTPS](https://forum.kirupa.com/t/amfphp-services-over-https/271097)

<div class="topic-metadata">

**Author:** [@artikboy](https://forum.kirupa.com/u/artikboy)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 10:53am UTC](https://forum.kirupa.com/t/amfphp-services-over-https/271097 "2008-09-18T10:53:31Z")

</div>

Hi everyone I'm having a very strange problem around a few services I developed for AMFPHP that worked fine over HTTP but once over HTTPS gone completely wrong. When testing right on export flash IDE the connection go…

---

## [Multiplayer in Flash](https://forum.kirupa.com/t/multiplayer-in-flash/271096)

<div class="topic-metadata">

**Author:** [@Aneurin\_Mark\_II](https://forum.kirupa.com/u/Aneurin_Mark_II)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 10:24am UTC](https://forum.kirupa.com/t/multiplayer-in-flash/271096 "2008-09-18T10:24:57Z")

</div>

I have plans to develop a game (in AS3) in which four players play simultaneously against each other. However, as it is a racing game, I need to consider lag, and whether Flash will even be able to do that. Is live a…

---

## [addEventListener and Event.ENTER\_FRAME problem](https://forum.kirupa.com/t/addeventlistener-and-event-enter-frame-problem/271095)

<div class="topic-metadata">

**Author:** [@alexmbra](https://forum.kirupa.com/u/alexmbra)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 10:20am UTC](https://forum.kirupa.com/t/addeventlistener-and-event-enter-frame-problem/271095 "2008-09-18T10:20:31Z")

</div>

I need a little help with because I can't not see why this is not working. I have a website with several pages, and each page is a flash scene. I also have this var GoToNextScene. And whenever I click at a button to go f…

---

## [JSFL - enterEditMode after convertToSymbol?](https://forum.kirupa.com/t/jsfl-entereditmode-after-converttosymbol/271092)

<div class="topic-metadata">

**Author:** [@svdelle](https://forum.kirupa.com/u/svdelle)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 9:30am UTC](https://forum.kirupa.com/t/jsfl-entereditmode-after-converttosymbol/271092 "2008-09-18T09:30:30Z")

</div>

I'm adding tons of 'Groups' to the library using: var allElements = fl.getDocumentDOM().getTimeline().layers\[0\].frames\[0\].elements; var selectionArray = new Array; for(var i=0;i \< allElements.length;i++){ fl.getD…

---

## [Create new window in flash file](https://forum.kirupa.com/t/create-new-window-in-flash-file/271091)

<div class="topic-metadata">

**Author:** [@jp1981](https://forum.kirupa.com/u/jp1981)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 9:10am UTC](https://forum.kirupa.com/t/create-new-window-in-flash-file/271091 "2008-09-18T09:10:16Z")

</div>

Good day everyone. I have been reading alot in this forum and always found answers to my questions. Now I am stuck again and cant find a solution. How can I create an extra window that opens up on the current page. F…

---

## [Approaches for language selection for a website](https://forum.kirupa.com/t/approaches-for-language-selection-for-a-website/271090)

<div class="topic-metadata">

**Author:** [@dail](https://forum.kirupa.com/u/dail)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 8:35am UTC](https://forum.kirupa.com/t/approaches-for-language-selection-for-a-website/271090 "2008-09-18T08:35:56Z")

</div>

Hi, So, I've got a new little site to implement, that has the requirement of supporting 3 different languages, via the user choosing their language on the sites landing page. It's not something I've implemented as of…

---

## [Xml Update function help needed](https://forum.kirupa.com/t/xml-update-function-help-needed/271086)

<div class="topic-metadata">

**Author:** [@miezz](https://forum.kirupa.com/u/miezz)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 8:11am UTC](https://forum.kirupa.com/t/xml-update-function-help-needed/271086 "2008-09-18T08:11:53Z")

</div>

Hello everybody, I am new at this site and I am from the Netherlands so if I don't speak your language very well, excuse me for that. Now I have a problem that I can't fix. So I'll explain it to you. I have this ki…

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

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