# programming

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

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

**Page:** 976

---

## [HELP - as3 engine](https://forum.kirupa.com/t/help-as3-engine/278076)

<div class="topic-metadata">

**Author:** [@eddu](https://forum.kirupa.com/u/eddu)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 11:11pm UTC](https://forum.kirupa.com/t/help-as3-engine/278076 "2008-12-21T23:11:11Z")

</div>

Hello to all. This is an outstanding website, thank you all for the help... Right now i have a trouble. I need to do a work for the university but i really dont know how to !! I will try to explain: I need to do …

---

## [Problems with removeChild()](https://forum.kirupa.com/t/problems-with-removechild/278075)

<div class="topic-metadata">

**Author:** [@freshrod](https://forum.kirupa.com/u/freshrod)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 9:42pm UTC](https://forum.kirupa.com/t/problems-with-removechild/278075 "2008-12-21T21:42:02Z")

</div>

Greetings I have a main movieclip called pageWork from which I am openeing another (in the future several) movieclip. This movieclip is galled galleryPhoto. This works fine. However when I try to remove this moviecli…

---

## [Navigating Interface with keyboard](https://forum.kirupa.com/t/navigating-interface-with-keyboard/278074)

<div class="topic-metadata">

**Author:** [@filogo](https://forum.kirupa.com/u/filogo)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 9:37pm UTC](https://forum.kirupa.com/t/navigating-interface-with-keyboard/278074 "2008-12-21T21:37:00Z")

</div>

Hi guys ! I have to do some very simple interface tests in flash - let say 3 buttons nothing else but when the swf. is loaded the first button has to be se selected and with the Up/Down buttons I want to navigate to t…

---

## [Click MovieClip and Blackout BG](https://forum.kirupa.com/t/click-movieclip-and-blackout-bg/278072)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 8:18pm UTC](https://forum.kirupa.com/t/click-movieclip-and-blackout-bg/278072 "2008-12-21T20:18:18Z")

</div>

Hey Guys, I have a movie clip that when clicked, it grows larger. I'd like to have the background fill with a faded black tone as to draw attention to the large image in the foreground. Right now I'm just thinking o…

---

## [XML server-side?](https://forum.kirupa.com/t/xml-server-side/278070)

<div class="topic-metadata">

**Author:** [@slhm1](https://forum.kirupa.com/u/slhm1)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 7:29pm UTC](https://forum.kirupa.com/t/xml-server-side/278070 "2008-12-21T19:29:38Z")

</div>

Hi. Hope I've hit the correct forum. My question is, can server-side .asc files load and read XML files? I got the process to do this in AS3, but naturally that's an .as file, not an .asc file. The reason I am asking…

---

## [Alternative method of changing XML attribute?](https://forum.kirupa.com/t/alternative-method-of-changing-xml-attribute/278067)

<div class="topic-metadata">

**Author:** [@frankichiro](https://forum.kirupa.com/u/frankichiro)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 4:23pm UTC](https://forum.kirupa.com/t/alternative-method-of-changing-xml-attribute/278067 "2008-12-21T16:23:15Z")

</div>

My problem is simple: \[AS\]var xml:XML = new XML('\<p class="a"\>Whatever\</p\>'); xml.@class = 'b'; // 1084: Syntax error: expecting identifier before class.\[/AS\] Is there another way to change the attribute? / Frank …

---

## [setInterval problem, gives the same value over and over to function](https://forum.kirupa.com/t/setinterval-problem-gives-the-same-value-over-and-over-to-function/278064)

<div class="topic-metadata">

**Author:** [@deltaone](https://forum.kirupa.com/u/deltaone)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 3:27pm UTC](https://forum.kirupa.com/t/setinterval-problem-gives-the-same-value-over-and-over-to-function/278064 "2008-12-21T15:27:16Z")

</div>

LATER EDIT: apparently, I managed to work around it. Anyway, the second setInterval was the one that did not work, and I put instead of: setInterval(this, "setText", interval, setAcText()); this: StratFlash = new …

---

## [Stage conflict problem](https://forum.kirupa.com/t/stage-conflict-problem/278063)

<div class="topic-metadata">

**Author:** [@nico](https://forum.kirupa.com/u/nico)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 1:35pm UTC](https://forum.kirupa.com/t/stage-conflict-problem/278063 "2008-12-21T13:35:09Z")

</div>

Hello guys, im really getting crazy about this one... im doing a site and i did it by creating the site section as external swfs. Heres the problem. I created my own scrollbard class and used it on one of the external …

---

## [HTML/XML Question](https://forum.kirupa.com/t/html-xml-question/278062)

<div class="topic-metadata">

**Author:** [@Jephz](https://forum.kirupa.com/u/Jephz)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 1:07pm UTC](https://forum.kirupa.com/t/html-xml-question/278062 "2008-12-21T13:07:25Z")

</div>

Hey guys, I have a question about HTML. I have recently been trying to create a blog on Blogger and been trying to input a HTML/XML template code into it. I got the code, but for some reason, theres a white border aroun…

---

## [Help w/ using Senocular's Layout Class](https://forum.kirupa.com/t/help-w-using-senoculars-layout-class/278061)

<div class="topic-metadata">

**Author:** [@joomoo79](https://forum.kirupa.com/u/joomoo79)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 12:31pm UTC](https://forum.kirupa.com/t/help-w-using-senoculars-layout-class/278061 "2008-12-21T12:31:43Z")

</div>

Hey guys, As the title says... Basically, I have a main Layout object c, which contains child objects. My only problem is that I can't figure out how to automatically center c on stage. Sounds simple enough but... LO…

---

## [AS2: Sounds and changing volumes](https://forum.kirupa.com/t/as2-sounds-and-changing-volumes/278060)

<div class="topic-metadata">

**Author:** [@RaMath](https://forum.kirupa.com/u/RaMath)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 12:21pm UTC](https://forum.kirupa.com/t/as2-sounds-and-changing-volumes/278060 "2008-12-21T12:21:16Z")

</div>

I'm working on an interactive Christmas card. The idea is that people are in my room, music starts playing and people can click on instruments inside my room to make that instrument play alongside the music that was alre…

---

## [Gradient overlay](https://forum.kirupa.com/t/gradient-overlay/278059)

<div class="topic-metadata">

**Author:** [@Daimz](https://forum.kirupa.com/u/Daimz)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 10:32am UTC](https://forum.kirupa.com/t/gradient-overlay/278059 "2008-12-21T10:32:21Z")

</div>

Hi, I am uing the http://www.php-help.ro/examples/mootools\_rotator/# script to use in a gallery however I am wanting to add a gradient layer on top of that so it appears to be slowly fading in. so what I tred doing is cr…

---

## [Array into Text Box](https://forum.kirupa.com/t/array-into-text-box/278058)

<div class="topic-metadata">

**Author:** [@ku4kar](https://forum.kirupa.com/u/ku4kar)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 10:16am UTC](https://forum.kirupa.com/t/array-into-text-box/278058 "2008-12-21T10:16:02Z")

</div>

Hello, Sorry for the dummy question, but I really don't have any idea how to display array of numbers into a dynamic text field. Thanks

---

## [Loading multiple swf..not working](https://forum.kirupa.com/t/loading-multiple-swf-not-working/278057)

<div class="topic-metadata">

**Author:** [@max999](https://forum.kirupa.com/u/max999)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 7:21am UTC](https://forum.kirupa.com/t/loading-multiple-swf-not-working/278057 "2008-12-21T07:21:27Z")

</div>

Hi guys i have a main swf that has 6 xml galleries loaded into it, basically i want to load automatically and at the same time all 6 in empty MC. It actually works and these gallery all loads into the main. these are xml…

---

## [DisplayObjcet.graphics.draw\*\*\*\*\*?](https://forum.kirupa.com/t/displayobjcet-graphics-draw/278056)

<div class="topic-metadata">

**Author:** [@audiohominis](https://forum.kirupa.com/u/audiohominis)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 7:20am UTC](https://forum.kirupa.com/t/displayobjcet-graphics-draw/278056 "2008-12-21T07:20:47Z")

</div>

'Sup guys. How can I extend \[FONT="Courier New"\]flash.display.Graphics\[/FONT\] so that the drawing method could be called like so \[FONT="Courier New"\]mySprite.graphics.drawArc\[/FONT\], or \[FONT="Courier New"\]myMovieClip.g…

---

## [Some XML Help](https://forum.kirupa.com/t/some-xml-help/278052)

<div class="topic-metadata">

**Author:** [@wwwdeveloper](https://forum.kirupa.com/u/wwwdeveloper)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 5:49am UTC](https://forum.kirupa.com/t/some-xml-help/278052 "2008-12-21T05:49:42Z")

</div>

The following AS3 code works great to pull in some xml data and do a little slideshow like transition to display news. I've been banging my head against the wall trying to figure out the logic to get it to go back to th…

---

## [Flash Media Server/Red5](https://forum.kirupa.com/t/flash-media-server-red5/278050)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 4:52am UTC](https://forum.kirupa.com/t/flash-media-server-red5/278050 "2008-12-21T04:52:47Z")

</div>

I have some code that works fine using a SocketXML server, but I want to convert it to work with Red5. Red5 comes with AS2 examples, but nothing AS3. The only example I've been able to find is: http://rails.elctech.com…

---

## [Tile Background Image](https://forum.kirupa.com/t/tile-background-image/278048)

<div class="topic-metadata">

**Author:** [@blink18jew](https://forum.kirupa.com/u/blink18jew)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 4:10am UTC](https://forum.kirupa.com/t/tile-background-image/278048 "2008-12-21T04:10:13Z")

</div>

Hey, im attempting to create a mini-game working off the tutorials on : http://www.tonypa.pri.ee/tbw/flas.html i want to have an image appear on a tile instead of a plain color, can anyone give me some advice on how …

---

## [Character selection screen?](https://forum.kirupa.com/t/character-selection-screen/278046)

<div class="topic-metadata">

**Author:** [@newGamer](https://forum.kirupa.com/u/newGamer)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 3:57am UTC](https://forum.kirupa.com/t/character-selection-screen/278046 "2008-12-21T03:57:54Z")

</div>

hey guys! I'm have a basic 1 v 1 SSBB type game but i want a char select screen so i can have a vary of characters. theres a game called super smash flash and its pretty good, and has A CHARACTER SELEC SCREEN...though t…

---

## [Backwards Compatibility](https://forum.kirupa.com/t/backwards-compatibility/278044)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 3:50am UTC](https://forum.kirupa.com/t/backwards-compatibility/278044 "2008-12-21T03:50:43Z")

</div>

I just bought the new CS4 master collection, but I'm worried about backwards compatibility. Does CS4 still publish to Flash 6? Is there a way to go into legacy mode? (I'm waiting on the delivery).

---

## [AS3: hitTest Help](https://forum.kirupa.com/t/as3-hittest-help/278042)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 2:29am UTC](https://forum.kirupa.com/t/as3-hittest-help/278042 "2008-12-21T02:29:10Z")

</div>

I'm using this code to detect a collision with the movieclips circle and line, but it doesn't appear to be working. if(circle.hitTestObject(line)){ // stuff } Can someone please tell me what's wrong? Thanks in a…

---

## [SharedObject is not catching .data update sometimes](https://forum.kirupa.com/t/sharedobject-is-not-catching-data-update-sometimes/278041)

<div class="topic-metadata">

**Author:** [@qhrome27](https://forum.kirupa.com/u/qhrome27)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 1:13am UTC](https://forum.kirupa.com/t/sharedobject-is-not-catching-data-update-sometimes/278041 "2008-12-21T01:13:35Z")

</div>

hello, I have multiple Flash apps running the same sharedObject, but occasionally when I update the data of the shared object, the other app will not recognize this change. I am not sure why the connection is missing…

---

## [Change css attribute for IE6](https://forum.kirupa.com/t/change-css-attribute-for-ie6/278038)

<div class="topic-metadata">

**Author:** [@Obi\_Wan](https://forum.kirupa.com/u/Obi_Wan)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 9:08pm UTC](https://forum.kirupa.com/t/change-css-attribute-for-ie6/278038 "2008-12-20T21:08:19Z")

</div>

Hi everyone I have a problem someone might be able to help me with. I designed a site for a friend and it looks great in IE7 and on safari or firefox. But in IE6 the margin is slightly off. I tried entering the following…

---

## [A bug: singleton, helper class and vector?](https://forum.kirupa.com/t/a-bug-singleton-helper-class-and-vector/278034)

<div class="topic-metadata">

**Author:** [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 5:54pm UTC](https://forum.kirupa.com/t/a-bug-singleton-helper-class-and-vector/278034 "2008-12-20T17:54:01Z")

</div>

Duplicate

---

## [AS3: Click On MovieClip](https://forum.kirupa.com/t/as3-click-on-movieclip/278033)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 4:52pm UTC](https://forum.kirupa.com/t/as3-click-on-movieclip/278033 "2008-12-20T16:52:27Z")

</div>

Hello, I'm new to Actionscript and I was wondering if anyone could tell me how to use Actionscript 3.0 to detect a mouse click on a movie clip. Thanks in advance =D

---

## [Adding multiple instances of a movieclip to stage](https://forum.kirupa.com/t/adding-multiple-instances-of-a-movieclip-to-stage/278032)

<div class="topic-metadata">

**Author:** [@bobcooper](https://forum.kirupa.com/u/bobcooper)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 4:05pm UTC](https://forum.kirupa.com/t/adding-multiple-instances-of-a-movieclip-to-stage/278032 "2008-12-20T16:05:10Z")

</div>

Hi there, Still in the process of learning AS3 and was wondering how to attach multiple instances of a movieclip to the stage. In AS2 I would do the following: for(var i = 1; i \<= 10; i++){ attachMovie("myMovie", "m…

---

## [Text loaded from an XML file dissapears when the text is animated](https://forum.kirupa.com/t/text-loaded-from-an-xml-file-dissapears-when-the-text-is-animated/278031)

<div class="topic-metadata">

**Author:** [@ChillDown](https://forum.kirupa.com/u/ChillDown)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 3:16pm UTC](https://forum.kirupa.com/t/text-loaded-from-an-xml-file-dissapears-when-the-text-is-animated/278031 "2008-12-20T15:16:11Z")

</div>

I've loaded a text from an .xml file into a flash animation. The .xml file can contain different translations of the text in several languages. However during development the text is initially written in English inside f…

---

## [How to get global/stage coordinate?](https://forum.kirupa.com/t/how-to-get-global-stage-coordinate/278030)

<div class="topic-metadata">

**Author:** [@bluemagica](https://forum.kirupa.com/u/bluemagica)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 2:01pm UTC](https://forum.kirupa.com/t/how-to-get-global-stage-coordinate/278030 "2008-12-20T14:01:44Z")

</div>

If i create a nested mc, say stage.a.b.c, then for c, if i do this.x, it will be relative to origin of b, which is again relative to a, and so on.....this is creating quite a bit of confusion for me in my code....so how …

---

## [Graphics API transition](https://forum.kirupa.com/t/graphics-api-transition/278029)

<div class="topic-metadata">

**Author:** [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 1:22pm UTC](https://forum.kirupa.com/t/graphics-api-transition/278029 "2008-12-20T13:22:27Z")

</div>

I am trying to switch from the old graphics API methods to new ones, but It seems not enugh tested/polished... graphics.beginFill(0x33FF11); graphics.drawRect(0,0,stage.stageWidth,stage.stageHeight); graphics.lineSty…

---

## [XML and Moviecliploader](https://forum.kirupa.com/t/xml-and-moviecliploader/278028)

<div class="topic-metadata">

**Author:** [@st\_james](https://forum.kirupa.com/u/st_james)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 12:46pm UTC](https://forum.kirupa.com/t/xml-and-moviecliploader/278028 "2008-12-20T12:46:00Z")

</div>

Hey guys, I'm working on this flash gallery. I want to load the images from XML and use movieclip loader to display them on my page. I have been following two different tutorials, to get what I want. One that just load…

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

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