# programming

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

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

**Page:** 234

---

## [STOP buttons appear now but do nothing. Help!](https://forum.kirupa.com/t/stop-buttons-appear-now-but-do-nothing-help/324815)

<div class="topic-metadata">

**Author:** [@BLKelsey](https://forum.kirupa.com/u/BLKelsey)\
**Replies:** 0\
**Last updated:** [September 10, 2011, 4:02am UTC](https://forum.kirupa.com/t/stop-buttons-appear-now-but-do-nothing-help/324815 "2011-09-10T04:02:29Z")

</div>

I posted a question a day or two ago about my STOP buttons not appearing after the user selects a song by pressing the PLAY button. I have 3 song choices and the play buttons are vertically aligned. STOP buttons are dire…

---

## [AJAX POST request not getting JSON results or any](https://forum.kirupa.com/t/ajax-post-request-not-getting-json-results-or-any/324813)

<div class="topic-metadata">

**Author:** [@bear](https://forum.kirupa.com/u/bear)\
**Replies:** 0\
**Last updated:** [September 10, 2011, 3:42am UTC](https://forum.kirupa.com/t/ajax-post-request-not-getting-json-results-or-any/324813 "2011-09-10T03:42:36Z")

</div>

Hey guys: Not sure what's going on here, but when I trigger this AJAX request... function login(login\_username, login\_password) { var postData = "username=" + login\_username; postData += "&password=" + …

---

## [\[AS2\] Scripted Typewriter Effect Visual Discrepancy Between Static and Dynamic text](https://forum.kirupa.com/t/as2-scripted-typewriter-effect-visual-discrepancy-between-static-and-dynamic-text/324812)

<div class="topic-metadata">

**Author:** [@JDWasabi](https://forum.kirupa.com/u/JDWasabi)\
**Replies:** 0\
**Last updated:** [September 10, 2011, 1:51am UTC](https://forum.kirupa.com/t/as2-scripted-typewriter-effect-visual-discrepancy-between-static-and-dynamic-text/324812 "2011-09-10T01:51:10Z")

</div>

Hi all, this is my time posting here so apologies if I've posted it in the wrong place or something, please let me know! I'm a student working on a game project similar to Japanese visual novel games, Phoenix Wright …

---

## [Trouble with Custom Event Class](https://forum.kirupa.com/t/trouble-with-custom-event-class/324810)

<div class="topic-metadata">

**Author:** [@ccbass85](https://forum.kirupa.com/u/ccbass85)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 8:51pm UTC](https://forum.kirupa.com/t/trouble-with-custom-event-class/324810 "2011-09-09T20:51:18Z")

</div>

Hello Everyone, In an attempt to grow my AS3 knowledge, I've created a a custom event class that extends the event class. In it I basically pass a data object, so I can freely pass data between classes. It works grea…

---

## [Mobile iOS Rotation](https://forum.kirupa.com/t/mobile-ios-rotation/324808)

<div class="topic-metadata">

**Author:** [@sFoster83](https://forum.kirupa.com/u/sFoster83)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 6:41pm UTC](https://forum.kirupa.com/t/mobile-ios-rotation/324808 "2011-09-09T18:41:08Z")

</div>

Does anyone know how to stop the rotation animation on an iPad when I set the stageOrientation property? I would rather it be instant instead of this rotation thing that is going on when I call stage.setOrientation

---

## [Draw on intersection point on 3D mesh](https://forum.kirupa.com/t/draw-on-intersection-point-on-3d-mesh/324807)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 6:20pm UTC](https://forum.kirupa.com/t/draw-on-intersection-point-on-3d-mesh/324807 "2011-09-09T18:20:47Z")

</div>

For my second game, part of the core mechanics is drawing one object onto another upon collision. This is a very useful technique, and there doesn't appear to be much concise info about it. Basically all you have to …

---

## [How to save flash files from website which loaded an xml?](https://forum.kirupa.com/t/how-to-save-flash-files-from-website-which-loaded-an-xml/324805)

<div class="topic-metadata">

**Author:** [@idealbanners](https://forum.kirupa.com/u/idealbanners)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 3:11pm UTC](https://forum.kirupa.com/t/how-to-save-flash-files-from-website-which-loaded-an-xml/324805 "2011-09-09T15:11:32Z")

</div>

Hello! Someone can help me on this question? How to save flash files from website which loaded an xml? I want to save flash banners from web generator and those banners text and pictures loaded from an xml.

---

## [Combat Engine](https://forum.kirupa.com/t/combat-engine/324804)

<div class="topic-metadata">

**Author:** [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 1:19pm UTC](https://forum.kirupa.com/t/combat-engine/324804 "2011-09-09T13:19:42Z")

</div>

I'm thinking of making a combat engine where each unit has a base DPS, then an extra critical hit is factored in. I want range, armour class and stance to take effect. I've found an example which is used by dice RPGs. …

---

## [Random numbers from an array without repeating](https://forum.kirupa.com/t/random-numbers-from-an-array-without-repeating/324803)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 1:16pm UTC](https://forum.kirupa.com/t/random-numbers-from-an-array-without-repeating/324803 "2011-09-09T13:16:14Z")

</div>

Hello!!! How do I make a random sequence of 10 numbers, from an array of 20 numbers in total, without repeating any of them on that sequence?

---

## [ThemeForest - corbiz - Corporate and Business HTML Template - Rip](https://forum.kirupa.com/t/themeforest-corbiz-corporate-and-business-html-template-rip/324802)

<div class="topic-metadata">

**Author:** [@dreamone25](https://forum.kirupa.com/u/dreamone25)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 1:14pm UTC](https://forum.kirupa.com/t/themeforest-corbiz-corporate-and-business-html-template-rip/324802 "2011-09-09T13:14:00Z")

</div>

\[image\] ThemeForest - corbiz - Corporate and Business HTML Template - Rip Demo: http://themeforest.net/item/corbiz-corporate-and-business-html-template/524842?WT.ac=category\_item&WT.seg\_1=category\_item&WT.z\_author=…

---

## [ExternalInterface.call not closing window](https://forum.kirupa.com/t/externalinterface-call-not-closing-window/324800)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 12:17pm UTC](https://forum.kirupa.com/t/externalinterface-call-not-closing-window/324800 "2011-09-09T12:17:56Z")

</div>

I need to have button that closes the window. The window is a .php page, but it has the following javascript function: function closeWindow(){ self.close(); } The AS I have is: ExternalInterface.call("closeWin…

---

## [ID structuring](https://forum.kirupa.com/t/id-structuring/324795)

<div class="topic-metadata">

**Author:** [@timba](https://forum.kirupa.com/u/timba)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 9:51am UTC](https://forum.kirupa.com/t/id-structuring/324795 "2011-09-09T09:51:51Z")

</div>

Hello, I didn't quite know what forum to put this in, since it's not directly programming related. But since the project it's related to is made with Actionscript3/flash/XML I figured I'd post it in here. Im working o…

---

## [Image Gallery Mouse Detection](https://forum.kirupa.com/t/image-gallery-mouse-detection/324793)

<div class="topic-metadata">

**Author:** [@TAJArtist](https://forum.kirupa.com/u/TAJArtist)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 8:32am UTC](https://forum.kirupa.com/t/image-gallery-mouse-detection/324793 "2011-09-09T08:32:26Z")

</div>

Hello all you AS3 junkies, I hope your coding is going quite well. I wish I could say the same for myself but I'm fairly new to this so mistakes arise more often than not. This one in particular has me stumped even thoug…

---

## [Stop buttons not appearing](https://forum.kirupa.com/t/stop-buttons-not-appearing/324792)

<div class="topic-metadata">

**Author:** [@BLKelsey](https://forum.kirupa.com/u/BLKelsey)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 6:43am UTC](https://forum.kirupa.com/t/stop-buttons-not-appearing/324792 "2011-09-09T06:43:27Z")

</div>

Hey all, I'm working on an external mp3 jukebox for an Interactive Design course and I've almost got it. However, none of my 'stop' buttons appear to stop the song. I have 3 songs, so I have 3 sets of 'play' buttons an…

---

## [Tweener: 'alpha' not a property?](https://forum.kirupa.com/t/tweener-alpha-not-a-property/324788)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 12:39am UTC](https://forum.kirupa.com/t/tweener-alpha-not-a-property/324788 "2011-09-09T00:39:51Z")

</div>

I have a custom class in which I create a large number of display objects pulled from the library. Each has its alpha set to 0 initially. Then a series of functions call Tweener.addTween to change their alpha to 1 and ot…

---

## [OOP - basic test](https://forum.kirupa.com/t/oop-basic-test/324787)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 9:28pm UTC](https://forum.kirupa.com/t/oop-basic-test/324787 "2011-09-08T21:28:51Z")

</div>

Hiya - Itd be great if someone could help me out here .. I want to use OOP as a test, to put an MC on the Stage. Here goes - be patient - im trying to also keep it as clean as poss for peeps to actually get in here and h…

---

## [Arrays - holding functions?](https://forum.kirupa.com/t/arrays-holding-functions/324786)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 7:31pm UTC](https://forum.kirupa.com/t/arrays-holding-functions/324786 "2011-09-08T19:31:35Z")

</div>

Hiya .. is it possible to put a function into an array and execute it from calling it via the array? I did this before in as2 var funcs:Array = new Array(one); function one() { //do this; } funcs\[0\](); // Bammmm exe…

---

## [Email PHP Question](https://forum.kirupa.com/t/email-php-question/324785)

<div class="topic-metadata">

**Author:** [@vdub117](https://forum.kirupa.com/u/vdub117)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 6:50pm UTC](https://forum.kirupa.com/t/email-php-question/324785 "2011-09-08T18:50:32Z")

</div>

Hi, I just built a website for my wife's photography business, and used the email form tutorial found here on kirupa. The emails go through fine, and the message reads, but the sender's name and email address are not …

---

## [Stream Youtube Videos in your own flash app](https://forum.kirupa.com/t/stream-youtube-videos-in-your-own-flash-app/324783)

<div class="topic-metadata">

**Author:** [@svimp](https://forum.kirupa.com/u/svimp)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 5:04pm UTC](https://forum.kirupa.com/t/stream-youtube-videos-in-your-own-flash-app/324783 "2011-09-08T17:04:15Z")

</div>

Hello , is there any way to stream youtube videos in a flash swf file ? i need to make a flash that will load several videos from youtube in a personalise flash player. Button1 = video1 Button2 = video2 Button3 = v…

---

## [Removing FRAMES in between KEYFRAMEES](https://forum.kirupa.com/t/removing-frames-in-between-keyframees/324781)

<div class="topic-metadata">

**Author:** [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 12:46pm UTC](https://forum.kirupa.com/t/removing-frames-in-between-keyframees/324781 "2011-09-08T12:46:26Z")

</div>

I just switched from FLASH 8 to CS4 and I'm kinda shocked with all the new features. What I am very concerned is removing FRAMES in between KEYFRAMES. In the previous version, we can just click on that LAYER, choose a fr…

---

## [Doubt in Declaration](https://forum.kirupa.com/t/doubt-in-declaration/324779)

<div class="topic-metadata">

**Author:** [@eternity22](https://forum.kirupa.com/u/eternity22)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 10:22am UTC](https://forum.kirupa.com/t/doubt-in-declaration/324779 "2011-09-08T10:22:19Z")

</div>

Hi var num:\*; can we declare like this?

---

## [Strange syntax](https://forum.kirupa.com/t/strange-syntax/324778)

<div class="topic-metadata">

**Author:** [@Lamcho](https://forum.kirupa.com/u/Lamcho)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 9:31am UTC](https://forum.kirupa.com/t/strange-syntax/324778 "2011-09-08T09:31:05Z")

</div>

I came across on this code, someone has any idea what this exactly do ? //BUILD CLASSES DataModel:; SoundFunctions:; The class name doesn't matter, but what is the suffix ":;" about ?

---

## [Book of ra Online Spiele](https://forum.kirupa.com/t/book-of-ra-online-spiele/324776)

<div class="topic-metadata">

**Author:** [@bookofra\_spiele](https://forum.kirupa.com/u/bookofra_spiele)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 8:47am UTC](https://forum.kirupa.com/t/book-of-ra-online-spiele/324776 "2011-09-08T08:47:34Z")

</div>

Bei \[Spiele Book of ra geht es ausschließlich darum, mehrere gleiche Symbole in einer Linie zu treffen. Die Höhe eures Einsatzes macht die Höhe des Gewinnes aus. Das war schon immer das Glücksspiel war von novoline. So e…

---

## [How to add a parameter to control the speed of drawing?](https://forum.kirupa.com/t/how-to-add-a-parameter-to-control-the-speed-of-drawing/324774)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [September 8, 2011, 5:49am UTC](https://forum.kirupa.com/t/how-to-add-a-parameter-to-control-the-speed-of-drawing/324774 "2011-09-08T05:49:31Z")

</div>

Hi, Now it draws a square with normal speed but I would like to customize the speed. How to add a parameter to control the speed of drawing? import com.greensock.\*; import flash.events.MouseEvent; //create line va…

---

## [Exporting Old AS2 Code to Flash Player 7/8 - Breaks My Code - Please Help!](https://forum.kirupa.com/t/exporting-old-as2-code-to-flash-player-7-8-breaks-my-code-please-help/324770)

<div class="topic-metadata">

**Author:** [@bryggreen](https://forum.kirupa.com/u/bryggreen)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 11:26pm UTC](https://forum.kirupa.com/t/exporting-old-as2-code-to-flash-player-7-8-breaks-my-code-please-help/324770 "2011-09-07T23:26:42Z")

</div>

I've got this old code from back in '05 that I wanted to use in something but when I export it for anything higher than flash player 6, it stops working. Nothing happens. Can someone take a look and let me know what I'm …

---

## [Navigation without mouse](https://forum.kirupa.com/t/navigation-without-mouse/324768)

<div class="topic-metadata">

**Author:** [@fazzy](https://forum.kirupa.com/u/fazzy)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 9:25pm UTC](https://forum.kirupa.com/t/navigation-without-mouse/324768 "2011-09-07T21:25:22Z")

</div>

I have a swf that I'd like to navigate with keyboard arrows to access each active button. (a) navigating through 'hit state' buttons on a menu page using arrow keys (b) a highlight\_mc that remains on the focus item. …

---

## [Autoplay button](https://forum.kirupa.com/t/autoplay-button/324766)

<div class="topic-metadata">

**Author:** [@gregof75](https://forum.kirupa.com/u/gregof75)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 5:12pm UTC](https://forum.kirupa.com/t/autoplay-button/324766 "2011-09-07T17:12:17Z")

</div>

Hi, would you help me - what the code should has the button for autoplay Photo Gallery. I used this template: http://www.kirupa.com/developer/mx/photogallery.htm Thank you for your help G.

---

## [Tween Garbage Collection Madness](https://forum.kirupa.com/t/tween-garbage-collection-madness/324764)

<div class="topic-metadata">

**Author:** [@h3d0](https://forum.kirupa.com/u/h3d0)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 3:22pm UTC](https://forum.kirupa.com/t/tween-garbage-collection-madness/324764 "2011-09-07T15:22:38Z")

</div>

Hello, the TweenEvent.COMPLETE just wouldn't trigger sometimes. I've searched the web for solutions, these are methods I've already tried: - Declaring Tween as global variable - Using Class for storing link on Tween - …

---

## [How to rewrite head to inject JS and or Css - Php](https://forum.kirupa.com/t/how-to-rewrite-head-to-inject-js-and-or-css-php/324763)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 2:34pm UTC](https://forum.kirupa.com/t/how-to-rewrite-head-to-inject-js-and-or-css-php/324763 "2011-09-07T14:34:54Z")

</div>

Hi there, I would like to know if there is a way to dynamically rewrite part of the document eg. HEAD in order to inject my js and or css please. Thanks for any help, Regards, Jerome

---

## [Looking for good books on database](https://forum.kirupa.com/t/looking-for-good-books-on-database/324759)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [September 7, 2011, 1:12pm UTC](https://forum.kirupa.com/t/looking-for-good-books-on-database/324759 "2011-09-07T13:12:19Z")

</div>

I am trying to learn database stuff. I have programming experience in AS3 and others. But I am looking for a good book on databases. Something well written, that a barely experienced beginner can understand. Any help w…

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

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