# programming

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

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

**Page:** 669

---

## [XML messageboard/guestbook modify](https://forum.kirupa.com/t/xml-messageboard-guestbook-modify/297962)

<div class="topic-metadata">

**Author:** [@Ricoo](https://forum.kirupa.com/u/Ricoo)\
**Replies:** 0\
**Last updated:** [October 11, 2009, 10:52am UTC](https://forum.kirupa.com/t/xml-messageboard-guestbook-modify/297962 "2009-10-11T10:52:50Z")

</div>

I find this messageboard quite nice http://www.kirupa.com/web/xml\_guestbook.htm But how to modify or what code to add to it, so that there will be small picture (lets say 15px x 15px) before "somename wrote:"? And for…

---

## [\[CS4\] Changing Flash 6 codes to Flash 8 AS2](https://forum.kirupa.com/t/cs4-changing-flash-6-codes-to-flash-8-as2/297957)

<div class="topic-metadata">

**Author:** [@humbuged](https://forum.kirupa.com/u/humbuged)\
**Replies:** 0\
**Last updated:** [October 11, 2009, 7:28am UTC](https://forum.kirupa.com/t/cs4-changing-flash-6-codes-to-flash-8-as2/297957 "2009-10-11T07:28:34Z")

</div>

Hello \[smiley\] I found this code to make images bounce but it only works when I set the settings to Flash 6. Can anyone tell me how to convert the code to work for Flash 8 AS2? \[smile\] Would appreciate it if anyone cou…

---

## [Action script2 for yahoo messenger](https://forum.kirupa.com/t/action-script2-for-yahoo-messenger/297956)

<div class="topic-metadata">

**Author:** [@freya71](https://forum.kirupa.com/u/freya71)\
**Replies:** 0\
**Last updated:** [October 11, 2009, 5:58am UTC](https://forum.kirupa.com/t/action-script2-for-yahoo-messenger/297956 "2009-10-11T05:58:10Z")

</div>

is there any way to put yahoo messenger link id on our flash?

---

## [Overlaping hitArea?](https://forum.kirupa.com/t/overlaping-hitarea/297955)

<div class="topic-metadata">

**Author:** [@dawn\_99](https://forum.kirupa.com/u/dawn_99)\
**Replies:** 0\
**Last updated:** [October 11, 2009, 5:06am UTC](https://forum.kirupa.com/t/overlaping-hitarea/297955 "2009-10-11T05:06:59Z")

</div>

can you have 2 movieClips with overlapping hitArea's but with both active at the same time, so the one on top doesn't override the one on the bottom?

---

## [Only use default value for some of the arguments](https://forum.kirupa.com/t/only-use-default-value-for-some-of-the-arguments/297953)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [October 11, 2009, 3:57am UTC](https://forum.kirupa.com/t/only-use-default-value-for-some-of-the-arguments/297953 "2009-10-11T03:57:48Z")

</div>

How do I specify that I want to use the default values for the first two arguments but not the last argument? function doStuff($a = 1, $b = 2, $c = 3) { echo $a . $b. $c; } // psuedo-code: doStuff(DEFAULT, DEFAULT…

---

## [Using arrays for more than 1 MC](https://forum.kirupa.com/t/using-arrays-for-more-than-1-mc/297952)

<div class="topic-metadata">

**Author:** [@sora72](https://forum.kirupa.com/u/sora72)\
**Replies:** 0\
**Last updated:** [October 11, 2009, 3:28am UTC](https://forum.kirupa.com/t/using-arrays-for-more-than-1-mc/297952 "2009-10-11T03:28:57Z")

</div>

i'm trying to use an array to attach up to 4 movie clips, using the same script. My code I'm using to attach looks like: if(en\<=4){ EA\[t\] = attachMovie("enemy", "enemy"+t, depth++); EA\[t\].\_x =…

---

## [Audio class help](https://forum.kirupa.com/t/audio-class-help/297948)

<div class="topic-metadata">

**Author:** [@drakkonblade](https://forum.kirupa.com/u/drakkonblade)\
**Replies:** 0\
**Last updated:** [October 11, 2009, 2:21am UTC](https://forum.kirupa.com/t/audio-class-help/297948 "2009-10-11T02:21:55Z")

</div>

Hello Everyone, What i have: I made a doc class and a sound class. the sound class purpose is that if ever add sound i can just recycle easily the code to use and via the doc class just load it intot he correct frame. …

---

## [Flash CS3 and Flash CS4 - Any difference in AS3?](https://forum.kirupa.com/t/flash-cs3-and-flash-cs4-any-difference-in-as3/297945)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [October 11, 2009, 12:13am UTC](https://forum.kirupa.com/t/flash-cs3-and-flash-cs4-any-difference-in-as3/297945 "2009-10-11T00:13:35Z")

</div>

Hi, Is there any differences in Actionscript 3 between Flash CS3 and Flash CS4? Apart from Flash CS4 having extra inversekinematic functions, is everything else the same, actionscripting-wise?

---

## [Bracket Highlighting](https://forum.kirupa.com/t/bracket-highlighting/297944)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [October 11, 2009, 12:09am UTC](https://forum.kirupa.com/t/bracket-highlighting/297944 "2009-10-11T00:09:02Z")

</div>

Hi, Is there an extension or mod available to allow Flash CS3 have bracket highlighting? I just think it would be very useful and save split seconds of confusion. Thanks

---

## [Testing the speed of code - A standard?](https://forum.kirupa.com/t/testing-the-speed-of-code-a-standard/297938)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 10:27pm UTC](https://forum.kirupa.com/t/testing-the-speed-of-code-a-standard/297938 "2009-10-10T22:27:38Z")

</div>

Guess it posted twice... Remove me. \[smile\]

---

## [Calculate Brightness](https://forum.kirupa.com/t/calculate-brightness/297933)

<div class="topic-metadata">

**Author:** [@slopps](https://forum.kirupa.com/u/slopps)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 5:31pm UTC](https://forum.kirupa.com/t/calculate-brightness/297933 "2009-10-10T17:31:21Z")

</div>

If I were going to be calculating brightness to say, determine if a pixel meets a threshold, what is the most effective method in terms of speed and efficiency? I would be doing it for video, so it would need to be somew…

---

## [Double nested dynamic mc's](https://forum.kirupa.com/t/double-nested-dynamic-mcs/297929)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 3:50pm UTC](https://forum.kirupa.com/t/double-nested-dynamic-mcs/297929 "2009-10-10T15:50:55Z")

</div>

Lets say I've created 10 dynamic MC's that have 10 dynamic MC's in each one. How can I address those nested MC's? this.getChildAt("level1mc1").getChildAt("level2mc1"); - doesn't work For some reason, Flash doesn't allo…

---

## [Question on Good Architecture](https://forum.kirupa.com/t/question-on-good-architecture/297928)

<div class="topic-metadata">

**Author:** [@johnsonw](https://forum.kirupa.com/u/johnsonw)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 3:42pm UTC](https://forum.kirupa.com/t/question-on-good-architecture/297928 "2009-10-10T15:42:22Z")

</div>

Hey guys, I have a quick question about architecture in flex. I have a virtual world project I am working on so once you are logged into the world, it brings you to the WorldView state. This is just an mxml component w…

---

## [Array SUM](https://forum.kirupa.com/t/array-sum/297924)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 2:15pm UTC](https://forum.kirupa.com/t/array-sum/297924 "2009-10-10T14:15:48Z")

</div>

Hi I have an array with only numbers. I want to make the SUM of it. Any function to do that? Thanks

---

## [Serious Frustration! Can someone help with XML?](https://forum.kirupa.com/t/serious-frustration-can-someone-help-with-xml/297922)

<div class="topic-metadata">

**Author:** [@hugh71158](https://forum.kirupa.com/u/hugh71158)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 1:29pm UTC](https://forum.kirupa.com/t/serious-frustration-can-someone-help-with-xml/297922 "2009-10-10T13:29:12Z")

</div>

Hi all. I am suffering from a 5 day frustration issue with my menu. The situation is that I purchased a menu (from Oxylus) and can't seem to get any response through their "support" forum. Days have passed, and now t…

---

## [Stage.align parameters aren't working?](https://forum.kirupa.com/t/stage-align-parameters-arent-working/297918)

<div class="topic-metadata">

**Author:** [@Kivshany](https://forum.kirupa.com/u/Kivshany)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 9:00am UTC](https://forum.kirupa.com/t/stage-align-parameters-arent-working/297918 "2009-10-10T09:00:13Z")

</div>

Hi all, im using this code: Stage.align = "BR"; var stageListener: Object = new Object(); stageListener.onResize = positionContent; Stage.addListener(stageListener); function positionContent():Void { mcLogo.\_x = Sta…

---

## [Quick hack for Python-like string mutiplication?](https://forum.kirupa.com/t/quick-hack-for-python-like-string-mutiplication/297917)

<div class="topic-metadata">

**Author:** [@komapeb](https://forum.kirupa.com/u/komapeb)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 8:51am UTC](https://forum.kirupa.com/t/quick-hack-for-python-like-string-mutiplication/297917 "2009-10-10T08:51:44Z")

</div>

Is there a function in AS to allow me to multiply a string by \* x \*. The function should return the string repeated \* x \* times. e.g. var str:String = "string"; trace(str\*3); //expected output: "stringstrings…

---

## [Dynamic Text Variabes to a form PHP script for emailing](https://forum.kirupa.com/t/dynamic-text-variabes-to-a-form-php-script-for-emailing/297914)

<div class="topic-metadata">

**Author:** [@matlock](https://forum.kirupa.com/u/matlock)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 4:33am UTC](https://forum.kirupa.com/t/dynamic-text-variabes-to-a-form-php-script-for-emailing/297914 "2009-10-10T04:33:22Z")

</div>

If a user makes a number of selections from visual indicators on frame 1 of a Flash 8 file and textual descriptions of those selections are then actionscripted into dynamic text boxes as text values in a form on frame 2,…

---

## [Playing external swf's in rectangle](https://forum.kirupa.com/t/playing-external-swfs-in-rectangle/297913)

<div class="topic-metadata">

**Author:** [@Tim\_Oz](https://forum.kirupa.com/u/Tim_Oz)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 4:18am UTC](https://forum.kirupa.com/t/playing-external-swfs-in-rectangle/297913 "2009-10-10T04:18:23Z")

</div>

This is driving me bonkers. I've been at it for three days now and I still haven't got it sorted. Can anyone please help? I've got a flash site www.nicework.com.au that's done in Action Script 2 in Flash CS3. On the ga…

---

## [Flash CS3 Help NEEDED](https://forum.kirupa.com/t/flash-cs3-help-needed/297909)

<div class="topic-metadata">

**Author:** [@plopez](https://forum.kirupa.com/u/plopez)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 3:20am UTC](https://forum.kirupa.com/t/flash-cs3-help-needed/297909 "2009-10-10T03:20:12Z")

</div>

First let me say thanks to everyone for reading and helping me out. OK I have a Template that I bought for a client that wanted it. It has background looping music and my customer wants to add videos (FLV), no problem.…

---

## [Serializing?!](https://forum.kirupa.com/t/serializing/297906)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 11:54pm UTC](https://forum.kirupa.com/t/serializing/297906 "2009-10-09T23:54:59Z")

</div>

I read today that serializing is the best way to save and restore data... I guess this would take place of writing to an XML file using PHP? Can someone please explain to me what serializing is and how it works with AS…

---

## [Reduce Bone size?](https://forum.kirupa.com/t/reduce-bone-size/297903)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 11:08pm UTC](https://forum.kirupa.com/t/reduce-bone-size/297903 "2009-10-09T23:08:37Z")

</div>

Hi, Is there a way to make the bone tool, bones, show in a smaller size?. I'm using the bone tool on a small character that i've already drawn, but each bone is so massive that it almost completely covers my character,…

---

## [How to clear the stage when entering a new frame](https://forum.kirupa.com/t/how-to-clear-the-stage-when-entering-a-new-frame/297900)

<div class="topic-metadata">

**Author:** [@chrisdegrote](https://forum.kirupa.com/u/chrisdegrote)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 10:06pm UTC](https://forum.kirupa.com/t/how-to-clear-the-stage-when-entering-a-new-frame/297900 "2009-10-09T22:06:33Z")

</div>

Dear all, I am making my first website in flash based on frames. When you go to an other frame the Stage fades out. When you enter the frame you see nothing at all. So how can I clear the stage when entering the frame …

---

## [Looping audio problem](https://forum.kirupa.com/t/looping-audio-problem/297897)

<div class="topic-metadata">

**Author:** [@kehmical](https://forum.kirupa.com/u/kehmical)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 9:05pm UTC](https://forum.kirupa.com/t/looping-audio-problem/297897 "2009-10-09T21:05:47Z")

</div>

Hello, I have a animation that needs to begin on frame 1 because an FLV plays on that frame. I have a 'play audio/mute audio button' that toggles an mp3 on and off. The mp3 is on it's own layer. My problem is that wh…

---

## [Convert Flash Movie](https://forum.kirupa.com/t/convert-flash-movie/297894)

<div class="topic-metadata">

**Author:** [@dude9er](https://forum.kirupa.com/u/dude9er)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 8:02pm UTC](https://forum.kirupa.com/t/convert-flash-movie/297894 "2009-10-09T20:02:25Z")

</div>

I haven't used Flash for a couple of years and have recently come across a project that requires Flash. I have created my Flash movie and I want to export it in "player format", similar to YouTube, where the user strea…

---

## [Flash assests to Flex?](https://forum.kirupa.com/t/flash-assests-to-flex/297891)

<div class="topic-metadata">

**Author:** [@jcanistrum](https://forum.kirupa.com/u/jcanistrum)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 7:52pm UTC](https://forum.kirupa.com/t/flash-assests-to-flex/297891 "2009-10-09T19:52:36Z")

</div>

I've got to have flash assets available for an Flex project, I've followed the manual and everything is going fine, I can reach all mcs etc., but one thing is driving me crazy, why an 800 x 600 mc exported from flash do…

---

## [Capture a user customized MC and post it?](https://forum.kirupa.com/t/capture-a-user-customized-mc-and-post-it/297885)

<div class="topic-metadata">

**Author:** [@boulder676](https://forum.kirupa.com/u/boulder676)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 6:02pm UTC](https://forum.kirupa.com/t/capture-a-user-customized-mc-and-post-it/297885 "2009-10-09T18:02:16Z")

</div>

Good marnin' I am working on a site where you customize a postcard for print. The user adds images, text etc. I have run into a problem because I need to have the MC that contains all the images, text etc, captured and…

---

## [Tweener problem with \_color](https://forum.kirupa.com/t/tweener-problem-with--color/297884)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 4:25pm UTC](https://forum.kirupa.com/t/tweener-problem-with--color/297884 "2009-10-09T16:25:08Z")

</div>

getting this error ReferenceError: Error #1069: Property \_color not found on flash.display.Sprite and there is no default value. I am trying to tween a color on a Sprite. Strange thing is it works locally, but when …

---

## [Huge Game help](https://forum.kirupa.com/t/huge-game-help/297883)

<div class="topic-metadata">

**Author:** [@R0W](https://forum.kirupa.com/u/R0W)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 4:13pm UTC](https://forum.kirupa.com/t/huge-game-help/297883 "2009-10-09T16:13:40Z")

</div>

Hiya! im not exactly a newb im really good just forgot some stuff over my break from animation lol. anyway im working on my own KH game but im having a bit of problems with a few aspects of it: ~ stands for completed X…

---

## [Accessing Universal time](https://forum.kirupa.com/t/accessing-universal-time/297880)

<div class="topic-metadata">

**Author:** [@brndn](https://forum.kirupa.com/u/brndn)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 3:35pm UTC](https://forum.kirupa.com/t/accessing-universal-time/297880 "2009-10-09T15:35:20Z")

</div>

Hi all I am trying to get hold of the current time, Not the OS Local time to work a count down timer. to be specific I wouold like to get hold of GMT and count from there, thus avoiding the issue where users might have…

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

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