# programming

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

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

**Page:** 341

---

## [Populating an array with sprites](https://forum.kirupa.com/t/populating-an-array-with-sprites/318601)

<div class="topic-metadata">

**Author:** [@JamminBill](https://forum.kirupa.com/u/JamminBill)\
**Replies:** 0\
**Last updated:** [January 25, 2011, 4:14am UTC](https://forum.kirupa.com/t/populating-an-array-with-sprites/318601 "2011-01-25T04:14:50Z")

</div>

I'm making an array and populating it with a for loop. I have no problem doing this with a movieclip from the library, but when I attempt to use a Sprite called OneMillion instead using the same script I keep getting the…

---

## [Massive, slow array processing](https://forum.kirupa.com/t/massive-slow-array-processing/318599)

<div class="topic-metadata">

**Author:** [@JamminBill](https://forum.kirupa.com/u/JamminBill)\
**Replies:** 0\
**Last updated:** [January 25, 2011, 2:36am UTC](https://forum.kirupa.com/t/massive-slow-array-processing/318599 "2011-01-25T02:36:09Z")

</div>

I have an array that is made by using a for loop. As it loops through the preset number it populates the array with a series of tiny 4 pixel squares. I've done this plenty of times with quite large numbers with no proble…

---

## [Help needed. Mouse Over/Out](https://forum.kirupa.com/t/help-needed-mouse-over-out/318598)

<div class="topic-metadata">

**Author:** [@Yeahy](https://forum.kirupa.com/u/Yeahy)\
**Replies:** 0\
**Last updated:** [January 25, 2011, 2:31am UTC](https://forum.kirupa.com/t/help-needed-mouse-over-out/318598 "2011-01-25T02:31:21Z")

</div>

Hello. Currently I have a rotating globe with 2 buttons. when i click on "right" button, it will go to next frame. when i click on "left button", it will go to prev frame. I have no problem making it rotating fully. Bu…

---

## [Proportionate scaling of SWF file](https://forum.kirupa.com/t/proportionate-scaling-of-swf-file/318593)

<div class="topic-metadata">

**Author:** [@kidagara](https://forum.kirupa.com/u/kidagara)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 10:23pm UTC](https://forum.kirupa.com/t/proportionate-scaling-of-swf-file/318593 "2011-01-24T22:23:26Z")

</div>

I have been at this for hours. All I would like to do is have my .swf file scale with the browser window size. Simple. I've changed my code to every form I can find online, but one of two things happen. Either it scales …

---

## [Automatic Logoff](https://forum.kirupa.com/t/automatic-logoff/318591)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 10:06pm UTC](https://forum.kirupa.com/t/automatic-logoff/318591 "2011-01-24T22:06:19Z")

</div>

Hi there! I am creting this website using good old AS2... although i am planning to move to AS3 quite soon... i JUST CANT come to an idea on how to Logoff the user from the site if he or she closes the browser or is inac…

---

## [Game Design help or collaboration](https://forum.kirupa.com/t/game-design-help-or-collaboration/318588)

<div class="topic-metadata">

**Author:** [@Ozizushi](https://forum.kirupa.com/u/Ozizushi)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 6:57pm UTC](https://forum.kirupa.com/t/game-design-help-or-collaboration/318588 "2011-01-24T18:57:13Z")

</div>

Flash, programming, databases, and site building have all been interests of mine for a long time but I have never really had a project that involved any of those interests. As a result, I know a little bit about everythi…

---

## [Flash game character animation AS3](https://forum.kirupa.com/t/flash-game-character-animation-as3/318585)

<div class="topic-metadata">

**Author:** [@Dadagu](https://forum.kirupa.com/u/Dadagu)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 5:23pm UTC](https://forum.kirupa.com/t/flash-game-character-animation-as3/318585 "2011-01-24T17:23:11Z")

</div>

I have a character with different animations set up for jumping, walking and standing. I have set it up so that when pressing the up arrow I gotoAndStop at the jumping animation, pressing the left or right arrows goes…

---

## [swFFit Help w/ fluid layout](https://forum.kirupa.com/t/swffit-help-w-fluid-layout/318584)

<div class="topic-metadata">

**Author:** [@Terraform](https://forum.kirupa.com/u/Terraform)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 5:22pm UTC](https://forum.kirupa.com/t/swffit-help-w-fluid-layout/318584 "2011-01-24T17:22:59Z")

</div>

Hello, I have a simple question (I think) I have been reading the swFFit doc's and looking at the examples and while it seems that things should be pretty straight forward I can seem to get swFFit to work for me.. \*…

---

## [Help with Creating a Vertical Shooter Tutorial](https://forum.kirupa.com/t/help-with-creating-a-vertical-shooter-tutorial/318581)

<div class="topic-metadata">

**Author:** [@djfw](https://forum.kirupa.com/u/djfw)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 4:50pm UTC](https://forum.kirupa.com/t/help-with-creating-a-vertical-shooter-tutorial/318581 "2011-01-24T16:50:36Z")

</div>

Hi there, I'm a bit of a newbie to this so I decided to follow this http://www.kirupa.com/developer/actionscript/vertical\_shooter.htm tutorial which really is great. The problem is that the dragons don't stop so I trie…

---

## [Help wanted!](https://forum.kirupa.com/t/help-wanted/318580)

<div class="topic-metadata">

**Author:** [@banbura](https://forum.kirupa.com/u/banbura)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 4:41pm UTC](https://forum.kirupa.com/t/help-wanted/318580 "2011-01-24T16:41:29Z")

</div>

Hi all! I am trying (for looong time) to pass 3 (only three!) input text variables from a Flash movie to a html form with the same text fields, through a php file, all nesting in the same server. I work with Flash 8 and …

---

## [Triangle ar Pyramid](https://forum.kirupa.com/t/triangle-ar-pyramid/318579)

<div class="topic-metadata">

**Author:** [@Nayeem](https://forum.kirupa.com/u/Nayeem)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 4:26pm UTC](https://forum.kirupa.com/t/triangle-ar-pyramid/318579 "2011-01-24T16:26:00Z")

</div>

Write a javascript about making a pyramid.

---

## [Need my PHP form to send $user email with attachment](https://forum.kirupa.com/t/need-my-php-form-to-send-user-email-with-attachment/318575)

<div class="topic-metadata">

**Author:** [@spindrift](https://forum.kirupa.com/u/spindrift)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 3:15pm UTC](https://forum.kirupa.com/t/need-my-php-form-to-send-user-email-with-attachment/318575 "2011-01-24T15:15:54Z")

</div>

Hi guys, I have a PHP form which submits the result to me and also sends the $user a 'thank you' email, which works fine. What I want to do is for the email that the $user is sent to have an attachment (probably PDF)…

---

## [Testing an array of objects against each other](https://forum.kirupa.com/t/testing-an-array-of-objects-against-each-other/318574)

<div class="topic-metadata">

**Author:** [@cermunnos](https://forum.kirupa.com/u/cermunnos)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 2:05pm UTC](https://forum.kirupa.com/t/testing-an-array-of-objects-against-each-other/318574 "2011-01-24T14:05:49Z")

</div>

Hi, I have a new flash with several objects(classes) created in as3. They are called Ball1,Ball2,Ball3 and are of type Ball:deathstar:. I wish to be able to insert them into an array and have the array loop test th…

---

## [AS3 Fullscreen Resize XML Bold Text Issue](https://forum.kirupa.com/t/as3-fullscreen-resize-xml-bold-text-issue/318573)

<div class="topic-metadata">

**Author:** [@sta777](https://forum.kirupa.com/u/sta777)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 2:00pm UTC](https://forum.kirupa.com/t/as3-fullscreen-resize-xml-bold-text-issue/318573 "2011-01-24T14:00:43Z")

</div>

Hi. Quick question re flash as3 and xml: I’m using the StageScaleMode for fullscreen resizing, and xml and css for content/text styling, but have an issue with any text that is highlighted in bold . When the browse…

---

## [Problems with movement using actionScript](https://forum.kirupa.com/t/problems-with-movement-using-actionscript/318572)

<div class="topic-metadata">

**Author:** [@uebdisain](https://forum.kirupa.com/u/uebdisain)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 1:53pm UTC](https://forum.kirupa.com/t/problems-with-movement-using-actionscript/318572 "2011-01-24T13:53:00Z")

</div>

Hi, First I apologize for my bad English and if the question I have is repeated, I read and look at several posts and did not find the answer I followed the following tutorial http://www.kirupa.com/developer/mx/ASmo…

---

## [Retreiving Variables from PHP using AS3](https://forum.kirupa.com/t/retreiving-variables-from-php-using-as3/318571)

<div class="topic-metadata">

**Author:** [@L\_Smith](https://forum.kirupa.com/u/L_Smith)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 12:40pm UTC](https://forum.kirupa.com/t/retreiving-variables-from-php-using-as3/318571 "2011-01-24T12:40:53Z")

</div>

(I wonder how many users you guys who's first post is a "help me" thread? It must be a lot.) What I'm trying to do is simply test how to load array variables from a mySQL database using PHP and Flash. (I don't know much …

---

## [Loop Speed](https://forum.kirupa.com/t/loop-speed/318570)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 12:29pm UTC](https://forum.kirupa.com/t/loop-speed/318570 "2011-01-24T12:29:19Z")

</div>

'Elo, i only have one simple question. Would removing the (Variable definitions / Spaces / Have everything on one line) make the project run faster. Testing my projects most beefy loop without variable definitions se…

---

## [Working with arrays!](https://forum.kirupa.com/t/working-with-arrays/318566)

<div class="topic-metadata">

**Author:** [@Katumi](https://forum.kirupa.com/u/Katumi)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 8:52am UTC](https://forum.kirupa.com/t/working-with-arrays/318566 "2011-01-24T08:52:32Z")

</div>

Hello everyone, i'm new here at the forum \[smile\] I finally decided to start learning about arrays in AS3 and i could use a litle help (-: I learned how to create an array and add references to movie clips in the libra…

---

## [Moving a MovieClip along a Motion Path in AS3](https://forum.kirupa.com/t/moving-a-movieclip-along-a-motion-path-in-as3/318563)

<div class="topic-metadata">

**Author:** [@JiaLiLabyrinth](https://forum.kirupa.com/u/JiaLiLabyrinth)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 6:18am UTC](https://forum.kirupa.com/t/moving-a-movieclip-along-a-motion-path-in-as3/318563 "2011-01-24T06:18:25Z")

</div>

I need to have a MovieClip/Sprite move along a path (which will likely be a Shape object) which is drawn dynamically and is going to be segments of straight-lines that bounces off the walls/edges of the stage. I now th…

---

## [WP7 HttpwebRequest problem](https://forum.kirupa.com/t/wp7-httpwebrequest-problem/318562)

<div class="topic-metadata">

**Author:** [@mmcmichael](https://forum.kirupa.com/u/mmcmichael)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 5:55am UTC](https://forum.kirupa.com/t/wp7-httpwebrequest-problem/318562 "2011-01-24T05:55:35Z")

</div>

I am trying to issue commands to a web server from a WP7 app. Each buttons in the code below works the first time they are touched. After that they no longer work until the app is closed and restarted. \[FONT=Consolas\] …

---

## [TransformTool (senocular?)](https://forum.kirupa.com/t/transformtool-senocular/318560)

<div class="topic-metadata">

**Author:** [@ajtyler](https://forum.kirupa.com/u/ajtyler)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 4:24am UTC](https://forum.kirupa.com/t/transformtool-senocular/318560 "2011-01-24T04:24:27Z")

</div>

I have use of a transformation tool in my app. Senocular has a good one, but I require the tool to be able to scale while keeping proportions. I don't see an option in his tool that does that. Does anyone know of a …

---

## [Wordwrap line breaks in textfield](https://forum.kirupa.com/t/wordwrap-line-breaks-in-textfield/318559)

<div class="topic-metadata">

**Author:** [@ajtyler](https://forum.kirupa.com/u/ajtyler)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 4:22am UTC](https://forum.kirupa.com/t/wordwrap-line-breaks-in-textfield/318559 "2011-01-24T04:22:32Z")

</div>

So here's my question, when I put WordWrap on in an input textfield, all characters off the width of the textfield get put on the next line. However, when I look at the htmlText property of that textfield, I see no evi…

---

## [PHP & AJAX problem](https://forum.kirupa.com/t/php-ajax-problem/318557)

<div class="topic-metadata">

**Author:** [@Drakash](https://forum.kirupa.com/u/Drakash)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 2:52am UTC](https://forum.kirupa.com/t/php-ajax-problem/318557 "2011-01-24T02:52:25Z")

</div>

Hi folks, I have an order form built in PHP which submits the data to an AJAX script for storage in a database, BEFORE it then goes to Google Checkout for the order to be prcessed. It all seems to work just fine and …

---

## [Nape debug drawer](https://forum.kirupa.com/t/nape-debug-drawer/318556)

<div class="topic-metadata">

**Author:** [@TOdorus](https://forum.kirupa.com/u/TOdorus)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 1:46am UTC](https://forum.kirupa.com/t/nape-debug-drawer/318556 "2011-01-24T01:46:52Z")

</div>

As I've been pointed towards Nape in the everlasting search towards a faster physics engine, I've started playing with it this evening. The playing stopped real fast, when I found out that there is no standard drawing cl…

---

## [Show PHP Blog in Flash](https://forum.kirupa.com/t/show-php-blog-in-flash/318555)

<div class="topic-metadata">

**Author:** [@jamesgreeny](https://forum.kirupa.com/u/jamesgreeny)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 12:34am UTC](https://forum.kirupa.com/t/show-php-blog-in-flash/318555 "2011-01-24T00:34:03Z")

</div>

Hi :). I'm currently building a flash website for uni, but I want to show my blog on the site. I'm currently using something called cutenews. CuteNews uses php but does not require a msql database. The page that contains…

---

## [Help! Sound from one clip plays over sound from another](https://forum.kirupa.com/t/help-sound-from-one-clip-plays-over-sound-from-another/318554)

<div class="topic-metadata">

**Author:** [@SteveO8000](https://forum.kirupa.com/u/SteveO8000)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 12:00am UTC](https://forum.kirupa.com/t/help-sound-from-one-clip-plays-over-sound-from-another/318554 "2011-01-24T00:00:43Z")

</div>

Audio files are all set to stream and are embedded. Basically I have a nav bar and when I click the button for section 2, the audio from section 1 continues to play. Sections are all in their own movie clip.

---

## [scaleX not working correctly when z is changed?](https://forum.kirupa.com/t/scalex-not-working-correctly-when-z-is-changed/318553)

<div class="topic-metadata">

**Author:** [@OMG](https://forum.kirupa.com/u/OMG)\
**Replies:** 0\
**Last updated:** [January 23, 2011, 11:58pm UTC](https://forum.kirupa.com/t/scalex-not-working-correctly-when-z-is-changed/318553 "2011-01-23T23:58:33Z")

</div>

Ordinarily when I press a key and use scaleX=-scaleX, the mc flips however when I change the z position of the mc, it only flips once after two keys. When I trace the scaleX it displays the correct result (1,-1,1,-1 and …

---

## [Android Apps Testing](https://forum.kirupa.com/t/android-apps-testing/318552)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [January 23, 2011, 9:26pm UTC](https://forum.kirupa.com/t/android-apps-testing/318552 "2011-01-23T21:26:16Z")

</div>

Hi I am happy with the opportunity of making apps for android with flash. I saw all the movies and read almost everything that exists but I am still having a problem that avoid me to continue. I can't test the app o…

---

## [Blank text input validation](https://forum.kirupa.com/t/blank-text-input-validation/318550)

<div class="topic-metadata">

**Author:** [@Zoltar26](https://forum.kirupa.com/u/Zoltar26)\
**Replies:** 0\
**Last updated:** [January 23, 2011, 9:08pm UTC](https://forum.kirupa.com/t/blank-text-input-validation/318550 "2011-01-23T21:08:29Z")

</div>

Hi, I created on stage 4 text-input fields and a "next" button. I have to check that all 4 text-fields are not empty so the user wouldn't be able to click on the "next" button if one of this fields is blank. here's t…

---

## [App HELP!](https://forum.kirupa.com/t/app-help/318549)

<div class="topic-metadata">

**Author:** [@anyway](https://forum.kirupa.com/u/anyway)\
**Replies:** 0\
**Last updated:** [January 23, 2011, 8:55pm UTC](https://forum.kirupa.com/t/app-help/318549 "2011-01-23T20:55:01Z")

</div>

I wanted to see if I can write a simple application that uses a dictionary API to query a server somewhere (if I said that right). I have some ideas for a few more difficult apps so I wanted to start with this simple one…

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

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