# programming

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

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

**Page:** 259

---

## [Saving string and var to php/html/xml file?](https://forum.kirupa.com/t/saving-string-and-var-to-php-html-xml-file/323389)

<div class="topic-metadata">

**Author:** [@j33k](https://forum.kirupa.com/u/j33k)\
**Replies:** 0\
**Last updated:** [June 28, 2011, 7:19pm UTC](https://forum.kirupa.com/t/saving-string-and-var-to-php-html-xml-file/323389 "2011-06-28T19:19:27Z")

</div>

At the end of my game I display the users name as a string and score as a variable, would there be any way to send these two pieces of info outbound to display in an html file? I've found some things on XML files but I…

---

## [HTTP failure when i try to load images from same directory ?!](https://forum.kirupa.com/t/http-failure-when-i-try-to-load-images-from-same-directory/323388)

<div class="topic-metadata">

**Author:** [@Sophie\_Horner](https://forum.kirupa.com/u/Sophie_Horner)\
**Replies:** 0\
**Last updated:** [June 28, 2011, 7:12pm UTC](https://forum.kirupa.com/t/http-failure-when-i-try-to-load-images-from-same-directory/323388 "2011-06-28T19:12:04Z")

</div>

ok, now of course i've checked that the images are in the right folder... but it's a bit more complex than just a single image address string. here it goes : it's a bit long... but all i get is the trace() of the urls fr…

---

## [Tweens and Arrays](https://forum.kirupa.com/t/tweens-and-arrays/323385)

<div class="topic-metadata">

**Author:** [@theMightyT](https://forum.kirupa.com/u/theMightyT)\
**Replies:** 0\
**Last updated:** [June 28, 2011, 3:47pm UTC](https://forum.kirupa.com/t/tweens-and-arrays/323385 "2011-06-28T15:47:53Z")

</div>

Hello there... first post! I am experimenting with pushing tweens into arrays so that they don't get garbage collected (works great). Once they're IN the array, how do I reference them again? For example, I pushed…

---

## [Embeded Video - play/gotoAndStop plays vid's audio?](https://forum.kirupa.com/t/embeded-video-play-gotoandstop-plays-vids-audio/323384)

<div class="topic-metadata">

**Author:** [@Donutfiend84](https://forum.kirupa.com/u/Donutfiend84)\
**Replies:** 0\
**Last updated:** [June 28, 2011, 3:44pm UTC](https://forum.kirupa.com/t/embeded-video-play-gotoandstop-plays-vids-audio/323384 "2011-06-28T15:44:32Z")

</div>

I have an flv embeded in a movieclip on my main timeline. It plays/pauses fine, but for some unknown reason, any of the navigation functions on the main timeline, cause the video to start playing it's audio. For examp…

---

## [Custom Flex Widget Does Not Scroll](https://forum.kirupa.com/t/custom-flex-widget-does-not-scroll/323383)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [June 28, 2011, 3:33pm UTC](https://forum.kirupa.com/t/custom-flex-widget-does-not-scroll/323383 "2011-06-28T15:33:28Z")

</div>

Greetings, I have created a custom Flex widget by extending UIComponent that I call FlexMapBuilderWidget. I have overriden the various UIComponent methods for measurement, children, display list, etc. I used this wi…

---

## [JSON vs XML](https://forum.kirupa.com/t/json-vs-xml/323381)

<div class="topic-metadata">

**Author:** [@UnderOath](https://forum.kirupa.com/u/UnderOath)\
**Replies:** 0\
**Last updated:** [June 28, 2011, 2:32pm UTC](https://forum.kirupa.com/t/json-vs-xml/323381 "2011-06-28T14:32:28Z")

</div>

I've just recently been told of all the advantages of JSON over xml and I was hoping to get some feedback on what you guys prefer and why. Thanks

---

## [Reusing variable names for different MovieClips](https://forum.kirupa.com/t/reusing-variable-names-for-different-movieclips/323376)

<div class="topic-metadata">

**Author:** [@BadBoyMcCoy](https://forum.kirupa.com/u/BadBoyMcCoy)\
**Replies:** 0\
**Last updated:** [June 28, 2011, 9:34am UTC](https://forum.kirupa.com/t/reusing-variable-names-for-different-movieclips/323376 "2011-06-28T09:34:34Z")

</div>

Hi All, I'm creating a pacman game and basically I'm having trouble coding the enemies (ghosts), the code works perfectly with just one ghost, as soon as I add another it starts to go wrong. Firstly I've got this funct…

---

## [Adobe Air Application Uppdater Ui](https://forum.kirupa.com/t/adobe-air-application-uppdater-ui/323374)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [June 28, 2011, 7:50am UTC](https://forum.kirupa.com/t/adobe-air-application-uppdater-ui/323374 "2011-06-28T07:50:43Z")

</div>

Hey! I'm going to be swift and concise The other day my ApplicationUppdater worked just fine but now it wont run in flash IDE. Note that it works in FDT. When I compile, I get no errors, but also the app isn't initiat…

---

## [hitTestPoint in an Array](https://forum.kirupa.com/t/hittestpoint-in-an-array/323373)

<div class="topic-metadata">

**Author:** [@Nuwa](https://forum.kirupa.com/u/Nuwa)\
**Replies:** 0\
**Last updated:** [June 28, 2011, 7:19am UTC](https://forum.kirupa.com/t/hittestpoint-in-an-array/323373 "2011-06-28T07:19:37Z")

</div>

I have 3 movieclips on stage and what im trying to do is remove the movieclip when its clicked. the code i wrote is throwing this error.. "TypeError: Error #1006: value is not a function. at hitTestPointEx2\_fla::MainTi…

---

## [Two colours made up R11 driver](https://forum.kirupa.com/t/two-colours-made-up-r11-driver/323369)

<div class="topic-metadata">

**Author:** [@Clarence123](https://forum.kirupa.com/u/Clarence123)\
**Replies:** 0\
**Last updated:** [June 28, 2011, 3:37am UTC](https://forum.kirupa.com/t/two-colours-made-up-r11-driver/323369 "2011-06-28T03:37:56Z")

</div>

Taylormade R11 driver is made up by two colours, one is white, the other is black, these two contrastive colours make the R11 dirver leave a deep impression to golfers. many golfers very like Taylormade's this design, be…

---

## [Shopping cart help](https://forum.kirupa.com/t/shopping-cart-help/323367)

<div class="topic-metadata">

**Author:** [@dutch106](https://forum.kirupa.com/u/dutch106)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 9:32pm UTC](https://forum.kirupa.com/t/shopping-cart-help/323367 "2011-06-27T21:32:31Z")

</div>

This shopping cart is close to what I need , however it is not completely doing what I would like it to do and am looking for some help. When someone presses the "add to shopping list" button, I would like the product…

---

## [Ignoring Duplicate Entry](https://forum.kirupa.com/t/ignoring-duplicate-entry/323366)

<div class="topic-metadata">

**Author:** [@DemonGibi](https://forum.kirupa.com/u/DemonGibi)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 8:25pm UTC](https://forum.kirupa.com/t/ignoring-duplicate-entry/323366 "2011-06-27T20:25:25Z")

</div>

Hi there.. I'm here with a new question for you all \[smile\] I have a table which has 4 columns.. local\_id owner\_id friend\_id friend\_name In my app, every time user logins, the app sends the friend list of the app own…

---

## [TypeError: Error #1010: and MovieClips](https://forum.kirupa.com/t/typeerror-error-1010-and-movieclips/323364)

<div class="topic-metadata">

**Author:** [@stumped](https://forum.kirupa.com/u/stumped)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 6:03pm UTC](https://forum.kirupa.com/t/typeerror-error-1010-and-movieclips/323364 "2011-06-27T18:03:11Z")

</div>

I am working with pictures. I want someone to pick one of three. The pictures will be held in movieclips. var container0:MovieClip = new MovieClip(); var container1:MovieClip = new MovieClip(); var container2:MovieCl…

---

## [Close swf button](https://forum.kirupa.com/t/close-swf-button/323363)

<div class="topic-metadata">

**Author:** [@Hvdstaal](https://forum.kirupa.com/u/Hvdstaal)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 5:50pm UTC](https://forum.kirupa.com/t/close-swf-button/323363 "2011-06-27T17:50:12Z")

</div>

Hi. I have a button that loads an external swf. this is the code map\_btn.addEventListener(MouseEvent.CLICK, clickFunction); function clickFunction(evt:MouseEvent):void { tint\_mc.gotoAndPlay("on"); var request:URLReq…

---

## [Fireworks Animation Coding Help](https://forum.kirupa.com/t/fireworks-animation-coding-help/323362)

<div class="topic-metadata">

**Author:** [@Egray](https://forum.kirupa.com/u/Egray)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 4:57pm UTC](https://forum.kirupa.com/t/fireworks-animation-coding-help/323362 "2011-06-27T16:57:55Z")

</div>

Hi guys, I am new to actionscript and new to these parts. I found this tutorial to create a Fireworks animation and I need it in Actionscript 3. I found a thread for the same tutorial with updated coding but it was in Ac…

---

## [Adding a Moveclip to the Screen that uses .as code ? \[AS3\]](https://forum.kirupa.com/t/adding-a-moveclip-to-the-screen-that-uses-as-code-as3/323361)

<div class="topic-metadata">

**Author:** [@Scheisse](https://forum.kirupa.com/u/Scheisse)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 4:05pm UTC](https://forum.kirupa.com/t/adding-a-moveclip-to-the-screen-that-uses-as-code-as3/323361 "2011-06-27T16:05:26Z")

</div>

Hello everyone, I am having trouble accessing this movieclip and adding it to the stage. I have just started using external .as files to code game characters and this is the only part that gets me at the moment. The ch…

---

## [Actionscript 3 movie clip array problem](https://forum.kirupa.com/t/actionscript-3-movie-clip-array-problem/323360)

<div class="topic-metadata">

**Author:** [@xibic](https://forum.kirupa.com/u/xibic)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 1:52pm UTC](https://forum.kirupa.com/t/actionscript-3-movie-clip-array-problem/323360 "2011-06-27T13:52:50Z")

</div>

I have two movie clips 'mvC1' and 'mvc2' in my array 'itemArray'. i want to add one pair of each movie clip on the stage. for some reason my code is not working...please can anyone help me... var itemArray:Array = new…

---

## [Live Video Keying with AS3](https://forum.kirupa.com/t/live-video-keying-with-as3/323359)

<div class="topic-metadata">

**Author:** [@nbuechi](https://forum.kirupa.com/u/nbuechi)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 11:34am UTC](https://forum.kirupa.com/t/live-video-keying-with-as3/323359 "2011-06-27T11:34:29Z")

</div>

Hi, For a new project, I want to take a video feed, filmed in a greenscreen room, and as you see it, do a color keying, to kill the green and show an alternative picture on the background. Is there a way to do this w…

---

## [RTMFP TURN proxy](https://forum.kirupa.com/t/rtmfp-turn-proxy/323358)

<div class="topic-metadata">

**Author:** [@cyberprodigy](https://forum.kirupa.com/u/cyberprodigy)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 11:30am UTC](https://forum.kirupa.com/t/rtmfp-turn-proxy/323358 "2011-06-27T11:30:20Z")

</div>

In RTMFP I can define a TURN proxy, for cases where dirrect P2P link between peers is not available (e.g. symmetric nat). To do that I define a RTMFPTURNProxy value in file mms.cfg. The problem is - I can not find any im…

---

## [Nuclear Basic](https://forum.kirupa.com/t/nuclear-basic/323357)

<div class="topic-metadata">

**Author:** [@psnoor02](https://forum.kirupa.com/u/psnoor02)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 11:14am UTC](https://forum.kirupa.com/t/nuclear-basic/323357 "2011-06-27T11:14:03Z")

</div>

Everyone can make PC games using Nuclear Basic! Simple program code for beginners and powerful enough to support their growth! For more detail Visit . http://www.spectrumsonlinejobs.com/3777-84.html

---

## [Unique Array values](https://forum.kirupa.com/t/unique-array-values/323356)

<div class="topic-metadata">

**Author:** [@Nuwa](https://forum.kirupa.com/u/Nuwa)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 10:38am UTC](https://forum.kirupa.com/t/unique-array-values/323356 "2011-06-27T10:38:07Z")

</div>

Ok what i want to do is to randomly pick 3 values from an array called Objs and add them to a new array called ListObjs. The three values should be unique. This is the code I have so far, but when i try to execute it Fla…

---

## [Air and Cropping](https://forum.kirupa.com/t/air-and-cropping/323355)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 8:55am UTC](https://forum.kirupa.com/t/air-and-cropping/323355 "2011-06-27T08:55:09Z")

</div>

Hey When you make a displayobject larger than the stage or move the object outside of the bounds of the nativeWindow, the displayobject is cropped. To be honest, I would like to have the option to add content wherever…

---

## [The special fairway Wood for all golfers](https://forum.kirupa.com/t/the-special-fairway-wood-for-all-golfers/323354)

<div class="topic-metadata">

**Author:** [@Clarence123](https://forum.kirupa.com/u/Clarence123)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 5:56am UTC](https://forum.kirupa.com/t/the-special-fairway-wood-for-all-golfers/323354 "2011-06-27T05:56:43Z")

</div>

Titleist 910F Fairway Wood is a golf club for all the golfers, it has special head design, it can deliver a very straighter and more consistent shot from the the turf or tee.discount golf for sale 910F Fairway Wood own…

---

## [Newline in XML data in Flash](https://forum.kirupa.com/t/newline-in-xml-data-in-flash/323353)

<div class="topic-metadata">

**Author:** [@yani](https://forum.kirupa.com/u/yani)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 4:22am UTC](https://forum.kirupa.com/t/newline-in-xml-data-in-flash/323353 "2011-06-27T04:22:50Z")

</div>

Hey guys, I have the following XML data importing into a dynamic textfield: \<articles\>Name1 Name2 Name3 Name4 Name5 Name6 Name7 Name8\</articles\> But I would like to have the each of the names on a newline in the text…

---

## [How do you load in external text into an iOS app in flash cs5.5?](https://forum.kirupa.com/t/how-do-you-load-in-external-text-into-an-ios-app-in-flash-cs5-5/323351)

<div class="topic-metadata">

**Author:** [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 2:51am UTC](https://forum.kirupa.com/t/how-do-you-load-in-external-text-into-an-ios-app-in-flash-cs5-5/323351 "2011-06-27T02:51:29Z")

</div>

Anyone know how or can point in in the direction on how to load external text into an iOS app. Is this even possible? I have a restaurant app I am developing and want to have the ability to update the menus with out subm…

---

## [Follow Closest With Multiple Movieclips](https://forum.kirupa.com/t/follow-closest-with-multiple-movieclips/323348)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [June 26, 2011, 11:44pm UTC](https://forum.kirupa.com/t/follow-closest-with-multiple-movieclips/323348 "2011-06-26T23:44:35Z")

</div>

Hello, I'm trying to make it so that there are a bunch of instances (let's say 20) that move around about the stage. There are also 5 other instances (let's call them followers) that move and rotate towards the nearest …

---

## [Creating preloader and progress bar -Tutorial](https://forum.kirupa.com/t/creating-preloader-and-progress-bar-tutorial/323345)

<div class="topic-metadata">

**Author:** [@bharath119](https://forum.kirupa.com/u/bharath119)\
**Replies:** 0\
**Last updated:** [June 26, 2011, 8:32pm UTC](https://forum.kirupa.com/t/creating-preloader-and-progress-bar-tutorial/323345 "2011-06-26T20:32:49Z")

</div>

Hi, I studied the above mentioned tutorial. I used this code. function SetProgress(value:Number) { progress.width = value\*base.width; } preloader.SetProgress(.5); When I experimented it, got an error like thi…

---

## [Using the properties of an element in an array..Can I?](https://forum.kirupa.com/t/using-the-properties-of-an-element-in-an-array-can-i/323344)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [June 26, 2011, 7:38pm UTC](https://forum.kirupa.com/t/using-the-properties-of-an-element-in-an-array-can-i/323344 "2011-06-26T19:38:34Z")

</div>

i have an array containing all the bases in a game..... when my ship lands a proximity check is made between the ship and each member of the basesArray.... i want to iterate through the array and subtract the ship x/y fr…

---

## [Interactive Image Pan Tutorial - How do I contain size to MC?](https://forum.kirupa.com/t/interactive-image-pan-tutorial-how-do-i-contain-size-to-mc/323343)

<div class="topic-metadata">

**Author:** [@yospeck](https://forum.kirupa.com/u/yospeck)\
**Replies:** 0\
**Last updated:** [June 26, 2011, 7:34pm UTC](https://forum.kirupa.com/t/interactive-image-pan-tutorial-how-do-i-contain-size-to-mc/323343 "2011-06-26T19:34:13Z")

</div>

(First type poster, so forgive me if I put this in the wrong forum) http://www.kirupa.com/developer/flash8/interactive\_image\_pan.htm Hey guys, currently using the source files on the tutorials page, combining the stu…

---

## [Pure Actionscript Modal effect](https://forum.kirupa.com/t/pure-actionscript-modal-effect/323342)

<div class="topic-metadata">

**Author:** [@Discipol](https://forum.kirupa.com/u/Discipol)\
**Replies:** 0\
**Last updated:** [June 26, 2011, 5:59pm UTC](https://forum.kirupa.com/t/pure-actionscript-modal-effect/323342 "2011-06-26T17:59:32Z")

</div>

Hello, I want to make a modal effect like a popup window in Flex, but with pure as3.:frankenstein: I put a filled Shape with a blur on it but doesn't look the same. I am assuming the blur effect is applied on the stage…

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

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