# programming

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

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

**Page:** 1427

---

## [Seating Plan from XML - Problem](https://forum.kirupa.com/t/seating-plan-from-xml-problem/247191)

<div class="topic-metadata">

**Author:** [@GerryNoble](https://forum.kirupa.com/u/GerryNoble)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 12:42pm UTC](https://forum.kirupa.com/t/seating-plan-from-xml-problem/247191 "2007-12-19T12:42:37Z")

</div>

I am trying to construct a seating plan using a movie clip and an external XML file. The external XML file holds the seat number and the seat booking status Y or N I can load the external XML file successfully and dr…

---

## [Making a variable accessible globally?](https://forum.kirupa.com/t/making-a-variable-accessible-globally/247188)

<div class="topic-metadata">

**Author:** [@eyev](https://forum.kirupa.com/u/eyev)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 10:41am UTC](https://forum.kirupa.com/t/making-a-variable-accessible-globally/247188 "2007-12-19T10:41:31Z")

</div>

Hey guys, was wondering if theres a quick and easy solution to this problem... I am grabbing information from an XML file and displaying it in a convenient yet compact swf.. Right now, i ran into a roadblock where I am u…

---

## [Can the if/else statement help?](https://forum.kirupa.com/t/can-the-if-else-statement-help/247187)

<div class="topic-metadata">

**Author:** [@sheena](https://forum.kirupa.com/u/sheena)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 10:19am UTC](https://forum.kirupa.com/t/can-the-if-else-statement-help/247187 "2007-12-19T10:19:33Z")

</div>

I have two buttons on the root level that share the same animation movie clip when pressed, at the end of the animation I need the actionscript in the last frame to identify which button had been pressed so it can then b…

---

## [\[Flash8\]XML menu with submenus, problem](https://forum.kirupa.com/t/flash8-xml-menu-with-submenus-problem/247180)

<div class="topic-metadata">

**Author:** [@komapeb](https://forum.kirupa.com/u/komapeb)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 9:46am UTC](https://forum.kirupa.com/t/flash8-xml-menu-with-submenus-problem/247180 "2007-12-19T09:46:29Z")

</div>

Hi guys. I'm trying to make a xml driven menu with submenus to work... you can see the XML and the fla in my attachment. The thing is I can't figure it out how to access submenus from different buttons... please help. Th…

---

## [noScale stage but Scale photo background](https://forum.kirupa.com/t/noscale-stage-but-scale-photo-background/247176)

<div class="topic-metadata">

**Author:** [@yiddo1](https://forum.kirupa.com/u/yiddo1)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 8:50am UTC](https://forum.kirupa.com/t/noscale-stage-but-scale-photo-background/247176 "2007-12-19T08:50:47Z")

</div>

Hey, I have done a lot of searching on this but haven't found what I'm looking for. I'm making a full browser flash site and when I resize the browser window I want the photo background image to fill the window no matt…

---

## [Random Color in glow filter](https://forum.kirupa.com/t/random-color-in-glow-filter/247175)

<div class="topic-metadata">

**Author:** [@Optical](https://forum.kirupa.com/u/Optical)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 7:24am UTC](https://forum.kirupa.com/t/random-color-in-glow-filter/247175 "2007-12-19T07:24:54Z")

</div>

Does anybody know how can i achieve the continously changing of random colors in my movie clip using the glow filter? Just default setting but the strenght is 220% instead of 100%.

---

## [Help Needed for attaching/syncing sound using AS](https://forum.kirupa.com/t/help-needed-for-attaching-syncing-sound-using-as/247172)

<div class="topic-metadata">

**Author:** [@zallie](https://forum.kirupa.com/u/zallie)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 6:37am UTC](https://forum.kirupa.com/t/help-needed-for-attaching-syncing-sound-using-as/247172 "2007-12-19T06:37:24Z")

</div>

Hi. I'm not new to Flash 8, but I am fresh-out-of-the-basket for Action Script. Here's my problem/question: I want to have a song that I recorded be syncronized to the animation 'lip-sync' for when it is up on the we…

---

## [Parameters for Exported MC's](https://forum.kirupa.com/t/parameters-for-exported-mcs/247169)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 4:22am UTC](https://forum.kirupa.com/t/parameters-for-exported-mcs/247169 "2007-12-19T04:22:19Z")

</div>

I have a MovieClip that I am exporting for actionscript, and I notice that flash says it will export a class to represent this MovieClip....is there a way I can require parameters be passed to this MovieClip when I insta…

---

## [How to hyperlink target image in Set Image gallery?](https://forum.kirupa.com/t/how-to-hyperlink-target-image-in-set-image-gallery/247168)

<div class="topic-metadata">

**Author:** [@orahorse](https://forum.kirupa.com/u/orahorse)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 3:41am UTC](https://forum.kirupa.com/t/how-to-hyperlink-target-image-in-set-image-gallery/247168 "2007-12-19T03:41:46Z")

</div>

I am using GoLive. I have a series of thumbnail images that enlarge on the same page on rollover. How do I give each enlarged image its own hyperlink? In the head is: CSAct\[/\*CMP\*/ 'c38dc8ed62'\] = new Array(CSSetIm…

---

## [Tween alternatives to the fl.transitions.\*](https://forum.kirupa.com/t/tween-alternatives-to-the-fl-transitions/247167)

<div class="topic-metadata">

**Author:** [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 3:35am UTC](https://forum.kirupa.com/t/tween-alternatives-to-the-fl-transitions/247167 "2007-12-19T03:35:31Z")

</div>

I'm reprogramming my biggest Flash project ever in AS3 from the ground up, and it feels GRRRREAT! :party: Except for the part that, since developing the AS2 version, I've tried moving away from Flash CS3 in favor of o…

---

## [Test for instance then do something](https://forum.kirupa.com/t/test-for-instance-then-do-something/247165)

<div class="topic-metadata">

**Author:** [@jrutter](https://forum.kirupa.com/u/jrutter)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 2:07am UTC](https://forum.kirupa.com/t/test-for-instance-then-do-something/247165 "2007-12-19T02:07:15Z")

</div>

Hi there, Wondering if anyone knows if there is a way to test to see if an instance is on the stage, if it is, then do something - else if do something else. I have added an instance called popInfo to the stage and I…

---

## [Random image load new image each time](https://forum.kirupa.com/t/random-image-load-new-image-each-time/247163)

<div class="topic-metadata">

**Author:** [@Codeflunky](https://forum.kirupa.com/u/Codeflunky)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 1:55am UTC](https://forum.kirupa.com/t/random-image-load-new-image-each-time/247163 "2007-12-19T01:55:08Z")

</div>

Hi, first post so hope I have the right section. Total amateur who has been searching for the answer without much luck. With help from here (Lurking) I have managed to build a movie that randomly loads three images (…

---

## [Use MovieClip in different fram](https://forum.kirupa.com/t/use-movieclip-in-different-fram/247162)

<div class="topic-metadata">

**Author:** [@suedoughnyhm](https://forum.kirupa.com/u/suedoughnyhm)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 1:19am UTC](https://forum.kirupa.com/t/use-movieclip-in-different-fram/247162 "2007-12-19T01:19:27Z")

</div>

I have a game with a movieclip that is originally in frame 5. In frame 10, however, the movieclip is not present. When I click on a button in frame 10 I want the movieclip to appear. Is it possible? I don't want to e…

---

## [Quick question! Taking this comma of the array](https://forum.kirupa.com/t/quick-question-taking-this-comma-of-the-array/247161)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 1:19am UTC](https://forum.kirupa.com/t/quick-question-taking-this-comma-of-the-array/247161 "2007-12-19T01:19:16Z")

</div>

hi all! Just a quick question! I used php to generate this.. array = "one","two","three", Now.. for flash to use it... it has to get rid of that extra ","(comma) at the end!.. How can i get rid of that comma? T…

---

## [Naming maps](https://forum.kirupa.com/t/naming-maps/247158)

<div class="topic-metadata">

**Author:** [@Tsukimaru](https://forum.kirupa.com/u/Tsukimaru)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 12:44am UTC](https://forum.kirupa.com/t/naming-maps/247158 "2007-12-19T00:44:19Z")

</div>

In Tonypa's tile map tutorials, he names his map arrays myMap1, myMap2, and so on. He sets currentmap to 1, and then calls his map building function with buildMap(\_root\["myMap"+game.currentMap\]); so he can just change th…

---

## [Centering div in FF vs IE](https://forum.kirupa.com/t/centering-div-in-ff-vs-ie/247157)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 12:37am UTC](https://forum.kirupa.com/t/centering-div-in-ff-vs-ie/247157 "2007-12-19T00:37:18Z")

</div>

http://dopmedia.com/hosted/synergeyes/multifocal In firefox the flash movie is centered fine, but in IE its off to the left. Any suggestions? Here is my html/css \<html xmlns="http://www.w3.org/1999/xhtml" xml:lang…

---

## [Flash CS3 Need help with 'Not another loading random image question'](https://forum.kirupa.com/t/flash-cs3-need-help-with-not-another-loading-random-image-question/247152)

<div class="topic-metadata">

**Author:** [@Codeflunky](https://forum.kirupa.com/u/Codeflunky)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 10:49pm UTC](https://forum.kirupa.com/t/flash-cs3-need-help-with-not-another-loading-random-image-question/247152 "2007-12-18T22:49:58Z")

</div>

Hi, first post so hope I have the right section. Total amateur who has been searching for the answer without much luck. With help from here (Lurking) I have managed to build a movie that randomly loads three images (…

---

## [MouseEvent.MOUSE\_OVER Help](https://forum.kirupa.com/t/mouseevent-mouse-over-help/247149)

<div class="topic-metadata">

**Author:** [@mechamecha](https://forum.kirupa.com/u/mechamecha)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 10:24pm UTC](https://forum.kirupa.com/t/mouseevent-mouse-over-help/247149 "2007-12-18T22:24:54Z")

</div>

Hey All, I'm having a problem w/ the mouse over event. Basically, I have a flash presentation w/ a movieclip that animates across the screen and stops. The movieclip has a 'hover over' state which causes it to 'highligh…

---

## [FlashGameLicense.com - virtual marketplace to connect game developers and buyers](https://forum.kirupa.com/t/flashgamelicense-com-virtual-marketplace-to-connect-game-developers-and-buyers/247148)

<div class="topic-metadata">

**Author:** [@AdamSchroeder](https://forum.kirupa.com/u/AdamSchroeder)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 10:19pm UTC](https://forum.kirupa.com/t/flashgamelicense-com-virtual-marketplace-to-connect-game-developers-and-buyers/247148 "2007-12-18T22:19:40Z")

</div>

Hey guys! You might already be familiar with: Flash Game Sponsorship – A great resource to learn how the sponsorship process works with lots of tips and advice on how to get the best possible deal. Flash Game Blogs …

---

## [Full screen mode enabled via button](https://forum.kirupa.com/t/full-screen-mode-enabled-via-button/247146)

<div class="topic-metadata">

**Author:** [@njoay](https://forum.kirupa.com/u/njoay)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 10:08pm UTC](https://forum.kirupa.com/t/full-screen-mode-enabled-via-button/247146 "2007-12-18T22:08:33Z")

</div>

Hi, I would like my Flash slideshow to go into full screen mode when I click on the thumbnails. Currently, I have the slideshow images resize to its different dimensions. I would still like it to perform this way but i…

---

## [Preloading MC](https://forum.kirupa.com/t/preloading-mc/247144)

<div class="topic-metadata">

**Author:** [@999chris](https://forum.kirupa.com/u/999chris)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 9:56pm UTC](https://forum.kirupa.com/t/preloading-mc/247144 "2007-12-18T21:56:31Z")

</div>

Hello, I have a FLash project with a preloader, but the preloader doesnt appear until 70% of the file has loaded, which is useless of course... is there anyway of loading up and displaying the Movie Clip contaning the ma…

---

## [Conditional Loop... Newbie question,.. Should be easy :D](https://forum.kirupa.com/t/conditional-loop-newbie-question-should-be-easy-d/247142)

<div class="topic-metadata">

**Author:** [@999chris](https://forum.kirupa.com/u/999chris)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 9:52pm UTC](https://forum.kirupa.com/t/conditional-loop-newbie-question-should-be-easy-d/247142 "2007-12-18T21:52:56Z")

</div>

Hello, I think ive been a newbie for about 5 years now, kinda dabbled in and out of ActionScript or any kind of programming whats so ever, but i thought its about time I honed my skills a bit. Ok, I have a preloader …

---

## [Thumbnails Tutorial AS Adjustment for Thumb Width](https://forum.kirupa.com/t/thumbnails-tutorial-as-adjustment-for-thumb-width/247140)

<div class="topic-metadata">

**Author:** [@frontlines](https://forum.kirupa.com/u/frontlines)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 9:34pm UTC](https://forum.kirupa.com/t/thumbnails-tutorial-as-adjustment-for-thumb-width/247140 "2007-12-18T21:34:03Z")

</div>

I'm wondering if there is a way to tweak the tutorial for the thumbnails slider (link below) to allow for thumbnails of various widths: http://www.kirupa.com/developer/mx2004/thumbnails.htm Currently the script creat…

---

## [Calling function at end of recurency](https://forum.kirupa.com/t/calling-function-at-end-of-recurency/247138)

<div class="topic-metadata">

**Author:** [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 9:27pm UTC](https://forum.kirupa.com/t/calling-function-at-end-of-recurency/247138 "2007-12-18T21:27:44Z")

</div>

Is there a way to call a function only at and of multiple recurency? I have a code like this private function \_markTile(tile:Tile):void { if (tile.mark()) return; var array:Array=new Array(); array.push(\_g…

---

## [Make this into autoscroll](https://forum.kirupa.com/t/make-this-into-autoscroll/247135)

<div class="topic-metadata">

**Author:** [@dellthx](https://forum.kirupa.com/u/dellthx)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 9:13pm UTC](https://forum.kirupa.com/t/make-this-into-autoscroll/247135 "2007-12-18T21:13:18Z")

</div>

Hello, I am new to flash and slowly learning how to use it. I followed the tutorial below to make a scrolling menu. THe menu moves to the left or right depending on the position of the mouse. My question is how can I …

---

## [Variable/Function advice](https://forum.kirupa.com/t/variable-function-advice/247133)

<div class="topic-metadata">

**Author:** [@geminione](https://forum.kirupa.com/u/geminione)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 8:53pm UTC](https://forum.kirupa.com/t/variable-function-advice/247133 "2007-12-18T20:53:37Z")

</div>

I'm setting up a document similar to a website. Say six buttons linking to six sections. I initially wrote a function to move "x stage" into view while removing whatever else was showing at the time. So it looked somethi…

---

## [MovieClip or Sprite](https://forum.kirupa.com/t/movieclip-or-sprite/247132)

<div class="topic-metadata">

**Author:** [@xohol](https://forum.kirupa.com/u/xohol)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 8:52pm UTC](https://forum.kirupa.com/t/movieclip-or-sprite/247132 "2007-12-18T20:52:02Z")

</div>

Hello, I am an advanced user of AS2 and i am just getting into AS3. Can someone please explain the main differences between MovieClips and Sprites in AS3? Thanks in advance Q

---

## [Associative Arrays](https://forum.kirupa.com/t/associative-arrays/247128)

<div class="topic-metadata">

**Author:** [@Exodar](https://forum.kirupa.com/u/Exodar)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 8:27pm UTC](https://forum.kirupa.com/t/associative-arrays/247128 "2007-12-18T20:27:47Z")

</div>

i'm trying to use associative arrays to store my variables but am looking for a solution to change the value of array1\* to array2\*. since it's an associative array, the only way i know how to loop through these kinds of …

---

## [Calling Functions from XML](https://forum.kirupa.com/t/calling-functions-from-xml/247127)

<div class="topic-metadata">

**Author:** [@dail](https://forum.kirupa.com/u/dail)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 8:21pm UTC](https://forum.kirupa.com/t/calling-functions-from-xml/247127 "2007-12-18T20:21:47Z")

</div>

Hi, I'm building an XML accordion menu as an external class, and I want to be able to include a function reference in the external XML file, with the function body sitting in a class file. I want to be able to call tha…

---

## [Making Rain](https://forum.kirupa.com/t/making-rain/247125)

<div class="topic-metadata">

**Author:** [@Theo\_wk](https://forum.kirupa.com/u/Theo_wk)\
**Replies:** 0\
**Last updated:** [December 18, 2007, 7:59pm UTC](https://forum.kirupa.com/t/making-rain/247125 "2007-12-18T19:59:16Z")

</div>

I've been working on an animation for a little while now and I've just got a point where I'm trying to insert rain and i realised i have no idea how I'm going to do it, I was wondering if any of you have any ideas for me…

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

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