# programming

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

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

**Page:** 557

---

## [Create a custom map chart of the world, using Google map?](https://forum.kirupa.com/t/create-a-custom-map-chart-of-the-world-using-google-map/305113)

<div class="topic-metadata">

**Author:** [@tdjprj](https://forum.kirupa.com/u/tdjprj)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 10:09am UTC](https://forum.kirupa.com/t/create-a-custom-map-chart-of-the-world-using-google-map/305113 "2010-02-19T10:09:21Z")

</div>

Has anyone created a custom map chart of the world using Flash 8? I read in few places that its possible with a component but cannot seem to find the right one. I need to create a custom heat map (map chart) which is b…

---

## [Formating text negative](https://forum.kirupa.com/t/formating-text-negative/305111)

<div class="topic-metadata">

**Author:** [@du9](https://forum.kirupa.com/u/du9)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 9:59am UTC](https://forum.kirupa.com/t/formating-text-negative/305111 "2010-02-19T09:59:54Z")

</div>

Any one can tell me how to format a dynamic text in "negative"? I mean for example white characters on black "box".

---

## [Flash movie pre-loader not working? Help please!](https://forum.kirupa.com/t/flash-movie-pre-loader-not-working-help-please/305109)

<div class="topic-metadata">

**Author:** [@dmemarian](https://forum.kirupa.com/u/dmemarian)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 9:13am UTC](https://forum.kirupa.com/t/flash-movie-pre-loader-not-working-help-please/305109 "2010-02-19T09:13:48Z")

</div>

Hi All, I've followed a flash preloader tutorial word by word online for AS2. The main bulk of the AS code is: stop(); loaderInt = setInterval (Lbar, 10); function Lbar () { if (getBytesLoaded () \>= getBytesTotal …

---

## [Restart game](https://forum.kirupa.com/t/restart-game/305107)

<div class="topic-metadata">

**Author:** [@Joepiooo](https://forum.kirupa.com/u/Joepiooo)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 9:01am UTC](https://forum.kirupa.com/t/restart-game/305107 "2010-02-19T09:01:45Z")

</div>

Hello, I'm making a memory game in Flash CS and got the following problem: The game is working perfect but I want to restart the whole game after you finished. When all cards matches I remove the childs(cards) from …

---

## [How would I go about making this work?](https://forum.kirupa.com/t/how-would-i-go-about-making-this-work/305105)

<div class="topic-metadata">

**Author:** [@tcabaco](https://forum.kirupa.com/u/tcabaco)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 8:41am UTC](https://forum.kirupa.com/t/how-would-i-go-about-making-this-work/305105 "2010-02-19T08:41:45Z")

</div>

Hi I'm in the stages of brainstorming ideas for a web site for a new font that is coming out. For one of the ideas I wanted to make something interactive and sort of experimental. Basically I want to have each characte…

---

## [Generating dynamic linear gradient colours](https://forum.kirupa.com/t/generating-dynamic-linear-gradient-colours/305102)

<div class="topic-metadata">

**Author:** [@edwinlimlx](https://forum.kirupa.com/u/edwinlimlx)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 7:58am UTC](https://forum.kirupa.com/t/generating-dynamic-linear-gradient-colours/305102 "2010-02-19T07:58:04Z")

</div>

Hi, Would like to know is it possible to dynamically generate a range of colours. Eg. from \[COLOR="Red"\]red \[/COLOR\]to \[COLOR="Lime"\]green \[/COLOR\]\["0xFF0000", "00FF00"\] Specifying a range of \*\*100 \*\*in between col…

---

## [Dynamic xml mp3 player](https://forum.kirupa.com/t/dynamic-xml-mp3-player/305101)

<div class="topic-metadata">

**Author:** [@sirulian](https://forum.kirupa.com/u/sirulian)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 6:58am UTC](https://forum.kirupa.com/t/dynamic-xml-mp3-player/305101 "2010-02-19T06:58:21Z")

</div>

hello world \[smile\] i was wondering if i could enlist anyone's help. i'm trying to create an mp3 player very similar to this: http://blog.iso50.com/playlist-archive/ the mp3 player itself is flash. located on the ri…

---

## [Adjacent Movieclips "Jiggle"?](https://forum.kirupa.com/t/adjacent-movieclips-jiggle/305100)

<div class="topic-metadata">

**Author:** [@TheByteBandit](https://forum.kirupa.com/u/TheByteBandit)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 5:43am UTC](https://forum.kirupa.com/t/adjacent-movieclips-jiggle/305100 "2010-02-19T05:43:20Z")

</div>

Here's my example SWF: http://www.swfcabin.com/open/1265831402 When it loads, all the sprite instances are lined up pretty well (also when you zoom out all the way they are re-aligned correctly). However, when you dr…

---

## [How can I add and delete movieClips when a button is click using for a loop](https://forum.kirupa.com/t/how-can-i-add-and-delete-movieclips-when-a-button-is-click-using-for-a-loop/305095)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 4:10am UTC](https://forum.kirupa.com/t/how-can-i-add-and-delete-movieclips-when-a-button-is-click-using-for-a-loop/305095 "2010-02-19T04:10:19Z")

</div>

Hi, I have a for loop that adds 5 movieClips to the stage at a random position every time I click the enterBtn, what I want to do if the enterBtn is click again remove the movieClips previously generated and leave only …

---

## [Google Conversion Tracking in AS2?](https://forum.kirupa.com/t/google-conversion-tracking-in-as2/305091)

<div class="topic-metadata">

**Author:** [@RichGags](https://forum.kirupa.com/u/RichGags)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 12:43am UTC](https://forum.kirupa.com/t/google-conversion-tracking-in-as2/305091 "2010-02-19T00:43:18Z")

</div>

I have a Flash AS2 site with a contact form. The contact form calls mymail.php and sends me an email with the users input. The php sends a confirmation back to the flash file. I have a Google Adwords campaign. I woul…

---

## [\[AC2\] Platform game engine code help](https://forum.kirupa.com/t/ac2-platform-game-engine-code-help/305090)

<div class="topic-metadata">

**Author:** [@MaxGhost](https://forum.kirupa.com/u/MaxGhost)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 12:26am UTC](https://forum.kirupa.com/t/ac2-platform-game-engine-code-help/305090 "2010-02-19T00:26:23Z")

</div>

I'm trying to make a mario-styled platform game, with Pac-Man as the main character (don't ask me why, I just felt like doing something outrageously random for a change). I started out by using the platformer tutorial he…

---

## [Fill ByteArray with random values](https://forum.kirupa.com/t/fill-bytearray-with-random-values/305088)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 11:39pm UTC](https://forum.kirupa.com/t/fill-bytearray-with-random-values/305088 "2010-02-18T23:39:22Z")

</div>

Is it possible to fill a ByteArray with random values that SoundMixer.computeSpectrum() could read? If so, how? The reason I ask is if a tab like youtube is open, I get a security error. I would at least like to see so…

---

## [Workarounds for nested HTML forms?](https://forum.kirupa.com/t/workarounds-for-nested-html-forms/305085)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 11:20pm UTC](https://forum.kirupa.com/t/workarounds-for-nested-html-forms/305085 "2010-02-18T23:20:54Z")

</div>

I have been driving myself silly trying to solve this. :crazy: I have a simple form with (basically) three fields, title, image\_url, and, information, all three text. \<form action="index.php?action=save" method="po…

---

## [A bit of quick help](https://forum.kirupa.com/t/a-bit-of-quick-help/305083)

<div class="topic-metadata">

**Author:** [@EvilDryerSheet](https://forum.kirupa.com/u/EvilDryerSheet)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 11:10pm UTC](https://forum.kirupa.com/t/a-bit-of-quick-help/305083 "2010-02-18T23:10:03Z")

</div>

Hey guys! I'm new to this site/forum, but so far it looks pretty helpful. I was just wondering if there was a tutorial somewhere explaining how to do the grid format talked about in the beginning of this tutorial. http…

---

## [Flash Facebook Applications - Anyone have experience?](https://forum.kirupa.com/t/flash-facebook-applications-anyone-have-experience/305079)

<div class="topic-metadata">

**Author:** [@cry4dawn](https://forum.kirupa.com/u/cry4dawn)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 10:50pm UTC](https://forum.kirupa.com/t/flash-facebook-applications-anyone-have-experience/305079 "2010-02-18T22:50:05Z")

</div>

Hey guys, I have been trying to develop flash based facebook apps. After reading a bit on methods (there are many) I went with zerofractals bridge component ... basically an external interface wrapper that manages call…

---

## [CMS suggestions?](https://forum.kirupa.com/t/cms-suggestions/305078)

<div class="topic-metadata">

**Author:** [@Geki](https://forum.kirupa.com/u/Geki)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 10:37pm UTC](https://forum.kirupa.com/t/cms-suggestions/305078 "2010-02-18T22:37:19Z")

</div>

Hello, Most of my flash sites get all the content from XML files. But which CMS should I use for easiest and best XML editing (that I could also give to a client). Thanks.

---

## [Linking Symbol with Class Question](https://forum.kirupa.com/t/linking-symbol-with-class-question/305075)

<div class="topic-metadata">

**Author:** [@sakibi15](https://forum.kirupa.com/u/sakibi15)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 9:24pm UTC](https://forum.kirupa.com/t/linking-symbol-with-class-question/305075 "2010-02-18T21:24:35Z")

</div>

Hey folks. Simply put: Let's say I've got a symbol (in this case its a continent icon). This symbol is connected to an actionscript class called ContinentView.as, how would I go about creating the symbol again and addi…

---

## [Dynamic Instance Naming](https://forum.kirupa.com/t/dynamic-instance-naming/305073)

<div class="topic-metadata">

**Author:** [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 9:10pm UTC](https://forum.kirupa.com/t/dynamic-instance-naming/305073 "2010-02-18T21:10:59Z")

</div>

Hello All So here's my problem. I've created an array from XML elements. I have my index saved in the var i mc.index = i; Now the problem I'm facing is dynamically changing a section of code. I had to hardcode like t…

---

## [AS3-\>AS2, need help understanding mouse events](https://forum.kirupa.com/t/as3-as2-need-help-understanding-mouse-events/305070)

<div class="topic-metadata">

**Author:** [@mdev](https://forum.kirupa.com/u/mdev)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 7:43pm UTC](https://forum.kirupa.com/t/as3-as2-need-help-understanding-mouse-events/305070 "2010-02-18T19:43:51Z")

</div>

I'm used to AS3 and it's event handling system. Now I have to do some work with AS2, and I don't understand how the event system works. I'm using the following code to test: ------------------------- --------------…

---

## [Red5 Question](https://forum.kirupa.com/t/red5-question/305069)

<div class="topic-metadata">

**Author:** [@Ruke](https://forum.kirupa.com/u/Ruke)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 7:33pm UTC](https://forum.kirupa.com/t/red5-question/305069 "2010-02-18T19:33:07Z")

</div>

Hey I'm sorry if this is in the wrong section of the forum. I thought I'd post it here as I've heard a few people speak of Red5 before and thought someone may be able to help \[smile\] I have recently downloaded Red5 8…

---

## [URLLoader and performance issues](https://forum.kirupa.com/t/urlloader-and-performance-issues/305068)

<div class="topic-metadata">

**Author:** [@SteveCuz](https://forum.kirupa.com/u/SteveCuz)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 7:29pm UTC](https://forum.kirupa.com/t/urlloader-and-performance-issues/305068 "2010-02-18T19:29:03Z")

</div>

I am building a simple swf that will load in variables from an asp page using a URLloader and URLRequest. The asp page loads in the current values from a SQL database but these values will change every second. My swf…

---

## [Toggle button text](https://forum.kirupa.com/t/toggle-button-text/305064)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 6:08pm UTC](https://forum.kirupa.com/t/toggle-button-text/305064 "2010-02-18T18:08:38Z")

</div>

I have a button that when clicked once reaveals a portion of an image and when clicked again covers the image back up. That part is working. Now I need the text on the button itself to toggle from saying "show" to "hide"…

---

## [Problem with tween re-writing y value](https://forum.kirupa.com/t/problem-with-tween-re-writing-y-value/305062)

<div class="topic-metadata">

**Author:** [@stereoscopic](https://forum.kirupa.com/u/stereoscopic)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 5:26pm UTC](https://forum.kirupa.com/t/problem-with-tween-re-writing-y-value/305062 "2010-02-18T17:26:18Z")

</div>

Hi guys... I'm new to actionscript 3, and I was hoping someone might point me in the right direction. I'm trying to store the y position of an event.target on mouse roll over so that i can recall it after a tween has pla…

---

## [Removing embedded swf](https://forum.kirupa.com/t/removing-embedded-swf/305059)

<div class="topic-metadata">

**Author:** [@laaptu](https://forum.kirupa.com/u/laaptu)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 4:26pm UTC](https://forum.kirupa.com/t/removing-embedded-swf/305059 "2010-02-18T16:26:29Z")

</div>

I have been searching all over about removing embedded swf but couldn't find any solution. Here is my scenario \[Embed(source="hero.swf")\] var Hero:Class; var hero:Sprite = new Hero(); this.addChild(hero); //now say…

---

## [Game FPS](https://forum.kirupa.com/t/game-fps/305058)

<div class="topic-metadata">

**Author:** [@Snivvle](https://forum.kirupa.com/u/Snivvle)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 4:21pm UTC](https://forum.kirupa.com/t/game-fps/305058 "2010-02-18T16:21:18Z")

</div>

Hi, I know this has been an issue in the past, due to computers not being able to really keep up with a faster FPS (frames per second) - Wondering if there is really anything I should be worried about running a game at…

---

## [Controlling and array specific to one movie clip](https://forum.kirupa.com/t/controlling-and-array-specific-to-one-movie-clip/305057)

<div class="topic-metadata">

**Author:** [@martiandrivein](https://forum.kirupa.com/u/martiandrivein)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 4:14pm UTC](https://forum.kirupa.com/t/controlling-and-array-specific-to-one-movie-clip/305057 "2010-02-18T16:14:26Z")

</div>

What I'm trying to do is control the other movie clips (adImages\_mc, pressRelease\_mc, and about\_mc) to not pause when clicking between the 3 of them, but only when going from having the features\_mc selected to selecting …

---

## [Snap to mouse is not working correctly please take a look?](https://forum.kirupa.com/t/snap-to-mouse-is-not-working-correctly-please-take-a-look/305053)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 2:26pm UTC](https://forum.kirupa.com/t/snap-to-mouse-is-not-working-correctly-please-take-a-look/305053 "2010-02-18T14:26:53Z")

</div>

Hello I madke a snap to mouse, but its working a little odd. Please take a look at the fla. The MC snaps to the mouse much more to the left then to the right side. Tried to find the error at the code, but found not…

---

## [Need help for simple flash game with mysql database](https://forum.kirupa.com/t/need-help-for-simple-flash-game-with-mysql-database/305051)

<div class="topic-metadata">

**Author:** [@WizemakerS](https://forum.kirupa.com/u/WizemakerS)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 2:14pm UTC](https://forum.kirupa.com/t/need-help-for-simple-flash-game-with-mysql-database/305051 "2010-02-18T14:14:55Z")

</div>

Hello, I need some help for my porject. I want to make a flash game that connected with mysql database. But I have a problem here. In a simple case, in the mysql database I have "gender" field which is male or female …

---

## [How to access a var from stage using a class?](https://forum.kirupa.com/t/how-to-access-a-var-from-stage-using-a-class/305048)

<div class="topic-metadata">

**Author:** [@Zen08](https://forum.kirupa.com/u/Zen08)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 1:31pm UTC](https://forum.kirupa.com/t/how-to-access-a-var-from-stage-using-a-class/305048 "2010-02-18T13:31:29Z")

</div>

Hi guys! I need a clear understanding on my problem: I have var on my stage and i want my class to be able to access that var. Here's what is on my main.fla: import ShapeOuts; var ShapeDetect = 0; var shaped:S…

---

## [Custom Event for height change AS3 (Flash)](https://forum.kirupa.com/t/custom-event-for-height-change-as3-flash/305043)

<div class="topic-metadata">

**Author:** [@samroni](https://forum.kirupa.com/u/samroni)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 11:02am UTC](https://forum.kirupa.com/t/custom-event-for-height-change-as3-flash/305043 "2010-02-18T11:02:34Z")

</div>

Hey Guys.... how can i add an event listener to detect when the height of a DisplayObject changes. Obviously, Event.RESIZE doesn't work. should i make a new custom event? i don't know how to slip the "height change" …

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

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