# programming

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

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

**Page:** 580

---

## [My Pie slices are "bleeding" - lines too thick](https://forum.kirupa.com/t/my-pie-slices-are-bleeding-lines-too-thick/303688)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 25, 2010, 8:30am UTC](https://forum.kirupa.com/t/my-pie-slices-are-bleeding-lines-too-thick/303688 "2010-01-25T08:30:03Z")

</div>

See the attached screenshot for what is happening (which I knew is what would happen) When the line thickness get's thick, you start noticing that it overwrites the lines for the other slices. Here is what I \*\*could \*\*…

---

## [Socket problem](https://forum.kirupa.com/t/socket-problem/303687)

<div class="topic-metadata">

**Author:** [@grozavpaul](https://forum.kirupa.com/u/grozavpaul)\
**Replies:** 0\
**Last updated:** [January 25, 2010, 8:28am UTC](https://forum.kirupa.com/t/socket-problem/303687 "2010-01-25T08:28:17Z")

</div>

I am trying to connect to a server from a certain local port. Is this possible? As far as I know when i create a new connection i can specify the host and the port of the server that i am connecting to but the operating …

---

## [How to implement Video Streaming in Flash CS3](https://forum.kirupa.com/t/how-to-implement-video-streaming-in-flash-cs3/303685)

<div class="topic-metadata">

**Author:** [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Replies:** 0\
**Last updated:** [January 25, 2010, 7:01am UTC](https://forum.kirupa.com/t/how-to-implement-video-streaming-in-flash-cs3/303685 "2010-01-25T07:01:32Z")

</div>

Hello Friends, I need a small help on developing Video Streaming in flash cs3. I am loading an video(flv) file and controlling the video using Play/Pause/Stop..everything is working fine. Now i want to implement stre…

---

## [Simple Image/MovieClip Pannig in As3.0](https://forum.kirupa.com/t/simple-image-movieclip-pannig-in-as3-0/303684)

<div class="topic-metadata">

**Author:** [@tinkutr](https://forum.kirupa.com/u/tinkutr)\
**Replies:** 0\
**Last updated:** [January 25, 2010, 6:30am UTC](https://forum.kirupa.com/t/simple-image-movieclip-pannig-in-as3-0/303684 "2010-01-25T06:30:57Z")

</div>

Hi i made a simple version of image panning in as3 with TweenMax and can be downloaded from my blog. Its improved than my first post and is a solution for all who mailed me asking how to use it with masked image area.

---

## [Variable in URL](https://forum.kirupa.com/t/variable-in-url/303681)

<div class="topic-metadata">

**Author:** [@RageMcGyver](https://forum.kirupa.com/u/RageMcGyver)\
**Replies:** 0\
**Last updated:** [January 25, 2010, 5:28am UTC](https://forum.kirupa.com/t/variable-in-url/303681 "2010-01-25T05:28:45Z")

</div>

Hi is there a way to add a variable in a URL? like www.google.com/folder1/\*\*variablehere\*\*/image.jpg Also this variable is specified by a user. Thanks \[smile\]

---

## [Pen tool/ fill problems](https://forum.kirupa.com/t/pen-tool-fill-problems/303679)

<div class="topic-metadata">

**Author:** [@kimkong](https://forum.kirupa.com/u/kimkong)\
**Replies:** 0\
**Last updated:** [January 25, 2010, 4:15am UTC](https://forum.kirupa.com/t/pen-tool-fill-problems/303679 "2010-01-25T04:15:23Z")

</div>

Hi, I've been trying to learn flash and this site is VERY helpful! I just wanted to see if anyone could help me figure out how to figure out what I am doing wrong when i draw with the pen tool and can not put a fill in a…

---

## [RollOver and RollOut effect in buttons, with disable to false and keep state](https://forum.kirupa.com/t/rollover-and-rollout-effect-in-buttons-with-disable-to-false-and-keep-state/303674)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 10:54pm UTC](https://forum.kirupa.com/t/rollover-and-rollout-effect-in-buttons-with-disable-to-false-and-keep-state/303674 "2010-01-24T22:54:22Z")

</div>

I'm using the code bellow to change the color of button on rollover and rollout. Tried to disable the button using mouseEnabled = false, but when rollout, the button changes color, instead of keeping it's rollover state. …

---

## [Changing bitmap of an object](https://forum.kirupa.com/t/changing-bitmap-of-an-object/303672)

<div class="topic-metadata">

**Author:** [@jrjellybeans](https://forum.kirupa.com/u/jrjellybeans)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 10:21pm UTC](https://forum.kirupa.com/t/changing-bitmap-of-an-object/303672 "2010-01-24T22:21:25Z")

</div>

Hey all. I've got another simple question. I have a mc who's bitmap that is associated with him I want to change. To be specific, I have: Block\_0 mc = 20X20 square as it's image. Block\_1 mc = 80X80 square as it's …

---

## [Jigsaw Gone Awry](https://forum.kirupa.com/t/jigsaw-gone-awry/303667)

<div class="topic-metadata">

**Author:** [@AzzyDude24601](https://forum.kirupa.com/u/AzzyDude24601)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 8:47pm UTC](https://forum.kirupa.com/t/jigsaw-gone-awry/303667 "2010-01-24T20:47:37Z")

</div>

Hi People, new to the site. Trying to make a jigsaw in Flash CS4 for a project in college but running into trouble. My code in theory works find but for some reason things aren't doing what they're supposed to. Basica…

---

## [UILoader Help](https://forum.kirupa.com/t/uiloader-help/303666)

<div class="topic-metadata">

**Author:** [@tripicreative](https://forum.kirupa.com/u/tripicreative)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 8:44pm UTC](https://forum.kirupa.com/t/uiloader-help/303666 "2010-01-24T20:44:14Z")

</div>

I have a few different sections with images fading in with the UILoader with the code below. Everything appears fine on the surface. I click the button and a new image fades in with the loader. But if I click on a button…

---

## [AS3.0 help?](https://forum.kirupa.com/t/as3-0-help/303665)

<div class="topic-metadata">

**Author:** [@petersempire11](https://forum.kirupa.com/u/petersempire11)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 8:17pm UTC](https://forum.kirupa.com/t/as3-0-help/303665 "2010-01-24T20:17:37Z")

</div>

Hey so heres my coding: function setButton(mc:MovieClip, slide:int):void { mc.addEventListener(MouseEvent.CLICK, function() { showSlide(slide); } ); mc.buttonMode = true; } var tweenAlphaOut:Tween, tweenAlphaIn:Tween…

---

## [TextField with TextEvent.Link problem](https://forum.kirupa.com/t/textfield-with-textevent-link-problem/303663)

<div class="topic-metadata">

**Author:** [@Hungarian](https://forum.kirupa.com/u/Hungarian)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 7:18pm UTC](https://forum.kirupa.com/t/textfield-with-textevent-link-problem/303663 "2010-01-24T19:18:53Z")

</div>

Hey all, I have this code and the link works ok, except that when I have clicked it once and want to click the link again, it does not work. Only way to get it to work is to click two times, or click somewhere else in…

---

## [Control an object using the ComboBox](https://forum.kirupa.com/t/control-an-object-using-the-combobox/303659)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 5:49pm UTC](https://forum.kirupa.com/t/control-an-object-using-the-combobox/303659 "2010-01-24T17:49:48Z")

</div>

Hi, Can someone show me how can I changed the width and height of a rectangle using a comboBox? Thanks a lot!

---

## [Close a datagrid?](https://forum.kirupa.com/t/close-a-datagrid/303658)

<div class="topic-metadata">

**Author:** [@pavlis](https://forum.kirupa.com/u/pavlis)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 5:09pm UTC](https://forum.kirupa.com/t/close-a-datagrid/303658 "2010-01-24T17:09:34Z")

</div>

Can someone tell me how to close a datagrid? In my app the grid is generated dynamically when a frame is entered. When I leave that frame I need to be able to close the dg. I have not been able to figure out how to …

---

## [What's missing in the "Graphics" class?](https://forum.kirupa.com/t/whats-missing-in-the-graphics-class/303657)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 4:52pm UTC](https://forum.kirupa.com/t/whats-missing-in-the-graphics-class/303657 "2010-01-24T16:52:30Z")

</div>

I'm creating a little extension to the Graphics class with the following methods: \[LIST\] \[\*\]drawPieSlice() \[\*\]drawDoughnutSlice() \[/LIST\] I'll post the class in a bit. Since I'm already at it, I'd rather have more me…

---

## [Alpha tween problem](https://forum.kirupa.com/t/alpha-tween-problem/303656)

<div class="topic-metadata">

**Author:** [@Amiram](https://forum.kirupa.com/u/Amiram)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 1:17pm UTC](https://forum.kirupa.com/t/alpha-tween-problem/303656 "2010-01-24T13:17:30Z")

</div>

I have an ActionScript 2.0 project with a very simple timeline Alpha Tween ("Classic tween" in CS4) of a movie clip. I need to reposition the movie clip dynamically when the movie is launched, before the Tween is execute…

---

## [Recalling Session Variables throughout site](https://forum.kirupa.com/t/recalling-session-variables-throughout-site/303655)

<div class="topic-metadata">

**Author:** [@oddball](https://forum.kirupa.com/u/oddball)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 12:50pm UTC](https://forum.kirupa.com/t/recalling-session-variables-throughout-site/303655 "2010-01-24T12:50:50Z")

</div>

Hey I cannot seem to recall my session variables throughout my site and i cannot see where i am going wrong. I have variables in my flash file which i have posted into my 'info.php' all working fine, i declare the po…

---

## [Shooting a basketball](https://forum.kirupa.com/t/shooting-a-basketball/303654)

<div class="topic-metadata">

**Author:** [@toonamisaki](https://forum.kirupa.com/u/toonamisaki)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 12:31pm UTC](https://forum.kirupa.com/t/shooting-a-basketball/303654 "2010-01-24T12:31:05Z")

</div>

Hi i've been working on this project for a while now and can't get it right. :ko: I'm working on a basketball game here and I wanted to know how to make it so when the player press and hold the A key the player shows a s…

---

## [Custom cursor question](https://forum.kirupa.com/t/custom-cursor-question/303652)

<div class="topic-metadata">

**Author:** [@luoruize](https://forum.kirupa.com/u/luoruize)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 11:34am UTC](https://forum.kirupa.com/t/custom-cursor-question/303652 "2010-01-24T11:34:22Z")

</div>

Hey guys, I tried to create a custom cursor using the following code: Mouse.hide(); stage.addEventListener(MouseEvent.MOUSE\_MOVE,followCursor); function followCursor(e:MouseEvent):void { mouseCursor.x = stage.mous…

---

## [\[AS2\] Turn-Based Enemy Ai](https://forum.kirupa.com/t/as2-turn-based-enemy-ai/303650)

<div class="topic-metadata">

**Author:** [@Jephz](https://forum.kirupa.com/u/Jephz)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 9:29am UTC](https://forum.kirupa.com/t/as2-turn-based-enemy-ai/303650 "2010-01-24T09:29:23Z")

</div>

Hey guys, its been awhile. I would like to ask for some help regarding simplifying my code here. I'm currently programming a turn-based game, and am trying to get into a more intermediate level of enemy Ai. case\[COLO…

---

## [ActionScript using buttons to open HTML](https://forum.kirupa.com/t/actionscript-using-buttons-to-open-html/303648)

<div class="topic-metadata">

**Author:** [@tyoelin](https://forum.kirupa.com/u/tyoelin)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 9:03am UTC](https://forum.kirupa.com/t/actionscript-using-buttons-to-open-html/303648 "2010-01-24T09:03:26Z")

</div>

please delete post, sorry double post

---

## [How to crash someone's browser?](https://forum.kirupa.com/t/how-to-crash-someones-browser/303647)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 8:40am UTC](https://forum.kirupa.com/t/how-to-crash-someones-browser/303647 "2010-01-24T08:40:55Z")

</div>

There's this Argentinian spammer that keeps on coming back to my site. He is smart enough to change his IP and come back to pollute my site. I wish to write malicious javascript to crash his browser. I am looking for the…

---

## [\[cs4\] Remove context menu from projector](https://forum.kirupa.com/t/cs4-remove-context-menu-from-projector/303644)

<div class="topic-metadata">

**Author:** [@flecko](https://forum.kirupa.com/u/flecko)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 8:01am UTC](https://forum.kirupa.com/t/cs4-remove-context-menu-from-projector/303644 "2010-01-24T08:01:59Z")

</div>

Hi, I was wondering if anybody has tried any of the software that's supposed to remove menus, context menus, etc. from a projector. Is any of it good? I know that targetting AIR does this stuff, but that seems to intro…

---

## [Navigate to url when entering a frame (no buttons)](https://forum.kirupa.com/t/navigate-to-url-when-entering-a-frame-no-buttons/303643)

<div class="topic-metadata">

**Author:** [@thevibe](https://forum.kirupa.com/u/thevibe)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 7:12am UTC](https://forum.kirupa.com/t/navigate-to-url-when-entering-a-frame-no-buttons/303643 "2010-01-24T07:12:08Z")

</div>

Hi guys, I have a flash movie with a kind of intro to enter the website. I need a script to navigate to a new url when the animation reach the frame 500. I don't have any buttons. I am saying that cause I already know …

---

## [How to make an object rotating?](https://forum.kirupa.com/t/how-to-make-an-object-rotating/303642)

<div class="topic-metadata">

**Author:** [@LearnerFlash](https://forum.kirupa.com/u/LearnerFlash)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 6:04am UTC](https://forum.kirupa.com/t/how-to-make-an-object-rotating/303642 "2010-01-24T06:04:11Z")

</div>

Dear Friends, I am using FLASH CS4 and would like to know how to rotate an object? Any help would be appreciated. Thanks.

---

## [How to make an object disappear?](https://forum.kirupa.com/t/how-to-make-an-object-disappear/303641)

<div class="topic-metadata">

**Author:** [@LearnerFlash](https://forum.kirupa.com/u/LearnerFlash)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 5:58am UTC](https://forum.kirupa.com/t/how-to-make-an-object-disappear/303641 "2010-01-24T05:58:22Z")

</div>

Dear Friends, I am a learner. I am using one object which animates from a corner and comes to the middle of the stage (Using Motion Tween for animation). What I need is when it comes to the middle of the stage it shoul…

---

## [Preloader can't locate file](https://forum.kirupa.com/t/preloader-cant-locate-file/303639)

<div class="topic-metadata">

**Author:** [@stokastic](https://forum.kirupa.com/u/stokastic)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 1:24am UTC](https://forum.kirupa.com/t/preloader-cant-locate-file/303639 "2010-01-24T01:24:14Z")

</div>

Hi, I’m in the process of migrating my 1st flash game from my PC to a web site. I have a preloader that will load a couple of .swf files to start but it stops when requesting the 1st URL. Here is my code: var l1:Load…

---

## [\[AS2\] Stage.width / height in Air 1.5](https://forum.kirupa.com/t/as2-stage-width-height-in-air-1-5/303637)

<div class="topic-metadata">

**Author:** [@flecko](https://forum.kirupa.com/u/flecko)\
**Replies:** 0\
**Last updated:** [January 24, 2010, 12:49am UTC](https://forum.kirupa.com/t/as2-stage-width-height-in-air-1-5/303637 "2010-01-24T00:49:52Z")

</div>

Hi, I'm trying to target Adobe Air in Flash CS4 for my AS2 project. I use Stage.width / Stage.height to determine the bounds and it works find in the normal flash player, but in Air the values are undefined. I couldn't…

---

## [Dynamicly added movieclip from library tween problem](https://forum.kirupa.com/t/dynamicly-added-movieclip-from-library-tween-problem/303635)

<div class="topic-metadata">

**Author:** [@vertex\_jm](https://forum.kirupa.com/u/vertex_jm)\
**Replies:** 0\
**Last updated:** [January 23, 2010, 10:50pm UTC](https://forum.kirupa.com/t/dynamicly-added-movieclip-from-library-tween-problem/303635 "2010-01-23T22:50:18Z")

</div>

Dynamicly added movieclip from library tween problem Hi, I'm having trouble with tweening (with TweenMax) movieclips added dynamically in a for loop. The targeting works fine but the tweens are just not happening. \[…

---

## [Flash CS4 detects keystrokes while testing project](https://forum.kirupa.com/t/flash-cs4-detects-keystrokes-while-testing-project/303634)

<div class="topic-metadata">

**Author:** [@flecko](https://forum.kirupa.com/u/flecko)\
**Replies:** 0\
**Last updated:** [January 23, 2010, 9:38pm UTC](https://forum.kirupa.com/t/flash-cs4-detects-keystrokes-while-testing-project/303634 "2010-01-23T21:38:16Z")

</div>

Hi, when I test my project in flash CS4, both the flash player and the authoring tool detect my keystrokes. Is there a way to make the authoring tool ignore key input while testing a movie, since I really only intend th…

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

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