# programming

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

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

**Page:** 1242

---

## [Limit to length of lineTo?](https://forum.kirupa.com/t/limit-to-length-of-lineto/260214)

<div class="topic-metadata">

**Author:** [@bhob](https://forum.kirupa.com/u/bhob)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 3:28pm UTC](https://forum.kirupa.com/t/limit-to-length-of-lineto/260214 "2008-05-13T15:28:41Z")

</div>

The following is on an enterframe event: function drawLine(event:Event):void { rootNode.x -= 5; myLine.graphics.lineTo(lnX +=5,lnY-=adjY); } ..where myLine is contained in rootNode... the line is drawn to the…

---

## [Playing video from FMS in AS3 with NetConn/Stream classes](https://forum.kirupa.com/t/playing-video-from-fms-in-as3-with-netconn-stream-classes/260213)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 3:23pm UTC](https://forum.kirupa.com/t/playing-video-from-fms-in-as3-with-netconn-stream-classes/260213 "2008-05-13T15:23:58Z")

</div>

I know this should be very easy to find, but I can only find examples that use non-streaming files. Here is what I have: package { import flash.display.Sprite; import flash.events.NetStatusEvent; import …

---

## [Click to play video](https://forum.kirupa.com/t/click-to-play-video/260165)

<div class="topic-metadata">

**Author:** [@GiveMeCoffee](https://forum.kirupa.com/u/GiveMeCoffee)\
**Replies:** 3\
**Last updated:** [May 13, 2008, 2:57pm UTC](https://forum.kirupa.com/t/click-to-play-video/260165 "2008-05-13T14:57:11Z")

</div>

I'm trying to play an eternal .FLV file on a web page through .swf -- all is fine -- but can somebody point me in the right direction as to how I can make it appear without automatically playing and have it say "Click he…

---

## [FLVPlayback bufferTime + ready](https://forum.kirupa.com/t/flvplayback-buffertime-ready/260206)

<div class="topic-metadata">

**Author:** [@lixus](https://forum.kirupa.com/u/lixus)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 2:51pm UTC](https://forum.kirupa.com/t/flvplayback-buffertime-ready/260206 "2008-05-13T14:51:40Z")

</div>

Hi, I use the FLVPlayback Component in a project and i was wondering what bufferTime actually does. If autoPlay is true, the video starts playing after the bufferTime is reached. But i need autoPlay set to false... …

---

## [Flash Snow V.3 Help!](https://forum.kirupa.com/t/flash-snow-v-3-help/260104)

<div class="topic-metadata">

**Author:** [@zombiepower](https://forum.kirupa.com/u/zombiepower)\
**Replies:** 3\
**Last updated:** [May 13, 2008, 2:46pm UTC](https://forum.kirupa.com/t/flash-snow-v-3-help/260104 "2008-05-13T14:46:45Z")

</div>

I got the snow to work and its all grand, except how do you get it to stop?! Even when the movie gets to the end and restarts, the snow still falls! Any help would be greatly appreciated =D Thanks

---

## [IE6 anchor tag issue](https://forum.kirupa.com/t/ie6-anchor-tag-issue/260192)

<div class="topic-metadata">

**Author:** [@Navarone](https://forum.kirupa.com/u/Navarone)\
**Replies:** 2\
**Last updated:** [May 13, 2008, 2:22pm UTC](https://forum.kirupa.com/t/ie6-anchor-tag-issue/260192 "2008-05-13T14:22:44Z")

</div>

According to my client who is using IE6 my Back To Top anchors aren't working. There pretty simple html anchor links \<a name="top"\>\</a\> \<a href=#top"\>Back To Top\</a\> The page is located here http://dev-westfield.vir…

---

## [Flash form and echo from the php](https://forum.kirupa.com/t/flash-form-and-echo-from-the-php/260173)

<div class="topic-metadata">

**Author:** [@brian914](https://forum.kirupa.com/u/brian914)\
**Replies:** 2\
**Last updated:** [May 13, 2008, 1:43pm UTC](https://forum.kirupa.com/t/flash-form-and-echo-from-the-php/260173 "2008-05-13T13:43:34Z")

</div>

I am trying to make this form work, but I think I am just missing a little bit. I have the following AS: var send\_lv = new LoadVars(); var result\_lv:LoadVars = new LoadVars(); result\_lv.onLoad = function(success:Boole…

---

## [Webcam - Mac](https://forum.kirupa.com/t/webcam-mac/260162)

<div class="topic-metadata">

**Author:** [@ltwilley1](https://forum.kirupa.com/u/ltwilley1)\
**Replies:** 2\
**Last updated:** [May 13, 2008, 1:22pm UTC](https://forum.kirupa.com/t/webcam-mac/260162 "2008-05-13T13:22:01Z")

</div>

Why can't I view anything from my webcam for any Flash applications that use Camera.get(). I use a Mac Intel Laptop and have Flash 9.0. I can't figure out why my built-in webcam won't turn on for the Flash.

---

## [Help in getting the movie to loop](https://forum.kirupa.com/t/help-in-getting-the-movie-to-loop/260196)

<div class="topic-metadata">

**Author:** [@cruisar](https://forum.kirupa.com/u/cruisar)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 1:21pm UTC](https://forum.kirupa.com/t/help-in-getting-the-movie-to-loop/260196 "2008-05-13T13:21:39Z")

</div>

HI, I have editied a an xml gallery from Kirupa turoials, here is the link (http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm) I have removed the buttons and used a set interval instead so the pictures …

---

## [Basics of classes](https://forum.kirupa.com/t/basics-of-classes/260190)

<div class="topic-metadata">

**Author:** [@SasuS](https://forum.kirupa.com/u/SasuS)\
**Replies:** 4\
**Last updated:** [May 13, 2008, 1:17pm UTC](https://forum.kirupa.com/t/basics-of-classes/260190 "2008-05-13T13:17:28Z")

</div>

I'm trying to figure out how to stop an external child swf from streaming. How ever it seems I'm not understanding the custom classes at all. I tried to have a simple Hello world application made, but it gives me this er…

---

## [Help with math and hittest](https://forum.kirupa.com/t/help-with-math-and-hittest/260103)

<div class="topic-metadata">

**Author:** [@hapimp](https://forum.kirupa.com/u/hapimp)\
**Replies:** 6\
**Last updated:** [May 13, 2008, 12:51pm UTC](https://forum.kirupa.com/t/help-with-math-and-hittest/260103 "2008-05-13T12:51:53Z")

</div>

Hi All Im doing a project for uni, and im stuck. I have a little experience with AS3, but not enough to figure this out myself. My task is to get some circles to move randomly within a certain area. Im imagining using m…

---

## [Dynamic Textfield problem in MC](https://forum.kirupa.com/t/dynamic-textfield-problem-in-mc/260101)

<div class="topic-metadata">

**Author:** [@bardic](https://forum.kirupa.com/u/bardic)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 12:27pm UTC](https://forum.kirupa.com/t/dynamic-textfield-problem-in-mc/260101 "2008-05-13T12:27:33Z")

</div>

Ok, this is a rather odd issue. I have a movieclip that is two frames. On the first keyframe is a dynamic textfield. On the second keyframe is the same textfield, just moved off stage. Now, I assign text to the first…

---

## [interpolateColor](https://forum.kirupa.com/t/interpolatecolor/260185)

<div class="topic-metadata">

**Author:** [@RebuiltJorge](https://forum.kirupa.com/u/RebuiltJorge)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 12:23pm UTC](https://forum.kirupa.com/t/interpolatecolor/260185 "2008-05-13T12:23:13Z")

</div>

Can anyone show me how to properly use this function, Adobe reference manual is completely useless because it doesn't show any examples

---

## [Ordering images with xml tags?](https://forum.kirupa.com/t/ordering-images-with-xml-tags/260193)

<div class="topic-metadata">

**Author:** [@tommiwalsh](https://forum.kirupa.com/u/tommiwalsh)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 12:18pm UTC](https://forum.kirupa.com/t/ordering-images-with-xml-tags/260193 "2008-05-13T12:18:00Z")

</div>

Hi, I have a Flash/XML image gallery that works fine, and you click through and it goes down the images until they're finished. The only problem is that now I want to be able to set the order the images show up in my x…

---

## [CSS formatted Dynamic Text](https://forum.kirupa.com/t/css-formatted-dynamic-text/260191)

<div class="topic-metadata">

**Author:** [@etienne\_64](https://forum.kirupa.com/u/etienne_64)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 12:15pm UTC](https://forum.kirupa.com/t/css-formatted-dynamic-text/260191 "2008-05-13T12:15:54Z")

</div>

Wsup. First time, first thread. I have a movie(let's call it \[COLOR=Blue\]movie B\[/COLOR\]) with a dynamic text box. I'm formatting the text with an external css file. It all works fine until I load \[COLOR=Blue\]movie B\[/CO…

---

## [Changing image direction in easing](https://forum.kirupa.com/t/changing-image-direction-in-easing/260183)

<div class="topic-metadata">

**Author:** [@Natushi12](https://forum.kirupa.com/u/Natushi12)\
**Replies:** 4\
**Last updated:** [May 13, 2008, 11:28am UTC](https://forum.kirupa.com/t/changing-image-direction-in-easing/260183 "2008-05-13T11:28:42Z")

</div>

Hey Everyone, I'm currently having problems finding anything thats helps me change the direction an image is facing depending on mouse moment. I've found stuff on rotation, but I want my image to flip so its facing the…

---

## [Flex Combobox question](https://forum.kirupa.com/t/flex-combobox-question/260187)

<div class="topic-metadata">

**Author:** [@Iamthejuggler](https://forum.kirupa.com/u/Iamthejuggler)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 10:29am UTC](https://forum.kirupa.com/t/flex-combobox-question/260187 "2008-05-13T10:29:49Z")

</div>

I am trying to create a custom combobox which needs styling and selectable/nonselectable options. i.e. the contents would be as follows: CHAPTER (bold and not selectable) contents(not bold, indented and selectable.) P…

---

## [Drop Down / Sub Menu with MC Buttons](https://forum.kirupa.com/t/drop-down-sub-menu-with-mc-buttons/253256)

<div class="topic-metadata">

**Author:** [@GiveMeCoffee](https://forum.kirupa.com/u/GiveMeCoffee)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 10:09am UTC](https://forum.kirupa.com/t/drop-down-sub-menu-with-mc-buttons/253256 "2008-05-13T10:09:10Z")

</div>

Is it possible to have a drop down or sub menu while using movie clips as the buttons? I have a Flash file with a movie clip that is supposed to act as the button. I say this because I created animated over and out state…

---

## [Listener VS. EventListener](https://forum.kirupa.com/t/listener-vs-eventlistener/185892)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 7\
**Last updated:** [May 13, 2008, 9:50am UTC](https://forum.kirupa.com/t/listener-vs-eventlistener/185892 "2008-05-13T09:50:19Z")

</div>

Hi Guys I was conducting some experioments on the Combo box component. So I was using addEventListener("change",myListener) and it was working fine, then I thought of trying addListener instead, but then it didn't w…

---

## [Flash 9 Decompiler](https://forum.kirupa.com/t/flash-9-decompiler/241577)

<div class="topic-metadata">

**Author:** [@GrndMasterFlash](https://forum.kirupa.com/u/GrndMasterFlash)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 9:40am UTC](https://forum.kirupa.com/t/flash-9-decompiler/241577 "2008-05-13T09:40:14Z")

</div>

anyone know if there is a decent decompiler for Flash 9 out yet?:look:

---

## [Flash 6 - Calling a function on an external swf timeline](https://forum.kirupa.com/t/flash-6-calling-a-function-on-an-external-swf-timeline/260098)

<div class="topic-metadata">

**Author:** [@kaylee](https://forum.kirupa.com/u/kaylee)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 9:15am UTC](https://forum.kirupa.com/t/flash-6-calling-a-function-on-an-external-swf-timeline/260098 "2008-05-13T09:15:04Z")

</div>

I've tried looking everywhere for this answer, but I'm still at a loss. I'm beginning to think it's not possible or I'm just not looking in the right places. I have three swf files. The main container and then two exte…

---

## [Getting max and min values in a bubblechart](https://forum.kirupa.com/t/getting-max-and-min-values-in-a-bubblechart/260181)

<div class="topic-metadata">

**Author:** [@derm116](https://forum.kirupa.com/u/derm116)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 9:05am UTC](https://forum.kirupa.com/t/getting-max-and-min-values-in-a-bubblechart/260181 "2008-05-13T09:05:00Z")

</div>

Hi all, I'm trying to add in navigation to a bubble chart! I've created a mouse scroller zoom function based on an example I found at \[COLOR=#800080\]http://www.quietlyscheming.com/blog/charts/interactive-bubble-chart…

---

## [How to download online Flash to my computer](https://forum.kirupa.com/t/how-to-download-online-flash-to-my-computer/258567)

<div class="topic-metadata">

**Author:** [@Betty0920](https://forum.kirupa.com/u/Betty0920)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 7:45am UTC](https://forum.kirupa.com/t/how-to-download-online-flash-to-my-computer/258567 "2008-05-13T07:45:27Z")

</div>

I love online videos very much. Anyone have any idea of downloading Flash to my computer, please help. Thank you.:}

---

## [How can I keep adding and removing the same content to container?](https://forum.kirupa.com/t/how-can-i-keep-adding-and-removing-the-same-content-to-container/260077)

<div class="topic-metadata">

**Author:** [@SasuS](https://forum.kirupa.com/u/SasuS)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 6:06am UTC](https://forum.kirupa.com/t/how-can-i-keep-adding-and-removing-the-same-content-to-container/260077 "2008-05-13T06:06:15Z")

</div>

Hello, I'm trying to make an order form that would be closed from a button. I know this is simple question, but how the odd thing is that when I press the close button named btn the first time everything works fine. The …

---

## [Flash dynamic scrollbar determined by browser width](https://forum.kirupa.com/t/flash-dynamic-scrollbar-determined-by-browser-width/260108)

<div class="topic-metadata">

**Author:** [@TomSaunders](https://forum.kirupa.com/u/TomSaunders)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 5:38am UTC](https://forum.kirupa.com/t/flash-dynamic-scrollbar-determined-by-browser-width/260108 "2008-05-13T05:38:20Z")

</div>

Hi everybody, I've been asked to recreate a scrolling panel in flash, very similar to the one on: www.un.titled.co.uk My client likes the way that whichever window width you choose, the panel re-adjusts itself. Can…

---

## [Categories/Sub Categories](https://forum.kirupa.com/t/categories-sub-categories/259969)

<div class="topic-metadata">

**Author:** [@Kay1021](https://forum.kirupa.com/u/Kay1021)\
**Replies:** 3\
**Last updated:** [May 13, 2008, 5:00am UTC](https://forum.kirupa.com/t/categories-sub-categories/259969 "2008-05-13T05:00:55Z")

</div>

I have a situation that I was wondering if someone might be able to walk me through...or help out I want the user to enter a postal code... then have the option of 11 main categories...roll over the category will revea…

---

## [Accessing object on stage from class](https://forum.kirupa.com/t/accessing-object-on-stage-from-class/260143)

<div class="topic-metadata">

**Author:** [@blackcoma](https://forum.kirupa.com/u/blackcoma)\
**Replies:** 3\
**Last updated:** [May 13, 2008, 4:16am UTC](https://forum.kirupa.com/t/accessing-object-on-stage-from-class/260143 "2008-05-13T04:16:15Z")

</div>

Hi, I'm creating a game and I want to test if an object (created by a class) hit the main character (created on the stage) I tried referencing the main character in the class (parent.main\_character), but it states that…

---

## [31 fps still optimum frame rate in AS3?](https://forum.kirupa.com/t/31-fps-still-optimum-frame-rate-in-as3/227389)

<div class="topic-metadata">

**Author:** [@jpixels](https://forum.kirupa.com/u/jpixels)\
**Replies:** 2\
**Last updated:** [May 13, 2008, 3:19am UTC](https://forum.kirupa.com/t/31-fps-still-optimum-frame-rate-in-as3/227389 "2008-05-13T03:19:12Z")

</div>

I know 31 or 33 frames per second was optimal for AS2 but is it faster in AS3? It seems you can get away with 60 fps everything is smooth

---

## [Art based movement 8 directions](https://forum.kirupa.com/t/art-based-movement-8-directions/260045)

<div class="topic-metadata">

**Author:** [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Replies:** 2\
**Last updated:** [May 13, 2008, 2:58am UTC](https://forum.kirupa.com/t/art-based-movement-8-directions/260045 "2008-05-13T02:58:51Z")

</div>

\[FIXED\] Thanks anyway guys, but I fixed it just then. Hey guys, It's been a long time since I've touched Flash in regards to gaming, but I've been wanting to get back in to the scene for a while now, and I started a li…

---

## [Swapping Multiple Object Depths](https://forum.kirupa.com/t/swapping-multiple-object-depths/260164)

<div class="topic-metadata">

**Author:** [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 2:28am UTC](https://forum.kirupa.com/t/swapping-multiple-object-depths/260164 "2008-05-13T02:28:36Z")

</div>

Solved I pretty much just assigned every object to have its \_y position as it's swap depth. There is a little more to it than that to ensure duplicate \_y values don't cause problems, but thats essentially what I did to…

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

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