# programming

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

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

**Page:** 1567

---

## [Desperate for some advanced actionscript help!](https://forum.kirupa.com/t/desperate-for-some-advanced-actionscript-help/236978)

<div class="topic-metadata">

**Author:** [@satrop101](https://forum.kirupa.com/u/satrop101)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 8:52pm UTC](https://forum.kirupa.com/t/desperate-for-some-advanced-actionscript-help/236978 "2007-08-25T20:52:23Z")

</div>

Good day all! I've had this problem for some now and I cant get the code to work right. You can get the .fla here\>http://thedesignport.com/Help/Final(Flash8).fla\< this is the flash 8 version of the file and heres CS3\>htt…

---

## [Load ONE image with xml](https://forum.kirupa.com/t/load-one-image-with-xml/236977)

<div class="topic-metadata">

**Author:** [@ccasati](https://forum.kirupa.com/u/ccasati)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 8:46pm UTC](https://forum.kirupa.com/t/load-one-image-with-xml/236977 "2007-08-25T20:46:31Z")

</div>

I'm just trying to load ONE image with xml- a title, description and image. Can't figure out what I'm doing wrong- no picture ever shows (though title & desc work). I put the title, description text fields and picture…

---

## [How to make enemy in race game?](https://forum.kirupa.com/t/how-to-make-enemy-in-race-game/236976)

<div class="topic-metadata">

**Author:** [@ImACrow](https://forum.kirupa.com/u/ImACrow)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 8:26pm UTC](https://forum.kirupa.com/t/how-to-make-enemy-in-race-game/236976 "2007-08-25T20:26:30Z")

</div>

I know for most of you its maybe easy but i never knew how to make enemies in car or race games games - I have only done puzzles and coloring books till now but now I have to make boat race game(like car race but with bo…

---

## [BrowserStateManager](https://forum.kirupa.com/t/browserstatemanager/236974)

<div class="topic-metadata">

**Author:** [@2socks](https://forum.kirupa.com/u/2socks)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 8:19pm UTC](https://forum.kirupa.com/t/browserstatemanager/236974 "2007-08-25T20:19:02Z")

</div>

I am trying to learn BrowserStateManager and the tutorial I am following makes use of the FlashObject script. My question is... In CS3 is that basically the same thing as AC\_RunActiveContent.js ?? Can I use AC\_RunAc…

---

## [Initial Empty SWF in Browser](https://forum.kirupa.com/t/initial-empty-swf-in-browser/236967)

<div class="topic-metadata">

**Author:** [@endemoniada](https://forum.kirupa.com/u/endemoniada)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 7:27pm UTC](https://forum.kirupa.com/t/initial-empty-swf-in-browser/236967 "2007-08-25T19:27:30Z")

</div>

Hi guys, When I first load my HTML page with the SWF it looks like it does when an image is missing. The SWF loads pretty quickly but it still looks bad at the very beginning. What should I do ?

---

## [FileRefrence uploading](https://forum.kirupa.com/t/filerefrence-uploading/236965)

<div class="topic-metadata">

**Author:** [@susancbk](https://forum.kirupa.com/u/susancbk)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 7:08pm UTC](https://forum.kirupa.com/t/filerefrence-uploading/236965 "2007-08-25T19:08:48Z")

</div>

working on an image uploader -\> http://photojojo.com/imageEditor/uploader/uploader2.swf couple problems. 1. my listener.onProgress isnt getting called 2. it works fine with smaller files, but when i try to upload a lot…

---

## [Flash Form Fields!](https://forum.kirupa.com/t/flash-form-fields/236964)

<div class="topic-metadata">

**Author:** [@comydow](https://forum.kirupa.com/u/comydow)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 6:25pm UTC](https://forum.kirupa.com/t/flash-form-fields/236964 "2007-08-25T18:25:24Z")

</div>

How do I create a form that uses the getURL function and sends the typed information on the press of the submit button? Is there a way to do this? With no sideserver? :hair:

---

## [\[Fx\] Tree - drag and drop - nodes](https://forum.kirupa.com/t/fx-tree-drag-and-drop-nodes/236961)

<div class="topic-metadata">

**Author:** [@pete\_zahut](https://forum.kirupa.com/u/pete_zahut)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 5:05pm UTC](https://forum.kirupa.com/t/fx-tree-drag-and-drop-nodes/236961 "2007-08-25T17:05:34Z")

</div>

Hello, I've made a tree drag & dropable, but I found out that if I drag all of the childnodes out of a folder, the folder becomes a node (which is normal). But I would like to know if it is possible to drag a node and …

---

## [Array problem - location a specific value!?!](https://forum.kirupa.com/t/array-problem-location-a-specific-value/236960)

<div class="topic-metadata">

**Author:** [@booeriis](https://forum.kirupa.com/u/booeriis)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 4:52pm UTC](https://forum.kirupa.com/t/array-problem-location-a-specific-value/236960 "2007-08-25T16:52:40Z")

</div>

hi I'm owrking on a little inventory for my game and i was wonder how you would reffer to a specific value within the array. i know you can refer to it's place in the array eg. \[0\], \[1\], \[2\]. and remove or replace the…

---

## [PHP Change Drive Letter](https://forum.kirupa.com/t/php-change-drive-letter/236957)

<div class="topic-metadata">

**Author:** [@tfoston](https://forum.kirupa.com/u/tfoston)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 3:49pm UTC](https://forum.kirupa.com/t/php-change-drive-letter/236957 "2007-08-25T15:49:39Z")

</div>

I'm trying to access a couple of drives on the server outside of the wwwroot folder( I'm running winows IIS). chroot only works with apache and its not as easy as I imaged. Can anyone give me the low down on how to chang…

---

## [Flash mp3 player command and pitch issues](https://forum.kirupa.com/t/flash-mp3-player-command-and-pitch-issues/236956)

<div class="topic-metadata">

**Author:** [@keskin](https://forum.kirupa.com/u/keskin)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 3:47pm UTC](https://forum.kirupa.com/t/flash-mp3-player-command-and-pitch-issues/236956 "2007-08-25T15:47:20Z")

</div>

Please fellas help \[smiley\] I altered a fla file that I've found on a site that explained how to make mp3 player step by step. Now really this is a simple player, simple as it gets, but since I'm a total flash noob, …

---

## [Flash Rotate and Drag within cos(\_rotation) or sin(\_rotation)](https://forum.kirupa.com/t/flash-rotate-and-drag-within-cos--rotation-or-sin--rotation/236946)

<div class="topic-metadata">

**Author:** [@stephen2earth](https://forum.kirupa.com/u/stephen2earth)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 10:11am UTC](https://forum.kirupa.com/t/flash-rotate-and-drag-within-cos--rotation-or-sin--rotation/236946 "2007-08-25T10:11:52Z")

</div>

Hi all, this is just what should be a simple trigonometry question for you. I have a project which will allow the user to upload an image, drag it within a certain area, and rotate it. The trouble is, that the user is al…

---

## ['(' expected](https://forum.kirupa.com/t/expected/236945)

<div class="topic-metadata">

**Author:** [@stillbeating](https://forum.kirupa.com/u/stillbeating)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 10:06am UTC](https://forum.kirupa.com/t/expected/236945 "2007-08-25T10:06:15Z")

</div>

I'm making a beat 'em up style game where you click a button and your character attacks.. heres my problem. on the button named 'punch' i want it so when you enter a certain frame on the 'ragebar' the enemy starts to go …

---

## [HTML Editor type formatting with JS?](https://forum.kirupa.com/t/html-editor-type-formatting-with-js/236943)

<div class="topic-metadata">

**Author:** [@Shard](https://forum.kirupa.com/u/Shard)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 9:31am UTC](https://forum.kirupa.com/t/html-editor-type-formatting-with-js/236943 "2007-08-25T09:31:11Z")

</div>

Hi all, I have a Rich Text Editor I have written for a client and one of the options is to view the source as HTML, which basically grabs the innerHTML of the iframe and places it in a div. The problem is that is just …

---

## [Flash Recorder Video Quality - settings](https://forum.kirupa.com/t/flash-recorder-video-quality-settings/236940)

<div class="topic-metadata">

**Author:** [@yell\_sheep](https://forum.kirupa.com/u/yell_sheep)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 6:17am UTC](https://forum.kirupa.com/t/flash-recorder-video-quality-settings/236940 "2007-08-25T06:17:55Z")

</div>

Hello fellas, I've created a webcam widget in flash 8 which records and dumps a flv to FMS - however, the quality of the preview window and the quality of the recorded flv is pretty bad - how can i improve this? need t…

---

## [Loading FLVs in new movie clip within main window](https://forum.kirupa.com/t/loading-flvs-in-new-movie-clip-within-main-window/236937)

<div class="topic-metadata">

**Author:** [@akisok2](https://forum.kirupa.com/u/akisok2)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 3:52am UTC](https://forum.kirupa.com/t/loading-flvs-in-new-movie-clip-within-main-window/236937 "2007-08-25T03:52:15Z")

</div>

I hope my title is accurate. Here's what I want to do: I am making an interactive CD. On my main stage, I have a list of videos that I want the user to watch. Like so: \[1\] Video A \[2\] Video B \[3\] Video C When a …

---

## [Actionscript fails when movie is externally loaded](https://forum.kirupa.com/t/actionscript-fails-when-movie-is-externally-loaded/236936)

<div class="topic-metadata">

**Author:** [@tucker](https://forum.kirupa.com/u/tucker)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 3:49am UTC](https://forum.kirupa.com/t/actionscript-fails-when-movie-is-externally-loaded/236936 "2007-08-25T03:49:53Z")

</div>

So i coded a few photo galleries. When i open up my main page and have each gallery loaded, the gallery does not function properly. None of the buttons work, the images don't load correctly, everything is a mess. I spent…

---

## [\[F8\]Cosmos Defender-Space Shooter](https://forum.kirupa.com/t/f8-cosmos-defender-space-shooter/236934)

<div class="topic-metadata">

**Author:** [@Sauceofallevils](https://forum.kirupa.com/u/Sauceofallevils)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 3:07am UTC](https://forum.kirupa.com/t/f8-cosmos-defender-space-shooter/236934 "2007-08-25T03:07:22Z")

</div>

Hello, I have been working on a side scrolling space shooter for awhile now. Now I know what your all thinking, "Wow I've seen this before!". But I am adding some originality to these kinds of games. For one I added a mo…

---

## [SQL Date / Datetime convert?](https://forum.kirupa.com/t/sql-date-datetime-convert/236933)

<div class="topic-metadata">

**Author:** [@siuj](https://forum.kirupa.com/u/siuj)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 2:51am UTC](https://forum.kirupa.com/t/sql-date-datetime-convert/236933 "2007-08-25T02:51:39Z")

</div>

Hi, How can I write a query to sum up the amount group by date (not datetime) of the following data? MyDate / Amount 2007-08-15 16:13:21 / 2500 2007-08-15 16:14:24 / 5000 2007-08-18 10:19:00 / 1000 2007-08-18 10:19:…

---

## [Syntax problem with variable AS2](https://forum.kirupa.com/t/syntax-problem-with-variable-as2/236931)

<div class="topic-metadata">

**Author:** [@tin\_soldier](https://forum.kirupa.com/u/tin_soldier)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 2:17am UTC](https://forum.kirupa.com/t/syntax-problem-with-variable-as2/236931 "2007-08-25T02:17:46Z")

</div>

Hi there, I have a swf that I am loading into my main movie which uses an xml gallery. The line of code that brings in the xml file is: xmlData.load("filename.xml"); I would like to be able to reuse the swf and cha…

---

## [Trying - XML Newsbar](https://forum.kirupa.com/t/trying-xml-newsbar/236930)

<div class="topic-metadata">

**Author:** [@Only\_Dust](https://forum.kirupa.com/u/Only_Dust)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 2:07am UTC](https://forum.kirupa.com/t/trying-xml-newsbar/236930 "2007-08-25T02:07:11Z")

</div>

I´n not very good em AS, I´m trying to do some XML Newsbar, i can do to show the dynamic text and I can put some link. I would like to know, How can I do to change to the next text, without click, he make some animatio…

---

## [.swf within an .swf](https://forum.kirupa.com/t/swf-within-an-swf/236929)

<div class="topic-metadata">

**Author:** [@spandro](https://forum.kirupa.com/u/spandro)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 1:55am UTC](https://forum.kirupa.com/t/swf-within-an-swf/236929 "2007-08-25T01:55:02Z")

</div>

So I figured out how to sort of use the Loadmovie command. My flash page is set up in such a way that when you click the buttons, it searches the timeline and stops at whatever frame I would like Flash to stop it. Here i…

---

## [Hittest timeline](https://forum.kirupa.com/t/hittest-timeline/236927)

<div class="topic-metadata">

**Author:** [@Chase\_Watkins](https://forum.kirupa.com/u/Chase_Watkins)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 12:56am UTC](https://forum.kirupa.com/t/hittest-timeline/236927 "2007-08-25T00:56:23Z")

</div>

Hello everybody, I'm new to the forum! I've got a problem with a game I am creating, I want a movie clip to play once when my character hits it, it has a stop function at the end of the movie clip, but as long as the c…

---

## [Mail subscribe form](https://forum.kirupa.com/t/mail-subscribe-form/236925)

<div class="topic-metadata">

**Author:** [@Lab26](https://forum.kirupa.com/u/Lab26)\
**Replies:** 0\
**Last updated:** [August 25, 2007, 12:10am UTC](https://forum.kirupa.com/t/mail-subscribe-form/236925 "2007-08-25T00:10:22Z")

</div>

Hey all, I got this little mail subscribe form. Dous anyone know of any way to integrate this in flash CS3? \<form method=post action=http://www.mailinglist.com/subscribe.php?RV\> \<input type="text" name="YMLP0" size="20…

---

## [Foreign characters from MySQL Database](https://forum.kirupa.com/t/foreign-characters-from-mysql-database/236922)

<div class="topic-metadata">

**Author:** [@toolofthesystem](https://forum.kirupa.com/u/toolofthesystem)\
**Replies:** 0\
**Last updated:** [August 24, 2007, 11:51pm UTC](https://forum.kirupa.com/t/foreign-characters-from-mysql-database/236922 "2007-08-24T23:51:19Z")

</div>

I'm having some issues with trying to pull some information out of a mySQL database that has a latin1 character set but somehow manages to retain foreign characters. In PHPMyAdmin they show up as messed up text, but at l…

---

## [\[SQL\] count records and input number into table](https://forum.kirupa.com/t/sql-count-records-and-input-number-into-table/236920)

<div class="topic-metadata">

**Author:** [@Patch](https://forum.kirupa.com/u/Patch)\
**Replies:** 0\
**Last updated:** [August 24, 2007, 10:49pm UTC](https://forum.kirupa.com/t/sql-count-records-and-input-number-into-table/236920 "2007-08-24T22:49:00Z")

</div>

Hi there, me again, got another SQL question. I'm having ago at trying to create a little tagging system. Still learning php+mysql so hopefully you can help me out. My system at the moment is that I have a drop down me…

---

## [PHP: pass variables from static link](https://forum.kirupa.com/t/php-pass-variables-from-static-link/236916)

<div class="topic-metadata">

**Author:** [@ademo](https://forum.kirupa.com/u/ademo)\
**Replies:** 0\
**Last updated:** [August 24, 2007, 9:32pm UTC](https://forum.kirupa.com/t/php-pass-variables-from-static-link/236916 "2007-08-24T21:32:44Z")

</div>

I'm sure this is probably very simple, but beyond my very limited PHP skills, so any help would be appreciated. I'm trying to do the following: I have several links on page1.php each link will load page2.php page2.php…

---

## [\[AS2\] External AS files talking to each other](https://forum.kirupa.com/t/as2-external-as-files-talking-to-each-other/236911)

<div class="topic-metadata">

**Author:** [@MaynardWinter](https://forum.kirupa.com/u/MaynardWinter)\
**Replies:** 0\
**Last updated:** [August 24, 2007, 8:11pm UTC](https://forum.kirupa.com/t/as2-external-as-files-talking-to-each-other/236911 "2007-08-24T20:11:56Z")

</div>

Hey, Can I be in an external actionscript file.... let's call it alpha.as ...and I need to refer to some code that's in another external AS file... beta.as ...is there a way I can do that? Both AS files naturally res…

---

## [MySQL Error - How do I solve this?](https://forum.kirupa.com/t/mysql-error-how-do-i-solve-this/236909)

<div class="topic-metadata">

**Author:** [@Syous](https://forum.kirupa.com/u/Syous)\
**Replies:** 0\
**Last updated:** [August 24, 2007, 7:54pm UTC](https://forum.kirupa.com/t/mysql-error-how-do-i-solve-this/236909 "2007-08-24T19:54:42Z")

</div>

Alright I have a connect script and when I test it, I get this error message Could not connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) For the sake of it, here is the connect script.…

---

## [Scan URL and retreive subfolder name](https://forum.kirupa.com/t/scan-url-and-retreive-subfolder-name/236907)

<div class="topic-metadata">

**Author:** [@detonate](https://forum.kirupa.com/u/detonate)\
**Replies:** 0\
**Last updated:** [August 24, 2007, 7:52pm UTC](https://forum.kirupa.com/t/scan-url-and-retreive-subfolder-name/236907 "2007-08-24T19:52:43Z")

</div>

Is there a way to scan/analyse a URL Ex: www.test.com and retrieve all subfolder names (underneath the root)? Can't find anything related to this and seems basic... any tips?

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

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