# programming

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

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

**Page:** 110

---

## [Create hiperlink from Select Tag](https://forum.kirupa.com/t/create-hiperlink-from-select-tag/331769)

<div class="topic-metadata">

**Author:** [@Tiago\_Borges](https://forum.kirupa.com/u/Tiago_Borges)\
**Replies:** 0\
**Last updated:** [October 16, 2013, 2:06pm UTC](https://forum.kirupa.com/t/create-hiperlink-from-select-tag/331769 "2013-10-16T14:06:59Z")

</div>

Hi guys. I need to create a select tag, but I cound't create links to call other pages when I click on the options. I tried something with onClick, but no success. \<label for="cidades"\>\</label\>\<select multiple="mu…

---

## [PHP function does not validate](https://forum.kirupa.com/t/php-function-does-not-validate/331768)

<div class="topic-metadata">

**Author:** [@last](https://forum.kirupa.com/u/last)\
**Replies:** 0\
**Last updated:** [October 16, 2013, 10:12am UTC](https://forum.kirupa.com/t/php-function-does-not-validate/331768 "2013-10-16T10:12:52Z")

</div>

\[LEFT\]\[COLOR=#000000\]\[FONT=Arial\]I have created a simple php page that needs to validate if the amount entered is greater than 100 or must return an error. My function though does not get called when psoting and the amou…

---

## [How can I make this work?](https://forum.kirupa.com/t/how-can-i-make-this-work/331767)

<div class="topic-metadata">

**Author:** [@razer56](https://forum.kirupa.com/u/razer56)\
**Replies:** 0\
**Last updated:** [October 16, 2013, 4:14am UTC](https://forum.kirupa.com/t/how-can-i-make-this-work/331767 "2013-10-16T04:14:57Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]I am making a game where insects from above the screen move downwards to the bottom. The object is for the player to kill these insects with his/her mouse. When killed the insect should show a …

---

## [Actionscript 3 photobooth upload photo with PHP](https://forum.kirupa.com/t/actionscript-3-photobooth-upload-photo-with-php/331766)

<div class="topic-metadata">

**Author:** [@Max\_Soon](https://forum.kirupa.com/u/Max_Soon)\
**Replies:** 0\
**Last updated:** [October 16, 2013, 4:06am UTC](https://forum.kirupa.com/t/actionscript-3-photobooth-upload-photo-with-php/331766 "2013-10-16T04:06:03Z")

</div>

\[COLOR=#333333\]\[FONT=Helvetica Neue\]Morning everyone, in this few days I search for a lot references online and tried to make my first photobooth program with actionscript and PHP, finally I had done the actionscript par…

---

## [Hiding everything from the array?](https://forum.kirupa.com/t/hiding-everything-from-the-array/331764)

<div class="topic-metadata">

**Author:** [@razer56](https://forum.kirupa.com/u/razer56)\
**Replies:** 0\
**Last updated:** [October 15, 2013, 3:08am UTC](https://forum.kirupa.com/t/hiding-everything-from-the-array/331764 "2013-10-15T03:08:37Z")

</div>

I am making a game, where enemies from an array move downward at random. In the game there is a menu button. When clicked a different screen pops up. I stopped the enemies movement, so they're at a pause of where they ar…

---

## [Flash as2 Someone check my code for custom mouse cursor please? Thanks!](https://forum.kirupa.com/t/flash-as2-someone-check-my-code-for-custom-mouse-cursor-please-thanks/331763)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [October 15, 2013, 1:01am UTC](https://forum.kirupa.com/t/flash-as2-someone-check-my-code-for-custom-mouse-cursor-please-thanks/331763 "2013-10-15T01:01:57Z")

</div>

I was instructed to start creating Actionscript Files for game development. Especially if your doing complex RPG style games. Well, for some reason this code is not working in my Actionscript File. It works fine on the m…

---

## [Animation after death of insects?](https://forum.kirupa.com/t/animation-after-death-of-insects/331762)

<div class="topic-metadata">

**Author:** [@razer56](https://forum.kirupa.com/u/razer56)\
**Replies:** 0\
**Last updated:** [October 14, 2013, 7:04pm UTC](https://forum.kirupa.com/t/animation-after-death-of-insects/331762 "2013-10-14T19:04:55Z")

</div>

I am making a game where insects come from the top of the screen at a variable speed. The object of the game is to kill the insects by clicking on them. I want to make the insects to stop moving, play a "death" animation…

---

## [Flash as2 Need help stopping my background from scrolling](https://forum.kirupa.com/t/flash-as2-need-help-stopping-my-background-from-scrolling/331761)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [October 14, 2013, 6:22pm UTC](https://forum.kirupa.com/t/flash-as2-need-help-stopping-my-background-from-scrolling/331761 "2013-10-14T18:22:26Z")

</div>

Really simple, As my character moves left and right, so does the background. What I am trying to do is when my character reaches the edge of the screen, the background will not scroll. What I have is a document 600px X 3…

---

## [Type 1007 Constructor Error- nothing like anyone else's thread](https://forum.kirupa.com/t/type-1007-constructor-error-nothing-like-anyone-elses-thread/331759)

<div class="topic-metadata">

**Author:** [@cloa513](https://forum.kirupa.com/u/cloa513)\
**Replies:** 0\
**Last updated:** [October 14, 2013, 2:15pm UTC](https://forum.kirupa.com/t/type-1007-constructor-error-nothing-like-anyone-elses-thread/331759 "2013-10-14T14:15:31Z")

</div>

I have looked at many threads but none are similar. A few have looked at some/all the code but none have found the source of the error. Please help- I have done a lot of work on this. In Main.as package { import…

---

## [Anyone using CoffeeScript much?](https://forum.kirupa.com/t/anyone-using-coffeescript-much/331757)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 0\
**Last updated:** [October 14, 2013, 3:30am UTC](https://forum.kirupa.com/t/anyone-using-coffeescript-much/331757 "2013-10-14T03:30:37Z")

</div>

I started taking a look at \[CoffeeScript recently. Maybe its a little late, and much the hype has warn off, but I have seen a few projects here and there recently that were written in it. I Also noticed \[url="https://gi…

---

## [Flash as2 Need help with my function() code please](https://forum.kirupa.com/t/flash-as2-need-help-with-my-function-code-please/331756)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [October 13, 2013, 8:53pm UTC](https://forum.kirupa.com/t/flash-as2-need-help-with-my-function-code-please/331756 "2013-10-13T20:53:17Z")

</div>

Below is my code. All I am trying to do is, when I press the SPACE key, the character doesn't keep going up. The spacebar is acting like a turbo button. If I press the space bar once, the character jumps, if I hold down …

---

## [Flash as2 Help with my Actionscript File](https://forum.kirupa.com/t/flash-as2-help-with-my-actionscript-file/331755)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [October 13, 2013, 7:39pm UTC](https://forum.kirupa.com/t/flash-as2-help-with-my-actionscript-file/331755 "2013-10-13T19:39:53Z")

</div>

Cannot figure out WHY this is not working. I created a Actionscript File called Hero.as. I have a movieclip with no instance name called Hero. Hero is set to export for actionscript. Inside of my Hero movieclip, on frame…

---

## [Need help having two Javascript news filters on same page](https://forum.kirupa.com/t/need-help-having-two-javascript-news-filters-on-same-page/331751)

<div class="topic-metadata">

**Author:** [@spindrift](https://forum.kirupa.com/u/spindrift)\
**Replies:** 0\
**Last updated:** [October 12, 2013, 7:34pm UTC](https://forum.kirupa.com/t/need-help-having-two-javascript-news-filters-on-same-page/331751 "2013-10-12T19:34:34Z")

</div>

Hi guys, I'm using the below code to create a news filter for my site and it all works fine. However, I want to have two separate news filters on the same page. Can anyone tell me how I could go about either editin…

---

## [Password Access for website](https://forum.kirupa.com/t/password-access-for-website/331750)

<div class="topic-metadata">

**Author:** [@VaiFanatic](https://forum.kirupa.com/u/VaiFanatic)\
**Replies:** 0\
**Last updated:** [October 12, 2013, 12:17am UTC](https://forum.kirupa.com/t/password-access-for-website/331750 "2013-10-12T00:17:59Z")

</div>

Basically, what I'd like to accomplish is setting up a splash page that requires the viewer to enter a password (something that would be given to the potential customer) to view the site. I'd like to make sure this pas…

---

## [Remove Enter frame event in ActionScript 3](https://forum.kirupa.com/t/remove-enter-frame-event-in-actionscript-3/331749)

<div class="topic-metadata">

**Author:** [@tumbangLata](https://forum.kirupa.com/u/tumbangLata)\
**Replies:** 0\
**Last updated:** [October 11, 2013, 7:28pm UTC](https://forum.kirupa.com/t/remove-enter-frame-event-in-actionscript-3/331749 "2013-10-11T19:28:34Z")

</div>

\[COLOR=#333333\]\[FONT=adobe-clean\]im on frame 3... i added my class name Tumba.as on the timeline.. Tumba.as has EnterFrame event with name gameLoop..\[/FONT\]\[/COLOR\] \[COLOR=#333333\]\[FONT=adobe-clean\] \[/FONT\]\[/COLOR\] \[COLO…

---

## [IE img position problem](https://forum.kirupa.com/t/ie-img-position-problem/331748)

<div class="topic-metadata">

**Author:** [@gahring](https://forum.kirupa.com/u/gahring)\
**Replies:** 0\
**Last updated:** [October 11, 2013, 5:11pm UTC](https://forum.kirupa.com/t/ie-img-position-problem/331748 "2013-10-11T17:11:22Z")

</div>

I have a problem with a website I am working on. I am trying to position an image with img src to be used with a parallax scrolling script (http://www.kirupa.com/html5/smooth\_parallax\_scrolling.htm). The positioning of t…

---

## [Flash CSx - preview swf movie not allways on top](https://forum.kirupa.com/t/flash-csx-preview-swf-movie-not-allways-on-top/331744)

<div class="topic-metadata">

**Author:** [@McLucky](https://forum.kirupa.com/u/McLucky)\
**Replies:** 0\
**Last updated:** [October 10, 2013, 9:35pm UTC](https://forum.kirupa.com/t/flash-csx-preview-swf-movie-not-allways-on-top/331744 "2013-10-10T21:35:27Z")

</div>

Hi All, I've been using flash for a long time and there is this issue that started, I think, in CS4. No major flaw but very inconvenient. This is the thing. When I hit CTRL-Enter to test my movie the test/preview win…

---

## [(Help) - Platform game shoot in both directions](https://forum.kirupa.com/t/help-platform-game-shoot-in-both-directions/331740)

<div class="topic-metadata">

**Author:** [@monomega](https://forum.kirupa.com/u/monomega)\
**Replies:** 0\
**Last updated:** [October 10, 2013, 4:28am UTC](https://forum.kirupa.com/t/help-platform-game-shoot-in-both-directions/331740 "2013-10-10T04:28:14Z")

</div>

I have been trying to make my character shoot in both directions but so far I only manage to make the bullets or "blasts" to stop when the character faces left, or the character runs right when I shoot, or turns left whe…

---

## [Textfield too sharp](https://forum.kirupa.com/t/textfield-too-sharp/331738)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [October 9, 2013, 5:04pm UTC](https://forum.kirupa.com/t/textfield-too-sharp/331738 "2013-10-09T17:04:33Z")

</div>

I created a textfield with a TextFormat with the following settings: \[LIST\] \[\*\]Font: Segoe UI \[\*\]Size: 18 \[/LIST\] \[image\] The first line of text is made using AS3\* (a little too sharp)\* The second line is made in Pho…

---

## [Send data object with Custom event](https://forum.kirupa.com/t/send-data-object-with-custom-event/331737)

<div class="topic-metadata">

**Author:** [@bonassus](https://forum.kirupa.com/u/bonassus)\
**Replies:** 0\
**Last updated:** [October 9, 2013, 4:16pm UTC](https://forum.kirupa.com/t/send-data-object-with-custom-event/331737 "2013-10-09T16:16:45Z")

</div>

I'm still having trouble with custom events and data parameters. I have a custom event class: package customEvents { import flash.events.Event; public class Di\_Event extends Event { public static const …

---

## [Play Sounds only when play button press](https://forum.kirupa.com/t/play-sounds-only-when-play-button-press/331734)

<div class="topic-metadata">

**Author:** [@bracelett](https://forum.kirupa.com/u/bracelett)\
**Replies:** 0\
**Last updated:** [October 8, 2013, 11:23pm UTC](https://forum.kirupa.com/t/play-sounds-only-when-play-button-press/331734 "2013-10-08T23:23:20Z")

</div>

I want on first load of SWF to be the music is Off, when the play button press, thats the time the music will play. On my timeline I have two Layers, for action and the 2nd layer is for the buttons ON / OFF. Here is my…

---

## [Easy "Class" Question](https://forum.kirupa.com/t/easy-class-question/331733)

<div class="topic-metadata">

**Author:** [@JmacUSAF](https://forum.kirupa.com/u/JmacUSAF)\
**Replies:** 0\
**Last updated:** [October 8, 2013, 7:26pm UTC](https://forum.kirupa.com/t/easy-class-question/331733 "2013-10-08T19:26:12Z")

</div>

Hi Everyone, So my actionscript skills are getting better by the day. (Late bloomer I guess when it comes to actionscript and Flash). I am not, however, comfortable creating my own classes yet, and I feel that in some …

---

## [Flash CS5.5 - All Scenes Have Disappeared](https://forum.kirupa.com/t/flash-cs5-5-all-scenes-have-disappeared/331732)

<div class="topic-metadata">

**Author:** [@DilbertIsMyHero](https://forum.kirupa.com/u/DilbertIsMyHero)\
**Replies:** 0\
**Last updated:** [October 7, 2013, 6:50pm UTC](https://forum.kirupa.com/t/flash-cs5-5-all-scenes-have-disappeared/331732 "2013-10-07T18:50:34Z")

</div>

Hello, I am running CS5.5 on a Win7 64 bit computer with 6G of memory. My problem started today when after being kicked out of Flash (again :(). When I attempted to reopen my FLA, I received the message "Could not lo…

---

## [Tutorial: Keyboard Events in JavaScript](https://forum.kirupa.com/t/tutorial-keyboard-events-in-javascript/331727)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [October 7, 2013, 4:19am UTC](https://forum.kirupa.com/t/tutorial-keyboard-events-in-javascript/331727 "2013-10-07T04:19:04Z")

</div>

http://www.kirupa.com/html5/keyboard\_events\_in\_javascript.htm Given the number of e-mails I received regarding the multi-key detection script, I'll quickly get another article focusing just on that up and running :buck…

---

## [AS3 fade in out :)](https://forum.kirupa.com/t/as3-fade-in-out/331722)

<div class="topic-metadata">

**Author:** [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Replies:** 0\
**Last updated:** [October 5, 2013, 10:34pm UTC](https://forum.kirupa.com/t/as3-fade-in-out/331722 "2013-10-05T22:34:31Z")

</div>

Hi there, I have 6 movie clips on my stage myCLIP\_1 ...myCLIP\_6 and I am trying to get \_parent to fade out and \_child to fade in which worked for 1 movie clip but not for all 6 \[frowning\] tried it with array and loops al…

---

## [Create new instance of movieClip\_A to center of movieClip\_B](https://forum.kirupa.com/t/create-new-instance-of-movieclip-a-to-center-of-movieclip-b/331721)

<div class="topic-metadata">

**Author:** [@adove](https://forum.kirupa.com/u/adove)\
**Replies:** 0\
**Last updated:** [October 5, 2013, 8:19pm UTC](https://forum.kirupa.com/t/create-new-instance-of-movieclip-a-to-center-of-movieclip-b/331721 "2013-10-05T20:19:12Z")

</div>

I am creating a farm game and I am trying to drag an object (red spot) over the ground. When the object rolls over a soil square it highlights a different color. I am trying to drop the object onto the colored soil and h…

---

## [HELP: Working with CS5 timeline is so cumbersome](https://forum.kirupa.com/t/help-working-with-cs5-timeline-is-so-cumbersome/331720)

<div class="topic-metadata">

**Author:** [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Replies:** 0\
**Last updated:** [October 4, 2013, 10:47pm UTC](https://forum.kirupa.com/t/help-working-with-cs5-timeline-is-so-cumbersome/331720 "2013-10-04T22:47:02Z")

</div>

Hi guys, I need advise on what is the easiest way to work with the new FLASH CS5. Unlike the older version, I find the timeline (specially when it comes to adjust the tweens) really difficult. Everything moves at once.…

---

## [Check value before returning](https://forum.kirupa.com/t/check-value-before-returning/331718)

<div class="topic-metadata">

**Author:** [@bonassus](https://forum.kirupa.com/u/bonassus)\
**Replies:** 0\
**Last updated:** [October 3, 2013, 5:14pm UTC](https://forum.kirupa.com/t/check-value-before-returning/331718 "2013-10-03T17:14:06Z")

</div>

I'm confused and hoping someone can point me in the right directions. I have a class myClass with a getRandomLetter function that returns a String. It uses \_model.lettersArray\[rp.getNum()\]; to get a random letter from a…

---

## [Some TUTORIAL like THIS?](https://forum.kirupa.com/t/some-tutorial-like-this/331717)

<div class="topic-metadata">

**Author:** [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Replies:** 0\
**Last updated:** [October 3, 2013, 12:59am UTC](https://forum.kirupa.com/t/some-tutorial-like-this/331717 "2013-10-03T00:59:15Z")

</div>

Hi guys, I need to make a cooler presentation by using flash (moving away from powerpoint). Technically, I'd like to make something like this one..... http://210.193.52.162/RCO/SB\_37/ But my question is how does th…

---

## [FLASH AS2 is now OBSOLETE?](https://forum.kirupa.com/t/flash-as2-is-now-obsolete/331716)

<div class="topic-metadata">

**Author:** [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Replies:** 0\
**Last updated:** [October 3, 2013, 12:55am UTC](https://forum.kirupa.com/t/flash-as2-is-now-obsolete/331716 "2013-10-03T00:55:59Z")

</div>

Hi guys, I only know a couple of AS2 walk-arounds and never was able to work with AS3. My question is, is it totally gone? Thanks

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

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