# programming

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

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

**Page:** 931

---

## [XMLList - Major Problems!](https://forum.kirupa.com/t/xmllist-major-problems/281149)

<div class="topic-metadata">

**Author:** [@mikehmc](https://forum.kirupa.com/u/mikehmc)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 1:38pm UTC](https://forum.kirupa.com/t/xmllist-major-problems/281149 "2009-02-05T13:38:20Z")

</div>

I have a real problem with the following code: \[AS\] var xml\_a:XMLList = XMLContainer.getXML().cargo.popup; trace(xml\_a); //trace one trace( xml\_a.(@user == "china") ); //trace two var xml\_b:XMLList = xml\_a.(@user == "…

---

## [How to do you evaluate the number of clicks of a button?](https://forum.kirupa.com/t/how-to-do-you-evaluate-the-number-of-clicks-of-a-button/281145)

<div class="topic-metadata">

**Author:** [@handynut](https://forum.kirupa.com/u/handynut)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 12:02pm UTC](https://forum.kirupa.com/t/how-to-do-you-evaluate-the-number-of-clicks-of-a-button/281145 "2009-02-05T12:02:13Z")

</div>

Hi Wonder if anyone can else, this is giving me a head wobble. Very new to actionscripting as this code will no doubt show. I've created a dropdown menu which drops down onClick. gotoAndPlay("2") I have been trying t…

---

## [AS2: Animate my man to move!](https://forum.kirupa.com/t/as2-animate-my-man-to-move/281144)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 11:50am UTC](https://forum.kirupa.com/t/as2-animate-my-man-to-move/281144 "2009-02-05T11:50:07Z")

</div>

I am making this game where people walk into a room and move around on their own accord and then when you click on them they go to do different things. What is the best way though code to get them walking into a room -…

---

## [Enemie](https://forum.kirupa.com/t/enemie/281142)

<div class="topic-metadata">

**Author:** [@Svea](https://forum.kirupa.com/u/Svea)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 11:22am UTC](https://forum.kirupa.com/t/enemie/281142 "2009-02-05T11:22:16Z")

</div>

Hi.. we are making a flash game and we want "enemies" to spawn above the game window and jump down from like a higher building or from treetops any idea how to make that?

---

## [Flash 8 and VB6 External Interface](https://forum.kirupa.com/t/flash-8-and-vb6-external-interface/281138)

<div class="topic-metadata">

**Author:** [@dxmedia](https://forum.kirupa.com/u/dxmedia)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 10:30am UTC](https://forum.kirupa.com/t/flash-8-and-vb6-external-interface/281138 "2009-02-05T10:30:38Z")

</div>

Hi, I an trying to get a flash .swf loaded in Visual Basic 6 to communicate with the host (VB 6). I know all about fscommand, and the VB "set variable in flash" method, but am trying to get it working with External Int…

---

## [RemoveChildAt()](https://forum.kirupa.com/t/removechildat/281137)

<div class="topic-metadata">

**Author:** [@Garfty](https://forum.kirupa.com/u/Garfty)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 10:26am UTC](https://forum.kirupa.com/t/removechildat/281137 "2009-02-05T10:26:04Z")

</div>

Hi all, I think removeChild() is the most confusing thing in my life at the moment when it really shouldnt be. I'm dynamically adding a set of mc's on the stage, im tweening them from alpha 0 to 1 with tweenlite, I the…

---

## [Is it possible to toggle the quality or the smoothing of a movieclip?](https://forum.kirupa.com/t/is-it-possible-to-toggle-the-quality-or-the-smoothing-of-a-movieclip/281136)

<div class="topic-metadata">

**Author:** [@lorenz82](https://forum.kirupa.com/u/lorenz82)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 9:41am UTC](https://forum.kirupa.com/t/is-it-possible-to-toggle-the-quality-or-the-smoothing-of-a-movieclip/281136 "2009-02-05T09:41:42Z")

</div>

Is it possible to toggle the quality or the smoothing of a movieclip? In my whole project there is only a movieclip with a lot of graphic files... I would like to put only that movieclip to LOW QUALITY or create a toggle…

---

## [Loading movieclips from library via XML](https://forum.kirupa.com/t/loading-movieclips-from-library-via-xml/281135)

<div class="topic-metadata">

**Author:** [@Asparagus](https://forum.kirupa.com/u/Asparagus)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 9:22am UTC](https://forum.kirupa.com/t/loading-movieclips-from-library-via-xml/281135 "2009-02-05T09:22:11Z")

</div>

I'll do my best to keep this question as short as possible: I've made 5 'fruit' movieclips and they're in my library. And using so.addVariable("getNumber", "003"); in my HTML code, I'd like those particular fruit mov…

---

## [Generate PDF, DOCX and DOC with PHP](https://forum.kirupa.com/t/generate-pdf-docx-and-doc-with-php/281134)

<div class="topic-metadata">

**Author:** [@leo\_bonnafe](https://forum.kirupa.com/u/leo_bonnafe)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 9:06am UTC](https://forum.kirupa.com/t/generate-pdf-docx-and-doc-with-php/281134 "2009-02-05T09:06:30Z")

</div>

First of all, hello to all -- I am new here \[smile\] I have just come across a new project that allows you to generate PDF, DOCX and DOC files with PHP. All you have to do, is create a template in Open Office (or Wor…

---

## [Resize external swf movie to stage size](https://forum.kirupa.com/t/resize-external-swf-movie-to-stage-size/281133)

<div class="topic-metadata">

**Author:** [@schrenzor](https://forum.kirupa.com/u/schrenzor)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 8:54am UTC](https://forum.kirupa.com/t/resize-external-swf-movie-to-stage-size/281133 "2009-02-05T08:54:53Z")

</div>

Hello to everyone - this is my first post in here \[wink\] What i try to do, is to make a "wrapper" in Flash, in which other swfs could be embedded. (passing the URL of the external SWF by URL) to attach a link to the sw…

---

## [AS2 / 3 image thumb grid with rollover](https://forum.kirupa.com/t/as2-3-image-thumb-grid-with-rollover/281131)

<div class="topic-metadata">

**Author:** [@pixi](https://forum.kirupa.com/u/pixi)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 8:04am UTC](https://forum.kirupa.com/t/as2-3-image-thumb-grid-with-rollover/281131 "2009-02-05T08:04:18Z")

</div>

Hi All , looking for a script that loads 6 logo image thumbs into a grid (randomly from folder), with each thumb having a rollover image and link.. Basically the logo area on this page : I have about 30 client logos …

---

## [Making perlin noise less CPU intensive](https://forum.kirupa.com/t/making-perlin-noise-less-cpu-intensive/281128)

<div class="topic-metadata">

**Author:** [@kernel\_flash](https://forum.kirupa.com/u/kernel_flash)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 6:11am UTC](https://forum.kirupa.com/t/making-perlin-noise-less-cpu-intensive/281128 "2009-02-05T06:11:19Z")

</div>

Lately I have been trying to animate the water surface giving it more natural look by use of Perlin noise. But it seems it is very CPU intensive operation. And if I use it along with other animations on the stage which i…

---

## [Local server not executing PHP called from Flash](https://forum.kirupa.com/t/local-server-not-executing-php-called-from-flash/281126)

<div class="topic-metadata">

**Author:** [@jontyc](https://forum.kirupa.com/u/jontyc)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 5:45am UTC](https://forum.kirupa.com/t/local-server-not-executing-php-called-from-flash/281126 "2009-02-05T05:45:44Z")

</div>

Can't work this one out. Doing the normal stuff, ie: var var\_load:URLLoader = new URLLoader; var URL\_request:URLRequest = new URLRequest("./get\_data.php"); URL\_request.method = URLRequestMethod.POST; var\_load.load(URL…

---

## [Clickable Links using text](https://forum.kirupa.com/t/clickable-links-using-text/281125)

<div class="topic-metadata">

**Author:** [@qwiktune](https://forum.kirupa.com/u/qwiktune)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 4:56am UTC](https://forum.kirupa.com/t/clickable-links-using-text/281125 "2009-02-05T04:56:11Z")

</div>

So i have a short like flash intro and at the end I have a couple words fade in, then i put each word at the end of the slide show on its layer as a button symbol \[probg, producsamp, writesamp, awards, and proact are the…

---

## [Brainstorming A Photo Filter App](https://forum.kirupa.com/t/brainstorming-a-photo-filter-app/281120)

<div class="topic-metadata">

**Author:** [@psychman](https://forum.kirupa.com/u/psychman)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 3:26am UTC](https://forum.kirupa.com/t/brainstorming-a-photo-filter-app/281120 "2009-02-05T03:26:36Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]Hello. I am revisiting an idea to create a program with a user interface that will allow me to filter and display large amounts of photo and corresponding text data. The filters will not always…

---

## [\[AS2\] New to AS2 and need help with listbox component and XML files](https://forum.kirupa.com/t/as2-new-to-as2-and-need-help-with-listbox-component-and-xml-files/281113)

<div class="topic-metadata">

**Author:** [@Lurker](https://forum.kirupa.com/u/Lurker)\
**Replies:** 0\
**Last updated:** [February 5, 2009, 12:59am UTC](https://forum.kirupa.com/t/as2-new-to-as2-and-need-help-with-listbox-component-and-xml-files/281113 "2009-02-05T00:59:17Z")

</div>

I want to populate my listbox with all the XML files in the same directory as the .swf, but I also want to release my final .swf to others, so I can't just use the directory that directs toward the folder on just my comp…

---

## [Build Flash with All External AS Files](https://forum.kirupa.com/t/build-flash-with-all-external-as-files/281112)

<div class="topic-metadata">

**Author:** [@xanderdavis](https://forum.kirupa.com/u/xanderdavis)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 11:40pm UTC](https://forum.kirupa.com/t/build-flash-with-all-external-as-files/281112 "2009-02-04T23:40:18Z")

</div>

Anyone know how to set up a Flash AS structure that doesn't feature any code in the actual compiler FLA and instead places all code in external .AS files? I believe this begins by setting up a Manager class and then se…

---

## [Hit Test Object?](https://forum.kirupa.com/t/hit-test-object/281108)

<div class="topic-metadata">

**Author:** [@jason116](https://forum.kirupa.com/u/jason116)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 10:41pm UTC](https://forum.kirupa.com/t/hit-test-object/281108 "2009-02-04T22:41:48Z")

</div>

In advance i apologize about the weak explanation, its the best i can do lol. I have a hit test object which is called timeblock. I have created several timeblocks with a loop and added them to a \_timeblock array and…

---

## [XML and Text Field FOR loop question, can someone please help?](https://forum.kirupa.com/t/xml-and-text-field-for-loop-question-can-someone-please-help/281105)

<div class="topic-metadata">

**Author:** [@monsterchild](https://forum.kirupa.com/u/monsterchild)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 10:17pm UTC](https://forum.kirupa.com/t/xml-and-text-field-for-loop-question-can-someone-please-help/281105 "2009-02-04T22:17:13Z")

</div>

hi all, ok, i'm really having a hard time trying to get this to work, hopefully someone will be kind enough to shed some light on this... function onLoaded(e:Event):void { xml = new XML(e.target.data); …

---

## [Jpeg quality on animation](https://forum.kirupa.com/t/jpeg-quality-on-animation/281100)

<div class="topic-metadata">

**Author:** [@mcstefan](https://forum.kirupa.com/u/mcstefan)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 9:43pm UTC](https://forum.kirupa.com/t/jpeg-quality-on-animation/281100 "2009-02-04T21:43:32Z")

</div>

Hi, everyone. This is driving me mad, so I hope somebody understand this better than me. I have a movieclip (which contains a jpg that's twice as wide as the stage) that I'm moving across the stage (x-direction, with…

---

## [How to pass a var to a custom CellRenderer class?](https://forum.kirupa.com/t/how-to-pass-a-var-to-a-custom-cellrenderer-class/281098)

<div class="topic-metadata">

**Author:** [@savetheworld](https://forum.kirupa.com/u/savetheworld)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 9:27pm UTC](https://forum.kirupa.com/t/how-to-pass-a-var-to-a-custom-cellrenderer-class/281098 "2009-02-04T21:27:56Z")

</div>

I have a combobox that I need to style with colors from xml. I call this XML file in the same class that has my combobox instance and break out the color I need to a var. I then use MyCellRenderer (a class that extend…

---

## [FLV Player - Slow Motion](https://forum.kirupa.com/t/flv-player-slow-motion/281096)

<div class="topic-metadata">

**Author:** [@subtrend](https://forum.kirupa.com/u/subtrend)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 9:08pm UTC](https://forum.kirupa.com/t/flv-player-slow-motion/281096 "2009-02-04T21:08:47Z")

</div>

Hi Guys, I was wondering if you guys could tell me a way to play back an FLV video in slow motion. Ultimately, I would like the FLV player that I am developing to have the ability to both: 1) Play videos in slow mo…

---

## [Inheritance / Extending Classes](https://forum.kirupa.com/t/inheritance-extending-classes/281095)

<div class="topic-metadata">

**Author:** [@Dan0](https://forum.kirupa.com/u/Dan0)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 9:08pm UTC](https://forum.kirupa.com/t/inheritance-extending-classes/281095 "2009-02-04T21:08:38Z")

</div>

Hey, I'm really confused about inheritance and building classes from other classes. I have 3 classes: gfxRoomText - changeable colour gfxRomInter - changeable colour - interactive gfxRoomImg - interactive - only image …

---

## [Copying complex buttons, then modifying them individually?](https://forum.kirupa.com/t/copying-complex-buttons-then-modifying-them-individually/281093)

<div class="topic-metadata">

**Author:** [@Rooke](https://forum.kirupa.com/u/Rooke)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 8:30pm UTC](https://forum.kirupa.com/t/copying-complex-buttons-then-modifying-them-individually/281093 "2009-02-04T20:30:43Z")

</div>

Hey all, sorry if this has been asked, I've made a pretty complex button thats actually a drop down menu. So when you mouse over the button, it opens the drop down menu, but the actual button is also clickable. The p…

---

## [AS3: Loading jpgs](https://forum.kirupa.com/t/as3-loading-jpgs/281092)

<div class="topic-metadata">

**Author:** [@zzxjoanw](https://forum.kirupa.com/u/zzxjoanw)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 8:29pm UTC](https://forum.kirupa.com/t/as3-loading-jpgs/281092 "2009-02-04T20:29:19Z")

</div>

I'm trying to make a program to load multiple images. So far, I have import flash.display.\*; import flash.filesystem.File; var loader = new Loader(); loader.load("images/powell.jpg"); addChild(loader); but when I ru…

---

## [WPF Video Player](https://forum.kirupa.com/t/wpf-video-player/281090)

<div class="topic-metadata">

**Author:** [@bouncer](https://forum.kirupa.com/u/bouncer)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 8:20pm UTC](https://forum.kirupa.com/t/wpf-video-player/281090 "2009-02-04T20:20:20Z")

</div>

Hi , Can anyone please help me in creating a WPF Video Player which should be a UserControl? I also need the functionality to play local video and Internet stream. It will have a slider which will show the progess for …

---

## [Trig (wave movement)](https://forum.kirupa.com/t/trig-wave-movement/281085)

<div class="topic-metadata">

**Author:** [@substance](https://forum.kirupa.com/u/substance)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 7:26pm UTC](https://forum.kirupa.com/t/trig-wave-movement/281085 "2009-02-04T19:26:01Z")

</div>

I'm making a basic wave movement pattern using Math.sin and I have the behavior of the movement working, but I cant seem to factor in a custom angle. Here's what I'm doing: http://teamimpulse9.com/CosSin.html This is…

---

## [\[cs3 - as2\]](https://forum.kirupa.com/t/cs3-as2/281082)

<div class="topic-metadata">

**Author:** [@jimbaker](https://forum.kirupa.com/u/jimbaker)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 6:43pm UTC](https://forum.kirupa.com/t/cs3-as2/281082 "2009-02-04T18:43:07Z")

</div>

A couple of new guy questions. I know they'll sound simple to you old hands but I'm struggling to learn enough AS2 to get a simple application working. I have a collection of text input fields and each one has a label…

---

## [Get Url - opening the browser](https://forum.kirupa.com/t/get-url-opening-the-browser/281079)

<div class="topic-metadata">

**Author:** [@friezens](https://forum.kirupa.com/u/friezens)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 6:21pm UTC](https://forum.kirupa.com/t/get-url-opening-the-browser/281079 "2009-02-04T18:21:57Z")

</div>

hi! I have an .exe in fullscreen mode with different links. If I click on one link, the browser opens up in front of the .exe and shows the link. but if I leave the browser open and go to the .exe and click on another …

---

## [Accessing main timeline + lower levels/swfs](https://forum.kirupa.com/t/accessing-main-timeline-lower-levels-swfs/281077)

<div class="topic-metadata">

**Author:** [@pinging](https://forum.kirupa.com/u/pinging)\
**Replies:** 0\
**Last updated:** [February 4, 2009, 6:02pm UTC](https://forum.kirupa.com/t/accessing-main-timeline-lower-levels-swfs/281077 "2009-02-04T18:02:43Z")

</div>

Hey, hope this isn't too simple for everyone, its sure hard enough for me. Ok I have a swf that uses attachMovie to load the main swf after preloading. This main swf is loaded on level 0. Inside this I am calling a…

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

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