# programming

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

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

**Page:** 180

---

## [UNION / GROUP BY question](https://forum.kirupa.com/t/union-group-by-question/327862)

<div class="topic-metadata">

**Author:** [@jasonhardwick](https://forum.kirupa.com/u/jasonhardwick)\
**Replies:** 0\
**Last updated:** [April 2, 2012, 10:25am UTC](https://forum.kirupa.com/t/union-group-by-question/327862 "2012-04-02T10:25:41Z")

</div>

ok I've got a database that has 4 fields for salesperson and depending on your commission percentage you are slotted into one of these fields. Also i have 4 commission rate fields that are associated with the salesperson…

---

## [Creating a Percentage progress bar, with Day change?](https://forum.kirupa.com/t/creating-a-percentage-progress-bar-with-day-change/327857)

<div class="topic-metadata">

**Author:** [@helious](https://forum.kirupa.com/u/helious)\
**Replies:** 0\
**Last updated:** [April 2, 2012, 3:39am UTC](https://forum.kirupa.com/t/creating-a-percentage-progress-bar-with-day-change/327857 "2012-04-02T03:39:23Z")

</div>

I have a project portal for software development. To show my team, how far we are in development, i created a graphic showing a progress bar, and a percentage number. Every now an then, i open flash, and change the per…

---

## [Drag and Drops](https://forum.kirupa.com/t/drag-and-drops/327856)

<div class="topic-metadata">

**Author:** [@leeto](https://forum.kirupa.com/u/leeto)\
**Replies:** 0\
**Last updated:** [April 2, 2012, 2:56am UTC](https://forum.kirupa.com/t/drag-and-drops/327856 "2012-04-02T02:56:59Z")

</div>

I'm building a simple little drag and drop game and I'm having some troubles with the movie clips return to the original position. The user can drag a movie clip to a target, and it will show something in another movie …

---

## [External preloader +swf reloading Main swf - help](https://forum.kirupa.com/t/external-preloader-swf-reloading-main-swf-help/327855)

<div class="topic-metadata">

**Author:** [@MAGG0T](https://forum.kirupa.com/u/MAGG0T)\
**Replies:** 0\
**Last updated:** [April 1, 2012, 9:56pm UTC](https://forum.kirupa.com/t/external-preloader-swf-reloading-main-swf-help/327855 "2012-04-01T21:56:25Z")

</div>

I have an External Swf with its own Preloader that is loaded into my Main swf, It works fine when i am testing it in Macromedia Flash 8 However when i upload all of it to my site and i click the button that loads the Ext…

---

## [Tutorial: Preloading Images](https://forum.kirupa.com/t/tutorial-preloading-images/327852)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [April 1, 2012, 9:07pm UTC](https://forum.kirupa.com/t/tutorial-preloading-images/327852 "2012-04-01T21:07:25Z")

</div>

\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[FONT=Segoe UI\]Hi everyone,\[/FONT\]\[/COLOR\]\[/FONT\]\[/COLOR\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[FONT=Segoe UI\]This is the happeni…

---

## [Is there a way to control sound like this?](https://forum.kirupa.com/t/is-there-a-way-to-control-sound-like-this/327851)

<div class="topic-metadata">

**Author:** [@user\_undecided](https://forum.kirupa.com/u/user_undecided)\
**Replies:** 0\
**Last updated:** [April 1, 2012, 4:08pm UTC](https://forum.kirupa.com/t/is-there-a-way-to-control-sound-like-this/327851 "2012-04-01T16:08:30Z")

</div>

\[video=youtube\_share;WyYoyvNfuTI\]http://youtu.be/WyYoyvNfuTI?t=45s\[/video\] What I'm looking to do is make a virtual siren controller just like this one. What I was curious about, is if there's a way to control the sire…

---

## [Help with Combobox selections in AS 2](https://forum.kirupa.com/t/help-with-combobox-selections-in-as-2/327850)

<div class="topic-metadata">

**Author:** [@jatintalwar](https://forum.kirupa.com/u/jatintalwar)\
**Replies:** 0\
**Last updated:** [April 1, 2012, 1:31pm UTC](https://forum.kirupa.com/t/help-with-combobox-selections-in-as-2/327850 "2012-04-01T13:31:56Z")

</div>

Guys Had been working around with a combobox for setting the delaytime of my image slideshow . I had been trying this code : my\_cb.addItem({data:2, label:"Delay"}); my\_cb.addItem({data:4, label:"4 Seconds"}); my\_cb.…

---

## [Page Layout Suggestions](https://forum.kirupa.com/t/page-layout-suggestions/327848)

<div class="topic-metadata">

**Author:** [@erebel55](https://forum.kirupa.com/u/erebel55)\
**Replies:** 0\
**Last updated:** [March 31, 2012, 10:37pm UTC](https://forum.kirupa.com/t/page-layout-suggestions/327848 "2012-03-31T22:37:33Z")

</div>

Hey, I'm new to this forum and am looking for some suggestions on how to make my page's layout better. I'm working on a page to display an svg of a visio type digram (with lots of boxes and arrows) that can be zoomed o…

---

## [Internet Explorer /FP10 draggables are splitting into pieces](https://forum.kirupa.com/t/internet-explorer-fp10-draggables-are-splitting-into-pieces/327845)

<div class="topic-metadata">

**Author:** [@tugboat](https://forum.kirupa.com/u/tugboat)\
**Replies:** 0\
**Last updated:** [March 31, 2012, 8:00pm UTC](https://forum.kirupa.com/t/internet-explorer-fp10-draggables-are-splitting-into-pieces/327845 "2012-03-31T20:00:10Z")

</div>

Hola! I'm making a simple drag and drop game, but the strangest thing is happening on IE with FP10: the sub-assets of the draggables shift their positions when the parent is dragged quickly. The mouseChildren of the…

---

## [Need help convert reverse mc function as2 to as3](https://forum.kirupa.com/t/need-help-convert-reverse-mc-function-as2-to-as3/327841)

<div class="topic-metadata">

**Author:** [@mi3kel](https://forum.kirupa.com/u/mi3kel)\
**Replies:** 0\
**Last updated:** [March 31, 2012, 8:20am UTC](https://forum.kirupa.com/t/need-help-convert-reverse-mc-function-as2-to-as3/327841 "2012-03-31T08:20:27Z")

</div>

I need to convert reverseMask function to as3 cause my component need as3.. this as2 script run perfectly function reverseMask(mc) { mc.createEmptyMovieClip("frameControler", 123); mc.frameControler.onEnterFra…

---

## [Is there a way to optimise this code?](https://forum.kirupa.com/t/is-there-a-way-to-optimise-this-code/327840)

<div class="topic-metadata">

**Author:** [@Reinhardt](https://forum.kirupa.com/u/Reinhardt)\
**Replies:** 0\
**Last updated:** [March 31, 2012, 7:10am UTC](https://forum.kirupa.com/t/is-there-a-way-to-optimise-this-code/327840 "2012-03-31T07:10:24Z")

</div>

Is there a way to optimise this code into something more compact? This is for an interactive map that im busy with, and there is still a lot of coding left to do! The instance loc\_dot is a mc with a pulsing circle th…

---

## [AS3: Match the following not swapping correctly](https://forum.kirupa.com/t/as3-match-the-following-not-swapping-correctly/327839)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [March 31, 2012, 5:28am UTC](https://forum.kirupa.com/t/as3-match-the-following-not-swapping-correctly/327839 "2012-03-31T05:28:08Z")

</div>

hello Everybody, I am trying to create match the following pairs in flash where you drag an element upon its correct pair & drop it.Each element has its own unique coordinates at start. Now, here is what i m trying to d…

---

## [Free Flash Template from Flash Village Very Hard to Find](https://forum.kirupa.com/t/free-flash-template-from-flash-village-very-hard-to-find/327838)

<div class="topic-metadata">

**Author:** [@hsdesign](https://forum.kirupa.com/u/hsdesign)\
**Replies:** 0\
**Last updated:** [March 31, 2012, 2:01am UTC](https://forum.kirupa.com/t/free-flash-template-from-flash-village-very-hard-to-find/327838 "2012-03-31T02:01:10Z")

</div>

8 flash template download....:D http://iwantmygraphicsblog.blogspot.com/2012/03/free-flash-template-from-flash-village.html

---

## [Upload image to Facebook](https://forum.kirupa.com/t/upload-image-to-facebook/327835)

<div class="topic-metadata">

**Author:** [@tstefan](https://forum.kirupa.com/u/tstefan)\
**Replies:** 0\
**Last updated:** [March 30, 2012, 7:34pm UTC](https://forum.kirupa.com/t/upload-image-to-facebook/327835 "2012-03-30T19:34:14Z")

</div>

Hello, Iam trying tu upload image to facebook but it just dont work, doe's someone knows relaiable and working example, because everythig I use it don't work. //Facebook API private function handleInit(response:Ob…

---

## [A collision detection question](https://forum.kirupa.com/t/a-collision-detection-question/327834)

<div class="topic-metadata">

**Author:** [@greaneagle](https://forum.kirupa.com/u/greaneagle)\
**Replies:** 0\
**Last updated:** [March 30, 2012, 7:32pm UTC](https://forum.kirupa.com/t/a-collision-detection-question/327834 "2012-03-30T19:32:51Z")

</div>

Hello! I'm making a game and have en\*\*\*\*erd a problem. I searched on the web but I didnt find nothing that could help me, so im asking for help here. (If you found somthing just send me a link and I will be very happy :D…

---

## [Trying to make scoring for my game work but having trouble](https://forum.kirupa.com/t/trying-to-make-scoring-for-my-game-work-but-having-trouble/327832)

<div class="topic-metadata">

**Author:** [@JaymsWisdom](https://forum.kirupa.com/u/JaymsWisdom)\
**Replies:** 0\
**Last updated:** [March 30, 2012, 6:07pm UTC](https://forum.kirupa.com/t/trying-to-make-scoring-for-my-game-work-but-having-trouble/327832 "2012-03-30T18:07:36Z")

</div>

Hiya guys I'm trying to add a scoring element to the game I have been teaching a bunch of kids to make over the last few weeks. I've created a variable called score which is set to 0 and a second variable that is equal…

---

## [Object Coodinates](https://forum.kirupa.com/t/object-coodinates/327831)

<div class="topic-metadata">

**Author:** [@anakadote](https://forum.kirupa.com/u/anakadote)\
**Replies:** 0\
**Last updated:** [March 30, 2012, 5:17pm UTC](https://forum.kirupa.com/t/object-coodinates/327831 "2012-03-30T17:17:38Z")

</div>

Is there a way to get the coordinates of the upper-left point of the area that a rotated object occupies? Using the x and y properties of an object give you the coordinates of the actual corner of the object. (See the at…

---

## [(CS5 - AS3) Play MC on AddChild](https://forum.kirupa.com/t/cs5-as3-play-mc-on-addchild/327827)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [March 30, 2012, 1:51pm UTC](https://forum.kirupa.com/t/cs5-as3-play-mc-on-addchild/327827 "2012-03-30T13:51:13Z")

</div>

Hello, I'm making a Flash site. Right now I'm trying to add a MovieClip from the library to the stage via AS3, and have the MovieClip play its frame one. At the end of this MovieClip I have a stop();. When I click on t…

---

## [External Drag and Drop - Target not detected on main Swf](https://forum.kirupa.com/t/external-drag-and-drop-target-not-detected-on-main-swf/327825)

<div class="topic-metadata">

**Author:** [@MAGG0T](https://forum.kirupa.com/u/MAGG0T)\
**Replies:** 0\
**Last updated:** [March 30, 2012, 1:15pm UTC](https://forum.kirupa.com/t/external-drag-and-drop-target-not-detected-on-main-swf/327825 "2012-03-30T13:15:20Z")

</div>

Im trying to load my external swf which is a drop and drop swf into the main swf but when i load it only the drag works and the target is not detected so it doesn't drop. heres the code i use to load swf in the main swf …

---

## [Drag and Drop MC](https://forum.kirupa.com/t/drag-and-drop-mc/327824)

<div class="topic-metadata">

**Author:** [@MAGG0T](https://forum.kirupa.com/u/MAGG0T)\
**Replies:** 0\
**Last updated:** [March 30, 2012, 1:04pm UTC](https://forum.kirupa.com/t/drag-and-drop-mc/327824 "2012-03-30T13:04:08Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]I have a drag and drop which works fine on the 1st scene frame 1 within its own movieclip but when i try to add it to another movieclip "contentbg" it stops working i also correct the paths t…

---

## [Where does the rest of the codes went to? \[noob question\]](https://forum.kirupa.com/t/where-does-the-rest-of-the-codes-went-to-noob-question/327822)

<div class="topic-metadata">

**Author:** [@youwh](https://forum.kirupa.com/u/youwh)\
**Replies:** 0\
**Last updated:** [March 30, 2012, 8:38am UTC](https://forum.kirupa.com/t/where-does-the-rest-of-the-codes-went-to-noob-question/327822 "2012-03-30T08:38:15Z")

</div>

You know when you write a functions you write the codes inside the bracket? private function test():void{ //codes go in here } But on some codes i see, they write the codes just like below private function test():…

---

## [Reuse code from 'Loading an External Image' tutorial](https://forum.kirupa.com/t/reuse-code-from-loading-an-external-image-tutorial/327815)

<div class="topic-metadata">

**Author:** [@mufflekid](https://forum.kirupa.com/u/mufflekid)\
**Replies:** 0\
**Last updated:** [March 30, 2012, 1:43am UTC](https://forum.kirupa.com/t/reuse-code-from-loading-an-external-image-tutorial/327815 "2012-03-30T01:43:24Z")

</div>

Sup, guys. I'm designing a portfolio website that will showcase artwork that could potentially take awhile to load, so I'm using the code from that tutorial: var imageLoader:Loader; function loadImage(url:String):vo…

---

## [Need some help with Button MC](https://forum.kirupa.com/t/need-some-help-with-button-mc/327813)

<div class="topic-metadata">

**Author:** [@avaughn](https://forum.kirupa.com/u/avaughn)\
**Replies:** 0\
**Last updated:** [March 29, 2012, 11:07pm UTC](https://forum.kirupa.com/t/need-some-help-with-button-mc/327813 "2012-03-29T23:07:18Z")

</div>

I have a series of button movie clips that get highlighte in color and also with an arrow when moused over. I am trying to get it to stay highlighted with arrow untill one of the other buttons is clicked. The other …

---

## [Drag and Rotate](https://forum.kirupa.com/t/drag-and-rotate/327812)

<div class="topic-metadata">

**Author:** [@revo999](https://forum.kirupa.com/u/revo999)\
**Replies:** 0\
**Last updated:** [March 29, 2012, 10:49pm UTC](https://forum.kirupa.com/t/drag-and-rotate/327812 "2012-03-29T22:49:10Z")

</div>

Hi I want functionality of Drag and Rotate to my MovieClip just like this example http://www.bluecotton.com/studioalpha.swf Or anything which help me to drag and Rotate my movieclip

---

## [Button code / beginner help](https://forum.kirupa.com/t/button-code-beginner-help/327810)

<div class="topic-metadata">

**Author:** [@josirock](https://forum.kirupa.com/u/josirock)\
**Replies:** 0\
**Last updated:** [March 29, 2012, 10:04pm UTC](https://forum.kirupa.com/t/button-code-beginner-help/327810 "2012-03-29T22:04:06Z")

</div>

HI there, Can anyone help a beginner: I have already tried various codes that I found by searching from the net but nothing seems to work... So I need to get a code for my flash CS3 button (which will sit in the websit…

---

## [Key is down/Key press help](https://forum.kirupa.com/t/key-is-down-key-press-help/327809)

<div class="topic-metadata">

**Author:** [@MAGG0T](https://forum.kirupa.com/u/MAGG0T)\
**Replies:** 0\
**Last updated:** [March 29, 2012, 9:35pm UTC](https://forum.kirupa.com/t/key-is-down-key-press-help/327809 "2012-03-29T21:35:29Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]I have a simple key is down actionscript what i am trying to do is make it a multi 'key is down' so instead of pressing ''G'' to open frame 2 a person has to type a full word for example they…

---

## [Help with adding drag feature to this great transform tool](https://forum.kirupa.com/t/help-with-adding-drag-feature-to-this-great-transform-tool/327807)

<div class="topic-metadata">

**Author:** [@SquirtGun](https://forum.kirupa.com/u/SquirtGun)\
**Replies:** 0\
**Last updated:** [March 29, 2012, 8:47pm UTC](https://forum.kirupa.com/t/help-with-adding-drag-feature-to-this-great-transform-tool/327807 "2012-03-29T20:47:39Z")

</div>

Hello all, I was hoping someone might be able to help me add some features to this great transform tool found here: http://segfaultlabs.com/devlogs/free-as3-transformation-manager Basically, I'm looking to add drag a…

---

## [Problem with setting textfield text. Possibly CS4 to CS5.5 issue?](https://forum.kirupa.com/t/problem-with-setting-textfield-text-possibly-cs4-to-cs5-5-issue/327806)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [March 29, 2012, 7:08pm UTC](https://forum.kirupa.com/t/problem-with-setting-textfield-text-possibly-cs4-to-cs5-5-issue/327806 "2012-03-29T19:08:19Z")

</div>

Hello, I have another post on here today about trying to set a textfield's text in AS2. I have been working on this problem all day. I am beginning to wonder if it is due to the fact that the fla was authored with C…

---

## [Problem setting a dynamic textfield with as2](https://forum.kirupa.com/t/problem-setting-a-dynamic-textfield-with-as2/327804)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [March 29, 2012, 6:04pm UTC](https://forum.kirupa.com/t/problem-setting-a-dynamic-textfield-with-as2/327804 "2012-03-29T18:04:46Z")

</div>

Hello, I am working on a project (someone elses who is not a coder at all) whcih uses AS2. I have never used AS2, not really. I am trying to do the simplest thing, set the text for a textfield on stage. txtScore.te…

---

## [HELP! I'm new at this... Need to find where to edit GET and POST URLs in AS3 project](https://forum.kirupa.com/t/help-im-new-at-this-need-to-find-where-to-edit-get-and-post-urls-in-as3-project/327803)

<div class="topic-metadata">

**Author:** [@Flashe](https://forum.kirupa.com/u/Flashe)\
**Replies:** 0\
**Last updated:** [March 29, 2012, 3:56pm UTC](https://forum.kirupa.com/t/help-im-new-at-this-need-to-find-where-to-edit-get-and-post-urls-in-as3-project/327803 "2012-03-29T15:56:37Z")

</div>

I'm having trouble finding where the GET and POST urls are in my AS3 files. The GET and POST are somewhere, but pointing to the wrong URL. Would I find this in the .fla, the .as files or somewhere else? I didn't see …

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

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