# programming

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

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

**Page:** 337

---

## [Drupal programming](https://forum.kirupa.com/t/drupal-programming/318816)

<div class="topic-metadata">

**Author:** [@surf](https://forum.kirupa.com/u/surf)\
**Replies:** 0\
**Last updated:** [January 31, 2011, 2:49pm UTC](https://forum.kirupa.com/t/drupal-programming/318816 "2011-01-31T14:49:53Z")

</div>

Hi, how would i do the following using drupal 6 ? i want to allow a user to get a drop down list of make ie ford, bmw etc.. this will then let them choose a drop down list of make ie focus , escort etc.. this will th…

---

## [Concating a variable + Coercion error](https://forum.kirupa.com/t/concating-a-variable-coercion-error/318815)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [January 31, 2011, 2:37pm UTC](https://forum.kirupa.com/t/concating-a-variable-coercion-error/318815 "2011-01-31T14:37:05Z")

</div>

I'm trying to form an instance name dynamically. var a:Array=\[\]; a=targetName.split("\_"); turntoID = a\[0\]+1; var popup = stage.addChild(\["popUpMessage"+turntoID\]); But I get this error: 1067: Impl…

---

## [Drag and drop mask](https://forum.kirupa.com/t/drag-and-drop-mask/318813)

<div class="topic-metadata">

**Author:** [@svimp](https://forum.kirupa.com/u/svimp)\
**Replies:** 0\
**Last updated:** [January 31, 2011, 1:43pm UTC](https://forum.kirupa.com/t/drag-and-drop-mask/318813 "2011-01-31T13:43:32Z")

</div>

Hello , what am i doing wrong , Wen i drag mc2 i want mc1 drag in the same time. Please help me with this.Thanks.

---

## [Drag and drop multiple mc\`s](https://forum.kirupa.com/t/drag-and-drop-multiple-mc-s/318812)

<div class="topic-metadata">

**Author:** [@svimp](https://forum.kirupa.com/u/svimp)\
**Replies:** 0\
**Last updated:** [January 31, 2011, 1:28pm UTC](https://forum.kirupa.com/t/drag-and-drop-multiple-mc-s/318812 "2011-01-31T13:28:56Z")

</div>

Hello! I want to make an animation like this: when i drag "mc1" in the same time drag "mc2" what is the code for this ? thanks.

---

## [How to set graphics priorities...?](https://forum.kirupa.com/t/how-to-set-graphics-priorities/318811)

<div class="topic-metadata">

**Author:** [@takearushfan](https://forum.kirupa.com/u/takearushfan)\
**Replies:** 0\
**Last updated:** [January 31, 2011, 1:15pm UTC](https://forum.kirupa.com/t/how-to-set-graphics-priorities/318811 "2011-01-31T13:15:09Z")

</div>

Hi all, I scoured Google and this forum and couldn't find a hint of what I'm referring to, hence my asking in a thread. The only references I could find anywhere referred to "priorities" as pertaining to event lis…

---

## [Pixelate Script Code](https://forum.kirupa.com/t/pixelate-script-code/318807)

<div class="topic-metadata">

**Author:** [@svimp](https://forum.kirupa.com/u/svimp)\
**Replies:** 0\
**Last updated:** [January 31, 2011, 12:21pm UTC](https://forum.kirupa.com/t/pixelate-script-code/318807 "2011-01-31T12:21:00Z")

</div>

Hello , is there any script to get a pixelate effect for a picture in flash , example. http://www.flashcomponents.net/component/pixelate\_button\_\_movieclip.html?ref=FlashStore Thanks

---

## [Dynamic Pie Chart](https://forum.kirupa.com/t/dynamic-pie-chart/318806)

<div class="topic-metadata">

**Author:** [@GKF](https://forum.kirupa.com/u/GKF)\
**Replies:** 0\
**Last updated:** [January 31, 2011, 12:15pm UTC](https://forum.kirupa.com/t/dynamic-pie-chart/318806 "2011-01-31T12:15:57Z")

</div>

\[FONT=Calibri\]\[INDENT\] Hi, I’m having a problem creating a slice of a pie chart. The slices are accurate up to 90 deg,. I can’t get both sides of the triangle to draw from the centre to the circumference. …

---

## [Repulsion](https://forum.kirupa.com/t/repulsion/318805)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [January 31, 2011, 10:36am UTC](https://forum.kirupa.com/t/repulsion/318805 "2011-01-31T10:36:22Z")

</div>

Hey, I'm in the making of something very similar to this: http://wonder-wall.com/#project/en Now I'm kind of stuck with the repulsion part, My math-skills aren't enough to achieve the exact result I want to achieve. W…

---

## [Camera not working in Projector Files?](https://forum.kirupa.com/t/camera-not-working-in-projector-files/318804)

<div class="topic-metadata">

**Author:** [@harryvermeulen](https://forum.kirupa.com/u/harryvermeulen)\
**Replies:** 0\
**Last updated:** [January 31, 2011, 9:28am UTC](https://forum.kirupa.com/t/camera-not-working-in-projector-files/318804 "2011-01-31T09:28:35Z")

</div>

Hello, I've written quite a bit of code around flash's webcam and just found out it doesn't work in the projector files (standalone .exe or .app files). I figure it's a security issue? The security panel asking for acc…

---

## [Eclipse for FLEX development](https://forum.kirupa.com/t/eclipse-for-flex-development/318803)

<div class="topic-metadata">

**Author:** [@nitinmukesh](https://forum.kirupa.com/u/nitinmukesh)\
**Replies:** 0\
**Last updated:** [January 31, 2011, 8:15am UTC](https://forum.kirupa.com/t/eclipse-for-flex-development/318803 "2011-01-31T08:15:35Z")

</div>

Hi, I want to use Eclipse for FLEX development. On Eclipse download site there are quite many versions available and I am not sure which one to download and use. http://www.eclipse.org/downloads/ Is there any artic…

---

## [Looking for an xml tutorial](https://forum.kirupa.com/t/looking-for-an-xml-tutorial/318801)

<div class="topic-metadata">

**Author:** [@JamminBill](https://forum.kirupa.com/u/JamminBill)\
**Replies:** 0\
**Last updated:** [January 31, 2011, 5:20am UTC](https://forum.kirupa.com/t/looking-for-an-xml-tutorial/318801 "2011-01-31T05:20:52Z")

</div>

I have a good bit of experience loading data INTO Flash with xml, but for the first time i am confronted with the need to SEND data to an xml file. I have NO idea how this is done, but what I need to send is pretty simpl…

---

## [Radio Button error](https://forum.kirupa.com/t/radio-button-error/318799)

<div class="topic-metadata">

**Author:** [@danial\_st](https://forum.kirupa.com/u/danial_st)\
**Replies:** 0\
**Last updated:** [January 31, 2011, 4:43am UTC](https://forum.kirupa.com/t/radio-button-error/318799 "2011-01-31T04:43:52Z")

</div>

Hi everybody When I set the Selected property of radiobutton to true then it's not selected when i run it for example i have a radiobutton with name Rc1 and in frame 1 i have thi script Rc1.selected = true but when i r…

---

## [Please help! Swf loads into MC using Chro/IE but not in FF/Opera (File attached)](https://forum.kirupa.com/t/please-help-swf-loads-into-mc-using-chro-ie-but-not-in-ff-opera-file-attached/318797)

<div class="topic-metadata">

**Author:** [@i2000](https://forum.kirupa.com/u/i2000)\
**Replies:** 0\
**Last updated:** [January 31, 2011, 2:23am UTC](https://forum.kirupa.com/t/please-help-swf-loads-into-mc-using-chro-ie-but-not-in-ff-opera-file-attached/318797 "2011-01-31T02:23:34Z")

</div>

Please take a look at the attached folder to make sense of what I am will type now. (1.6Mb only) http://www.mediafire.com/?tsb3bdb950crbp7 Enclosed is a test zip folder called "trouble\_test.zip". Inside there is…

---

## [External image display AS3](https://forum.kirupa.com/t/external-image-display-as3/318794)

<div class="topic-metadata">

**Author:** [@MrWandeva](https://forum.kirupa.com/u/MrWandeva)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 8:40pm UTC](https://forum.kirupa.com/t/external-image-display-as3/318794 "2011-01-30T20:40:44Z")

</div>

Hello, I am having a bit of difficulty with what I thought would be a simple animation, I have spent an embarrassingly long time on this and gone through several versions of the implementation, the most successful one be…

---

## [If you were being shot out of a cannon](https://forum.kirupa.com/t/if-you-were-being-shot-out-of-a-cannon/318793)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 8:29pm UTC](https://forum.kirupa.com/t/if-you-were-being-shot-out-of-a-cannon/318793 "2011-01-30T20:29:57Z")

</div>

Hi all I have seen plenty of tutes that deal with gravity, & bounce of falling objects like balls, but what if you were attempting to depict a woman being shot out of a cannon as apparently was popular in the circus of…

---

## [CS4 AS2 Help needed!](https://forum.kirupa.com/t/cs4-as2-help-needed/318792)

<div class="topic-metadata">

**Author:** [@lgreenwald](https://forum.kirupa.com/u/lgreenwald)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 8:26pm UTC](https://forum.kirupa.com/t/cs4-as2-help-needed/318792 "2011-01-30T20:26:32Z")

</div>

Hi there! I'm using the following bit of AS2 on a couple of mc's of my project so I would like to use the specific instance name in this: onClipEvent(enterFrame){ this.x = this.x + (root.intSlideToX - this.x ) /5; th…

---

## [as3 Movieclip not going to selected frame: error](https://forum.kirupa.com/t/as3-movieclip-not-going-to-selected-frame-error/318789)

<div class="topic-metadata">

**Author:** [@samiflashflash](https://forum.kirupa.com/u/samiflashflash)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 6:17pm UTC](https://forum.kirupa.com/t/as3-movieclip-not-going-to-selected-frame-error/318789 "2011-01-30T18:17:01Z")

</div>

So in my game I have a ketchup button that when its click creats a ketchup movieclip that attaches to the cursor. What I want is for when you click on the buns with the ketchup cursor it goes to the frame within the buns…

---

## [Flash and mock-ups](https://forum.kirupa.com/t/flash-and-mock-ups/318788)

<div class="topic-metadata">

**Author:** [@h3d0](https://forum.kirupa.com/u/h3d0)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 3:15pm UTC](https://forum.kirupa.com/t/flash-and-mock-ups/318788 "2011-01-30T15:15:30Z")

</div>

Hello everyone, I believe most of you faced situations when client asked you to send him a mockup (of flash-website, application, etc.). But Flash in not a static page, you cannot just draw a couple of pictures in Phot…

---

## [3D Tween rotation](https://forum.kirupa.com/t/3d-tween-rotation/318786)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 1:34pm UTC](https://forum.kirupa.com/t/3d-tween-rotation/318786 "2011-01-30T13:34:32Z")

</div>

I'm currently posting about a related problem but thought I'd start a new thread as its a standalone problem. If I'm incrementally increasing the rotationY property to rotate an object about its Z axis - can I use a Tw…

---

## [Problems removing an event listener](https://forum.kirupa.com/t/problems-removing-an-event-listener/318784)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 12:36pm UTC](https://forum.kirupa.com/t/problems-removing-an-event-listener/318784 "2011-01-30T12:36:37Z")

</div>

I have an on enter frame listener defined in a function: function sideClicked(e:MouseEvent):void { removeEventListener(Event.ENTER\_FRAME, loop); var targetName=e.target.name; var a:Array=\[\]; a=targetName.split(…

---

## [AS3 Variable doubling](https://forum.kirupa.com/t/as3-variable-doubling/318783)

<div class="topic-metadata">

**Author:** [@mvrb](https://forum.kirupa.com/u/mvrb)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 10:39am UTC](https://forum.kirupa.com/t/as3-variable-doubling/318783 "2011-01-30T10:39:53Z")

</div>

Hey everyone, I've written a code for my shop in my game. But every time I buy an item, the price doubles. I'm using this code: http://pastebin.com/YKjxYVqP Is there a way to solve this? I think it's because I call t…

---

## [Need Some Help with attachMovie](https://forum.kirupa.com/t/need-some-help-with-attachmovie/318782)

<div class="topic-metadata">

**Author:** [@Kentus](https://forum.kirupa.com/u/Kentus)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 9:46am UTC](https://forum.kirupa.com/t/need-some-help-with-attachmovie/318782 "2011-01-30T09:46:12Z")

</div>

I try to make an old shooter game and i have this problem: This is the code in Flash Cs3 AS2: if(Key.isDown(Key.SPACE)){ {i++; if(pozition=="right"){ root.attachMovie("glont","glont"+i,root.getNextHighestDepth()); …

---

## [Creating a circle with ticks around it](https://forum.kirupa.com/t/creating-a-circle-with-ticks-around-it/318781)

<div class="topic-metadata">

**Author:** [@Zoltar26](https://forum.kirupa.com/u/Zoltar26)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 8:53am UTC](https://forum.kirupa.com/t/creating-a-circle-with-ticks-around-it/318781 "2011-01-30T08:53:58Z")

</div>

Hi, I've created a circle and I need to draw equal separated ticks along it, you know like in a humanscale analogue machine. How do i do this ? Thanks in advance.

---

## [hitTestPoint Help](https://forum.kirupa.com/t/hittestpoint-help/318779)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 8:07am UTC](https://forum.kirupa.com/t/hittestpoint-help/318779 "2011-01-30T08:07:04Z")

</div>

I'm trying to set up a collision so that when a bullet hits a wall it is destroyed. Here is the snippet of code I am using: while (\_root.newWall.hitTestPoint(x, y+radius, true)) { y-=Math.sin(angle); deleteMe=true; } …

---

## [Output window not scrolling](https://forum.kirupa.com/t/output-window-not-scrolling/318778)

<div class="topic-metadata">

**Author:** [@carrot](https://forum.kirupa.com/u/carrot)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 7:40am UTC](https://forum.kirupa.com/t/output-window-not-scrolling/318778 "2011-01-30T07:40:56Z")

</div>

Hi again. I've just installed CS5 on a new laptop using Windows 7. I was running it before on my Windows Vista machine and CS3 on that same machine before that with no problems. However on this install, the 'Output' …

---

## [Why Dose video stop when I click another Button](https://forum.kirupa.com/t/why-dose-video-stop-when-i-click-another-button/318772)

<div class="topic-metadata">

**Author:** [@daragh\_c](https://forum.kirupa.com/u/daragh_c)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 2:01am UTC](https://forum.kirupa.com/t/why-dose-video-stop-when-i-click-another-button/318772 "2011-01-30T02:01:02Z")

</div>

Hi Guys, I have the following code which loads a file from the FLASH MEDIA SERVER. (See below) When I click on the playVid the video plays perfectly. The FMSConnection is an external AS3 file. The problem is that when …

---

## [Speeding up performance](https://forum.kirupa.com/t/speeding-up-performance/318771)

<div class="topic-metadata">

**Author:** [@WhiteyMcWhite](https://forum.kirupa.com/u/WhiteyMcWhite)\
**Replies:** 0\
**Last updated:** [January 30, 2011, 1:55am UTC](https://forum.kirupa.com/t/speeding-up-performance/318771 "2011-01-30T01:55:35Z")

</div>

In my quest for squeezing as much performance out of flash as I possibly can, besides common speedy AS3 practices and smart programming, I'm looking into lower level speed boosts (as I'm hitting the limit with higher lev…

---

## [Questions about using OOP Classes Inheritence](https://forum.kirupa.com/t/questions-about-using-oop-classes-inheritence/318769)

<div class="topic-metadata">

**Author:** [@legend\_tisman](https://forum.kirupa.com/u/legend_tisman)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 11:10pm UTC](https://forum.kirupa.com/t/questions-about-using-oop-classes-inheritence/318769 "2011-01-29T23:10:47Z")

</div>

PROBLEM SOLVED! THANK YOU: brart, TheCanadian, Krilnon Intro.(Thank You) Hello, thank you for taking the time to read this. I really appreciate you taking the time to try to assist me. I'm new to the forum and somewhat…

---

## [Can you pass args with events easily?](https://forum.kirupa.com/t/can-you-pass-args-with-events-easily/318767)

<div class="topic-metadata">

**Author:** [@megshea](https://forum.kirupa.com/u/megshea)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 10:04pm UTC](https://forum.kirupa.com/t/can-you-pass-args-with-events-easily/318767 "2011-01-29T22:04:36Z")

</div>

Hi, I would liek to use this code to load and display images within 4 movie clips. But it looks like this fires off an event for "imageLoaded" which means I can't specify which movieclip to use (in an arg). Is there …

---

## [Dynamic Text & Image Change?](https://forum.kirupa.com/t/dynamic-text-image-change/318766)

<div class="topic-metadata">

**Author:** [@exodia1010](https://forum.kirupa.com/u/exodia1010)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 10:01pm UTC](https://forum.kirupa.com/t/dynamic-text-image-change/318766 "2011-01-29T22:01:08Z")

</div>

My friend and I are in competition on who can make the most realistic Pokedex from Pokemon. He is using Javascript/HTML and I'm using Flash and embedding it into an HTML document. He has 36 weeks of work ahead of me (he …

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

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