# programming

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

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

**Page:** 1184

---

## [Firefox Problem help me](https://forum.kirupa.com/t/firefox-problem-help-me/262214)

<div class="topic-metadata">

**Author:** [@ashadweb](https://forum.kirupa.com/u/ashadweb)\
**Replies:** 11\
**Last updated:** [June 23, 2008, 7:35am UTC](https://forum.kirupa.com/t/firefox-problem-help-me/262214 "2008-06-23T07:35:10Z")

</div>

Hi, http://xtra.ae/abudhabi/testing.html this is a site im redesigning instead of www.xtra.ae but i have a problem in firefox cant understand where it is coming from and how to fix it. can anyone give me an idea…

---

## [Rotate square around y axis](https://forum.kirupa.com/t/rotate-square-around-y-axis/264103)

<div class="topic-metadata">

**Author:** [@levshin22](https://forum.kirupa.com/u/levshin22)\
**Replies:** 0\
**Last updated:** [June 23, 2008, 7:27am UTC](https://forum.kirupa.com/t/rotate-square-around-y-axis/264103 "2008-06-23T07:27:59Z")

</div>

I've attached a quicktime of what I would like. basically I want to rotate a square around its own y axis. Its part of my website I'm building. When the page loads a black square with my logo is there. Then when a us…

---

## [Questions about the using of root and this.root](https://forum.kirupa.com/t/questions-about-the-using-of-root-and-this-root/264094)

<div class="topic-metadata">

**Author:** [@alex298](https://forum.kirupa.com/u/alex298)\
**Replies:** 1\
**Last updated:** [June 23, 2008, 6:48am UTC](https://forum.kirupa.com/t/questions-about-the-using-of-root-and-this-root/264094 "2008-06-23T06:48:17Z")

</div>

Hi, I have some questions about the using of “this” and “root”: Why the following codes works: var r = root; r.myText\_txt.text = “Kirupa Forum”; But not this: root.myText\_txt.text = “Kirupa Forum”; And why the f…

---

## [ACK! i am stuck =\[](https://forum.kirupa.com/t/ack-i-am-stuck/264018)

<div class="topic-metadata">

**Author:** [@lolz](https://forum.kirupa.com/u/lolz)\
**Replies:** 1\
**Last updated:** [June 23, 2008, 6:30am UTC](https://forum.kirupa.com/t/ack-i-am-stuck/264018 "2008-06-23T06:30:48Z")

</div>

ok so heres the problem I need a life counter similar to mario or sonic side-scrolling games where if the MC of the enemy hits the MC of my character it will subtract 1 life, yet no matter how hard i try to come up with …

---

## [Vista gadget policy file bug](https://forum.kirupa.com/t/vista-gadget-policy-file-bug/263584)

<div class="topic-metadata">

**Author:** [@yba](https://forum.kirupa.com/u/yba)\
**Replies:** 2\
**Last updated:** [June 23, 2008, 6:02am UTC](https://forum.kirupa.com/t/vista-gadget-policy-file-bug/263584 "2008-06-23T06:02:54Z")

</div>

We have developed a gadget application for Microsoft Vista one year ago, gadget includes a swf file which loads data from our webserver, so when client uses the gadget, the address of swf is, "file:///C:/Users/username/A…

---

## [Looking for how to do website affect, i think its JS](https://forum.kirupa.com/t/looking-for-how-to-do-website-affect-i-think-its-js/264080)

<div class="topic-metadata">

**Author:** [@thejoeknows\_com](https://forum.kirupa.com/u/thejoeknows_com)\
**Replies:** 4\
**Last updated:** [June 23, 2008, 4:16am UTC](https://forum.kirupa.com/t/looking-for-how-to-do-website-affect-i-think-its-js/264080 "2008-06-23T04:16:23Z")

</div>

I would like on my site for in my games area (and maybe a future pics.) area for it to be so that when u are on the menu and click a link, the screen shades over and the game/pic appears in the center of the screen. An…

---

## [Keyboard lag](https://forum.kirupa.com/t/keyboard-lag/263871)

<div class="topic-metadata">

**Author:** [@suvenier](https://forum.kirupa.com/u/suvenier)\
**Replies:** 9\
**Last updated:** [June 23, 2008, 3:40am UTC](https://forum.kirupa.com/t/keyboard-lag/263871 "2008-06-23T03:40:01Z")

</div>

hello as3! this is my main class: package { import flash.display.Sprite; import flash.events.Event; import flash.events.KeyboardEvent; import flash.ui.Keyboard; public class main extends Sprite…

---

## [Simple AS2 Physics Engine?](https://forum.kirupa.com/t/simple-as2-physics-engine/263814)

<div class="topic-metadata">

**Author:** [@Lolinat0r](https://forum.kirupa.com/u/Lolinat0r)\
**Replies:** 2\
**Last updated:** [June 23, 2008, 3:05am UTC](https://forum.kirupa.com/t/simple-as2-physics-engine/263814 "2008-06-23T03:05:47Z")

</div>

Hi, I was wondering if there was a simple AS2 physics engine around for a small game. Mostly I need it for weapon interaction with objections to send them flying, but I am willing to try make my own if someone could poin…

---

## [Question about $\_POST](https://forum.kirupa.com/t/question-about--post/264046)

<div class="topic-metadata">

**Author:** [@dreamerp](https://forum.kirupa.com/u/dreamerp)\
**Replies:** 1\
**Last updated:** [June 23, 2008, 1:40am UTC](https://forum.kirupa.com/t/question-about--post/264046 "2008-06-23T01:40:05Z")

</div>

Hello, I am just trying to make a simple automated way of organizing some products in a database. Basically, I echoed all of the products and with each one I have a dropdown menu I can select a category. Then, I have a…

---

## [Scaling buttons on rollOver](https://forum.kirupa.com/t/scaling-buttons-on-rollover/246363)

<div class="topic-metadata">

**Author:** [@meglundy](https://forum.kirupa.com/u/meglundy)\
**Replies:** 4\
**Last updated:** [June 22, 2008, 11:26pm UTC](https://forum.kirupa.com/t/scaling-buttons-on-rollover/246363 "2008-06-22T23:26:12Z")

</div>

Ok, so first thank you in advance for helping. Ok so check out this page: http://paragon.sortismarketing.com, and check out the scrolling menu below. This is the infinite scrolling menu found on this site. It works gre…

---

## [Help needed getting XML photo gallery categories working](https://forum.kirupa.com/t/help-needed-getting-xml-photo-gallery-categories-working/264063)

<div class="topic-metadata">

**Author:** [@mrflume](https://forum.kirupa.com/u/mrflume)\
**Replies:** 1\
**Last updated:** [June 22, 2008, 10:48pm UTC](https://forum.kirupa.com/t/help-needed-getting-xml-photo-gallery-categories-working/264063 "2008-06-22T22:48:55Z")

</div>

Hi, I searched through the forum and haven't really found a clear cut answer as to how to get categories working with the kirupa xml photo gallery. I read on one of the posts that I should make a "multi-dimensional array…

---

## [Counting Line Breaks in htmlText](https://forum.kirupa.com/t/counting-line-breaks-in-htmltext/264012)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 5\
**Last updated:** [June 22, 2008, 10:32pm UTC](https://forum.kirupa.com/t/counting-line-breaks-in-htmltext/264012 "2008-06-22T22:32:31Z")

</div>

Is there any way to count line breaks within htmlText? It doesn't look like using indexOf("\<br\>"); will work because the renderer has already created the textfield display by the time this code would run. So there w…

---

## [Astonishing X-ray Effect](https://forum.kirupa.com/t/astonishing-x-ray-effect/264061)

<div class="topic-metadata">

**Author:** [@Argentin](https://forum.kirupa.com/u/Argentin)\
**Replies:** 3\
**Last updated:** [June 22, 2008, 10:00pm UTC](https://forum.kirupa.com/t/astonishing-x-ray-effect/264061 "2008-06-22T22:00:33Z")

</div>

This Effect is like the best effect i ever seen until now I liked it so much i made a tutorial If you want to make it too check it out You also have the Effect Result too so you will see what you will get after you follo…

---

## [Make a Button Stay in the Roll Over State When Clicked](https://forum.kirupa.com/t/make-a-button-stay-in-the-roll-over-state-when-clicked/264057)

<div class="topic-metadata">

**Author:** [@s0undsystem](https://forum.kirupa.com/u/s0undsystem)\
**Replies:** 4\
**Last updated:** [June 22, 2008, 9:09pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-roll-over-state-when-clicked/264057 "2008-06-22T21:09:14Z")

</div>

Hi everyone, Does anyone know how to make a button stay in the down position in CS3, Actionscript 3.0? I have 3 buttons, each with the same roll over state. What I'd like to do is when the button is clicked, it remains…

---

## [Papervision3D Forum](https://forum.kirupa.com/t/papervision3d-forum/251335)

<div class="topic-metadata">

**Author:** [@MazAwushu](https://forum.kirupa.com/u/MazAwushu)\
**Replies:** 1\
**Last updated:** [June 22, 2008, 8:37pm UTC](https://forum.kirupa.com/t/papervision3d-forum/251335 "2008-06-22T20:37:17Z")

</div>

Hello to all! I've been watching the constantly increasing interest in Papervision3D technology (demos available at http://commandshift3.com/tag/papervision3d and http://www.beedigital.net/blog/?p=1736) and so I became…

---

## [Logicwarz - Program your own Bot and battle with others](https://forum.kirupa.com/t/logicwarz-program-your-own-bot-and-battle-with-others/264042)

<div class="topic-metadata">

**Author:** [@Roy\_Lazarovich](https://forum.kirupa.com/u/Roy_Lazarovich)\
**Replies:** 1\
**Last updated:** [June 22, 2008, 8:33pm UTC](https://forum.kirupa.com/t/logicwarz-program-your-own-bot-and-battle-with-others/264042 "2008-06-22T20:33:12Z")

</div>

Hello Everyone. I'm posting to announce my latest creation, LogicWarz, which I think might interest members of this forum interested in AI programming. LogicWarz is a free computer game\\application that allows you to…

---

## [How can I include image in email?](https://forum.kirupa.com/t/how-can-i-include-image-in-email/264060)

<div class="topic-metadata">

**Author:** [@mrhines1](https://forum.kirupa.com/u/mrhines1)\
**Replies:** 0\
**Last updated:** [June 22, 2008, 8:29pm UTC](https://forum.kirupa.com/t/how-can-i-include-image-in-email/264060 "2008-06-22T20:29:46Z")

</div>

I'm trying to set up an email newsletter and would like it to include a banner image at the top. The image I am going to link to is already on a server. I'm just not sure how to set up the email to link to and display…

---

## [Make a Button Stay in the Down State When Clicked](https://forum.kirupa.com/t/make-a-button-stay-in-the-down-state-when-clicked/264056)

<div class="topic-metadata">

**Author:** [@s0undsystem](https://forum.kirupa.com/u/s0undsystem)\
**Replies:** 2\
**Last updated:** [June 22, 2008, 8:27pm UTC](https://forum.kirupa.com/t/make-a-button-stay-in-the-down-state-when-clicked/264056 "2008-06-22T20:27:13Z")

</div>

Hi everyone, Does anyone know how to make a button stay in the down position in CS3, Actionscript 3.0? I have 3 buttons, each with the same roll over state. What I'd like to do is when the button is clicked, it remain…

---

## [Event.INIT question](https://forum.kirupa.com/t/event-init-question/264050)

<div class="topic-metadata">

**Author:** [@Dom\_1](https://forum.kirupa.com/u/Dom_1)\
**Replies:** 3\
**Last updated:** [June 22, 2008, 8:24pm UTC](https://forum.kirupa.com/t/event-init-question/264050 "2008-06-22T20:24:40Z")

</div>

So, when loading a swf file the Event.INIT event is dispatched when the first frame of the swf file has been loaded. Does this work with bitmaps ? can you access, say, the width and height of a bitmap in an Event.INIT ev…

---

## [Can't remove MovieClip Child Dynamically](https://forum.kirupa.com/t/cant-remove-movieclip-child-dynamically/263900)

<div class="topic-metadata">

**Author:** [@energy](https://forum.kirupa.com/u/energy)\
**Replies:** 9\
**Last updated:** [June 22, 2008, 7:42pm UTC](https://forum.kirupa.com/t/cant-remove-movieclip-child-dynamically/263900 "2008-06-22T19:42:34Z")

</div>

Hi EveryBody, Please help me out in solving this. I have been trying to remove all CHilds in a Movie CLip since Yesterday without success. Movie Clip is being filled dynamically and i also need to remove its childrens …

---

## [Nav Buttons & Active State: Fact or Fiction!](https://forum.kirupa.com/t/nav-buttons-active-state-fact-or-fiction/84598)

<div class="topic-metadata">

**Author:** [@lrhb](https://forum.kirupa.com/u/lrhb)\
**Replies:** 1\
**Last updated:** [June 22, 2008, 7:20pm UTC](https://forum.kirupa.com/t/nav-buttons-active-state-fact-or-fiction/84598 "2008-06-22T19:20:14Z")

</div>

Hello everyone, I'm sure there's a simple way to do this but my brain has left me thinking I am an academy and it is time for it's Spring Break. I think it might be somewhere in Mexico, but I just hope I don't see it o…

---

## [Cool Equalizer Bar Effect](https://forum.kirupa.com/t/cool-equalizer-bar-effect/264054)

<div class="topic-metadata">

**Author:** [@Argentin](https://forum.kirupa.com/u/Argentin)\
**Replies:** 0\
**Last updated:** [June 22, 2008, 7:07pm UTC](https://forum.kirupa.com/t/cool-equalizer-bar-effect/264054 "2008-06-22T19:07:32Z")

</div>

Check out this tutorial to see how you can make a cool looking Equalizer Bar Effect. Please tell me what you think about it. http://flashbase.smfforfree4.com/index.php/topic,9.msg9.html#msg9

---

## [Embed Video](https://forum.kirupa.com/t/embed-video/263978)

<div class="topic-metadata">

**Author:** [@SmoothDime](https://forum.kirupa.com/u/SmoothDime)\
**Replies:** 3\
**Last updated:** [June 22, 2008, 6:54pm UTC](https://forum.kirupa.com/t/embed-video/263978 "2008-06-22T18:54:59Z")

</div>

Hi, When I embed a video on a timeline and then call stop() the video portion stops but the sound continues to play(is if it weren't synced with the video). How can I also stop the sound within in the embedded timeli…

---

## [AS3 vs AS2](https://forum.kirupa.com/t/as3-vs-as2/241710)

<div class="topic-metadata">

**Author:** [@fw2803](https://forum.kirupa.com/u/fw2803)\
**Replies:** 28\
**Last updated:** [June 22, 2008, 6:34pm UTC](https://forum.kirupa.com/t/as3-vs-as2/241710 "2008-06-22T18:34:56Z")

</div>

Hi there AS3 starts roaming around. I feel a little bit silly to continue with AS2 so I am thinking of switching. My question is: What, in AS2, are changed in AS3? Is there any change in syntax? Thanks a lot

---

## [Loading Swf files](https://forum.kirupa.com/t/loading-swf-files/264052)

<div class="topic-metadata">

**Author:** [@antegrav08](https://forum.kirupa.com/u/antegrav08)\
**Replies:** 0\
**Last updated:** [June 22, 2008, 6:34pm UTC](https://forum.kirupa.com/t/loading-swf-files/264052 "2008-06-22T18:34:38Z")

</div>

Hello everyone, I just recently posted a msg concerning making an xml player load, and i pretty much resolved it by adding a different player. only now when i try loading the different sections only one section keeps com…

---

## [Help with assigning xml nodes to text field](https://forum.kirupa.com/t/help-with-assigning-xml-nodes-to-text-field/264049)

<div class="topic-metadata">

**Author:** [@kramp1502](https://forum.kirupa.com/u/kramp1502)\
**Replies:** 0\
**Last updated:** [June 22, 2008, 5:34pm UTC](https://forum.kirupa.com/t/help-with-assigning-xml-nodes-to-text-field/264049 "2008-06-22T17:34:49Z")

</div>

Hi there everybody, I was wondering if someone can help me with assigning the values from an xml file to textfields within four movieclips on my stage I have four movieclips: intance names = one, two,three, four in each …

---

## [removeEventListener function will nicht](https://forum.kirupa.com/t/removeeventlistener-function-will-nicht/264009)

<div class="topic-metadata">

**Author:** [@zoimt](https://forum.kirupa.com/u/zoimt)\
**Replies:** 3\
**Last updated:** [June 22, 2008, 4:54pm UTC](https://forum.kirupa.com/t/removeeventlistener-function-will-nicht/264009 "2008-06-22T16:54:45Z")

</div>

Good morning! I am at daggers drawn with the following. function onMouseclick(e:MouseEvent):void { if(e.target == buttonHome) { var noEventListener:Array = new Array("buttonFolioDraft", "buttonFolioPhot", "buttonF…

---

## [Random color generator AS Flash 8](https://forum.kirupa.com/t/random-color-generator-as-flash-8/263909)

<div class="topic-metadata">

**Author:** [@stic](https://forum.kirupa.com/u/stic)\
**Replies:** 5\
**Last updated:** [June 22, 2008, 4:24pm UTC](https://forum.kirupa.com/t/random-color-generator-as-flash-8/263909 "2008-06-22T16:24:19Z")

</div>

Hi everyone, There is this random color generator tutorial posted by Kirupa but written for AS 1.0 and Flash 5. The url is http://www.kirupa.com/developer/flash5/randomcolor.htm Can someone please re-write the code esp…

---

## [Create Textboxes in AS3](https://forum.kirupa.com/t/create-textboxes-in-as3/264043)

<div class="topic-metadata">

**Author:** [@imbored531](https://forum.kirupa.com/u/imbored531)\
**Replies:** 1\
**Last updated:** [June 22, 2008, 4:01pm UTC](https://forum.kirupa.com/t/create-textboxes-in-as3/264043 "2008-06-22T16:01:39Z")

</div>

I'm trying to figure out how to create a lot of text fields with different names in AS3. I want each text field's name to be unit0, unit1, unit2 and so on. Anyone have any idea how to do this with a for loop? Here'…

---

## [CSS problem in flash](https://forum.kirupa.com/t/css-problem-in-flash/264037)

<div class="topic-metadata">

**Author:** [@tpspoons](https://forum.kirupa.com/u/tpspoons)\
**Replies:** 2\
**Last updated:** [June 22, 2008, 3:12pm UTC](https://forum.kirupa.com/t/css-problem-in-flash/264037 "2008-06-22T15:12:03Z")

</div>

I'm not sure what I'm doing wrong here (my css skills are really poor) or if it isn't supported in flash, either way could anyone tell me why this isn't working: var str:String = "a.whatever:link { color:#FF0000 }" +…

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

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