# programming

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

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

**Page:** 465

---

## [Passing a Parameter to a Event Handler (Enter Frame)](https://forum.kirupa.com/t/passing-a-parameter-to-a-event-handler-enter-frame/311080)

<div class="topic-metadata">

**Author:** [@neuflex](https://forum.kirupa.com/u/neuflex)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 5:09am UTC](https://forum.kirupa.com/t/passing-a-parameter-to-a-event-handler-enter-frame/311080 "2010-06-27T05:09:36Z")

</div>

Hello, Is this possible? I have looked around but I can't really find anything. Any help is much appreciated. Thanks

---

## [Clicktag problems](https://forum.kirupa.com/t/clicktag-problems/311079)

<div class="topic-metadata">

**Author:** [@myeasygpt](https://forum.kirupa.com/u/myeasygpt)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 3:12am UTC](https://forum.kirupa.com/t/clicktag-problems/311079 "2010-06-27T03:12:24Z")

</div>

Hello, i been trying to make this clicktag work, Im a total noob at this, any way you guys can help me? Im trying to make a flash banner to link to another site, but i cant seem to make it work. here is the code, if yo…

---

## [Basic Trig Question](https://forum.kirupa.com/t/basic-trig-question/311076)

<div class="topic-metadata">

**Author:** [@neuflex](https://forum.kirupa.com/u/neuflex)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 2:04am UTC](https://forum.kirupa.com/t/basic-trig-question/311076 "2010-06-27T02:04:51Z")

</div>

Hello All :-), I am pretty new to flash and actionscripting tho I have been programming for awhile (never games tho). I thought it would be cool to try and write some flash games so I have been messing about with fl…

---

## [Using Classes for multi wall](https://forum.kirupa.com/t/using-classes-for-multi-wall/311075)

<div class="topic-metadata">

**Author:** [@12sea21](https://forum.kirupa.com/u/12sea21)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 12:55am UTC](https://forum.kirupa.com/t/using-classes-for-multi-wall/311075 "2010-06-27T00:55:16Z")

</div>

As the title suggest, im having problems making classes... its kind of a knowledge problem. Im trying to make a code for a wall and then just load it for every instance... can anyone help me? Thanks in advance \[smile\] …

---

## [What does ev mean in this code? (2 lines of code...)](https://forum.kirupa.com/t/what-does-ev-mean-in-this-code-2-lines-of-code/311074)

<div class="topic-metadata">

**Author:** [@ChrisMackle](https://forum.kirupa.com/u/ChrisMackle)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 12:37am UTC](https://forum.kirupa.com/t/what-does-ev-mean-in-this-code-2-lines-of-code/311074 "2010-06-27T00:37:21Z")

</div>

stage.addEventListener(MouseEvent.MOUSE\_DOWN, mousedown); function mousedown(ev:MouseEvent) { circle.x = ev.stage.x - circle.width/2; circle.y = ev.stage.y - circle.height/2; } I am new to AS3 and i want to le…

---

## [PHP Form Redirect](https://forum.kirupa.com/t/php-form-redirect/311072)

<div class="topic-metadata">

**Author:** [@greygoose41](https://forum.kirupa.com/u/greygoose41)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 11:45pm UTC](https://forum.kirupa.com/t/php-form-redirect/311072 "2010-06-26T23:45:19Z")

</div>

Followed tutorial for this site's PHP Form Mailer. Form works and I receive data fine; however, when visitor clicks on "Submit" button, they see a page saying: Error 404: NOT FOUND! Your browser cannot find the document …

---

## [Remove random motion](https://forum.kirupa.com/t/remove-random-motion/311071)

<div class="topic-metadata">

**Author:** [@imcabee](https://forum.kirupa.com/u/imcabee)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 11:30pm UTC](https://forum.kirupa.com/t/remove-random-motion/311071 "2010-06-26T23:30:54Z")

</div>

I have a random motion script that I need to remove when the object in random motion hovers over a specific area in the background. I need the object to just keep moving in the direction it was going in and not randomly …

---

## [How to import classes form a subdomain](https://forum.kirupa.com/t/how-to-import-classes-form-a-subdomain/311070)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 11:10pm UTC](https://forum.kirupa.com/t/how-to-import-classes-form-a-subdomain/311070 "2010-06-26T23:10:23Z")

</div>

Hi, I'm having difficulties try to compile a simple Fla file that import classes. I got 2 directories at same level : "classes" \> that contains all my .as files "swf" \> that contains my fla and compiled swf Right f…

---

## [Help! Hot spot...image map?](https://forum.kirupa.com/t/help-hot-spot-image-map/311069)

<div class="topic-metadata">

**Author:** [@thenotoriousdap](https://forum.kirupa.com/u/thenotoriousdap)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 10:54pm UTC](https://forum.kirupa.com/t/help-hot-spot-image-map/311069 "2010-06-26T22:54:57Z")

</div>

I need to add two empty movie clips to a Home SWF that would point to sub-sections generated by the XML/main FLA.

---

## [Playlist with CASE](https://forum.kirupa.com/t/playlist-with-case/311068)

<div class="topic-metadata">

**Author:** [@Kajolas](https://forum.kirupa.com/u/Kajolas)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 9:48pm UTC](https://forum.kirupa.com/t/playlist-with-case/311068 "2010-06-26T21:48:13Z")

</div>

I have a case with my flv movies and i wanted then to play in that order but when i finish the first play, he doest go to next case import fl.video.VideoEvent; var video:Video = new Video(); video.attachNetStream(ns…

---

## [Creating a rectangle inside of a rectangle (AS3)](https://forum.kirupa.com/t/creating-a-rectangle-inside-of-a-rectangle-as3/311067)

<div class="topic-metadata">

**Author:** [@Scheisse](https://forum.kirupa.com/u/Scheisse)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 9:46pm UTC](https://forum.kirupa.com/t/creating-a-rectangle-inside-of-a-rectangle-as3/311067 "2010-06-26T21:46:42Z")

</div>

I would like to create a rectangle inside of a rectangle, starting approximately 15% inward from the right side of the other rectangle. Can anyone help me with this? I know how to create rectangles with: var newHot…

---

## [A little help with bullets, please?](https://forum.kirupa.com/t/a-little-help-with-bullets-please/311066)

<div class="topic-metadata">

**Author:** [@PC\_Victim](https://forum.kirupa.com/u/PC_Victim)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 7:11pm UTC](https://forum.kirupa.com/t/a-little-help-with-bullets-please/311066 "2010-06-26T19:11:56Z")

</div>

Well, here, I've basically designed my character and his basic attacks. Basically, the character design is as follows: Use left and right to walk, Use shift while walking to run, Use down while standing to pound the gr…

---

## [Loading mysql data into flash](https://forum.kirupa.com/t/loading-mysql-data-into-flash/311062)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 3:14pm UTC](https://forum.kirupa.com/t/loading-mysql-data-into-flash/311062 "2010-06-26T15:14:45Z")

</div>

Hey guys, I am wanting to load a list of names from mysql into a textfield in flash. I also want to load just one image from an image path in mysql. How can this be done easily? EX. SELECT name FROM table WHERE EX.…

---

## [Button and if statement problem](https://forum.kirupa.com/t/button-and-if-statement-problem/311060)

<div class="topic-metadata">

**Author:** [@seph4](https://forum.kirupa.com/u/seph4)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 12:19pm UTC](https://forum.kirupa.com/t/button-and-if-statement-problem/311060 "2010-06-26T12:19:23Z")

</div>

Well , hello! I am making a flash project but i have a problem:ex: For example , I have 2 movie clips : "Help" and "Contact" and I have made a input text field "search" (var=search\_field). There i also a button "go\_btn". …

---

## [FMX04+XML can I Link a XML loaded image to a frame in the .swf?](https://forum.kirupa.com/t/fmx04-xml-can-i-link-a-xml-loaded-image-to-a-frame-in-the-swf/311059)

<div class="topic-metadata">

**Author:** [@flukey](https://forum.kirupa.com/u/flukey)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 12:13pm UTC](https://forum.kirupa.com/t/fmx04-xml-can-i-link-a-xml-loaded-image-to-a-frame-in-the-swf/311059 "2010-06-26T12:13:59Z")

</div>

Hi I'm a novice, book-selflearning Flash MX04 in a vacumn (no one to discuss anything flash related with) I've created a site for a friend www.tracelements.co.nz and had fun doing it. (its basic but it works and I'm st…

---

## [Circling images from php/xml](https://forum.kirupa.com/t/circling-images-from-php-xml/311051)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 4:17am UTC](https://forum.kirupa.com/t/circling-images-from-php-xml/311051 "2010-06-26T04:17:39Z")

</div>

I have been looking for a customizable flash photo gallery that generates images based on a PHP/XML file. The images need to rotate in a circle path and links need to be displayed in the middle of the circle that when c…

---

## [Loading an .mp3 file using the FileReference Class](https://forum.kirupa.com/t/loading-an-mp3-file-using-the-filereference-class/311049)

<div class="topic-metadata">

**Author:** [@FlexAddict](https://forum.kirupa.com/u/FlexAddict)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 2:46am UTC](https://forum.kirupa.com/t/loading-an-mp3-file-using-the-filereference-class/311049 "2010-06-26T02:46:48Z")

</div>

I'm trying to load an .mp3 file into a Sound object in my project. I want to do this by using the FileReference.browse() method. I already have a system, but due to security issues, FileReference can't return the full …

---

## [Can a flash app generate a custom PDF?](https://forum.kirupa.com/t/can-a-flash-app-generate-a-custom-pdf/311047)

<div class="topic-metadata">

**Author:** [@Smoochface](https://forum.kirupa.com/u/Smoochface)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 2:22am UTC](https://forum.kirupa.com/t/can-a-flash-app-generate-a-custom-pdf/311047 "2010-06-26T02:22:24Z")

</div>

Hello, is it possible to have some server-side tech create a custom PDF based on variables entered into a flash app on a website? I have a simple survey built in flash and I want to give users who fill it out the optio…

---

## [\[cs5\] Flash Builder / Flash integration](https://forum.kirupa.com/t/cs5-flash-builder-flash-integration/311046)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 12:29am UTC](https://forum.kirupa.com/t/cs5-flash-builder-flash-integration/311046 "2010-06-26T00:29:07Z")

</div>

Hi All, I'm trying to figure something out. I have a project I built in flash a while back, it's a small form consisting of about 4 slides each with a number of data fields. Working perfectly in the Flash IDE, but I …

---

## [Ease rotation and position of MovieClip to mouse, math help](https://forum.kirupa.com/t/ease-rotation-and-position-of-movieclip-to-mouse-math-help/311045)

<div class="topic-metadata">

**Author:** [@kekona](https://forum.kirupa.com/u/kekona)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 10:10pm UTC](https://forum.kirupa.com/t/ease-rotation-and-position-of-movieclip-to-mouse-math-help/311045 "2010-06-25T22:10:44Z")

</div>

Essentially what I'm trying to do is nearly the same as this: http://www.senocular.com/flash/source/?id=0.16 However I'd like to ease/tween the movieclip position and rotation to the mouse position. The main issue …

---

## [AS3 Printing String Problems](https://forum.kirupa.com/t/as3-printing-string-problems/311044)

<div class="topic-metadata">

**Author:** [@Gemixin](https://forum.kirupa.com/u/Gemixin)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 9:18pm UTC](https://forum.kirupa.com/t/as3-printing-string-problems/311044 "2010-06-25T21:18:43Z")

</div>

Hi there. I'm having a major problem with printing a string. I was using this code which worked perfectly whenever the text (which varies in size) was less than 1 page long. But when there's around 2 or 3 pages of text…

---

## [HELP - as3 IE preloader issues](https://forum.kirupa.com/t/help-as3-ie-preloader-issues/311041)

<div class="topic-metadata">

**Author:** [@rankinstudio](https://forum.kirupa.com/u/rankinstudio)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 8:24pm UTC](https://forum.kirupa.com/t/help-as3-ie-preloader-issues/311041 "2010-06-25T20:24:08Z")

</div>

Ok, So, I work for the NPS, and they have an outdated CMS. I have no rights to upload an .html file, or edit one that the CMS makes. SO, I am forced to use their little deal to display my .swf files. Problem: h…

---

## [Kicking those children OUT](https://forum.kirupa.com/t/kicking-those-children-out/311040)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 8:23pm UTC](https://forum.kirupa.com/t/kicking-those-children-out/311040 "2010-06-25T20:23:54Z")

</div>

Here's the setup new game screen can go to new game OR how to play screen how to play screen goes to new game my doc class pulls both in as per need but I cant figure out how to remove the neccesary child to start into…

---

## [Run an enterfram for a limited period of time](https://forum.kirupa.com/t/run-an-enterfram-for-a-limited-period-of-time/311039)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 8:09pm UTC](https://forum.kirupa.com/t/run-an-enterfram-for-a-limited-period-of-time/311039 "2010-06-25T20:09:27Z")

</div>

Hi! Simple question, when I'm leaving (mouseOut) an object, I would still like to perform my enterframe to decrease a value, for lets say 2 seconds and then stop. I dont quite understand how to do that with Timer event…

---

## [Circular Image](https://forum.kirupa.com/t/circular-image/311038)

<div class="topic-metadata">

**Author:** [@Mal1t1a](https://forum.kirupa.com/u/Mal1t1a)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 8:02pm UTC](https://forum.kirupa.com/t/circular-image/311038 "2010-06-25T20:02:09Z")

</div>

Hi there! I was wondering, if this is possible, and if so, how would I do it? I would prefer to not have to manually make the image circular myself, but I guess I could. I just thought doing it in code would be more co…

---

## [clickTag wtf!](https://forum.kirupa.com/t/clicktag-wtf/311035)

<div class="topic-metadata">

**Author:** [@adstudio3d](https://forum.kirupa.com/u/adstudio3d)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 7:00pm UTC](https://forum.kirupa.com/t/clicktag-wtf/311035 "2010-06-25T19:00:38Z")

</div>

I've searched and tried a bunch of different ways to make these clickTags work and keep having the same problem... When the link is clicked, it pops up a new window with the path of the fla file in the address bar and …

---

## [Elastic MC startDrag](https://forum.kirupa.com/t/elastic-mc-startdrag/311033)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 4:46pm UTC](https://forum.kirupa.com/t/elastic-mc-startdrag/311033 "2010-06-25T16:46:36Z")

</div>

Hi! I was wondering if it's possible to use the startDrag function AND giving the selected MC an elastic movement. Or if I 'm supposed to use an onEnterframe function instead. My project needs me to use startDrag only…

---

## [Swap Depths +Movement](https://forum.kirupa.com/t/swap-depths-movement/311029)

<div class="topic-metadata">

**Author:** [@Jephz](https://forum.kirupa.com/u/Jephz)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 2:00pm UTC](https://forum.kirupa.com/t/swap-depths-movement/311029 "2010-06-25T14:00:24Z")

</div>

Hey, this is my first time working with swap depths so bare with me. I'm trying to find a way to integrate swap depths with map scrolling. Here is my current code: SWF: www.swfcabin.com/open/127746933 var mapItem:…

---

## [External SWF Preloader in Actionscript 3](https://forum.kirupa.com/t/external-swf-preloader-in-actionscript-3/311026)

<div class="topic-metadata">

**Author:** [@isuchan](https://forum.kirupa.com/u/isuchan)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 12:54pm UTC](https://forum.kirupa.com/t/external-swf-preloader-in-actionscript-3/311026 "2010-06-25T12:54:25Z")

</div>

Hi all, This is my first post here. Sorry before if there are already similar threads around but honestly I cannot apply it correctly for my case. I have one main movie (index.php) this main movie like an accordion men…

---

## [Disabling mouse actions on parent but not children?](https://forum.kirupa.com/t/disabling-mouse-actions-on-parent-but-not-children/311024)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 10:45am UTC](https://forum.kirupa.com/t/disabling-mouse-actions-on-parent-but-not-children/311024 "2010-06-25T10:45:53Z")

</div>

Hi! I'm facing a problem with drag & drag actions on children mc. The parent sometimes moves too. How can I disable any reaction of the parent, without affecting children? Or any other suggestion please. Thank!

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

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