# programming

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

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

**Page:** 495

---

## [Desperate need of help!](https://forum.kirupa.com/t/desperate-need-of-help/309196)

<div class="topic-metadata">

**Author:** [@thisfinecity](https://forum.kirupa.com/u/thisfinecity)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 3:23pm UTC](https://forum.kirupa.com/t/desperate-need-of-help/309196 "2010-05-09T15:23:30Z")

</div>

I just got CS4 very much a noob to flash, ive looked all over on how to fix my problem but no luck so here is my scenerio. Im making an animation to describe how a potential iphone app would work. Its going to be a 3 m…

---

## [Can't acces movieclip within movieclip](https://forum.kirupa.com/t/cant-acces-movieclip-within-movieclip/309195)

<div class="topic-metadata">

**Author:** [@RHA](https://forum.kirupa.com/u/RHA)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 2:40pm UTC](https://forum.kirupa.com/t/cant-acces-movieclip-within-movieclip/309195 "2010-05-09T14:40:48Z")

</div>

I want to access the properties of movieclips inside a movieclip. Below is a code of how the Parent mc is created. It's looped because it's gets it data from XML. So there is not one parent movieclip but a number of pa…

---

## [Parsing XML data from a webservice](https://forum.kirupa.com/t/parsing-xml-data-from-a-webservice/309194)

<div class="topic-metadata">

**Author:** [@ruud08](https://forum.kirupa.com/u/ruud08)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 2:14pm UTC](https://forum.kirupa.com/t/parsing-xml-data-from-a-webservice/309194 "2010-05-09T14:14:25Z")

</div>

Hi, This PHP SOAP script collects data from a webservice: \<?php // Define the path to the WSDL file of the webservices define('SYSTEM\_WSDL\_URI', 'https://portal.systems.net/ServicePortal/WebServices/ProductService…

---

## [A Game a Week](https://forum.kirupa.com/t/a-game-a-week/309193)

<div class="topic-metadata">

**Author:** [@Sammo](https://forum.kirupa.com/u/Sammo)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 1:28pm UTC](https://forum.kirupa.com/t/a-game-a-week/309193 "2010-05-09T13:28:26Z")

</div>

I was reading an old interview with Kyle Gabler from \[URL=“http://2dboy.com”\]2D Boy, the developers of The World of Goo. The whole interview is worth a read, especially for Kyle’s slightly crazy but very funny persona. …

---

## [Flash Banner onclick to Flash Overlay?](https://forum.kirupa.com/t/flash-banner-onclick-to-flash-overlay/309192)

<div class="topic-metadata">

**Author:** [@4o7](https://forum.kirupa.com/u/4o7)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 12:52pm UTC](https://forum.kirupa.com/t/flash-banner-onclick-to-flash-overlay/309192 "2010-05-09T12:52:23Z")

</div>

Hi all :D: Hope you're well. I was hoping someone could lend some insight to my current dilemma? I'm attempting to create a flash ad banner (728x90 leaderboard) which, when clicked on, loads a new frame that expands …

---

## [Syncing sound with movieclip problem](https://forum.kirupa.com/t/syncing-sound-with-movieclip-problem/309187)

<div class="topic-metadata">

**Author:** [@cronin4392](https://forum.kirupa.com/u/cronin4392)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 5:31am UTC](https://forum.kirupa.com/t/syncing-sound-with-movieclip-problem/309187 "2010-05-09T05:31:05Z")

</div>

I am doing a project for a client where I have to sync an intro song to animated lips. When I preview it in flash it is synced fine and when I view it on my site on the first load (when it isnt in cache) the animation ki…

---

## [Recording sound visualization?](https://forum.kirupa.com/t/recording-sound-visualization/309184)

<div class="topic-metadata">

**Author:** [@trypt](https://forum.kirupa.com/u/trypt)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 4:02am UTC](https://forum.kirupa.com/t/recording-sound-visualization/309184 "2010-05-09T04:02:14Z")

</div>

Hi everybody~ I'm not sure about if this is doable, I've been googling for the past few days and got no luck... (wrong keyword?) I'm wondering is there a way to record the visualization effects animation generated by S…

---

## [Removing movieClips from an Array](https://forum.kirupa.com/t/removing-movieclips-from-an-array/309181)

<div class="topic-metadata">

**Author:** [@ahao](https://forum.kirupa.com/u/ahao)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 11:54pm UTC](https://forum.kirupa.com/t/removing-movieclips-from-an-array/309181 "2010-05-08T23:54:25Z")

</div>

Hi, i'm making a mini-game (part of a larger game) where worms pop up randomly on the screen. You can click on a spraycan do remove them all at once. After that it should repeat itself. But during the second wave, when I…

---

## [AS2 array.push override question](https://forum.kirupa.com/t/as2-array-push-override-question/309180)

<div class="topic-metadata">

**Author:** [@derm116](https://forum.kirupa.com/u/derm116)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 10:24pm UTC](https://forum.kirupa.com/t/as2-array-push-override-question/309180 "2010-05-08T22:24:53Z")

</div>

Hi all, Could anyone explain what the following line of code is doing? this.push.apply(this, arguments); What i think is that each time an item is added to the array it inherits the properties of the parent? Is thi…

---

## [Calcuate php - not showing](https://forum.kirupa.com/t/calcuate-php-not-showing/309179)

<div class="topic-metadata">

**Author:** [@Bar2aYunie](https://forum.kirupa.com/u/Bar2aYunie)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 8:38pm UTC](https://forum.kirupa.com/t/calcuate-php-not-showing/309179 "2010-05-08T20:38:37Z")

</div>

Hello, I am trying to add a little math into my current function. The page displays the name, description and price of products. Those are taken out of my sql database. The price however, has a starting amount for …

---

## [Troubles removing Enemy from an array, instance still is on stage](https://forum.kirupa.com/t/troubles-removing-enemy-from-an-array-instance-still-is-on-stage/309177)

<div class="topic-metadata">

**Author:** [@Mattster](https://forum.kirupa.com/u/Mattster)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 6:50pm UTC](https://forum.kirupa.com/t/troubles-removing-enemy-from-an-array-instance-still-is-on-stage/309177 "2010-05-08T18:50:11Z")

</div>

Alright, so really I am having 2 difficulties here. 1) When a bullet hits an enemy, if 2 zombies are beside eachother, the bullet hits them both -- How can I make it so the bullet can only hit one? 2) When an enemy …

---

## [Is there a 'ByteArray.writeUnsignedByte()'?](https://forum.kirupa.com/t/is-there-a-bytearray-writeunsignedbyte/309176)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 6:48pm UTC](https://forum.kirupa.com/t/is-there-a-bytearray-writeunsignedbyte/309176 "2010-05-08T18:48:44Z")

</div>

I'm not sure if I'm just not thinking right, but isn't there supposed to be a "ByteArray.writeUnsignedByte()" to go along with the "readUnsignedByte()", or is there something I'm just not thinking of? http://help.adobe…

---

## [Adding columns in script](https://forum.kirupa.com/t/adding-columns-in-script/309174)

<div class="topic-metadata">

**Author:** [@Bar2aYunie](https://forum.kirupa.com/u/Bar2aYunie)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 6:31pm UTC](https://forum.kirupa.com/t/adding-columns-in-script/309174 "2010-05-08T18:31:49Z")

</div>

Hello, I have a php code which collects info from a database and then display the info in a table with specific details. Anyway, the script works perfectly but I'd like to add another column. Everytime I try, I get an…

---

## [Calling a class function within another class](https://forum.kirupa.com/t/calling-a-class-function-within-another-class/309173)

<div class="topic-metadata">

**Author:** [@lashdl](https://forum.kirupa.com/u/lashdl)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 6:11pm UTC](https://forum.kirupa.com/t/calling-a-class-function-within-another-class/309173 "2010-05-08T18:11:57Z")

</div>

Hi. I've been searching around the forums to find a solution of this problem. I have two classes: Monster and Player. Constructors are defined and the classes by themselves apparently works. My problem is that I want to …

---

## [Making sure an array reference to a property stays up-to-date?](https://forum.kirupa.com/t/making-sure-an-array-reference-to-a-property-stays-up-to-date/309171)

<div class="topic-metadata">

**Author:** [@Boreez](https://forum.kirupa.com/u/Boreez)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 3:35pm UTC](https://forum.kirupa.com/t/making-sure-an-array-reference-to-a-property-stays-up-to-date/309171 "2010-05-08T15:35:58Z")

</div>

Consider this for a second: theState.stateGrowth = 0; globalVariablesArray.push(theState.stateGrowth); trace(globalVariablesArray\[0\]); // traces 0 theState.stateGrowth--; trace(globalVariablesArray\[0\]); // still tr…

---

## [Help with depth on flash 8](https://forum.kirupa.com/t/help-with-depth-on-flash-8/309168)

<div class="topic-metadata">

**Author:** [@Izzart](https://forum.kirupa.com/u/Izzart)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 3:24pm UTC](https://forum.kirupa.com/t/help-with-depth-on-flash-8/309168 "2010-05-08T15:24:24Z")

</div>

hi, im having a problem with the depth of loading objects (movieclips) i have 3 buttons on the stage (or within a movieclip on stage), and 3 objects (mc's) in the library, now - How do I set the depth of an objects? …

---

## [Remove SWF -- kind of urgent!](https://forum.kirupa.com/t/remove-swf-kind-of-urgent/309167)

<div class="topic-metadata">

**Author:** [@cm2010](https://forum.kirupa.com/u/cm2010)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 3:15pm UTC](https://forum.kirupa.com/t/remove-swf-kind-of-urgent/309167 "2010-05-08T15:15:35Z")

</div>

Hello, I'm loading external SWFs into a larger SWF/projector, and I need to load the next and remove the previous one. Because of some unforseen technical requirements, I need to do this in AS3, unfortunately, I'm onl…

---

## [First animate then move using onclick](https://forum.kirupa.com/t/first-animate-then-move-using-onclick/309166)

<div class="topic-metadata">

**Author:** [@raheel1669](https://forum.kirupa.com/u/raheel1669)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 2:56pm UTC](https://forum.kirupa.com/t/first-animate-then-move-using-onclick/309166 "2010-05-08T14:56:21Z")

</div>

Hi, i ve an assignment and am new in flash. I ve an animation using different symbols. First i want this animation to run. Then after it has finished, i want buttons to appear. Till here every thing is in my control. Now…

---

## [Array remove element issue](https://forum.kirupa.com/t/array-remove-element-issue/309163)

<div class="topic-metadata">

**Author:** [@brunoja](https://forum.kirupa.com/u/brunoja)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 1:59pm UTC](https://forum.kirupa.com/t/array-remove-element-issue/309163 "2010-05-08T13:59:05Z")

</div>

Hello! First of all, how should I remove an element from an array? Now I am using arrays this way (just an example): array\["red"\] = 0xff0000; array\["black"\] = 0x000000; How do I remove "red" for example from the ar…

---

## [Smoother sound looping](https://forum.kirupa.com/t/smoother-sound-looping/309159)

<div class="topic-metadata">

**Author:** [@joobny](https://forum.kirupa.com/u/joobny)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 9:41am UTC](https://forum.kirupa.com/t/smoother-sound-looping/309159 "2010-05-08T09:41:05Z")

</div>

Hey everyone, I've been using the following code to make the soundtrack for my project loop over and over again until it is told to stop: function playMusic():void { soundtrackChannel = soundtrack.play(); soundtrack…

---

## [XML Slideshow x-y-position](https://forum.kirupa.com/t/xml-slideshow-x-y-position/309158)

<div class="topic-metadata">

**Author:** [@2w1w2w](https://forum.kirupa.com/u/2w1w2w)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 9:28am UTC](https://forum.kirupa.com/t/xml-slideshow-x-y-position/309158 "2010-05-08T09:28:43Z")

</div>

Hi, really need help. I searched now for two days, but can´t find. It should be simple i think. I have got a slideshow with title-text. Now my problem is to give the title-text a x and y-position by the XML-Data. And how…

---

## [007 James Bond 22 Movie Complete Collection DVD(dvdsuperdeal.com)](https://forum.kirupa.com/t/007-james-bond-22-movie-complete-collection-dvd-dvdsuperdeal-com/309157)

<div class="topic-metadata">

**Author:** [@Lovely100](https://forum.kirupa.com/u/Lovely100)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 9:01am UTC](https://forum.kirupa.com/t/007-james-bond-22-movie-complete-collection-dvd-dvdsuperdeal-com/309157 "2010-05-08T09:01:29Z")

</div>

I purchased the whole collection of \[007 James Bond DVD's for my boyfriend for Christmas and it was a huge hit. He loves them! The \[url=http://www.dvdsuperdeal.com/007-james-bond-22-movie-complete-collection-dvd-boxset.h…

---

## [INPOSIBlE... guess nobody nows?](https://forum.kirupa.com/t/inposible-guess-nobody-nows/309156)

<div class="topic-metadata">

**Author:** [@omenas](https://forum.kirupa.com/u/omenas)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 8:30am UTC](https://forum.kirupa.com/t/inposible-guess-nobody-nows/309156 "2010-05-08T08:30:34Z")

</div>

\*Hey all, I'm quite new to Action Script (I've played with flash for a while, but only for animation not code) and I've been following some video tutorials from lynda.com but I've run into a problem that I can't quite f…

---

## [Sound lag time](https://forum.kirupa.com/t/sound-lag-time/309153)

<div class="topic-metadata">

**Author:** [@xplosivo](https://forum.kirupa.com/u/xplosivo)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 4:54am UTC](https://forum.kirupa.com/t/sound-lag-time/309153 "2010-05-08T04:54:39Z")

</div>

Hello all, I've seen this question posted around some other forums but haven't really been able to solve it. I'm building a flash based game and trying to get a short sound clip to play on an event. It's an mp3 file le…

---

## [DispatchEvent()](https://forum.kirupa.com/t/dispatchevent/309151)

<div class="topic-metadata">

**Author:** [@endemoniada](https://forum.kirupa.com/u/endemoniada)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 3:33am UTC](https://forum.kirupa.com/t/dispatchevent/309151 "2010-05-08T03:33:39Z")

</div>

Hi guys, If I call dispatchEvent() is it immediate ? For example: addEventListener("myEvent", myEventHandler); dispatchEvent(new Event("myEvent")); // is it possible any other event handlers or doSomething() can …

---

## [Display error message on same page if all fields not filled out?](https://forum.kirupa.com/t/display-error-message-on-same-page-if-all-fields-not-filled-out/309150)

<div class="topic-metadata">

**Author:** [@Sith717](https://forum.kirupa.com/u/Sith717)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 2:03am UTC](https://forum.kirupa.com/t/display-error-message-on-same-page-if-all-fields-not-filled-out/309150 "2010-05-08T02:03:01Z")

</div>

I am trying to change my script to show the error message on the same page, above the form instead of on another page, that I current have coded. The thing is I do not know how to do that. Can someone help me out by sh…

---

## [Simple Flash question](https://forum.kirupa.com/t/simple-flash-question/309148)

<div class="topic-metadata">

**Author:** [@Arashi2](https://forum.kirupa.com/u/Arashi2)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 12:18am UTC](https://forum.kirupa.com/t/simple-flash-question/309148 "2010-05-08T00:18:14Z")

</div>

Hello, i would like to know how to make a .swf file that contains two .flv videos, wich should start to play as soon as the mouse-courser goes over the movie and stops, not pause - but go back to beginning, when the mo…

---

## [Full screen mode not playing videos](https://forum.kirupa.com/t/full-screen-mode-not-playing-videos/309147)

<div class="topic-metadata">

**Author:** [@brown22](https://forum.kirupa.com/u/brown22)\
**Replies:** 0\
**Last updated:** [May 7, 2010, 11:55pm UTC](https://forum.kirupa.com/t/full-screen-mode-not-playing-videos/309147 "2010-05-07T23:55:03Z")

</div>

Hi everyone, I'm working on a flash desktop presentation which contains several loaded movies. I am able to play it back on a projector.exe with full screen access with a button and go back to normal screen with th…

---

## [Camera not smooth enough?](https://forum.kirupa.com/t/camera-not-smooth-enough/309144)

<div class="topic-metadata">

**Author:** [@WarChimp](https://forum.kirupa.com/u/WarChimp)\
**Replies:** 0\
**Last updated:** [May 7, 2010, 11:04pm UTC](https://forum.kirupa.com/t/camera-not-smooth-enough/309144 "2010-05-07T23:04:42Z")

</div>

I've got the camera to move with the character ok \[smile\] However, when he runs down a slope, the camera starts to get all jerky, but what makes this more confusing is that when the slope is really steep, the camera is …

---

## [Linking scrollbar button to pages](https://forum.kirupa.com/t/linking-scrollbar-button-to-pages/309136)

<div class="topic-metadata">

**Author:** [@omenas](https://forum.kirupa.com/u/omenas)\
**Replies:** 0\
**Last updated:** [May 7, 2010, 7:53pm UTC](https://forum.kirupa.com/t/linking-scrollbar-button-to-pages/309136 "2010-05-07T19:53:07Z")

</div>

Hello Can anybody help with a script. I have a button in the scrollbar that has a mask.(scrollbar\_mc, mask and content\_mc) Now I stuck with HOW TO LINK IT to other pages that are in scene 1 ??????????? Thanks

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

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