# programming

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

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

**Page:** 1742

---

## [\[Flex/AS3\] Code best practice](https://forum.kirupa.com/t/flex-as3-code-best-practice/224353)

<div class="topic-metadata">

**Author:** [@Cruiser](https://forum.kirupa.com/u/Cruiser)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 6:20pm UTC](https://forum.kirupa.com/t/flex-as3-code-best-practice/224353 "2007-05-01T18:20:09Z")

</div>

Hi all, I have coded AS2 applications with FMX2004 earlier with Zinc and now wanted to try my hand at the shiny new Flex 2.0.1 and AS3 combination. I am really not very confident in the approach I am using (or have s…

---

## [Building a Timer with several functions](https://forum.kirupa.com/t/building-a-timer-with-several-functions/224352)

<div class="topic-metadata">

**Author:** [@ponyack](https://forum.kirupa.com/u/ponyack)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 6:03pm UTC](https://forum.kirupa.com/t/building-a-timer-with-several-functions/224352 "2007-05-01T18:03:30Z")

</div>

Hi, I have a client that needs a timer. I have found some good tutorials and seen some good examples. But I need some special functions built into the time. The most imortant funtion would be a warning at a specif…

---

## [Learn How to Use Flash with PHP and mySQL](https://forum.kirupa.com/t/learn-how-to-use-flash-with-php-and-mysql/224346)

<div class="topic-metadata">

**Author:** [@guyswebdesigns](https://forum.kirupa.com/u/guyswebdesigns)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 3:29pm UTC](https://forum.kirupa.com/t/learn-how-to-use-flash-with-php-and-mysql/224346 "2007-05-01T15:29:41Z")

</div>

I have flash 8 actionscript 2.0 Okay so I got the onclip to work: onClipEvent (load) { //assuming you have a personal web server and PHP installed locally loadVariables("http://www.''/''/info.php?info=info" ,this,"GE…

---

## [Hovering Captions in CS3?](https://forum.kirupa.com/t/hovering-captions-in-cs3/224343)

<div class="topic-metadata">

**Author:** [@Pseven](https://forum.kirupa.com/u/Pseven)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 2:43pm UTC](https://forum.kirupa.com/t/hovering-captions-in-cs3/224343 "2007-05-01T14:43:11Z")

</div>

Hello Kirupa.com Community, I'm a brand new flash "developer" and using CS3. I have a background in HTML/Java and OOP. I've found a few tutorials touching on how to create those text hovering captions that I so badly…

---

## [Platform Game HELP!?](https://forum.kirupa.com/t/platform-game-help/224342)

<div class="topic-metadata">

**Author:** [@jhallen](https://forum.kirupa.com/u/jhallen)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 1:45pm UTC](https://forum.kirupa.com/t/platform-game-help/224342 "2007-05-01T13:45:54Z")

</div>

Hello, Can anybody help me with this game. I am creating a platform game, but it is not working very well yet. The mc's go through the floor, the enemy does not follow... and so on. http://www.filecrunch.com/file/~wlrq…

---

## [XML.sendAndLoad Post Values?](https://forum.kirupa.com/t/xml-sendandload-post-values/224339)

<div class="topic-metadata">

**Author:** [@duncanhall](https://forum.kirupa.com/u/duncanhall)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 12:35pm UTC](https://forum.kirupa.com/t/xml-sendandload-post-values/224339 "2007-05-01T12:35:29Z")

</div>

I'm using the \*sendAndLoad() \*method to send an XML object to a PHP file, and I want the PHP file to be able to process the data in the XML object before it is sent bcak. At the moment I can send the XML object to my P…

---

## [Help: Casting String gotten from Xml to a Number Type](https://forum.kirupa.com/t/help-casting-string-gotten-from-xml-to-a-number-type/224330)

<div class="topic-metadata">

**Author:** [@kevmann16](https://forum.kirupa.com/u/kevmann16)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 10:22am UTC](https://forum.kirupa.com/t/help-casting-string-gotten-from-xml-to-a-number-type/224330 "2007-05-01T10:22:16Z")

</div>

Hi all, I have a major problem, I have parsed the data from an xml doc to global vars in flash and need to use a few of them as numbers for things the position of "nodes" on the screen. However I can not cast the data …

---

## [SQL Ordering](https://forum.kirupa.com/t/sql-ordering/224328)

<div class="topic-metadata">

**Author:** [@thedaveyb](https://forum.kirupa.com/u/thedaveyb)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 9:47am UTC](https://forum.kirupa.com/t/sql-ordering/224328 "2007-05-01T09:47:16Z")

</div>

In an ASP SQL Query string can i ODRER BY more than over variable for example Select \* FROM tablename ORDER BY date\_added AND article\_id ASC/DESC ?

---

## [getElementById in external site](https://forum.kirupa.com/t/getelementbyid-in-external-site/224327)

<div class="topic-metadata">

**Author:** [@supernerden](https://forum.kirupa.com/u/supernerden)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 9:32am UTC](https://forum.kirupa.com/t/getelementbyid-in-external-site/224327 "2007-05-01T09:32:55Z")

</div>

Is it possible in javascript to fetch an element from a different site? In example: External site: .... \<div id="foo"\>....\</div\> .... My site: Well... I don't know, can some of you tell me how I get the content o…

---

## [Masking Externally Loaded Text](https://forum.kirupa.com/t/masking-externally-loaded-text/224325)

<div class="topic-metadata">

**Author:** [@sandman01](https://forum.kirupa.com/u/sandman01)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 9:01am UTC](https://forum.kirupa.com/t/masking-externally-loaded-text/224325 "2007-05-01T09:01:53Z")

</div>

I have a following situation: I have a dynamic text field where I load text from an external file using load vars, but I need the text to be masked using a bitmap image from photoshop as a mask. If I put the text in a m…

---

## [Resize function, help!](https://forum.kirupa.com/t/resize-function-help/224324)

<div class="topic-metadata">

**Author:** [@michey](https://forum.kirupa.com/u/michey)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 8:25am UTC](https://forum.kirupa.com/t/resize-function-help/224324 "2007-05-01T08:25:18Z")

</div>

Hi I took parts of the code from the resizing Gallery thread to achieve the same effect for my gallery. Infortunately I can't make things work properly. What I'm triyng to achieve is a fixed y position with horizontall…

---

## [sortOn() if MovieClip?](https://forum.kirupa.com/t/sorton-if-movieclip/224320)

<div class="topic-metadata">

**Author:** [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 6:55am UTC](https://forum.kirupa.com/t/sorton-if-movieclip/224320 "2007-05-01T06:55:14Z")

</div>

Im trying to use the sortOn function on an array that used to contain an Object with a bunch of 'fields' at each index, but then for other reasons i saw the benefits of storing Movie Clips in the array instead, the movie…

---

## [For Loop With A Pause Before Running Again](https://forum.kirupa.com/t/for-loop-with-a-pause-before-running-again/224318)

<div class="topic-metadata">

**Author:** [@Flamingtoaster](https://forum.kirupa.com/u/Flamingtoaster)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 6:01am UTC](https://forum.kirupa.com/t/for-loop-with-a-pause-before-running-again/224318 "2007-05-01T06:01:36Z")

</div>

Hi, I'm trying to run a for loop for my game that runs once, waits a certain amount of time, then runs again. I'm trying it with setInterval but so far no luck. Could someone please give me an example of some code that w…

---

## [Dynamic Text Arc in Actionscript](https://forum.kirupa.com/t/dynamic-text-arc-in-actionscript/224315)

<div class="topic-metadata">

**Author:** [@mwiley63](https://forum.kirupa.com/u/mwiley63)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 4:26am UTC](https://forum.kirupa.com/t/dynamic-text-arc-in-actionscript/224315 "2007-05-01T04:26:10Z")

</div>

I need to take a textbox on the movie screen, fill it with text and then apply an acute arc to the text about the middle of the text. All the help I have found so far has just been how to arc text like one of the arches …

---

## [Thumbnail scrolling](https://forum.kirupa.com/t/thumbnail-scrolling/224310)

<div class="topic-metadata">

**Author:** [@mattstec](https://forum.kirupa.com/u/mattstec)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 3:08am UTC](https://forum.kirupa.com/t/thumbnail-scrolling/224310 "2007-05-01T03:08:20Z")

</div>

Hi all, I'm trying to recreate thumbnail scrolling as on this template: http://www.dynamicfactory.us/xmlswfdemo/dynamicv9b/index.html it involves resizable window and very neat delay efect. I find this thumbnail viewing …

---

## [Server Side Includes + Symbols](https://forum.kirupa.com/t/server-side-includes-symbols/224309)

<div class="topic-metadata">

**Author:** [@skrolikowski](https://forum.kirupa.com/u/skrolikowski)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 3:03am UTC](https://forum.kirupa.com/t/server-side-includes-symbols/224309 "2007-05-01T03:03:40Z")

</div>

Hey all - I'm working on a project on a IIS server (usually I use Apache), and I wanted to include an html file into another file using a Server Side Include. The strange thing is (see attached) html entity symbols ap…

---

## [\[PHP\]-dynamic image with variable text](https://forum.kirupa.com/t/php-dynamic-image-with-variable-text/224307)

<div class="topic-metadata">

**Author:** [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 1:41am UTC](https://forum.kirupa.com/t/php-dynamic-image-with-variable-text/224307 "2007-05-01T01:41:12Z")

</div>

Hi all, I have a static image in a HTML Page and i want to type my name in a input field and press send and i want to see my name appear in the image. I can do this directly from the php page using a ?name=John Sampl…

---

## [Multiple enemies fire - rotation/movement](https://forum.kirupa.com/t/multiple-enemies-fire-rotation-movement/224304)

<div class="topic-metadata">

**Author:** [@tgelston](https://forum.kirupa.com/u/tgelston)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 1:19am UTC](https://forum.kirupa.com/t/multiple-enemies-fire-rotation-movement/224304 "2007-05-01T01:19:45Z")

</div>

Hello! I am helping one of my students create a game like the old school Ikari warriors. We are making good progress but I am stuck on the logic needed to have multiple bad guys fire their bullets toward the player. …

---

## [Actionscript In Buttons](https://forum.kirupa.com/t/actionscript-in-buttons/224302)

<div class="topic-metadata">

**Author:** [@itsthefocusman](https://forum.kirupa.com/u/itsthefocusman)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 1:18am UTC](https://forum.kirupa.com/t/actionscript-in-buttons/224302 "2007-05-01T01:18:23Z")

</div>

Hi everyone my name is Daniel, I would like some help. I am using Flash 8 to build a website. I have built the whole site within one flash movie by building the different sections of the site (i.e. Bio, Photos etc) along…

---

## [I want my footer to always be at the bottom](https://forum.kirupa.com/t/i-want-my-footer-to-always-be-at-the-bottom/224298)

<div class="topic-metadata">

**Author:** [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 12:32am UTC](https://forum.kirupa.com/t/i-want-my-footer-to-always-be-at-the-bottom/224298 "2007-05-01T00:32:10Z")

</div>

Hey all using css how can i get my footer to stay at the bottom all of the time?

---

## [Some form of Record Array?](https://forum.kirupa.com/t/some-form-of-record-array/224297)

<div class="topic-metadata">

**Author:** [@Chesso](https://forum.kirupa.com/u/Chesso)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 12:30am UTC](https://forum.kirupa.com/t/some-form-of-record-array/224297 "2007-05-01T00:30:07Z")

</div>

In Delphi (Object Pascal) I can create records (and object with accessible and creatable properties) and can also make this into an array, to have a Record Array, can this be done with AS2? E.g.: myRecord = Record()…

---

## [Xml Help](https://forum.kirupa.com/t/xml-help/224295)

<div class="topic-metadata">

**Author:** [@mehmet22](https://forum.kirupa.com/u/mehmet22)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 12:12am UTC](https://forum.kirupa.com/t/xml-help/224295 "2007-05-01T00:12:04Z")

</div>

Those of you that are developers please do not laugh. I am trying to work of Displaying XML Data in Flash tutorial provided by kirupa. I am able to execute the tutorial perfectly fine, but when I want to have some of t…

---

## [MX 2004 ListBox Component Not Working](https://forum.kirupa.com/t/mx-2004-listbox-component-not-working/224294)

<div class="topic-metadata">

**Author:** [@imvain2](https://forum.kirupa.com/u/imvain2)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 12:00am UTC](https://forum.kirupa.com/t/mx-2004-listbox-component-not-working/224294 "2007-05-01T00:00:26Z")

</div>

Working off the the tutorial here: http://www.kirupa.com/developer/mx/listbox.htm, I'm unable to get the onchangehandler working for the list component in MX 2004. I have just the basics and its still not working. I ha…

---

## [Controlling sound with-in a class](https://forum.kirupa.com/t/controlling-sound-with-in-a-class/224291)

<div class="topic-metadata">

**Author:** [@cookingkym](https://forum.kirupa.com/u/cookingkym)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 11:46pm UTC](https://forum.kirupa.com/t/controlling-sound-with-in-a-class/224291 "2007-04-30T23:46:39Z")

</div>

Hey People. Im having trouble with controlling my sounds with-in a class. Okay so i have a class with my sites sounds with in it. What i want is a button that can control all of those sounds within the class, so what…

---

## [Error with buttons/links](https://forum.kirupa.com/t/error-with-buttons-links/224290)

<div class="topic-metadata">

**Author:** [@spyce](https://forum.kirupa.com/u/spyce)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 11:39pm UTC](https://forum.kirupa.com/t/error-with-buttons-links/224290 "2007-04-30T23:39:41Z")

</div>

I'm working on a layout and for the most part things have gone quite smoothly (which is a shock to say because Flash and I do not get along, haha). However, I'm having a small issue with the link buttons I created. When …

---

## [Does anyone know of "before and after" gallery tutorials?](https://forum.kirupa.com/t/does-anyone-know-of-before-and-after-gallery-tutorials/224289)

<div class="topic-metadata">

**Author:** [@daveg92656](https://forum.kirupa.com/u/daveg92656)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 11:22pm UTC](https://forum.kirupa.com/t/does-anyone-know-of-before-and-after-gallery-tutorials/224289 "2007-04-30T23:22:10Z")

</div>

Using Flash 8; Hello, I have seen many tutorials on how to create xml-driven, thumbnail-based image galleries, but I am looking for one which can do a "Before and After" photo effect. I'm designing a realtor's we…

---

## [attachMovieClip(); problem - lag](https://forum.kirupa.com/t/attachmovieclip-problem-lag/224288)

<div class="topic-metadata">

**Author:** [@skimmmer](https://forum.kirupa.com/u/skimmmer)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 11:16pm UTC](https://forum.kirupa.com/t/attachmovieclip-problem-lag/224288 "2007-04-30T23:16:03Z")

</div>

I'm making a game that makes lines after a moving object. First I used the dulpicateMovieClip(); function but that made it lag. So then I modified the script to attachMovieClip(); this still makes it lag after awhile. No…

---

## [Factory pattern with differing parameters](https://forum.kirupa.com/t/factory-pattern-with-differing-parameters/224284)

<div class="topic-metadata">

**Author:** [@arkum](https://forum.kirupa.com/u/arkum)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 9:52pm UTC](https://forum.kirupa.com/t/factory-pattern-with-differing-parameters/224284 "2007-04-30T21:52:08Z")

</div>

Hi, Is there a way to approach a factory pattern where the items objects being created have different parameters. I suppose I could pass an object into the create() function and strip out the values to use in the insta…

---

## ["Members Only" Section](https://forum.kirupa.com/t/members-only-section/224283)

<div class="topic-metadata">

**Author:** [@themethods](https://forum.kirupa.com/u/themethods)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 9:40pm UTC](https://forum.kirupa.com/t/members-only-section/224283 "2007-04-30T21:40:21Z")

</div>

I'm looking to build a "Members Only" section within a Flash design and I'm wondering if there's a secure way to connect to a .htaccess file through PHP. I've got a simple User Management System working right now that …

---

## [Typewriter, invicible characters?](https://forum.kirupa.com/t/typewriter-invicible-characters/224282)

<div class="topic-metadata">

**Author:** [@fr\_ode](https://forum.kirupa.com/u/fr_ode)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 9:08pm UTC](https://forum.kirupa.com/t/typewriter-invicible-characters/224282 "2007-04-30T21:08:25Z")

</div>

Hi! Any ideas on making this function skip characters that aren't visible? It still needs to write them, but without the time delay. TextField.prototype.typeWriter = function(str, ms) { var me = this; var i = …

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

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