# programming

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

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

**Page:** 711

---

## [Z Order Swapping](https://forum.kirupa.com/t/z-order-swapping/295312)

<div class="topic-metadata">

**Author:** [@flashie](https://forum.kirupa.com/u/flashie)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 12:40am UTC](https://forum.kirupa.com/t/z-order-swapping/295312 "2009-08-28T00:40:34Z")

</div>

Hello. I am creating a simple navigation menu. It consists of two arrows, forward and backward. When only the forward arrow is applicable, then it will sit in the "center" (and vice versa), when both are applicable, they…

---

## [Tile based Boundary problem. (AS2)](https://forum.kirupa.com/t/tile-based-boundary-problem-as2/295308)

<div class="topic-metadata">

**Author:** [@Olaf\_Forkbeard](https://forum.kirupa.com/u/Olaf_Forkbeard)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 10:56pm UTC](https://forum.kirupa.com/t/tile-based-boundary-problem-as2/295308 "2009-08-27T22:56:42Z")

</div>

Hello community. I have this wierd problem with flash that I can't understand. I am in the middle of making a tile based engine, and I have decided to do boundaries by hit testing a MC in the tile in question. Well if …

---

## [{Flash 8} AS 2.0 desperately need help! button needs to play animation loop](https://forum.kirupa.com/t/flash-8-as-2-0-desperately-need-help-button-needs-to-play-animation-loop/295304)

<div class="topic-metadata">

**Author:** [@Roselestte](https://forum.kirupa.com/u/Roselestte)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 9:05pm UTC](https://forum.kirupa.com/t/flash-8-as-2-0-desperately-need-help-button-needs-to-play-animation-loop/295304 "2009-08-27T21:05:43Z")

</div>

Hey everyone, I might as well start by saying im a total and utter newbie to action script, I have literally been thrown into it in the past 3 days, Im a freelance illustrator and a client has just asked me to create a…

---

## [Image Gallery Template](https://forum.kirupa.com/t/image-gallery-template/295302)

<div class="topic-metadata">

**Author:** [@top1hat19](https://forum.kirupa.com/u/top1hat19)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 8:54pm UTC](https://forum.kirupa.com/t/image-gallery-template/295302 "2009-08-27T20:54:47Z")

</div>

I know how to take a set of images and create a thumbnail gallery viewer, but I want to do more with it. I want to be able to add pictures to the gallery, or change which folder of pictures the gallery views alltogether…

---

## [\[F8\] userList and SspectatorList problem](https://forum.kirupa.com/t/f8-userlist-and-sspectatorlist-problem/295301)

<div class="topic-metadata">

**Author:** [@capdetrons](https://forum.kirupa.com/u/capdetrons)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 8:41pm UTC](https://forum.kirupa.com/t/f8-userlist-and-sspectatorlist-problem/295301 "2009-08-27T20:41:50Z")

</div>

Hi, Is anyone using electroserver or might have an idea of why this is happening in a game where you can send private messages by clicking on the userList but not when you click on the spectatorList? I don't know much ac…

---

## [Why does this work / not work?](https://forum.kirupa.com/t/why-does-this-work-not-work/295300)

<div class="topic-metadata">

**Author:** [@davec](https://forum.kirupa.com/u/davec)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 8:30pm UTC](https://forum.kirupa.com/t/why-does-this-work-not-work/295300 "2009-08-27T20:30:57Z")

</div>

I have a 10 frame movieClip which I can put on the timeline in a new movie like this: var impPanel:MovieClip = new ImpPanel(); addChild(impPanel); var btn:SimpleButton = new TBtn(); btn.addEventListener(MouseEvent.MO…

---

## [OnEnterFrame and lag](https://forum.kirupa.com/t/onenterframe-and-lag/295299)

<div class="topic-metadata">

**Author:** [@SuperSkyler](https://forum.kirupa.com/u/SuperSkyler)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 8:30pm UTC](https://forum.kirupa.com/t/onenterframe-and-lag/295299 "2009-08-27T20:30:04Z")

</div>

I'm creating a basic game in actionscript 2. Essentially the user will control a canon at the bottom of the stage with the left and right arrow keys. They will fire canons at these "germs" floating around the screen. The…

---

## [Combobox inside Datagrid](https://forum.kirupa.com/t/combobox-inside-datagrid/295298)

<div class="topic-metadata">

**Author:** [@EssenceLord](https://forum.kirupa.com/u/EssenceLord)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 8:14pm UTC](https://forum.kirupa.com/t/combobox-inside-datagrid/295298 "2009-08-27T20:14:36Z")

</div>

I am trying to put a combobox inside a datagrid. I managed to get it this far: http://img8.imageshack.us/img8/8325/captureyma.jpg Shown in that image is my combobox, populated with data. The problem is that if I se…

---

## [UILoader preloader problem](https://forum.kirupa.com/t/uiloader-preloader-problem/295297)

<div class="topic-metadata">

**Author:** [@szox](https://forum.kirupa.com/u/szox)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 7:39pm UTC](https://forum.kirupa.com/t/uiloader-preloader-problem/295297 "2009-08-27T19:39:49Z")

</div>

this is how it works. i add gallery mc to stage by this code: var galleryPage = new pageGallery(); galleryPage.stop(); gallery\_mc.addEventListener(MouseEvent.CLICK, btnClick); gallery\_mc.targetMc = galleryPage; funct…

---

## [General photo gallery efficiency questions](https://forum.kirupa.com/t/general-photo-gallery-efficiency-questions/295295)

<div class="topic-metadata">

**Author:** [@tpspoons](https://forum.kirupa.com/u/tpspoons)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 7:25pm UTC](https://forum.kirupa.com/t/general-photo-gallery-efficiency-questions/295295 "2009-08-27T19:25:00Z")

</div>

For some reason all the flash work I've been getting has been photo galleries, so I think I've worked out a pretty good model for creating one. However I haven't spent much time testing out different methods so I'm not a…

---

## [Direction to aim an arrow towards a target?](https://forum.kirupa.com/t/direction-to-aim-an-arrow-towards-a-target/295292)

<div class="topic-metadata">

**Author:** [@Meepfrog](https://forum.kirupa.com/u/Meepfrog)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 6:37pm UTC](https://forum.kirupa.com/t/direction-to-aim-an-arrow-towards-a-target/295292 "2009-08-27T18:37:07Z")

</div>

Hi! Some math i cannot get my head around after many cups of coffee, main problem not entirely what to google for to get the answer! heh... I've got two objects, one has a bow, one is the target. The one with the bow…

---

## [OrientToBezier](https://forum.kirupa.com/t/orienttobezier/295290)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 6:12pm UTC](https://forum.kirupa.com/t/orienttobezier/295290 "2009-08-27T18:12:46Z")

</div>

hello friends, i bumped with a error again, i m trying to move the car with the orientToBezier property to orient it along the path but , it rotated the car 90 degree first then orient . what is the problem associated …

---

## [Accessing an XML Tag Name](https://forum.kirupa.com/t/accessing-an-xml-tag-name/295289)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 6:07pm UTC](https://forum.kirupa.com/t/accessing-an-xml-tag-name/295289 "2009-08-27T18:07:41Z")

</div>

So this is a nuanced version of a lot of posts that I found... If I have an XML database with a line like this: \<pizza\>pepporoni\</pizza\> ...and I want to get the name "pizza" when I'm looping through a database, ho…

---

## [Stage detection](https://forum.kirupa.com/t/stage-detection/295287)

<div class="topic-metadata">

**Author:** [@East\_High](https://forum.kirupa.com/u/East_High)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 5:30pm UTC](https://forum.kirupa.com/t/stage-detection/295287 "2009-08-27T17:30:17Z")

</div>

Sup y'all. it's been a long while since I've worked in Flash, but I'm moving into AS3 and I'm wondering why the below actions only work when there's a movie clip on the stage. What's the point of assigning an event liste…

---

## [Need help with a Vertical Scroll Loop](https://forum.kirupa.com/t/need-help-with-a-vertical-scroll-loop/295283)

<div class="topic-metadata">

**Author:** [@kcartcbre](https://forum.kirupa.com/u/kcartcbre)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 4:39pm UTC](https://forum.kirupa.com/t/need-help-with-a-vertical-scroll-loop/295283 "2009-08-27T16:39:33Z")

</div>

I have a list of locations that I am scrolling vertically in my movie with a mask over it (kind of like movie credits). My problem is when I try to loop the graphic it isn't smooth. I am using the following script: onC…

---

## [Pan with mouse for AS 1.0](https://forum.kirupa.com/t/pan-with-mouse-for-as-1-0/295278)

<div class="topic-metadata">

**Author:** [@essentiallink](https://forum.kirupa.com/u/essentiallink)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 3:25pm UTC](https://forum.kirupa.com/t/pan-with-mouse-for-as-1-0/295278 "2009-08-27T15:25:47Z")

</div>

Hello, Need script for AS 1.0 to pan with mouse. reference site is bluelemonphoto.com I am a Swish Max user and it works with AS 1.0 Please help.

---

## [Link on a div containing swf](https://forum.kirupa.com/t/link-on-a-div-containing-swf/295277)

<div class="topic-metadata">

**Author:** [@Eagle1](https://forum.kirupa.com/u/Eagle1)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 3:18pm UTC](https://forum.kirupa.com/t/link-on-a-div-containing-swf/295277 "2009-08-27T15:18:21Z")

</div>

Hi there ! I embed a flash swf into a div (with swf object), and on this div I've a onclick event which open a new window. The onclick is still working but everywhere outside the swf file. When I click on the …

---

## [Controlling Main Swf with External Swf](https://forum.kirupa.com/t/controlling-main-swf-with-external-swf/295276)

<div class="topic-metadata">

**Author:** [@sanaali](https://forum.kirupa.com/u/sanaali)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 3:04pm UTC](https://forum.kirupa.com/t/controlling-main-swf-with-external-swf/295276 "2009-08-27T15:04:51Z")

</div>

Hi, I had a question. My main flash file is setup with a scroll pane component. The scroll pane is loading an external swf. This external swf has a button that when pressed I want to load another external swf into the …

---

## [Is an MC clickable under a mask?](https://forum.kirupa.com/t/is-an-mc-clickable-under-a-mask/295275)

<div class="topic-metadata">

**Author:** [@JimTester](https://forum.kirupa.com/u/JimTester)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 2:38pm UTC](https://forum.kirupa.com/t/is-an-mc-clickable-under-a-mask/295275 "2009-08-27T14:38:50Z")

</div>

Hi Hope you can help... I have a movieclip that sits underneath a mask. I have set up an event listener to listen out for the MouseEvent.MOUSE\_DOWN on the movicelip in question but the handler doesn't fire whilst the…

---

## [FCMS copy](https://forum.kirupa.com/t/fcms-copy/295273)

<div class="topic-metadata">

**Author:** [@studiofuel](https://forum.kirupa.com/u/studiofuel)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 2:28pm UTC](https://forum.kirupa.com/t/fcms-copy/295273 "2009-08-27T14:28:02Z")

</div>

anyone have a copy of the FCMS from flashloaded i can try out before i spend the cash on it. I want to see if it even works well

---

## [Swapping Depths](https://forum.kirupa.com/t/swapping-depths/295271)

<div class="topic-metadata">

**Author:** [@dygfloyd](https://forum.kirupa.com/u/dygfloyd)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 1:58pm UTC](https://forum.kirupa.com/t/swapping-depths/295271 "2009-08-27T13:58:06Z")

</div>

Hey everyone, Probably got an easy one for the Flash guru's. I need a one line way to move a movie clip to the top. I have a bunch of panels that I've created. When someone clicks on the panel, I want it to move to the…

---

## [Cannot Mask Over MovieClip with AS3](https://forum.kirupa.com/t/cannot-mask-over-movieclip-with-as3/295270)

<div class="topic-metadata">

**Author:** [@ex5316](https://forum.kirupa.com/u/ex5316)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 1:51pm UTC](https://forum.kirupa.com/t/cannot-mask-over-movieclip-with-as3/295270 "2009-08-27T13:51:09Z")

</div>

Hello, I have problem in masking over a movie clip by using ActionScript 3. The masking do not work. Here’s the codes: effect\_mc.cacheAsBitmap = true; mask\_mc.cacheAsBitmap = true; // Apply Mask effect\_mc.mask = …

---

## [Change a movie clip properties inside a loaded SWF](https://forum.kirupa.com/t/change-a-movie-clip-properties-inside-a-loaded-swf/295269)

<div class="topic-metadata">

**Author:** [@eladanri](https://forum.kirupa.com/u/eladanri)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 12:33pm UTC](https://forum.kirupa.com/t/change-a-movie-clip-properties-inside-a-loaded-swf/295269 "2009-08-27T12:33:21Z")

</div>

Hello, I've created a swf named (Mapa\_Centros\_v2.swf) and I load it inside another flash file (teste\_loadswf.fla) using the Loader method. Everything works correctly, but now I want to be able to change the color pro…

---

## [Email Validation Problem](https://forum.kirupa.com/t/email-validation-problem/295268)

<div class="topic-metadata">

**Author:** [@scotia2k6](https://forum.kirupa.com/u/scotia2k6)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 12:09pm UTC](https://forum.kirupa.com/t/email-validation-problem/295268 "2009-08-27T12:09:55Z")

</div>

Hello folks, hope you are all well! With many thanks to everyone who critiqued my site, Ive been trying to get an email validation working for my form. It works great locally within flash preview, but not locally via it…

---

## [Cant Make things appear AFTER preloader](https://forum.kirupa.com/t/cant-make-things-appear-after-preloader/295267)

<div class="topic-metadata">

**Author:** [@alecz127](https://forum.kirupa.com/u/alecz127)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 11:51am UTC](https://forum.kirupa.com/t/cant-make-things-appear-after-preloader/295267 "2009-08-27T11:51:32Z")

</div>

so my Ship, Enemy Ships, explosions, bullets, stars.. are ALL visible during the preloading because they are all in their own .as file and they intialize themselves i cant initialize it from 1 thing, and i cant put a…

---

## [Play MC within an MC that is stopped?](https://forum.kirupa.com/t/play-mc-within-an-mc-that-is-stopped/295266)

<div class="topic-metadata">

**Author:** [@asest](https://forum.kirupa.com/u/asest)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 11:21am UTC](https://forum.kirupa.com/t/play-mc-within-an-mc-that-is-stopped/295266 "2009-08-27T11:21:46Z")

</div>

Is it possible to continuously play an MC that is sitting inside another MC that is occasionally stopped?

---

## [Flash 8 AS2 xml loadmovie problem](https://forum.kirupa.com/t/flash-8-as2-xml-loadmovie-problem/295265)

<div class="topic-metadata">

**Author:** [@molly\_ferns](https://forum.kirupa.com/u/molly_ferns)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 11:14am UTC](https://forum.kirupa.com/t/flash-8-as2-xml-loadmovie-problem/295265 "2009-08-27T11:14:53Z")

</div>

Hello i just got a very small problem which i know i'll get the answer here..i'm new in this so i couldn't figure it out after trying for sooo long..I'm just trying to load a single image based on its id from an xml file…

---

## [How can I create a preloader for a file with document class](https://forum.kirupa.com/t/how-can-i-create-a-preloader-for-a-file-with-document-class/295262)

<div class="topic-metadata">

**Author:** [@blackcoma](https://forum.kirupa.com/u/blackcoma)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 10:50am UTC](https://forum.kirupa.com/t/how-can-i-create-a-preloader-for-a-file-with-document-class/295262 "2009-08-27T10:50:52Z")

</div>

I'm working on an AS3 project, now the main file has a document class. How can I create a preloader for this file? I tried to do in the document class, but since I declare global variables (which start different class)…

---

## [Question for my Next Game](https://forum.kirupa.com/t/question-for-my-next-game/295258)

<div class="topic-metadata">

**Author:** [@frazer151](https://forum.kirupa.com/u/frazer151)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 10:41am UTC](https://forum.kirupa.com/t/question-for-my-next-game/295258 "2009-08-27T10:41:08Z")

</div>

Hey guys im trying to make a new version of my game mad world check it out at http://www.kongregate.com/games/stupid\_games/mad-world-1-3 Ok so basilcey what im trying to do is make it so when you go to a new frame, th…

---

## [Draw a Line from MC to MC](https://forum.kirupa.com/t/draw-a-line-from-mc-to-mc/295256)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 9:50am UTC](https://forum.kirupa.com/t/draw-a-line-from-mc-to-mc/295256 "2009-08-27T09:50:30Z")

</div>

Hey there, I have some code which works to the point where I generate random squares onto the stage, then in their order of birth, I draw a line from one box to the next. It works. BUT!!! it messes up. Check out the code…

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

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