# programming

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

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

**Page:** 366

---

## [Data Oriented Programming and ActionScript](https://forum.kirupa.com/t/data-oriented-programming-and-actionscript/317069)

<div class="topic-metadata">

**Author:** [@Dralok](https://forum.kirupa.com/u/Dralok)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 3:29pm UTC](https://forum.kirupa.com/t/data-oriented-programming-and-actionscript/317069 "2010-12-09T15:29:57Z")

</div>

I recently read some forum thread and article talking about Data Oriented Programming. This think seem realy interesting. I tryed to find some exemple, but i did not find any one using ActionScript. I would like to kno…

---

## [\[AS2 on Flash7\] Need help to move mouse and click a button?](https://forum.kirupa.com/t/as2-on-flash7-need-help-to-move-mouse-and-click-a-button/317066)

<div class="topic-metadata">

**Author:** [@ksk](https://forum.kirupa.com/u/ksk)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 2:58pm UTC](https://forum.kirupa.com/t/as2-on-flash7-need-help-to-move-mouse-and-click-a-button/317066 "2010-12-09T14:58:29Z")

</div>

Hi All, I'm new to Flash and Actionscript. I'm trying to move the mouse to a random button and press it to have the onRollOver and onPress functionality. I've tried this for mouse-over: xmouse = randomSelected.x; ymo…

---

## [Multiple chekbox selection and disply in navigation](https://forum.kirupa.com/t/multiple-chekbox-selection-and-disply-in-navigation/317065)

<div class="topic-metadata">

**Author:** [@vishuvaid](https://forum.kirupa.com/u/vishuvaid)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 2:45pm UTC](https://forum.kirupa.com/t/multiple-chekbox-selection-and-disply-in-navigation/317065 "2010-12-09T14:45:04Z")

</div>

i made a home page with 10 section with chk box and these section have chapters in swf. i want if i select only 2 section and click confirm it will take me to navigation where these 2 section will display with their chap…

---

## [Convert code from \_dropTarget to hitTest](https://forum.kirupa.com/t/convert-code-from--droptarget-to-hittest/317064)

<div class="topic-metadata">

**Author:** [@AndrewELB](https://forum.kirupa.com/u/AndrewELB)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 2:22pm UTC](https://forum.kirupa.com/t/convert-code-from--droptarget-to-hittest/317064 "2010-12-09T14:22:48Z")

</div>

I'm trying to use a drag and drop activity in Adobe Presenter and discovered that \_dropTarget doesn't seem to be supported. The post said to use hitTest instead. The problem is that I can't figure out a way to easily twe…

---

## [Movie clips that play one after the other](https://forum.kirupa.com/t/movie-clips-that-play-one-after-the-other/317054)

<div class="topic-metadata">

**Author:** [@IMPtheIMP](https://forum.kirupa.com/u/IMPtheIMP)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 4:30am UTC](https://forum.kirupa.com/t/movie-clips-that-play-one-after-the-other/317054 "2010-12-09T04:30:14Z")

</div>

Sorry guys if this topic has already been covered. I'd usually look around for a solution on the forum but I'm straped for time. Basically, my main time line has a few layers and just a few frames. On each frame there …

---

## [Dynamically declaring/accessing objects](https://forum.kirupa.com/t/dynamically-declaring-accessing-objects/317053)

<div class="topic-metadata">

**Author:** [@fall0utm0dd](https://forum.kirupa.com/u/fall0utm0dd)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 3:23am UTC](https://forum.kirupa.com/t/dynamically-declaring-accessing-objects/317053 "2010-12-09T03:23:09Z")

</div>

So heres my code in my main game loop: if (! initialized) { for (var c = 1; c \< 1000; c++) { var particle:Particle = new Particle(); particle.name = "particle" + c; trace(particle.name); } initialized…

---

## [Need help in codes!](https://forum.kirupa.com/t/need-help-in-codes/317050)

<div class="topic-metadata">

**Author:** [@chongsl](https://forum.kirupa.com/u/chongsl)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 1:31am UTC](https://forum.kirupa.com/t/need-help-in-codes/317050 "2010-12-09T01:31:13Z")

</div>

Hi there. Please help. Have some problems here. Does anyone know any codes that can help convert WAV audio file to MP3 audio file? It has to be codes.. \[smile\] If u guys have any websites/tutorials to recommend too, j…

---

## [Inconsisten 1060 error using fscommand](https://forum.kirupa.com/t/inconsisten-1060-error-using-fscommand/317045)

<div class="topic-metadata">

**Author:** [@Kdnce](https://forum.kirupa.com/u/Kdnce)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 10:22pm UTC](https://forum.kirupa.com/t/inconsisten-1060-error-using-fscommand/317045 "2010-12-08T22:22:43Z")

</div>

Hello, I have two projects that use this same piece of code ... myButton.addEventListener(MouseEvent.CLICK, myButtonClick); function mybuttonClick(event:MouseEvent):void{ fscommand("exec","myApp.exe") } When I …

---

## [Error #1034: Type Coercion failed](https://forum.kirupa.com/t/error-1034-type-coercion-failed/317043)

<div class="topic-metadata">

**Author:** [@flash\_back](https://forum.kirupa.com/u/flash_back)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 8:53pm UTC](https://forum.kirupa.com/t/error-1034-type-coercion-failed/317043 "2010-12-08T20:53:45Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]Hello all,\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\]I have an Issue I can use some help with.. I have a flex file I am trying to load into a game. the projected .swf file works perfect on its …

---

## [Re-using a MC while each retains their values (AS3)](https://forum.kirupa.com/t/re-using-a-mc-while-each-retains-their-values-as3/317041)

<div class="topic-metadata">

**Author:** [@MossyStump](https://forum.kirupa.com/u/MossyStump)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 7:39pm UTC](https://forum.kirupa.com/t/re-using-a-mc-while-each-retains-their-values-as3/317041 "2010-12-08T19:39:32Z")

</div>

Alright, so I would greatly appreciate any help others can give me! I'm attempting to re-use a single movieclip multiple times while each retains their individual values from the same class! I hope I made that clear =/ A…

---

## [Contact form?](https://forum.kirupa.com/t/contact-form/317038)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 5:42pm UTC](https://forum.kirupa.com/t/contact-form/317038 "2010-12-08T17:42:57Z")

</div>

Is it possible to make a contact form in flash? Just something simple like someone inputting their name, e-mail and a comment and it being sent to my e-mail? Thanks for any help!

---

## [AS2:: Contact form in Flash?](https://forum.kirupa.com/t/as2-contact-form-in-flash/317037)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 5:41pm UTC](https://forum.kirupa.com/t/as2-contact-form-in-flash/317037 "2010-12-08T17:41:50Z")

</div>

Is it possible to make a contact form in flash? Just something simple like someone inputting their name, e-mail and a comment and it being sent to my e-mail? Thanks for any help!

---

## [Tweening menu problem](https://forum.kirupa.com/t/tweening-menu-problem/317035)

<div class="topic-metadata">

**Author:** [@xric](https://forum.kirupa.com/u/xric)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 4:28pm UTC](https://forum.kirupa.com/t/tweening-menu-problem/317035 "2010-12-08T16:28:00Z")

</div>

Hi guys, I've been trying to find a solution to this for a while, but I haven't had any luck. I'm making a menu system that uses sliding movie clips instead of separate pages - http://www.newgrounds.com/dump/item/62a…

---

## [Problem with changing textfield content](https://forum.kirupa.com/t/problem-with-changing-textfield-content/317034)

<div class="topic-metadata">

**Author:** [@cafedelmar](https://forum.kirupa.com/u/cafedelmar)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 3:02pm UTC](https://forum.kirupa.com/t/problem-with-changing-textfield-content/317034 "2010-12-08T15:02:00Z")

</div>

Hi, I'm new to AS3 classes and try to change the content of the textfield. Could someone give me a tip to get this to work. Thanks Documentclass dispatchEventExample.as package { import flash.display.MovieClip; …

---

## [Need Help! stopping tween and keeping it stopped](https://forum.kirupa.com/t/need-help-stopping-tween-and-keeping-it-stopped/317030)

<div class="topic-metadata">

**Author:** [@pavel963](https://forum.kirupa.com/u/pavel963)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 12:30pm UTC](https://forum.kirupa.com/t/need-help-stopping-tween-and-keeping-it-stopped/317030 "2010-12-08T12:30:40Z")

</div>

Hi, I've been try to do this for a while now and seem to be really stuck, hope someone can help me out, I'm sure its a simple problem and I'm just not seeing it. In my movie I have 2 scenes in the first one there is …

---

## [Position of mp3 file vs timer event](https://forum.kirupa.com/t/position-of-mp3-file-vs-timer-event/317028)

<div class="topic-metadata">

**Author:** [@jaxz](https://forum.kirupa.com/u/jaxz)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 10:23am UTC](https://forum.kirupa.com/t/position-of-mp3-file-vs-timer-event/317028 "2010-12-08T10:23:21Z")

</div>

Hi all I have a media player code that intends to Cross fade files as the one playing comes close to its end (filelength - dt) , and start playback of the next one just before the end. To get it right (optimize var dt) I…

---

## [Cannot change font face and color](https://forum.kirupa.com/t/cannot-change-font-face-and-color/317027)

<div class="topic-metadata">

**Author:** [@pm4698](https://forum.kirupa.com/u/pm4698)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 8:36am UTC](https://forum.kirupa.com/t/cannot-change-font-face-and-color/317027 "2010-12-08T08:36:32Z")

</div>

Hi there. I use a .swf file in which i have placed a dynamic text with a specific font and color. This text loads its content through a contents.xml file which is as follows: \<?xml version="1.0" encoding="utf-8" ?\> \<x…

---

## [How to access a local database using AS3](https://forum.kirupa.com/t/how-to-access-a-local-database-using-as3/317015)

<div class="topic-metadata">

**Author:** [@Zen08](https://forum.kirupa.com/u/Zen08)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 2:11am UTC](https://forum.kirupa.com/t/how-to-access-a-local-database-using-as3/317015 "2010-12-08T02:11:11Z")

</div>

Hi guys, I've been looking a lot in the web on how to do this, but i'm kinda short on time right now so decided ask help from you guys instead. :thumb2: So i have this simple project i have to make in flash banner th…

---

## [HELP WITH \*Random Image Fading\*](https://forum.kirupa.com/t/help-with-random-image-fading/317010)

<div class="topic-metadata">

**Author:** [@GeoffS](https://forum.kirupa.com/u/GeoffS)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 10:34pm UTC](https://forum.kirupa.com/t/help-with-random-image-fading/317010 "2010-12-07T22:34:21Z")

</div>

I have a chunk of code in AS2 that calls a random image. I've been trying to figure out how to add a fade to it without any luck. Here's the code for the RANDOM background: function randomBG(){ function randRang…

---

## [Adding eventListeners to array/vector?](https://forum.kirupa.com/t/adding-eventlisteners-to-array-vector/317009)

<div class="topic-metadata">

**Author:** [@deshu1](https://forum.kirupa.com/u/deshu1)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 10:23pm UTC](https://forum.kirupa.com/t/adding-eventlisteners-to-array-vector/317009 "2010-12-07T22:23:08Z")

</div>

Hello, is it possible to add eventListener to an array or vector? I need it for removing dynamically added event listeners (which i cannot work out)

---

## [Externally handle two shows in AS2 with a dynamic button at highest depth?](https://forum.kirupa.com/t/externally-handle-two-shows-in-as2-with-a-dynamic-button-at-highest-depth/317003)

<div class="topic-metadata">

**Author:** [@rrankin913](https://forum.kirupa.com/u/rrankin913)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 4:49pm UTC](https://forum.kirupa.com/t/externally-handle-two-shows-in-as2-with-a-dynamic-button-at-highest-depth/317003 "2010-12-07T16:49:18Z")

</div>

Hello everyone, I have been coding in AS3 for about 6 months (love it) and now it seems I am forced to go back and learn some AS2. I feel it necessary to mention, this is a pure code project. No drawing with the mouse. …

---

## [Uploading your fonts? (Avoid user's pc to replace them)](https://forum.kirupa.com/t/uploading-your-fonts-avoid-users-pc-to-replace-them/317002)

<div class="topic-metadata">

**Author:** [@Nim](https://forum.kirupa.com/u/Nim)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 4:41pm UTC](https://forum.kirupa.com/t/uploading-your-fonts-avoid-users-pc-to-replace-them/317002 "2010-12-07T16:41:17Z")

</div>

How is it possible to upload (or anything like that) the fonts you used in your flash project in order the user to see the exact same fonts you've chosen and not replace them with an other font? I'm working hard to fin…

---

## [AS flash game looping at loading page. NEED HELP PLEASE!](https://forum.kirupa.com/t/as-flash-game-looping-at-loading-page-need-help-please/317001)

<div class="topic-metadata">

**Author:** [@froggymasud](https://forum.kirupa.com/u/froggymasud)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 4:39pm UTC](https://forum.kirupa.com/t/as-flash-game-looping-at-loading-page-need-help-please/317001 "2010-12-07T16:39:04Z")

</div>

for get it i dont need you muther fukers help go suk a dik. i bet u read this and reply much faster than u helped me u \*\*\*\*s.

---

## [Scrollbar resize](https://forum.kirupa.com/t/scrollbar-resize/316998)

<div class="topic-metadata">

**Author:** [@sula](https://forum.kirupa.com/u/sula)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 2:04pm UTC](https://forum.kirupa.com/t/scrollbar-resize/316998 "2010-12-07T14:04:26Z")

</div>

Hi, I attach two files: template\_scroll and my\_scroll. In first one there is scrollbar and dynamic text that expand depending on stage height. (scroll appears when stage height decreases). So I'd like to get the same e…

---

## [Printing a font problem: dynamic field](https://forum.kirupa.com/t/printing-a-font-problem-dynamic-field/316995)

<div class="topic-metadata">

**Author:** [@RobLamox](https://forum.kirupa.com/u/RobLamox)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 1:06pm UTC](https://forum.kirupa.com/t/printing-a-font-problem-dynamic-field/316995 "2010-12-07T13:06:44Z")

</div>

My problem is this:no\_love:. The dynamic field in my swf are being populated by global variables that I set throughout the movie and these print fine on the front of the card. However, in order to get them onto the ma…

---

## [Loading Page source data from URL](https://forum.kirupa.com/t/loading-page-source-data-from-url/316994)

<div class="topic-metadata">

**Author:** [@david19801](https://forum.kirupa.com/u/david19801)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 12:34pm UTC](https://forum.kirupa.com/t/loading-page-source-data-from-url/316994 "2010-12-07T12:34:58Z")

</div>

Hi, If I have a webpage, is their a way to load the page source data for it into flash using actionscript 3? What would I use? Could I load it into an array or string or variable even?

---

## [Sunday Ticket Is The Ticket](https://forum.kirupa.com/t/sunday-ticket-is-the-ticket/316989)

<div class="topic-metadata">

**Author:** [@kkysrn16](https://forum.kirupa.com/u/kkysrn16)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 11:27am UTC](https://forum.kirupa.com/t/sunday-ticket-is-the-ticket/316989 "2010-12-07T11:27:25Z")

</div>

Sunday Ticket Is The TicketThis article is for hard core NFL football fans only. Ifyou aren't one then you probably need to stop reading nowand spend your time on something else.Okay, for all you hard core football fans …

---

## [Justify text that doesn't contain any space](https://forum.kirupa.com/t/justify-text-that-doesnt-contain-any-space/316988)

<div class="topic-metadata">

**Author:** [@amietbeach](https://forum.kirupa.com/u/amietbeach)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 11:08am UTC](https://forum.kirupa.com/t/justify-text-that-doesnt-contain-any-space/316988 "2010-12-07T11:08:56Z")

</div>

Hi, I have a few textfields that require characters to exactly fit (left and right). The characters are loaded dynamically and always fit whatever number of characters there's room for in the textfield. I'd like to…

---

## [Flash CS5 Ace Exam](https://forum.kirupa.com/t/flash-cs5-ace-exam/316986)

<div class="topic-metadata">

**Author:** [@Myazaki](https://forum.kirupa.com/u/Myazaki)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 9:04am UTC](https://forum.kirupa.com/t/flash-cs5-ace-exam/316986 "2010-12-07T09:04:44Z")

</div>

Helo! I want to take the Flash CS5 Ace Exam. Can anyone indicate me a good place/site where I can find or buy practice exams. I found some places but in don´t know if they are good. Thanks in advance

---

## [\[Flash 8\]Referencing dynamic MCs created using attachMovie](https://forum.kirupa.com/t/flash-8-referencing-dynamic-mcs-created-using-attachmovie/316984)

<div class="topic-metadata">

**Author:** [@trex](https://forum.kirupa.com/u/trex)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 8:02am UTC](https://forum.kirupa.com/t/flash-8-referencing-dynamic-mcs-created-using-attachmovie/316984 "2010-12-07T08:02:27Z")

</div>

Hi, i've been breaking my head to get this thing working, so any help would be appreciated! Here it is. I am adding a bunch of MC's(linkage ID:buttonHolder) dynamically using a for loop and attachMovie. If I want to d…

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

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