# programming

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

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

**Page:** 333

---

## [Garbage Collector Questions](https://forum.kirupa.com/t/garbage-collector-questions/319052)

<div class="topic-metadata">

**Author:** [@Travisism](https://forum.kirupa.com/u/Travisism)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 7:19pm UTC](https://forum.kirupa.com/t/garbage-collector-questions/319052 "2011-02-07T19:19:53Z")

</div>

Howdy all, I've got a few questions about flash's garbage collector. I'm building a game and have all elements in a container sprite called \_gameContainer. \_gameConatiners contains other sprites such as \_hudContaine…

---

## [as2 in CS5: xml problem](https://forum.kirupa.com/t/as2-in-cs5-xml-problem/319049)

<div class="topic-metadata">

**Author:** [@natronp](https://forum.kirupa.com/u/natronp)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 6:36pm UTC](https://forum.kirupa.com/t/as2-in-cs5-xml-problem/319049 "2011-02-07T18:36:30Z")

</div>

trying to do this with as2 in CS5: var xml:XML = new XML(); xml.ignoreWhite=true; xml.onLoad=function(success) { if(success) { trace("loaded!"); trace("xml: "+xml.firstChild.firstChild.childNodes); } } xml.l…

---

## [Detecting DisplayList order changes](https://forum.kirupa.com/t/detecting-displaylist-order-changes/319048)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 6:17pm UTC](https://forum.kirupa.com/t/detecting-displaylist-order-changes/319048 "2011-02-07T18:17:57Z")

</div>

Is there any event dispatched in ANY place of the display list if the order of display list items change? Or is there any other way to track that without manually keeping track of all display list order or needing to o…

---

## [Draw a nice chart as HTC 'Stocks' app](https://forum.kirupa.com/t/draw-a-nice-chart-as-htc-stocks-app/319047)

<div class="topic-metadata">

**Author:** [@terryc](https://forum.kirupa.com/u/terryc)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 5:34pm UTC](https://forum.kirupa.com/t/draw-a-nice-chart-as-htc-stocks-app/319047 "2011-02-07T17:34:20Z")

</div>

Hi All, With my HTC Mozart, I can download app called 'Stocks' which basically look after stocks (nasdaq etc...). The charts/graph looks very nice and I wonder how they do that ? \[image\] I see 3 colors: - first a…

---

## [Framelabel to Variable](https://forum.kirupa.com/t/framelabel-to-variable/319044)

<div class="topic-metadata">

**Author:** [@WILWILWEL](https://forum.kirupa.com/u/WILWILWEL)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 4:20pm UTC](https://forum.kirupa.com/t/framelabel-to-variable/319044 "2011-02-07T16:20:16Z")

</div>

Hello and thanks in advanced for reading into this. I´m looking for a way (if its possible at all with AS2.0) to read the main time line and placing its current frame name into a variable. So if my maintime line exist…

---

## [XML: image not displaying in Flash Gallery](https://forum.kirupa.com/t/xml-image-not-displaying-in-flash-gallery/319043)

<div class="topic-metadata">

**Author:** [@yossarian](https://forum.kirupa.com/u/yossarian)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 3:29pm UTC](https://forum.kirupa.com/t/xml-image-not-displaying-in-flash-gallery/319043 "2011-02-07T15:29:56Z")

</div>

Hi, I have a simple Flash gallery which reads from a xml file. Everything worked well but suddenly one of the images (image10.png) doesn't show up, all I get is an 'X'. All the images are in the correct folders as I ha…

---

## [Action Script 2 to AS 3 Migration! Help!](https://forum.kirupa.com/t/action-script-2-to-as-3-migration-help/319042)

<div class="topic-metadata">

**Author:** [@steff1010](https://forum.kirupa.com/u/steff1010)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 3:12pm UTC](https://forum.kirupa.com/t/action-script-2-to-as-3-migration-help/319042 "2011-02-07T15:12:13Z")

</div>

\[FONT=Lucida Sans Unicode\]\[COLOR=green\]Hi! i am currently migrating some of my Action script 2.0 code to AS 3.0 and I need some help converting this line of code\[/COLOR\]\[/FONT\] \[FONT=Lucida Sans Unicode\]\[/FONT\] \[FONT=Lu…

---

## [Class files and accessing functions in them](https://forum.kirupa.com/t/class-files-and-accessing-functions-in-them/319041)

<div class="topic-metadata">

**Author:** [@ArildRP](https://forum.kirupa.com/u/ArildRP)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 2:30pm UTC](https://forum.kirupa.com/t/class-files-and-accessing-functions-in-them/319041 "2011-02-07T14:30:48Z")

</div>

Hi all this is my first post here, relly exited if i can get the help I need \[smile\] Short description of my project: I'm making a "flash-car-damage-registration-program" where a user can click on a part of a car, make…

---

## [\[FS\] \[1GB\] Dead Space 2](https://forum.kirupa.com/t/fs-1gb-dead-space-2/319040)

<div class="topic-metadata">

**Author:** [@gelverriedag7](https://forum.kirupa.com/u/gelverriedag7)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 1:51pm UTC](https://forum.kirupa.com/t/fs-1gb-dead-space-2/319040 "2011-02-07T13:51:05Z")

</div>

DEAD SPACE 2\[image\]No password Links: http://www.fileserve.com/file/xyc5DqEhttp://www.fileserve.com/file/2kJvtWNhttp://www.fileserve.com/file/tMNKk4Phttp://www.fileserve.com/file/erHe3qzhttp://www.fileserve.com/fil…

---

## [Stage Align v.1 help](https://forum.kirupa.com/t/stage-align-v-1-help/319038)

<div class="topic-metadata">

**Author:** [@muhimuhi](https://forum.kirupa.com/u/muhimuhi)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 1:33pm UTC](https://forum.kirupa.com/t/stage-align-v-1-help/319038 "2011-02-07T13:33:30Z")

</div>

Hello everyone! I'm not happy that my first thread and post starts with a question, but understand that I'm a beginner. \[smile\] So, I've just bought Stage Align v.1 in order to make my web portfolio. I've faced ma…

---

## [Flash Draw shapes](https://forum.kirupa.com/t/flash-draw-shapes/319037)

<div class="topic-metadata">

**Author:** [@ramani](https://forum.kirupa.com/u/ramani)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 12:58pm UTC](https://forum.kirupa.com/t/flash-draw-shapes/319037 "2011-02-07T12:58:23Z")

</div>

How to draw cylinder and cone through flash action script.

---

## [Customizable video player?](https://forum.kirupa.com/t/customizable-video-player/319036)

<div class="topic-metadata">

**Author:** [@Pattt](https://forum.kirupa.com/u/Pattt)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 12:50pm UTC](https://forum.kirupa.com/t/customizable-video-player/319036 "2011-02-07T12:50:55Z")

</div>

Hi, do you know where I can get a customizable video player with cue points for Flash, written in AS3? Please help!

---

## [ScrollPane initially scrolled to the bottom?](https://forum.kirupa.com/t/scrollpane-initially-scrolled-to-the-bottom/319034)

<div class="topic-metadata">

**Author:** [@bobohob](https://forum.kirupa.com/u/bobohob)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 11:10am UTC](https://forum.kirupa.com/t/scrollpane-initially-scrolled-to-the-bottom/319034 "2011-02-07T11:10:14Z")

</div>

Hello, Does anybody know how to set scroll position (via script) on ScrollPane component? I want it initially scrolled to the bottom. thanks.

---

## [Working with Audio Streams](https://forum.kirupa.com/t/working-with-audio-streams/319033)

<div class="topic-metadata">

**Author:** [@Kugarweb](https://forum.kirupa.com/u/Kugarweb)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 10:29am UTC](https://forum.kirupa.com/t/working-with-audio-streams/319033 "2011-02-07T10:29:30Z")

</div>

Hi there, I'm currently working on a University project which involves importing audio streams into an array within Flash using AS3. At the moment I have all of the feeds importing successfully but I need some help wit…

---

## [Button Question \[AS2\]](https://forum.kirupa.com/t/button-question-as2/319031)

<div class="topic-metadata">

**Author:** [@webbyyeah](https://forum.kirupa.com/u/webbyyeah)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 10:08am UTC](https://forum.kirupa.com/t/button-question-as2/319031 "2011-02-07T10:08:13Z")

</div>

Hey so i have a file which is going to go on a couple of different URLs globally and i need to just link to the same extension each time. eg www.randomsite.xyx/destination, www.randomsite.xyz/destination Is there a way…

---

## [Oval Crop and Save](https://forum.kirupa.com/t/oval-crop-and-save/319029)

<div class="topic-metadata">

**Author:** [@svimp](https://forum.kirupa.com/u/svimp)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 9:40am UTC](https://forum.kirupa.com/t/oval-crop-and-save/319029 "2011-02-07T09:40:09Z")

</div>

Hello i need to create a flash aplication that will be able tu upload an image, crop it in oval form then save it . Because i need to create something similar to jibjab or elfyourself. Do you have any ideea how to do t…

---

## [Vector contents on declaration](https://forum.kirupa.com/t/vector-contents-on-declaration/319028)

<div class="topic-metadata">

**Author:** [@carrot](https://forum.kirupa.com/u/carrot)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 7:41am UTC](https://forum.kirupa.com/t/vector-contents-on-declaration/319028 "2011-02-07T07:41:43Z")

</div>

Is it possible to add elements to a vector when it is declared, like you can for arrays? e.g. for an array, you can just go var myArray:Array = \[2, 4, 1, 17, 16, 24\] which will leave you with an myArray filled wit…

---

## [Folder Access By Action Script 3.0](https://forum.kirupa.com/t/folder-access-by-action-script-3-0/319026)

<div class="topic-metadata">

**Author:** [@Milan\_vaja](https://forum.kirupa.com/u/Milan_vaja)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 5:21am UTC](https://forum.kirupa.com/t/folder-access-by-action-script-3-0/319026 "2011-02-07T05:21:20Z")

</div>

Hi all Action Script Buddies i have one confusion that i am building a image slideshow. and i need to list out all pics in root folder in which swf resides. so is there any one have idea to access images with in folder.. …

---

## [How to determine from x,y what iso tile I'm in](https://forum.kirupa.com/t/how-to-determine-from-x-y-what-iso-tile-im-in/319021)

<div class="topic-metadata">

**Author:** [@FGMUK](https://forum.kirupa.com/u/FGMUK)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 2:21am UTC](https://forum.kirupa.com/t/how-to-determine-from-x-y-what-iso-tile-im-in/319021 "2011-02-07T02:21:37Z")

</div>

I'm trying to figure out from Flash mouse x,y coordinates what isometric tile I'm in. My tiles are 80x40. I've looked at a lot of the tutorials online and explanations and code in forums, but they don't seem to work with…

---

## [A weird trig motion problem](https://forum.kirupa.com/t/a-weird-trig-motion-problem/319018)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [February 6, 2011, 11:35pm UTC](https://forum.kirupa.com/t/a-weird-trig-motion-problem/319018 "2011-02-06T23:35:51Z")

</div>

Hey guys, The problem is that when i rotate(left/right key) my ship i'm getting acceleration which should only occur when the thruster is firing(up Key). I'm using a standard motion model and im using it in a model v…

---

## [Movie Clip Button Help](https://forum.kirupa.com/t/movie-clip-button-help/319014)

<div class="topic-metadata">

**Author:** [@avaughn](https://forum.kirupa.com/u/avaughn)\
**Replies:** 0\
**Last updated:** [February 6, 2011, 7:06pm UTC](https://forum.kirupa.com/t/movie-clip-button-help/319014 "2011-02-06T19:06:19Z")

</div>

This is part of a large quiz I am building. The three choices here are part of a group of three from which you should only choose one. If so the other two are enabled=false. I can't change the method only modify since …

---

## [Using 'this'](https://forum.kirupa.com/t/using-this/319010)

<div class="topic-metadata">

**Author:** [@RubenFlash](https://forum.kirupa.com/u/RubenFlash)\
**Replies:** 0\
**Last updated:** [February 6, 2011, 1:39pm UTC](https://forum.kirupa.com/t/using-this/319010 "2011-02-06T13:39:42Z")

</div>

What's the difference between using 'this' and not using it in the following examples? \[COLOR=#000000\]\[COLOR=#0000bb\]package \[/COLOR\]\[COLOR=#007700\]{ public final class \[/COLOR\]\[COLOR=#0000bb\]MyClass \[/COLOR\]\[COLO…

---

## [AS3 Variables between Frames](https://forum.kirupa.com/t/as3-variables-between-frames/319009)

<div class="topic-metadata">

**Author:** [@mvrb](https://forum.kirupa.com/u/mvrb)\
**Replies:** 0\
**Last updated:** [February 6, 2011, 1:30pm UTC](https://forum.kirupa.com/t/as3-variables-between-frames/319009 "2011-02-06T13:30:28Z")

</div>

Hi everyone. I have a little problem in my game. I have a var coins:int = 0; on frame one, and I want to access it from frame 2. I’m not using a document class. Is it possible to make some kind of a global variable like …

---

## [HELP! SOS! List component! AS2](https://forum.kirupa.com/t/help-sos-list-component-as2/319008)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [February 6, 2011, 12:34pm UTC](https://forum.kirupa.com/t/help-sos-list-component-as2/319008 "2011-02-06T12:34:19Z")

</div>

Hi there! I have a list component, named myList. How can i get or interact (event) with the ScroolBar that is inside the same myList component? Thanks! Leo.

---

## [A Programmer's Demo Reel?](https://forum.kirupa.com/t/a-programmers-demo-reel/319005)

<div class="topic-metadata">

**Author:** [@Donutfiend84](https://forum.kirupa.com/u/Donutfiend84)\
**Replies:** 0\
**Last updated:** [February 6, 2011, 7:38am UTC](https://forum.kirupa.com/t/a-programmers-demo-reel/319005 "2011-02-06T07:38:07Z")

</div>

I'm a flash programmer about to graduate from the Art Institute of Pittsburgh, and I'm putting together my final portfolio. The issue is, I was the programmer on all the games, not the artist, but I need all sorts of vis…

---

## [I like to bounce on stage](https://forum.kirupa.com/t/i-like-to-bounce-on-stage/319001)

<div class="topic-metadata">

**Author:** [@damienAlbern](https://forum.kirupa.com/u/damienAlbern)\
**Replies:** 0\
**Last updated:** [February 6, 2011, 4:10am UTC](https://forum.kirupa.com/t/i-like-to-bounce-on-stage/319001 "2011-02-06T04:10:55Z")

</div>

Hi all, I am pretty much a complete beginner with programming and new to this forum so please, excuse my simplicity. After successfully embedding a \*.gif image and resizing it (pretty spesh i know), I decided I wanted …

---

## [Papervision Rendering Problem (Clipping & Culling)](https://forum.kirupa.com/t/papervision-rendering-problem-clipping-culling/319000)

<div class="topic-metadata">

**Author:** [@gamebeetle](https://forum.kirupa.com/u/gamebeetle)\
**Replies:** 0\
**Last updated:** [February 6, 2011, 1:55am UTC](https://forum.kirupa.com/t/papervision-rendering-problem-clipping-culling/319000 "2011-02-06T01:55:54Z")

</div>

Hey Everyone, so I have a simple rendering problem. It seems that when I move the camera around my scene the rendering at certain points is odd. Triangles become missing and it seems as though its just not working correc…

---

## [Hit zones inside a movie button?](https://forum.kirupa.com/t/hit-zones-inside-a-movie-button/318996)

<div class="topic-metadata">

**Author:** [@tris3d](https://forum.kirupa.com/u/tris3d)\
**Replies:** 0\
**Last updated:** [February 5, 2011, 6:54pm UTC](https://forum.kirupa.com/t/hit-zones-inside-a-movie-button/318996 "2011-02-05T18:54:04Z")

</div>

Hi I've created a movie button which when you roll over an animated section extends down and when you roll out, it goes back to it's previous position. Problem is, because the movie extends so does the hit zone. Ide…

---

## [Loss of internet link](https://forum.kirupa.com/t/loss-of-internet-link/318995)

<div class="topic-metadata">

**Author:** [@profZ](https://forum.kirupa.com/u/profZ)\
**Replies:** 0\
**Last updated:** [February 5, 2011, 4:53pm UTC](https://forum.kirupa.com/t/loss-of-internet-link/318995 "2011-02-05T16:53:24Z")

</div>

I just finished an interactive webpage design completely using Flash CS4. I have a couple of buttons in the design that link to other webpages (url's). When I test the published SWF and HTML the links work fine. However,…

---

## [Action script to close a SWF loaded in EXE projector?](https://forum.kirupa.com/t/action-script-to-close-a-swf-loaded-in-exe-projector/318993)

<div class="topic-metadata">

**Author:** [@Mitch\_Waite](https://forum.kirupa.com/u/Mitch_Waite)\
**Replies:** 0\
**Last updated:** [February 5, 2011, 3:54pm UTC](https://forum.kirupa.com/t/action-script-to-close-a-swf-loaded-in-exe-projector/318993 "2011-02-05T15:54:49Z")

</div>

Does anyone know the action script to close a SWF that is loaded in an EXE projector? At the same time I would like to load a different SWF. Thanks for any help.

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

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