# programming

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

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

**Page:** 1314

---

## [Simple Database Query mySQL](https://forum.kirupa.com/t/simple-database-query-mysql/255136)

<div class="topic-metadata">

**Author:** [@DangerousDan](https://forum.kirupa.com/u/DangerousDan)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 1:06pm UTC](https://forum.kirupa.com/t/simple-database-query-mysql/255136 "2008-03-19T13:06:28Z")

</div>

Running a local database using apache server for PHP and I can't get this to work, once the script hits any mySQL code it just stops. phpinfo() works. \<?php echo "SAY"; //this works mysql\_connect("localhost", "root", …

---

## [Non linear or parabolic trajectory for airplane](https://forum.kirupa.com/t/non-linear-or-parabolic-trajectory-for-airplane/255135)

<div class="topic-metadata">

**Author:** [@Neoge](https://forum.kirupa.com/u/Neoge)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 12:57pm UTC](https://forum.kirupa.com/t/non-linear-or-parabolic-trajectory-for-airplane/255135 "2008-03-19T12:57:41Z")

</div>

Hey I am not sure if this is the right place to post this question but I thought I would give it a go. I am working on a paper airplane game that currently just uses some basic physics that would represent a projectile…

---

## [Advanced Image Viewer](https://forum.kirupa.com/t/advanced-image-viewer/255133)

<div class="topic-metadata">

**Author:** [@bigtrey90](https://forum.kirupa.com/u/bigtrey90)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 12:34pm UTC](https://forum.kirupa.com/t/advanced-image-viewer/255133 "2008-03-19T12:34:16Z")

</div>

I want to create a image viewer like shown on this website, http://www.iseedeadpixels.nl/. Could someone help me achieve this? Idk what type of actionscript I use.

---

## [Importing and instantiating, whats the difference?](https://forum.kirupa.com/t/importing-and-instantiating-whats-the-difference/255130)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 12:19pm UTC](https://forum.kirupa.com/t/importing-and-instantiating-whats-the-difference/255130 "2008-03-19T12:19:36Z")

</div>

how important is importing, like import someClass; because it seems that if you want to use the class like var \_someClass = new someClass(); it will work without importing it. is it just for efficiency purpo…

---

## [Help with JavaScript dynamic forms](https://forum.kirupa.com/t/help-with-javascript-dynamic-forms/255129)

<div class="topic-metadata">

**Author:** [@Byrnzie](https://forum.kirupa.com/u/Byrnzie)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 12:10pm UTC](https://forum.kirupa.com/t/help-with-javascript-dynamic-forms/255129 "2008-03-19T12:10:08Z")

</div>

Hi i was trying to make a web form for a booking system where a group of expences can be added the number of expences differs from booking to booking. I want the sytem to be able to read through the current input sa…

---

## [Move elements about the page](https://forum.kirupa.com/t/move-elements-about-the-page/255126)

<div class="topic-metadata">

**Author:** [@suz](https://forum.kirupa.com/u/suz)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 11:37am UTC](https://forum.kirupa.com/t/move-elements-about-the-page/255126 "2008-03-19T11:37:52Z")

</div>

I've created a desktop interface in flash which I now want to animate by allowing the user to click on the different objects and move them about the movie. Does anyone know of any tutorials to do this or if there are …

---

## [getURL("problem")](https://forum.kirupa.com/t/geturl-problem/255125)

<div class="topic-metadata">

**Author:** [@jamessy](https://forum.kirupa.com/u/jamessy)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 11:14am UTC](https://forum.kirupa.com/t/geturl-problem/255125 "2008-03-19T11:14:42Z")

</div>

all im am trying to do is have a flash button embedded in a html page which when clicked goes to a webpage this is my code this.but.onRelease=function(){ getURL("index.html"); } it worked when i tested it in flash bu…

---

## [\[FLEX\] Using NumericStepper in DataGrid](https://forum.kirupa.com/t/flex-using-numericstepper-in-datagrid/255124)

<div class="topic-metadata">

**Author:** [@bennymartensson](https://forum.kirupa.com/u/bennymartensson)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 11:00am UTC](https://forum.kirupa.com/t/flex-using-numericstepper-in-datagrid/255124 "2008-03-19T11:00:49Z")

</div>

I have this code for uploading files to a PHP-script. It works fine when I place my NumericStepper(id="sida") outside the DataGrid but when I try to put it inside, Flex can't find the property "sida". What code goes wher…

---

## [Simple AS2 mouseover effect not working](https://forum.kirupa.com/t/simple-as2-mouseover-effect-not-working/255122)

<div class="topic-metadata">

**Author:** [@uzilover](https://forum.kirupa.com/u/uzilover)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 10:00am UTC](https://forum.kirupa.com/t/simple-as2-mouseover-effect-not-working/255122 "2008-03-19T10:00:20Z")

</div>

Hi, I don't use actionscript very often, but I'm convinced this effect should work. I just want the movie clip "button" to play on mouseover and rewind on mouseout. The attached fla is a simplified version. Hope …

---

## [Running a Flex app outside Flex builder](https://forum.kirupa.com/t/running-a-flex-app-outside-flex-builder/255119)

<div class="topic-metadata">

**Author:** [@derm116](https://forum.kirupa.com/u/derm116)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 9:20am UTC](https://forum.kirupa.com/t/running-a-flex-app-outside-flex-builder/255119 "2008-03-19T09:20:42Z")

</div>

Hi all, I've been working on a flex widget for a number of weeks and have just completed development and testing and want to upload the swf to a server! If I run the swf from flex builder it connects to the server fine…

---

## [FLV files in laods in swf file](https://forum.kirupa.com/t/flv-files-in-laods-in-swf-file/255118)

<div class="topic-metadata">

**Author:** [@sarfdesign](https://forum.kirupa.com/u/sarfdesign)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 9:18am UTC](https://forum.kirupa.com/t/flv-files-in-laods-in-swf-file/255118 "2008-03-19T09:18:30Z")

</div>

dear friend, www.mumdo.com/video/v.html i m working on this website everything is finished but only i m having problem with videos. As i used flv files which I import in swf as component. Now can i give loading or …

---

## [Help...need a horizontal scrollbar!](https://forum.kirupa.com/t/help-need-a-horizontal-scrollbar/255116)

<div class="topic-metadata">

**Author:** [@Severinf](https://forum.kirupa.com/u/Severinf)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 8:12am UTC](https://forum.kirupa.com/t/help-need-a-horizontal-scrollbar/255116 "2008-03-19T08:12:01Z")

</div>

I made this tutorial (no worries, it's on kirupa.com) but I need it the other way round...on the x-axis. I tried to change the script, but it didn't work. Can someone give me a hint, how to change the script? Would be …

---

## [Simple Tutorial on Trajectory?](https://forum.kirupa.com/t/simple-tutorial-on-trajectory/255114)

<div class="topic-metadata">

**Author:** [@specialboy](https://forum.kirupa.com/u/specialboy)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 6:34am UTC](https://forum.kirupa.com/t/simple-tutorial-on-trajectory/255114 "2008-03-19T06:34:38Z")

</div>

I am having trouble making a missle gradually fall down. Can someone direct me to some simple tuts on that? Or at least tell me what I am looking for. I've found some on gravity, but they are usually about things fall …

---

## [String.replace()](https://forum.kirupa.com/t/string-replace/255113)

<div class="topic-metadata">

**Author:** [@trundrumbalind](https://forum.kirupa.com/u/trundrumbalind)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 6:29am UTC](https://forum.kirupa.com/t/string-replace/255113 "2008-03-19T06:29:48Z")

</div>

Hi guys, Ok I have an input text field with htmlText set to false. Now, I want to grab data from the text field but I want to convert line breaks to "\<br /\>". I used this code... textDescription.text.replace("\\r", "\<b…

---

## [DataGrid Issues in Browser](https://forum.kirupa.com/t/datagrid-issues-in-browser/255108)

<div class="topic-metadata">

**Author:** [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 4:17am UTC](https://forum.kirupa.com/t/datagrid-issues-in-browser/255108 "2008-03-19T04:17:20Z")

</div>

Hey all, I have a DataGrid and I am manually setting the widths of the columns and they are working when i test through the flash application but in the browsers my column widths are not being set at all?? Has anybod…

---

## [Projectile Movement Between Two Points](https://forum.kirupa.com/t/projectile-movement-between-two-points/255107)

<div class="topic-metadata">

**Author:** [@Septenary](https://forum.kirupa.com/u/Septenary)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 2:45am UTC](https://forum.kirupa.com/t/projectile-movement-between-two-points/255107 "2008-03-19T02:45:57Z")

</div>

Hey, I have two points on the stage. I need to move a projectile from one point to the other with parabolic motion, reaching a certain maximum height. The known variables are, therefore, the (x,y) start coordinate, t…

---

## [\[AIR\] Are .air files really secure?](https://forum.kirupa.com/t/air-are-air-files-really-secure/255100)

<div class="topic-metadata">

**Author:** [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 1:32am UTC](https://forum.kirupa.com/t/air-are-air-files-really-secure/255100 "2008-03-19T01:32:46Z")

</div>

I'm deploying a web app built on AIR. The app consists of a main swf, which loads smaller swfs in as modules. When someone downloads my .air installer file, they could treat it like a zip file and explore it or decompr…

---

## [Duplicating text in one text input box to another text box](https://forum.kirupa.com/t/duplicating-text-in-one-text-input-box-to-another-text-box/255099)

<div class="topic-metadata">

**Author:** [@justice49](https://forum.kirupa.com/u/justice49)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 1:25am UTC](https://forum.kirupa.com/t/duplicating-text-in-one-text-input-box-to-another-text-box/255099 "2008-03-19T01:25:08Z")

</div>

I have 3 text input boxes in one scene. I want the user to type his name into the first box. When a button is clicked the user's name goes into the second box. A new user comes along, and types his name into the first b…

---

## [Publish or insert in dreamweaver-AC\_RunActiveContent.js](https://forum.kirupa.com/t/publish-or-insert-in-dreamweaver-ac-runactivecontent-js/255096)

<div class="topic-metadata">

**Author:** [@nicks03](https://forum.kirupa.com/u/nicks03)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 12:55am UTC](https://forum.kirupa.com/t/publish-or-insert-in-dreamweaver-ac-runactivecontent-js/255096 "2008-03-19T00:55:19Z")

</div>

Hi When i publish from flash cs3, my movie works, but when i insert the same file in dreamweaver cs3 the movie won't appear. Does anyone know whats going on? Cheers

---

## [Random FLV Array](https://forum.kirupa.com/t/random-flv-array/255095)

<div class="topic-metadata">

**Author:** [@cpthomas](https://forum.kirupa.com/u/cpthomas)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 12:48am UTC](https://forum.kirupa.com/t/random-flv-array/255095 "2008-03-19T00:48:20Z")

</div>

Hi everyone! I'm trying to create a SWF that loads a series of FLV files into an array, and then plays them randomly and seamlessly one after another in a continuous, random loop. Anyone know where to start? Thanks…

---

## [Adobe AIR and performance](https://forum.kirupa.com/t/adobe-air-and-performance/255091)

<div class="topic-metadata">

**Author:** [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 11:12pm UTC](https://forum.kirupa.com/t/adobe-air-and-performance/255091 "2008-03-18T23:12:24Z")

</div>

I do not have a very fast computer. I'm not posting benchmarks anywhere, anytime soon. But I've managed to put some pretty extravagant animations in my current project without impacting the framerate, which is somewhere …

---

## [XML + Flash Photo Gallery Tutorial](https://forum.kirupa.com/t/xml-flash-photo-gallery-tutorial/255090)

<div class="topic-metadata">

**Author:** [@bigtrey90](https://forum.kirupa.com/u/bigtrey90)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 10:57pm UTC](https://forum.kirupa.com/t/xml-flash-photo-gallery-tutorial/255090 "2008-03-18T22:57:13Z")

</div>

I am following this tutorial, http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm. I need to download the partial FLA files, but I can't open them in flash. Could somebody give me the steps or codes to p…

---

## [AS3 Text Effects tutorial](https://forum.kirupa.com/t/as3-text-effects-tutorial/255084)

<div class="topic-metadata">

**Author:** [@segev](https://forum.kirupa.com/u/segev)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 9:37pm UTC](https://forum.kirupa.com/t/as3-text-effects-tutorial/255084 "2008-03-18T21:37:57Z")

</div>

Hi All, Here is a great tutorial for creating Chracter by character text effects... enjoy. (http://www.sidesign.co.il/tutorials.php?tutindex=1)

---

## [External SWF Movie ScrubBar Help](https://forum.kirupa.com/t/external-swf-movie-scrubbar-help/255081)

<div class="topic-metadata">

**Author:** [@hota4719](https://forum.kirupa.com/u/hota4719)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 8:19pm UTC](https://forum.kirupa.com/t/external-swf-movie-scrubbar-help/255081 "2008-03-18T20:19:50Z")

</div>

Hello Kirupa Community, I have been developing a External SWF Player for about a week now and I am having major problems with the scrub bar portion of the project. I am posting here in hopes that someone will spare a f…

---

## [Help with document class as file syntax](https://forum.kirupa.com/t/help-with-document-class-as-file-syntax/255080)

<div class="topic-metadata">

**Author:** [@schammy79](https://forum.kirupa.com/u/schammy79)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 8:15pm UTC](https://forum.kirupa.com/t/help-with-document-class-as-file-syntax/255080 "2008-03-18T20:15:39Z")

</div>

The following lines of code were on the main timeline and now need to go in a document class .as file... How do I re-write them properly? closebutton.addEventListener(MouseEvent.CLICK, unloadFunction); \*\*function unl…

---

## [Senocular ProgressiveDrawing Listener](https://forum.kirupa.com/t/senocular-progressivedrawing-listener/255075)

<div class="topic-metadata">

**Author:** [@callie17](https://forum.kirupa.com/u/callie17)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 7:27pm UTC](https://forum.kirupa.com/t/senocular-progressivedrawing-listener/255075 "2008-03-18T19:27:01Z")

</div>

Hi all, So I picked up senocular's ProgressiveDrawing class this morning (awesome), but I'm having some issues getting an oncomplete to fire correctly. I think it has to do with my for loop, but I don't know why. …

---

## [AS3.0 what happened to selection.setFocus (someTxt);](https://forum.kirupa.com/t/as3-0-what-happened-to-selection-setfocus-sometxt/255073)

<div class="topic-metadata">

**Author:** [@Multi\_Task](https://forum.kirupa.com/u/Multi_Task)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 7:12pm UTC](https://forum.kirupa.com/t/as3-0-what-happened-to-selection-setfocus-sometxt/255073 "2008-03-18T19:12:57Z")

</div>

AS2 selection.setFocus (someTxt); someTxt field would be selected with cursor in field. AS3 someTxt.setFocus(); focused on but not with cursor in field. How to do? I have tried many things. Ahhhh the little thi…

---

## [Couple of Questions about TextFields](https://forum.kirupa.com/t/couple-of-questions-about-textfields/255071)

<div class="topic-metadata">

**Author:** [@jwilliam](https://forum.kirupa.com/u/jwilliam)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 6:57pm UTC](https://forum.kirupa.com/t/couple-of-questions-about-textfields/255071 "2008-03-18T18:57:48Z")

</div>

Can someone tell me if there is a way to display Unicode characters in a TextField other than with htmlText? In other words, I know that I can put • in the htmlText property and it will display a Bullet Point... but I d…

---

## [Playing MPEG, AVI and FLV in flash - Without encoding](https://forum.kirupa.com/t/playing-mpeg-avi-and-flv-in-flash-without-encoding/255066)

<div class="topic-metadata">

**Author:** [@flashgopal](https://forum.kirupa.com/u/flashgopal)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 6:36pm UTC](https://forum.kirupa.com/t/playing-mpeg-avi-and-flv-in-flash-without-encoding/255066 "2008-03-18T18:36:46Z")

</div>

Hi, I was trying to play different video formats in flv player, but as known flv player plays only .flv files. Is there anyway by which we can stream different video formats in flash i.e. either of MPEG or AVI. I do not …

---

## [Loadvars php not working on webserver](https://forum.kirupa.com/t/loadvars-php-not-working-on-webserver/255063)

<div class="topic-metadata">

**Author:** [@schutzy](https://forum.kirupa.com/u/schutzy)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 6:18pm UTC](https://forum.kirupa.com/t/loadvars-php-not-working-on-webserver/255063 "2008-03-18T18:18:40Z")

</div>

Hi, I developed a relatively simple credit card processing form in flash that takes the customer data via method=post and sends it to a php script which validates the card transaction as approved or declined and then …

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

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