# programming

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

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

**Page:** 1639

---

## [Building a "flash forum"](https://forum.kirupa.com/t/building-a-flash-forum/231699)

<div class="topic-metadata">

**Author:** [@blueM](https://forum.kirupa.com/u/blueM)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 9:03pm UTC](https://forum.kirupa.com/t/building-a-flash-forum/231699 "2007-07-06T21:03:20Z")

</div>

\[FONT=Times New Roman\] Hey guys. \[/FONT\] \[FONT=Times New Roman\] I’m thinking of doing a pen pal site. But very simple and easy, it will just contain text. I want to create like my own “flash forum”. People fill i…

---

## [XML Thumbnail Gallery/ Complex Rollover button effect](https://forum.kirupa.com/t/xml-thumbnail-gallery-complex-rollover-button-effect/231697)

<div class="topic-metadata">

**Author:** [@antegrav](https://forum.kirupa.com/u/antegrav)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 8:55pm UTC](https://forum.kirupa.com/t/xml-thumbnail-gallery-complex-rollover-button-effect/231697 "2007-07-06T20:55:40Z")

</div>

Hi everybody, this is my first time posting. I've been working on the XML Thumbnail gallery tutorial posted up and I wanted to know if it's possible to make a complex rollover effect on an xml button? For example I would…

---

## [\[Flash8\] Need Help witha Script](https://forum.kirupa.com/t/flash8-need-help-witha-script/231695)

<div class="topic-metadata">

**Author:** [@Q\_Dizzle](https://forum.kirupa.com/u/Q_Dizzle)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 8:47pm UTC](https://forum.kirupa.com/t/flash8-need-help-witha-script/231695 "2007-07-06T20:47:04Z")

</div>

In my game: http://img64.imageshack.us/my.php?image=pacmanms6.swf I need it to be so when i run into a wall is stop (got it) and the screen stops scrolling (need help) this is my code (off the site) onClipEvent (loa…

---

## [\[FMX04\] Photo gallery alignment problem](https://forum.kirupa.com/t/fmx04-photo-gallery-alignment-problem/231694)

<div class="topic-metadata">

**Author:** [@justsmileandnod](https://forum.kirupa.com/u/justsmileandnod)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 8:29pm UTC](https://forum.kirupa.com/t/fmx04-photo-gallery-alignment-problem/231694 "2007-07-06T20:29:13Z")

</div>

Hey all, I'm a complete newbie when it comes to actionscript. I took the basic image gallery tutorial on this site and messed about with the code a bit so that the images move back and fourth rather than fading in and ou…

---

## [AS3 PHP Contact Form - Server Side Flash](https://forum.kirupa.com/t/as3-php-contact-form-server-side-flash/231693)

<div class="topic-metadata">

**Author:** [@EViL\_Bites](https://forum.kirupa.com/u/EViL_Bites)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 8:25pm UTC](https://forum.kirupa.com/t/as3-php-contact-form-server-side-flash/231693 "2007-07-06T20:25:23Z")

</div>

I've been working on a small commercial website (my first) and I'm having some trouble accessing a a simple PHP mail script from a flash interface. I'm not proficient in PHP in fact I'm just beginning to learn. The si…

---

## [Variables from loadMovie?](https://forum.kirupa.com/t/variables-from-loadmovie/231692)

<div class="topic-metadata">

**Author:** [@Loof](https://forum.kirupa.com/u/Loof)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 7:56pm UTC](https://forum.kirupa.com/t/variables-from-loadmovie/231692 "2007-07-06T19:56:11Z")

</div>

Okay. I got loadMovie to work in a movie called "testShell" and it loads a movie named "testvid.swf" with a variable "testVar" in it. testvid.swf is loaded into a movieclip named "testclip". How can I get testVar to regi…

---

## [How to splice multidimensional arrays?](https://forum.kirupa.com/t/how-to-splice-multidimensional-arrays/231691)

<div class="topic-metadata">

**Author:** [@contrast](https://forum.kirupa.com/u/contrast)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 7:14pm UTC](https://forum.kirupa.com/t/how-to-splice-multidimensional-arrays/231691 "2007-07-06T19:14:06Z")

</div>

How would I go about splicing a multidimensional array? I have tried a few things but can't seem to get the right result and the docs only address single dimensional arrays. Thanks for any help.

---

## [Errr!.. Cant figure this out? (x,y) issue](https://forum.kirupa.com/t/errr-cant-figure-this-out-x-y-issue/231687)

<div class="topic-metadata">

**Author:** [@haider](https://forum.kirupa.com/u/haider)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 6:25pm UTC](https://forum.kirupa.com/t/errr-cant-figure-this-out-x-y-issue/231687 "2007-07-06T18:25:01Z")

</div>

Hi, I have stage elements in my site showing up where they are supposed to with a FLUID Layout using the following code. Though there seems to be this strange gap all the way around my site in the html page. I want the h…

---

## [Levels - loading a swf into the proper place](https://forum.kirupa.com/t/levels-loading-a-swf-into-the-proper-place/231679)

<div class="topic-metadata">

**Author:** [@bardic](https://forum.kirupa.com/u/bardic)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 4:05pm UTC](https://forum.kirupa.com/t/levels-loading-a-swf-into-the-proper-place/231679 "2007-07-06T16:05:57Z")

</div>

Ok, well I am apparently having problem loading a swf onto the proper level. Anyways, the short of it is that I now need to create all my movieclips on their proper layers and when they are needed call them to the screen…

---

## [Tower Defense Game](https://forum.kirupa.com/t/tower-defense-game/231677)

<div class="topic-metadata">

**Author:** [@Saidon](https://forum.kirupa.com/u/Saidon)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 3:48pm UTC](https://forum.kirupa.com/t/tower-defense-game/231677 "2007-07-06T15:48:41Z")

</div>

Hi guys, I'm new to actionscript and am trying to make a tower defense game for a flash class. I'm having trouble figuring out how to get the turrets to rotate and track the enemies and fire when they're in a certain ra…

---

## [Help optimize code](https://forum.kirupa.com/t/help-optimize-code/231676)

<div class="topic-metadata">

**Author:** [@tekoer](https://forum.kirupa.com/u/tekoer)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 3:40pm UTC](https://forum.kirupa.com/t/help-optimize-code/231676 "2007-07-06T15:40:05Z")

</div>

Hey, now i've got a code that looks like this: b\_1.btn\_bg.onRelease = function(){ if(\_root.currMovie == "case"){ b\_1.btn\_bg.enabled = false; b\_2.btn\_bg.enabled = true; b\_2.initialState(); } b\_2.btn\_bg.onRelease =…

---

## [TargetMC query](https://forum.kirupa.com/t/targetmc-query/231675)

<div class="topic-metadata">

**Author:** [@lylester](https://forum.kirupa.com/u/lylester)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 3:32pm UTC](https://forum.kirupa.com/t/targetmc-query/231675 "2007-07-06T15:32:37Z")

</div>

Hi, I may be being dense here (i am a newbie) but Could someone please explain to me why the 'targetMC' (variable?) used throughout does not have to be defined... \*The first line is initiated when the the a file …

---

## [Reading HTML as XML](https://forum.kirupa.com/t/reading-html-as-xml/231671)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 3:06pm UTC](https://forum.kirupa.com/t/reading-html-as-xml/231671 "2007-07-06T15:06:47Z")

</div>

Hello all, I am currently trying to read in an HTML page into flash. Basically, HTML is just XML so I should easily be able to parse it, but I am getting this error... TypeError: Error #1090: XML parser failure: elem…

---

## [Email form redirect after submit?](https://forum.kirupa.com/t/email-form-redirect-after-submit/231664)

<div class="topic-metadata">

**Author:** [@Filmguy15](https://forum.kirupa.com/u/Filmguy15)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 2:38pm UTC](https://forum.kirupa.com/t/email-form-redirect-after-submit/231664 "2007-07-06T14:38:39Z")

</div>

Here is the email script that I am using for a form on my site.. \<?php if(isset($\_POST\['submit'\])) { $to = "chase.wiseman@gmail.com"; $subject = "Contact Form Request"; $headers = "From: " . $\_POST\["fname"\]; $headers…

---

## [AS3 dynamic guide](https://forum.kirupa.com/t/as3-dynamic-guide/231663)

<div class="topic-metadata">

**Author:** [@donFoeroap](https://forum.kirupa.com/u/donFoeroap)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 2:14pm UTC](https://forum.kirupa.com/t/as3-dynamic-guide/231663 "2007-07-06T14:14:37Z")

</div>

Hello, I was wondering if there is a way to dynamically add a guide to a movieclip, and then let another movieclip follow this guide. Put another way: i want a "highlight" movieclip to follow the bounds of another mo…

---

## [Text File Query](https://forum.kirupa.com/t/text-file-query/231660)

<div class="topic-metadata">

**Author:** [@Takaya213](https://forum.kirupa.com/u/Takaya213)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 1:46pm UTC](https://forum.kirupa.com/t/text-file-query/231660 "2007-07-06T13:46:34Z")

</div>

Hi all Is it possible to load a text file into a Dynamic Textarea with a a UIScrollBar attatched to it? If so, then how do I go about adding it? If no, how else can I go about doing this? Thanks. T'akaya213

---

## [Checking the current frame of an external loaded SWF?](https://forum.kirupa.com/t/checking-the-current-frame-of-an-external-loaded-swf/231659)

<div class="topic-metadata">

**Author:** [@radus](https://forum.kirupa.com/u/radus)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 1:45pm UTC](https://forum.kirupa.com/t/checking-the-current-frame-of-an-external-loaded-swf/231659 "2007-07-06T13:45:21Z")

</div>

Hello, I have a main movie and into it I am loading an external SWF, using loadMovie("myclip", target\_mc). I want my main timeline to be able to tell where my loaded movie is, and when the loaded mc (myclip.swf) reaches…

---

## [Retile background when stage resized](https://forum.kirupa.com/t/retile-background-when-stage-resized/231653)

<div class="topic-metadata">

**Author:** [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 1:04pm UTC](https://forum.kirupa.com/t/retile-background-when-stage-resized/231653 "2007-07-06T13:04:48Z")

</div>

I want the background of a proloader to be retiled when the stage is resized. I'm guessing I have to delete the previous sprite and then retile, sort of like this: loaderContainer:Sprite = new Sprite(); addChild(load…

---

## [Calling all OOP Geniuses out there :-)](https://forum.kirupa.com/t/calling-all-oop-geniuses-out-there/231648)

<div class="topic-metadata">

**Author:** [@Shard](https://forum.kirupa.com/u/Shard)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 12:35pm UTC](https://forum.kirupa.com/t/calling-all-oop-geniuses-out-there/231648 "2007-07-06T12:35:51Z")

</div>

This has got me stumped! I am using the awesome image gallery carousel script (and tutorials) to make an xml fed image thumbnail carousel. My problem is that not all images are the same height and width - but at least on…

---

## [Quiz profile generation](https://forum.kirupa.com/t/quiz-profile-generation/231647)

<div class="topic-metadata">

**Author:** [@karuna62](https://forum.kirupa.com/u/karuna62)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 12:28pm UTC](https://forum.kirupa.com/t/quiz-profile-generation/231647 "2007-07-06T12:28:48Z")

</div>

Hi all, I am new to Flash and I am having a hell of a time trying to build a special type of multiple choice quiz. The idea is to direct the user to one of 4 different scenarios based on their answers so there are no ri…

---

## [Sponsorship](https://forum.kirupa.com/t/sponsorship/231644)

<div class="topic-metadata">

**Author:** [@Emdiesse](https://forum.kirupa.com/u/Emdiesse)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 12:08pm UTC](https://forum.kirupa.com/t/sponsorship/231644 "2007-07-06T12:08:16Z")

</div>

I hear you can get flash games sponsored Anyone got any input on this? I want to try make a bit of extra cash and I thought this might be a fun way of going about it. What are your experiences with sponsorship? Tha…

---

## [Moviecliploader function how to get her arguments? w Proxy.create()](https://forum.kirupa.com/t/moviecliploader-function-how-to-get-her-arguments-w-proxy-create/231641)

<div class="topic-metadata">

**Author:** [@verbruggher](https://forum.kirupa.com/u/verbruggher)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 11:45am UTC](https://forum.kirupa.com/t/moviecliploader-function-how-to-get-her-arguments-w-proxy-create/231641 "2007-07-06T11:45:26Z")

</div>

I dont want it like the classic way listenerThumbs.onLoadInit = function(target\_mc:MovieClip) { }; But with the Proxy.create class, how do I get the arguments of the moviecliploader? (ex: target\_mc, loadedbytes, totalb…

---

## [Problem targeting Iframe from Flash 8](https://forum.kirupa.com/t/problem-targeting-iframe-from-flash-8/231640)

<div class="topic-metadata">

**Author:** [@HecticMedia](https://forum.kirupa.com/u/HecticMedia)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 11:38am UTC](https://forum.kirupa.com/t/problem-targeting-iframe-from-flash-8/231640 "2007-07-06T11:38:58Z")

</div>

Hey all, I'm trying to make books.html come up in my iframe (named "contentwindow") but everytime I click "Books" it just comes up in a new window... Here's my FLA: http://www.austinmacauley.com/navigation.fla Any …

---

## [Renaming a movieclip](https://forum.kirupa.com/t/renaming-a-movieclip/231632)

<div class="topic-metadata">

**Author:** [@Flamingtoaster](https://forum.kirupa.com/u/Flamingtoaster)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 10:00am UTC](https://forum.kirupa.com/t/renaming-a-movieclip/231632 "2007-07-06T10:00:39Z")

</div>

How would one go about renaming a movieclip? ie: I have a movieclip named enemy1 and want to give it a new name of enemy11 when something happens. What code could I use? Thank you for your help \[smiley\]

---

## [Lock two sliders together](https://forum.kirupa.com/t/lock-two-sliders-together/231631)

<div class="topic-metadata">

**Author:** [@snowfruit](https://forum.kirupa.com/u/snowfruit)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 9:02am UTC](https://forum.kirupa.com/t/lock-two-sliders-together/231631 "2007-07-06T09:02:15Z")

</div>

I've created a slider control (using the excellent tute on kirupa) and am using two instances of it on my stage. I also have a lock that sets the variable locked to true or false. What I want to do is if locked == true h…

---

## [Random movement on x amount of sprites](https://forum.kirupa.com/t/random-movement-on-x-amount-of-sprites/231630)

<div class="topic-metadata">

**Author:** [@thatguythatsme](https://forum.kirupa.com/u/thatguythatsme)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 8:48am UTC](https://forum.kirupa.com/t/random-movement-on-x-amount-of-sprites/231630 "2007-07-06T08:48:05Z")

</div>

I'm using this class to create random movement on a sprite however when I add another sprite its random movement is the same as the first sprite and they end up sitting on top of each other. Could anyone point me in the …

---

## [A bug or not?](https://forum.kirupa.com/t/a-bug-or-not/231625)

<div class="topic-metadata">

**Author:** [@Zhet](https://forum.kirupa.com/u/Zhet)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 8:21am UTC](https://forum.kirupa.com/t/a-bug-or-not/231625 "2007-07-06T08:21:16Z")

</div>

A strange bug-like thing happens when I write: onClipEvent (enterFrame) { for (i=0; i\<25; i++) {this.\_x = i; } } I expect i to grow by one after every frame, but it just grows to 25 (or any other number) in one s…

---

## [Any way to speed this up?](https://forum.kirupa.com/t/any-way-to-speed-this-up/231622)

<div class="topic-metadata">

**Author:** [@tezzutezzu](https://forum.kirupa.com/u/tezzutezzu)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 8:13am UTC](https://forum.kirupa.com/t/any-way-to-speed-this-up/231622 "2007-07-06T08:13:21Z")

</div>

:cons: Hello people! I was wondering if there is anyway to speed the rendering of this little app that I made. It basically consist on attaching sprites on golden section based paths. I'm quite new to AS3 and really …

---

## [Communicating between frames](https://forum.kirupa.com/t/communicating-between-frames/231620)

<div class="topic-metadata">

**Author:** [@Louis777](https://forum.kirupa.com/u/Louis777)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 8:00am UTC](https://forum.kirupa.com/t/communicating-between-frames/231620 "2007-07-06T08:00:23Z")

</div>

Hello, I am using AS3 & Flash CS3. I have 6 frames. In the first frame I initialize my netconnection and netstream along with a button (bttn\_rec) to start recording. When the record button is clicked it starts recording …

---

## [CS3 AS2 alpha values \> 100](https://forum.kirupa.com/t/cs3-as2-alpha-values-100/231619)

<div class="topic-metadata">

**Author:** [@namkavenia](https://forum.kirupa.com/u/namkavenia)\
**Replies:** 0\
**Last updated:** [July 6, 2007, 7:58am UTC](https://forum.kirupa.com/t/cs3-as2-alpha-values-100/231619 "2007-07-06T07:58:03Z")

</div>

When assigning alpha values to a movieclip I noticed that there is no roof, I assumed it would stop accumulating value when 100 was reached. The result is that movieclips inside my movieclip appear to be accumulating alp…

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

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