# programming

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

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

**Page:** 642

---

## [Tick checkbox if database field contains value](https://forum.kirupa.com/t/tick-checkbox-if-database-field-contains-value/299674)

<div class="topic-metadata">

**Author:** [@gilo87](https://forum.kirupa.com/u/gilo87)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 2:59pm UTC](https://forum.kirupa.com/t/tick-checkbox-if-database-field-contains-value/299674 "2009-11-09T14:59:21Z")

</div>

Hi Guys, I have used a bit of PHP but I'm not very good at it! I was hoping someone could help with my problem. I have a table with several checkboxes. The user can select the boxes, the values are made into a com…

---

## [Creating a looping product flash with several F4V's](https://forum.kirupa.com/t/creating-a-looping-product-flash-with-several-f4vs/299672)

<div class="topic-metadata">

**Author:** [@Cyburg](https://forum.kirupa.com/u/Cyburg)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 2:44pm UTC](https://forum.kirupa.com/t/creating-a-looping-product-flash-with-several-f4vs/299672 "2009-11-09T14:44:20Z")

</div>

Hi all, I am virtually a complete n00b when it comes to Flash, but the task of creating an advert/product flash for one of our web platforms has fallen at my feet. I don't expect to be hand fed a solution to my proble…

---

## [Flashbook page turning theory](https://forum.kirupa.com/t/flashbook-page-turning-theory/299668)

<div class="topic-metadata">

**Author:** [@albino](https://forum.kirupa.com/u/albino)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 11:35am UTC](https://forum.kirupa.com/t/flashbook-page-turning-theory/299668 "2009-11-09T11:35:35Z")

</div>

Hi, I'm currently remaking the popular pageflip engine in AS3, but I'm having a bit of trouble with the actual page turning. I've got all the basics, but it just isn't as good as pageflip. I've followed this pageHa…

---

## [Creating a simpe game?](https://forum.kirupa.com/t/creating-a-simpe-game/299667)

<div class="topic-metadata">

**Author:** [@gibry21](https://forum.kirupa.com/u/gibry21)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 10:47am UTC](https://forum.kirupa.com/t/creating-a-simpe-game/299667 "2009-11-09T10:47:53Z")

</div>

I folks... I was wondering if anybody could point me in the direction of any tutorials for making a simple game. I would like to create a "snowball throwing game". Perhaps a certain number of snowballs allowed, hitti…

---

## [Find all variable names in class](https://forum.kirupa.com/t/find-all-variable-names-in-class/299665)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 8:08am UTC](https://forum.kirupa.com/t/find-all-variable-names-in-class/299665 "2009-11-09T08:08:35Z")

</div>

Is there a way to find all the public variable names in a class (given the instance of the class)? Thanks!!

---

## [Parsing issue pls help](https://forum.kirupa.com/t/parsing-issue-pls-help/299663)

<div class="topic-metadata">

**Author:** [@qpixo](https://forum.kirupa.com/u/qpixo)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 7:55am UTC](https://forum.kirupa.com/t/parsing-issue-pls-help/299663 "2009-11-09T07:55:43Z")

</div>

I'm trying to parse this XML but without success Does anyone know how to parse that xml file? \<site\> \<point type="arr1"\> \<title\>Universal\</title\> \<desc\>Test2\</desc\> \<title\>Omega\</title\> \<desc\>Test2...\</des…

---

## [Need help slowing/stopping movement at two set extremes](https://forum.kirupa.com/t/need-help-slowing-stopping-movement-at-two-set-extremes/299649)

<div class="topic-metadata">

**Author:** [@moribund](https://forum.kirupa.com/u/moribund)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 5:23am UTC](https://forum.kirupa.com/t/need-help-slowing-stopping-movement-at-two-set-extremes/299649 "2009-11-09T05:23:32Z")

</div>

Using Flash 8 - AS2 I am proud of myself for getting this far, but I cannot figure the rest :doh: I have a movie clip that moves from side to side based on the position of the mouse. If the mouse is right of center, …

---

## [Any way to disable Enter to play](https://forum.kirupa.com/t/any-way-to-disable-enter-to-play/299642)

<div class="topic-metadata">

**Author:** [@Press\_Tilty](https://forum.kirupa.com/u/Press_Tilty)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 2:13am UTC](https://forum.kirupa.com/t/any-way-to-disable-enter-to-play/299642 "2009-11-09T02:13:12Z")

</div>

Is there anyway to disable the movie from playing when I hit Enter? I've got a button press later on that needs Key.ENTER. I could change it, but it is the only key that makes contextual sense. Thanks, Press\_T.

---

## [Character movement and shoot not working](https://forum.kirupa.com/t/character-movement-and-shoot-not-working/299641)

<div class="topic-metadata">

**Author:** [@Jorhfm](https://forum.kirupa.com/u/Jorhfm)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 11:01pm UTC](https://forum.kirupa.com/t/character-movement-and-shoot-not-working/299641 "2009-11-08T23:01:10Z")

</div>

Hi all ^^ I'm doing a simple game where you move the character using the arrow keys and shoot using the Mouse. The character rotates based on the Mouse angle. I have two problems: when I move the character, he moves o…

---

## [Design Opinions: How many options should I put in the constructor?](https://forum.kirupa.com/t/design-opinions-how-many-options-should-i-put-in-the-constructor/299640)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 10:23pm UTC](https://forum.kirupa.com/t/design-opinions-how-many-options-should-i-put-in-the-constructor/299640 "2009-11-08T22:23:02Z")

</div>

Personally, I like offering users of my classes the option of putting as much in the constructor as possible. For example, I would rather use (and allow others to use) the second statement for initializing a textField,…

---

## [Video in Flash CS4](https://forum.kirupa.com/t/video-in-flash-cs4/299639)

<div class="topic-metadata">

**Author:** [@happyvince](https://forum.kirupa.com/u/happyvince)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 10:06pm UTC](https://forum.kirupa.com/t/video-in-flash-cs4/299639 "2009-11-08T22:06:23Z")

</div>

Hello everybody! I have a Flash CS4 Professional version installed in my machine. Here is my problem. 1st - I'm importing an image to stage and set the width and height to match the image. (everything is good, no problem…

---

## [XML guestbook not working](https://forum.kirupa.com/t/xml-guestbook-not-working/299638)

<div class="topic-metadata">

**Author:** [@martinko](https://forum.kirupa.com/u/martinko)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 8:24pm UTC](https://forum.kirupa.com/t/xml-guestbook-not-working/299638 "2009-11-08T20:24:09Z")

</div>

Hi, sorry to post this thread if my question is somewhere answered, but I didn't find it. I have quite difficulties with the xml guestbook tutorial. First of all, when I try the example on the tutorial page and I inser…

---

## [How to "Visualize" XML in Flash CS4](https://forum.kirupa.com/t/how-to-visualize-xml-in-flash-cs4/299637)

<div class="topic-metadata">

**Author:** [@brianhart51](https://forum.kirupa.com/u/brianhart51)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 7:46pm UTC](https://forum.kirupa.com/t/how-to-visualize-xml-in-flash-cs4/299637 "2009-11-08T19:46:40Z")

</div>

Hi, that's the jist of my last project in my college class. I load an external XML file with about 10 books from O'Reilly's Safari group. I can get the elements of the XML into an array, such as the ISBN number, etc. But…

---

## [Free Flex SDK](https://forum.kirupa.com/t/free-flex-sdk/299636)

<div class="topic-metadata">

**Author:** [@Galland](https://forum.kirupa.com/u/Galland)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 6:44pm UTC](https://forum.kirupa.com/t/free-flex-sdk/299636 "2009-11-08T18:44:19Z")

</div>

Hi ! I'm trying to compile AS3 with the free Flex SDK. I've been using FlashDevelop as an editor. Flashdevelop.org doesn't have a tutorial posted yet to show how to do things if you are using this type of workflow…

---

## [\[AS2\] Play movieclip to show start of level in game](https://forum.kirupa.com/t/as2-play-movieclip-to-show-start-of-level-in-game/299635)

<div class="topic-metadata">

**Author:** [@BlueSquid](https://forum.kirupa.com/u/BlueSquid)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 6:40pm UTC](https://forum.kirupa.com/t/as2-play-movieclip-to-show-start-of-level-in-game/299635 "2009-11-08T18:40:50Z")

</div>

I think that this should be really simple, but can't see how to do it. I have a game with multiple levels, which is working as I want it to. I would like to add just one extra bit of functionality. As each level starts…

---

## [MS Access Database with Flash](https://forum.kirupa.com/t/ms-access-database-with-flash/299634)

<div class="topic-metadata">

**Author:** [@himanshu\_guru](https://forum.kirupa.com/u/himanshu_guru)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 6:31pm UTC](https://forum.kirupa.com/t/ms-access-database-with-flash/299634 "2009-11-08T18:31:39Z")

</div>

Hello Friends, I wanna make an standalone flash application with data, it will run on CD. I want to use MS Access database but no idea How flash can be connected with MS Access without php or any other server side script…

---

## [Convert to symbol problem, again](https://forum.kirupa.com/t/convert-to-symbol-problem-again/299632)

<div class="topic-metadata">

**Author:** [@martiandrivein](https://forum.kirupa.com/u/martiandrivein)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 5:40pm UTC](https://forum.kirupa.com/t/convert-to-symbol-problem-again/299632 "2009-11-08T17:40:21Z")

</div>

Hey all. This is the 2nd time I've had this problem. It never got answered on my thread, however I did find the answer elsewhere, however I cannot find that same thread. What is happening is, when I convert any obje…

---

## [Facebook API, is it possible in Flash? (Not Flex/AIR)](https://forum.kirupa.com/t/facebook-api-is-it-possible-in-flash-not-flex-air/299627)

<div class="topic-metadata">

**Author:** [@blackcoma](https://forum.kirupa.com/u/blackcoma)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 3:20pm UTC](https://forum.kirupa.com/t/facebook-api-is-it-possible-in-flash-not-flex-air/299627 "2009-11-08T15:20:08Z")

</div>

I want to integrate the Facebook API into my game, so that it would update the user's progress in his status line in Facebook. I'm working on this game in Flash CS4, it's not an AIR or Flex project. Can the Facebook AS…

---

## [Object removal question](https://forum.kirupa.com/t/object-removal-question/299624)

<div class="topic-metadata">

**Author:** [@psych](https://forum.kirupa.com/u/psych)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 1:46pm UTC](https://forum.kirupa.com/t/object-removal-question/299624 "2009-11-08T13:46:01Z")

</div>

Hi, I have question regarding removing instantiated objects. Let's say i have a main class in which i instantiate a custom video player (or whatever) class: ... var videoPlayer = new VideoPlayer(...); addChild(video…

---

## [Launch php script AFTER file upload](https://forum.kirupa.com/t/launch-php-script-after-file-upload/299623)

<div class="topic-metadata">

**Author:** [@speedy\_rudolf](https://forum.kirupa.com/u/speedy_rudolf)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 1:39pm UTC](https://forum.kirupa.com/t/launch-php-script-after-file-upload/299623 "2009-11-08T13:39:51Z")

</div>

Hi. I'm making a website with multiple file inputs. The problem is submitting the form: if the user selects big files (eg: 3-4mb), when he submits the form, the php script is launched before the files have uploaded compl…

---

## [Why can't i change the image of a movie clip easier](https://forum.kirupa.com/t/why-cant-i-change-the-image-of-a-movie-clip-easier/299615)

<div class="topic-metadata">

**Author:** [@flashCS4User](https://forum.kirupa.com/u/flashCS4User)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 6:08am UTC](https://forum.kirupa.com/t/why-cant-i-change-the-image-of-a-movie-clip-easier/299615 "2009-11-08T06:08:20Z")

</div>

http://answers.yahoo.com/question/index?qid=20070808024439AAc224B seems a little complicated for replacing an image in a movieclip with something else. It seems like a hack actually. Is it really so hard to switch …

---

## [Help with actionscript for scrolling image gallery](https://forum.kirupa.com/t/help-with-actionscript-for-scrolling-image-gallery/299613)

<div class="topic-metadata">

**Author:** [@kougan](https://forum.kirupa.com/u/kougan)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 5:29am UTC](https://forum.kirupa.com/t/help-with-actionscript-for-scrolling-image-gallery/299613 "2009-11-08T05:29:19Z")

</div>

I'm building a portfolio site with multiple picture galleries that are each in seperate .swfs and are called in when the user clicks on that gallery. I'm having a little difficulty with my actionscript though. (Using A…

---

## [Gallery help xml](https://forum.kirupa.com/t/gallery-help-xml/299612)

<div class="topic-metadata">

**Author:** [@sumair](https://forum.kirupa.com/u/sumair)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 5:10am UTC](https://forum.kirupa.com/t/gallery-help-xml/299612 "2009-11-08T05:10:23Z")

</div>

Hi I want to load and define the xml data for gallery in flash using AS2. can anyone help please. thanks \<gallerylist\> \<gallery\> \<meta\> \<title\>hello\</title\> \<date\>22.10.2009\<…

---

## [Need efficient way to color transform parts of animation](https://forum.kirupa.com/t/need-efficient-way-to-color-transform-parts-of-animation/299610)

<div class="topic-metadata">

**Author:** [@mexitosus](https://forum.kirupa.com/u/mexitosus)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 2:32am UTC](https://forum.kirupa.com/t/need-efficient-way-to-color-transform-parts-of-animation/299610 "2009-11-08T02:32:28Z")

</div>

I'm new to this forum, so if this question has already been asked, then I apologize. I can't seem to find a situation quite like this which makes me believe I'm looking in the wrong places. I'm somewhat new to Flash so b…

---

## [Simple data binding reference missing in silverlight?](https://forum.kirupa.com/t/simple-data-binding-reference-missing-in-silverlight/299607)

<div class="topic-metadata">

**Author:** [@nickbarling](https://forum.kirupa.com/u/nickbarling)\
**Replies:** 0\
**Last updated:** [November 7, 2009, 11:09pm UTC](https://forum.kirupa.com/t/simple-data-binding-reference-missing-in-silverlight/299607 "2009-11-07T23:09:35Z")

</div>

\[FONT=Consolas\] \[COLOR=#0000ff\]\[FONT=Consolas\] \[COLOR=#0000ff\]\[FONT=Consolas\] \[COLOR=#0000ff\]\[FONT=Verdana\]\[COLOR=black\]I have a simple collection of string values from a collection data bound into some TextBlocks in…

---

## [Export a .swf From a .swf During Runtime?](https://forum.kirupa.com/t/export-a-swf-from-a-swf-during-runtime/299606)

<div class="topic-metadata">

**Author:** [@jebego](https://forum.kirupa.com/u/jebego)\
**Replies:** 0\
**Last updated:** [November 7, 2009, 10:44pm UTC](https://forum.kirupa.com/t/export-a-swf-from-a-swf-during-runtime/299606 "2009-11-07T22:44:53Z")

</div>

I'm looking for a method to create and save a .swf file from a currently open .swf file while the second of the two is running. My overall goal is to, with the click of a button, create a .swf that contains a certain …

---

## [Help needed to cause object to vanish when spacebar is pressed](https://forum.kirupa.com/t/help-needed-to-cause-object-to-vanish-when-spacebar-is-pressed/299605)

<div class="topic-metadata">

**Author:** [@mushi206](https://forum.kirupa.com/u/mushi206)\
**Replies:** 0\
**Last updated:** [November 7, 2009, 10:07pm UTC](https://forum.kirupa.com/t/help-needed-to-cause-object-to-vanish-when-spacebar-is-pressed/299605 "2009-11-07T22:07:31Z")

</div>

I am using flash 8 and actionscript 2 I am new to coding so am unsure how to perform certain tasks Im creating a game where i need, to press the spacebar button upon nearing an object and then that object vanishes. …

---

## [Simple click and zoom to area of image](https://forum.kirupa.com/t/simple-click-and-zoom-to-area-of-image/299604)

<div class="topic-metadata">

**Author:** [@snagt](https://forum.kirupa.com/u/snagt)\
**Replies:** 0\
**Last updated:** [November 7, 2009, 9:00pm UTC](https://forum.kirupa.com/t/simple-click-and-zoom-to-area-of-image/299604 "2009-11-07T21:00:54Z")

</div>

?

---

## [Google map: How to display Markers?](https://forum.kirupa.com/t/google-map-how-to-display-markers/299601)

<div class="topic-metadata">

**Author:** [@qpixo](https://forum.kirupa.com/u/qpixo)\
**Replies:** 0\
**Last updated:** [November 7, 2009, 4:42pm UTC](https://forum.kirupa.com/t/google-map-how-to-display-markers/299601 "2009-11-07T16:42:32Z")

</div>

I'm having an issue to display markers into google map. I use XML to parse those markers. \*\*Flash gives me that error msg: TypeError: Error #1009: Cannot access a property or method of a null object reference. Howev…

---

## [RegExp help](https://forum.kirupa.com/t/regexp-help/299597)

<div class="topic-metadata">

**Author:** [@greetification](https://forum.kirupa.com/u/greetification)\
**Replies:** 0\
**Last updated:** [November 7, 2009, 3:11pm UTC](https://forum.kirupa.com/t/regexp-help/299597 "2009-11-07T15:11:03Z")

</div>

Hi i'm trying to do a string replace with but can't seem to get the regular expression right. Can anyone help me change "/portfolio/2/3/" to "portfolio\_2\_3"? Basically I want to remove the leading and following slashes…

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

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