# programming

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

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

**Page:** 802

---

## [How To Show The Steps of an Iteration in A3](https://forum.kirupa.com/t/how-to-show-the-steps-of-an-iteration-in-a3/289325)

<div class="topic-metadata">

**Author:** [@Paradise\_Wolf](https://forum.kirupa.com/u/Paradise_Wolf)\
**Replies:** 0\
**Last updated:** [May 29, 2009, 12:15am UTC](https://forum.kirupa.com/t/how-to-show-the-steps-of-an-iteration-in-a3/289325 "2009-05-29T00:15:41Z")

</div>

\[COLOR=black\]I did an ActionScript 3 version of my old algorithm made in c language to solve the “Tower of Hanoi” puzzle.\[/COLOR\] \[COLOR=black\]The problem is that I knew how to show the intermediary steps in c lang…

---

## [How to reference a JS file in HTML](https://forum.kirupa.com/t/how-to-reference-a-js-file-in-html/289324)

<div class="topic-metadata">

**Author:** [@stoney\_kun](https://forum.kirupa.com/u/stoney_kun)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 11:25pm UTC](https://forum.kirupa.com/t/how-to-reference-a-js-file-in-html/289324 "2009-05-28T23:25:48Z")

</div>

Can you use ../ syntax to reference a parent directory? I am assuming not, because it is not working? Is there a way to reference the parent dir? Many thanks!!

---

## [Question regarding rotating a graphic through 3d](https://forum.kirupa.com/t/question-regarding-rotating-a-graphic-through-3d/289322)

<div class="topic-metadata">

**Author:** [@zoooom](https://forum.kirupa.com/u/zoooom)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 11:03pm UTC](https://forum.kirupa.com/t/question-regarding-rotating-a-graphic-through-3d/289322 "2009-05-28T23:03:54Z")

</div>

Hi all, does anyone know if there is a way to make it so the back of an image is blank? i want to set the rotationX of a loaded image to 180 and for the back of it to be a blank colour rather than the 'see-through' eff…

---

## [Importing Flash Assets to Flex a AS Project](https://forum.kirupa.com/t/importing-flash-assets-to-flex-a-as-project/289318)

<div class="topic-metadata">

**Author:** [@tester123](https://forum.kirupa.com/u/tester123)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 9:51pm UTC](https://forum.kirupa.com/t/importing-flash-assets-to-flex-a-as-project/289318 "2009-05-28T21:51:02Z")

</div>

So I've long been developing in flash, but I am currently working on a project that need to be developed using flex. That is to say, it is actually not a flex project (MXML) but rather an ActionScript project in flex. Th…

---

## [Instanced Movieclips Not Moving Across the Stage](https://forum.kirupa.com/t/instanced-movieclips-not-moving-across-the-stage/289317)

<div class="topic-metadata">

**Author:** [@Peekah](https://forum.kirupa.com/u/Peekah)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 9:47pm UTC](https://forum.kirupa.com/t/instanced-movieclips-not-moving-across-the-stage/289317 "2009-05-28T21:47:03Z")

</div>

Hello folks. I'm having a little trouble. I'm making a screensaver where random characters in different positions and sizes walk/run across the screen. It seemed simple enough, and everything appears as they should. Ho…

---

## [Moving individual sprites by name](https://forum.kirupa.com/t/moving-individual-sprites-by-name/289316)

<div class="topic-metadata">

**Author:** [@mitchelvase](https://forum.kirupa.com/u/mitchelvase)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 9:11pm UTC](https://forum.kirupa.com/t/moving-individual-sprites-by-name/289316 "2009-05-28T21:11:14Z")

</div>

Hi There people, I'm trying to make a gallery in as3. The idee is having multiple thumbs and when you click one it gets bigger and the other thumbs move left or right; Example: \[1\]\[2\]\[3\]\[4\]\[5\]\[6\]\[7\]\[8\] When you c…

---

## [Local Variable outside of the function?](https://forum.kirupa.com/t/local-variable-outside-of-the-function/289315)

<div class="topic-metadata">

**Author:** [@Dimitree](https://forum.kirupa.com/u/Dimitree)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 9:07pm UTC](https://forum.kirupa.com/t/local-variable-outside-of-the-function/289315 "2009-05-28T21:07:39Z")

</div>

Is there any possibility I can "call" a local variable in a new function? for ex. function createMainText():void{ var dynText:TextField = new TextField();// local var stage.addChild(dynText); dynText.y…

---

## [Flash video capture?](https://forum.kirupa.com/t/flash-video-capture/289314)

<div class="topic-metadata">

**Author:** [@dst1](https://forum.kirupa.com/u/dst1)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 9:04pm UTC](https://forum.kirupa.com/t/flash-video-capture/289314 "2009-05-28T21:04:07Z")

</div>

I need to capture a video of my flash game while I play it - is there any free software that I can use?

---

## [AS3. Can you explain this OOP conundrum?](https://forum.kirupa.com/t/as3-can-you-explain-this-oop-conundrum/289310)

<div class="topic-metadata">

**Author:** [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 8:09pm UTC](https://forum.kirupa.com/t/as3-can-you-explain-this-oop-conundrum/289310 "2009-05-28T20:09:10Z")

</div>

Ok guys more theory id appriacate some help with \[smiley\] I hit an example today which illustrates the issue. Lets say i have Main.as and Title.as Main is the root Title contains the graphics for the title I want…

---

## [Embed Google Maps into Flash Projector with locations](https://forum.kirupa.com/t/embed-google-maps-into-flash-projector-with-locations/289307)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 7:48pm UTC](https://forum.kirupa.com/t/embed-google-maps-into-flash-projector-with-locations/289307 "2009-05-28T19:48:45Z")

</div>

Hello A possible cliente asked me if is possible to embed her Google Maps into a flash presentation (Projector Exe). I´ve searched around Google and found out that the flash have to be hosted in a server. Also, I did…

---

## [Possible for code to cause "Flash10.ocx Crash"](https://forum.kirupa.com/t/possible-for-code-to-cause-flash10-ocx-crash/289306)

<div class="topic-metadata">

**Author:** [@savetheworld](https://forum.kirupa.com/u/savetheworld)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 7:27pm UTC](https://forum.kirupa.com/t/possible-for-code-to-cause-flash10-ocx-crash/289306 "2009-05-28T19:27:35Z")

</div>

I would like to know if it is possible (more so if it is probable) that poor action script could be causing Internet Explorer to crash intermittently during use of the flash application (see attached image). IE reports t…

---

## [Reading Strings and Changing Fill Colors](https://forum.kirupa.com/t/reading-strings-and-changing-fill-colors/289305)

<div class="topic-metadata">

**Author:** [@stocktonlad1970](https://forum.kirupa.com/u/stocktonlad1970)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 7:00pm UTC](https://forum.kirupa.com/t/reading-strings-and-changing-fill-colors/289305 "2009-05-28T19:00:06Z")

</div>

Hi, 2 part questions. What is the actionscript equivalent of Left$, Right$ and Mid$ Also, how can I change the fill color of a graphic in code. I want to dynamically change the fill colour of a circle depending on …

---

## [\[Flashplayer Bug\] SWF slows Down when KEY get pressed and hold](https://forum.kirupa.com/t/flashplayer-bug-swf-slows-down-when-key-get-pressed-and-hold/289304)

<div class="topic-metadata">

**Author:** [@viva](https://forum.kirupa.com/u/viva)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 6:50pm UTC](https://forum.kirupa.com/t/flashplayer-bug-swf-slows-down-when-key-get-pressed-and-hold/289304 "2009-05-28T18:50:05Z")

</div>

Hello for my actual project i need a event configuration wherein i can hold a keyboard key down and move mouse. While trying to implement this, i recognized that the flashplayer begins to lag, saving actions in buffer an…

---

## [Game Help (Final part): URGENT!](https://forum.kirupa.com/t/game-help-final-part-urgent/289303)

<div class="topic-metadata">

**Author:** [@Drakob](https://forum.kirupa.com/u/Drakob)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 6:46pm UTC](https://forum.kirupa.com/t/game-help-final-part-urgent/289303 "2009-05-28T18:46:47Z")

</div>

Hey Guys! Got a problem with the timeline / currentFrame at the moment. Im calling a function to change frames when a player gets to a certain part of the frame, which works fine for changing from frame 1 to frame 2..…

---

## [Using Dot operator on object to show function](https://forum.kirupa.com/t/using-dot-operator-on-object-to-show-function/289301)

<div class="topic-metadata">

**Author:** [@nvidia](https://forum.kirupa.com/u/nvidia)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 6:31pm UTC](https://forum.kirupa.com/t/using-dot-operator-on-object-to-show-function/289301 "2009-05-28T18:31:30Z")

</div>

Hi guys, i am learning AS 3.0 at present using FlashDevelop which is really nice to use. I've created to arrays using the following code var myArray:Array = \[1, 2, 3\] var youArray = new Array(); now, everytime i …

---

## [MovieClips in library not attaching to stage](https://forum.kirupa.com/t/movieclips-in-library-not-attaching-to-stage/289300)

<div class="topic-metadata">

**Author:** [@fatPluto](https://forum.kirupa.com/u/fatPluto)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 6:30pm UTC](https://forum.kirupa.com/t/movieclips-in-library-not-attaching-to-stage/289300 "2009-05-28T18:30:43Z")

</div>

Recently launched this site : http://www.p2prealtor.com the problem I've encountered on the home pg flash is that two big buttons and a bike animation should display prior to the photos loading. However, in firefox on …

---

## [Mask\_mc within mc](https://forum.kirupa.com/t/mask-mc-within-mc/289296)

<div class="topic-metadata">

**Author:** [@Maxson](https://forum.kirupa.com/u/Maxson)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 5:02pm UTC](https://forum.kirupa.com/t/mask-mc-within-mc/289296 "2009-05-28T17:02:59Z")

</div>

Good day I should have saw this coming, there are few mcs and everyone of them has a mask\_mc inside, - so that when you click on one of them - animation appears and others mcs become inactive. And so, - they dont. Of c…

---

## [Stack overflow on Custom Sound Object](https://forum.kirupa.com/t/stack-overflow-on-custom-sound-object/289295)

<div class="topic-metadata">

**Author:** [@Gathan](https://forum.kirupa.com/u/Gathan)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 4:57pm UTC](https://forum.kirupa.com/t/stack-overflow-on-custom-sound-object/289295 "2009-05-28T16:57:29Z")

</div>

I have a custom sound object base class, and every sound object in the library extends this.Here is a basic stripped down version of my sound object. package { import flash.media.\*; public class SoundObject exte…

---

## [AS2:: Is not equal to hitTest](https://forum.kirupa.com/t/as2-is-not-equal-to-hittest/289293)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 4:42pm UTC](https://forum.kirupa.com/t/as2-is-not-equal-to-hittest/289293 "2009-05-28T16:42:58Z")

</div>

Hello, I was just wondering if this is possible.... Can I write: if (this.hitTest !=(HitTest\_mc)) { trace("not there"); } Basically all I want it to do is I have a drag item and it can be dragged anywhere on the …

---

## [AS2:: Counting upwards](https://forum.kirupa.com/t/as2-counting-upwards/289292)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 4:32pm UTC](https://forum.kirupa.com/t/as2-counting-upwards/289292 "2009-05-28T16:32:13Z")

</div>

Hello, If there a quick way code wise of getting a dynamic textfield to count upwards to a specific number? i.e. I have a global variable named: \_global.num and this equals 30 and I want it to count from 0 to 30 quit…

---

## [Div Overlay Resolution](https://forum.kirupa.com/t/div-overlay-resolution/289291)

<div class="topic-metadata">

**Author:** [@HoodEmpire](https://forum.kirupa.com/u/HoodEmpire)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 4:14pm UTC](https://forum.kirupa.com/t/div-overlay-resolution/289291 "2009-05-28T16:14:19Z")

</div>

Delete Button?

---

## [\[AS3\] tile-based zombie game](https://forum.kirupa.com/t/as3-tile-based-zombie-game/289290)

<div class="topic-metadata">

**Author:** [@NekoAthena](https://forum.kirupa.com/u/NekoAthena)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 3:51pm UTC](https://forum.kirupa.com/t/as3-tile-based-zombie-game/289290 "2009-05-28T15:51:51Z")

</div>

hello all. i am a pseudo-intermediate flash and as user, and i've come across an issue. i know that logically there is a way to achieve what i want with code, but i'm not sure how to go about it. i am focusing on a til…

---

## [Floating Movieclip Effect \[as3\]](https://forum.kirupa.com/t/floating-movieclip-effect-as3/289289)

<div class="topic-metadata">

**Author:** [@mycaptainkite](https://forum.kirupa.com/u/mycaptainkite)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 3:28pm UTC](https://forum.kirupa.com/t/floating-movieclip-effect-as3/289289 "2009-05-28T15:28:45Z")

</div>

Hi, Anyone have any idea how I can make a movieclip randomly slowly float around within a certain specified area on the page? The way I'm doing it now.. is I use TweenMax.. set a bezier, and have the object tween ran…

---

## [Streaming Video lags](https://forum.kirupa.com/t/streaming-video-lags/289288)

<div class="topic-metadata">

**Author:** [@vaderist](https://forum.kirupa.com/u/vaderist)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 2:46pm UTC](https://forum.kirupa.com/t/streaming-video-lags/289288 "2009-05-28T14:46:49Z")

</div>

I have a streaming media player I built for playback of full-length movies and tv. We are currently planning on using Wowza Streaming Server to handle our streaming services. I have multiple streams stored in Amazon S3 a…

---

## [Button doesn't work after 1st time used?](https://forum.kirupa.com/t/button-doesnt-work-after-1st-time-used/289286)

<div class="topic-metadata">

**Author:** [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 2:17pm UTC](https://forum.kirupa.com/t/button-doesnt-work-after-1st-time-used/289286 "2009-05-28T14:17:29Z")

</div>

Hello All, I have a few buttons in my fla and when you click on them, they bring that section to the top of the piles of sections. Here is the code for that: //Reservations reservationsBtn\_mc.addEventListener(MouseEven…

---

## [Scrollbar ... MouseUp. waaaay way from MouseDown](https://forum.kirupa.com/t/scrollbar-mouseup-waaaay-way-from-mousedown/289284)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 1:13pm UTC](https://forum.kirupa.com/t/scrollbar-mouseup-waaaay-way-from-mousedown/289284 "2009-05-28T13:13:24Z")

</div>

I have a scroll bar. I want to program it so that if you mouse up anywhere that it stops. (Rather than having to mouse up directly over the scroll bar.) I remember there being a simple solution for this, but I don't re…

---

## [Can someone explain the disappearing swf?](https://forum.kirupa.com/t/can-someone-explain-the-disappearing-swf/289282)

<div class="topic-metadata">

**Author:** [@preciousroy](https://forum.kirupa.com/u/preciousroy)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 1:02pm UTC](https://forum.kirupa.com/t/can-someone-explain-the-disappearing-swf/289282 "2009-05-28T13:02:57Z")

</div>

I'm trying to call Lightbox with AS3. Actually I'm not trying, I've got it working. Found a great tutorial that walked through everything (here.... http://www.creativecompulsions.com/blog/2009/01/07/lightbox2-flash-as…

---

## [Flash sequencer / music app engine](https://forum.kirupa.com/t/flash-sequencer-music-app-engine/289280)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 12:56pm UTC](https://forum.kirupa.com/t/flash-sequencer-music-app-engine/289280 "2009-05-28T12:56:06Z")

</div>

Hi. I've been searching around for a sound engine or library that can handle playing sounds in sync. I know this is definitely possible in flash player 10 but I'm quite certain there are methods for doing it with earlier…

---

## [Changing colour of button movie clip child](https://forum.kirupa.com/t/changing-colour-of-button-movie-clip-child/289279)

<div class="topic-metadata">

**Author:** [@Buglish](https://forum.kirupa.com/u/Buglish)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 12:46pm UTC](https://forum.kirupa.com/t/changing-colour-of-button-movie-clip-child/289279 "2009-05-28T12:46:07Z")

</div>

Hi, I have a few buttons which I need to change the state colors using AS. I am able to change the whole button color but not the state object (converted to a movie clip). All the variables are dynamic and I have not b…

---

## [Accessing Class variables from loaded .swf](https://forum.kirupa.com/t/accessing-class-variables-from-loaded-swf/289278)

<div class="topic-metadata">

**Author:** [@screeg](https://forum.kirupa.com/u/screeg)\
**Replies:** 0\
**Last updated:** [May 28, 2009, 12:45pm UTC](https://forum.kirupa.com/t/accessing-class-variables-from-loaded-swf/289278 "2009-05-28T12:45:17Z")

</div>

O! forum gurus, hear my plea: I'm trying to recreate parts of a game I made in AS2.0 a couple of years ago. The first enemy unit .swf is loaded into the main file, into an MC called "enemies". The loader is called "en0…

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

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