# programming

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

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

**Page:** 184

---

## [Anon Function: interesting](https://forum.kirupa.com/t/anon-function-interesting/327634)

<div class="topic-metadata">

**Author:** [@cbeech](https://forum.kirupa.com/u/cbeech)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 6:14pm UTC](https://forum.kirupa.com/t/anon-function-interesting/327634 "2012-03-15T18:14:01Z")

</div>

There was a thread the other day that was discussing the value/practice of using anonymous functions in Event Listeners - can't seem to find it at the moment - but i was just working on a quick temporary call in testing,…

---

## [How to publish for Windows 98?](https://forum.kirupa.com/t/how-to-publish-for-windows-98/327633)

<div class="topic-metadata">

**Author:** [@grdnBryant](https://forum.kirupa.com/u/grdnBryant)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 5:40pm UTC](https://forum.kirupa.com/t/how-to-publish-for-windows-98/327633 "2012-03-15T17:40:40Z")

</div>

\[LEFT\]\[COLOR=#333333\]\[FONT=Arial\]I work in the art department of a documentary series and I have a Dell Iinspiron 3200 running Windows 98 (with Flashplayer 9) that I need to use to run animations that I made on a seperat…

---

## [Collision bugs](https://forum.kirupa.com/t/collision-bugs/327632)

<div class="topic-metadata">

**Author:** [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 5:25pm UTC](https://forum.kirupa.com/t/collision-bugs/327632 "2012-03-15T17:25:27Z")

</div>

Im having trouble getting my little firing demo working properly. It finds a collision before there is infact a collision, thhe maths looks correct but it consistently finds the collision too early. Please help.

---

## [URLRequest handling](https://forum.kirupa.com/t/urlrequest-handling/327629)

<div class="topic-metadata">

**Author:** [@revo999](https://forum.kirupa.com/u/revo999)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 3:32pm UTC](https://forum.kirupa.com/t/urlrequest-handling/327629 "2012-03-15T15:32:50Z")

</div>

I am loading a URL , \[ url is on another domain \] it loads URL and then URL process and sends request to its server and returns data loader1.addEventListener(Event.COMPLETE, onDataLoaded); on onDataLoaded does n…

---

## [Unexpected file format in cs5](https://forum.kirupa.com/t/unexpected-file-format-in-cs5/327628)

<div class="topic-metadata">

**Author:** [@salvador\_marley](https://forum.kirupa.com/u/salvador_marley)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 2:27pm UTC](https://forum.kirupa.com/t/unexpected-file-format-in-cs5/327628 "2012-03-15T14:27:53Z")

</div>

I am working in a school helping some kids to use flash. All was going well and now two of them are getting an error message when trying to open their FLA files. It says Unexpected file format. We have the swf files bu…

---

## [LoadVars undefined](https://forum.kirupa.com/t/loadvars-undefined/327627)

<div class="topic-metadata">

**Author:** [@zenrage](https://forum.kirupa.com/u/zenrage)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 2:09pm UTC](https://forum.kirupa.com/t/loadvars-undefined/327627 "2012-03-15T14:09:45Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Hey there,\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]i need to built a kiosk application where users can enter their email and name. This information should be emailed. So i have set up a a…

---

## [Operator Display AS3](https://forum.kirupa.com/t/operator-display-as3/327626)

<div class="topic-metadata">

**Author:** [@littlea5h](https://forum.kirupa.com/u/littlea5h)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 2:07pm UTC](https://forum.kirupa.com/t/operator-display-as3/327626 "2012-03-15T14:07:39Z")

</div>

For the calculator i am creating i have so far got all d buttons inputting into the display area such as the numbers and the operators. However for the operators when i try to store the value into two number variables 'n…

---

## [My other issue - falling behind](https://forum.kirupa.com/t/my-other-issue-falling-behind/327622)

<div class="topic-metadata">

**Author:** [@macboyCanada](https://forum.kirupa.com/u/macboyCanada)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 7:11am UTC](https://forum.kirupa.com/t/my-other-issue-falling-behind/327622 "2012-03-15T07:11:59Z")

</div>

Quick recap if you haven't seen the other thread: Have doors that open when clicked and close when clicked. When you click one it uses getNextHighestDepth and swapDepths to come to the forefront so the door doesn't ope…

---

## [One at a time?](https://forum.kirupa.com/t/one-at-a-time/327620)

<div class="topic-metadata">

**Author:** [@macboyCanada](https://forum.kirupa.com/u/macboyCanada)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 4:47am UTC](https://forum.kirupa.com/t/one-at-a-time/327620 "2012-03-15T04:47:10Z")

</div>

I have a series of movie clips (12 of them, not sequentially numbered but I guess they certainly could be). When you click one it advances it's timeline to a midpoint and stops. If you click it again it continues that MC…

---

## [Keyboard navigation problem](https://forum.kirupa.com/t/keyboard-navigation-problem/327619)

<div class="topic-metadata">

**Author:** [@sasip\_hyd](https://forum.kirupa.com/u/sasip_hyd)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 4:03am UTC](https://forum.kirupa.com/t/keyboard-navigation-problem/327619 "2012-03-15T04:03:26Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Hi\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]I am new to actionscript. I was trying to make a slide show frame by frame. I have my main timeline with the following code in first frame.\[/FON…

---

## [How to turn Polys into Triangles. {stage3d}](https://forum.kirupa.com/t/how-to-turn-polys-into-triangles-stage3d/327618)

<div class="topic-metadata">

**Author:** [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Replies:** 0\
**Last updated:** [March 15, 2012, 4:01am UTC](https://forum.kirupa.com/t/how-to-turn-polys-into-triangles-stage3d/327618 "2012-03-15T04:01:01Z")

</div>

At first I thought making tringles out of Polys was an easy concept. Considering I start with a quad of ABCD then I could convert this to two triangles of ABC and ADC, which is easy. However an alternate answer is BCD a…

---

## [Placing a registration point outside of a movieclip](https://forum.kirupa.com/t/placing-a-registration-point-outside-of-a-movieclip/327614)

<div class="topic-metadata">

**Author:** [@Ieuan](https://forum.kirupa.com/u/Ieuan)\
**Replies:** 0\
**Last updated:** [March 14, 2012, 5:19pm UTC](https://forum.kirupa.com/t/placing-a-registration-point-outside-of-a-movieclip/327614 "2012-03-14T17:19:13Z")

</div>

I have an action script for a movie clip to rotate around (instance\_name.rotation -= 1;). and this works fine, how ever i need it to rotate around a point outside of the movie clip. i think i need to move the registrati…

---

## [Font-family equivalent in AS3](https://forum.kirupa.com/t/font-family-equivalent-in-as3/327613)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [March 14, 2012, 5:00pm UTC](https://forum.kirupa.com/t/font-family-equivalent-in-as3/327613 "2012-03-14T17:00:48Z")

</div>

I don't want to embed fonts into my project. Instead, I would like to be able to give textfields a list of fonts to find like the CSS font-family property without using HTML text. I tried using the StyleSheet object t…

---

## [Drag and Drop Menu](https://forum.kirupa.com/t/drag-and-drop-menu/327611)

<div class="topic-metadata">

**Author:** [@StaaaC](https://forum.kirupa.com/u/StaaaC)\
**Replies:** 0\
**Last updated:** [March 14, 2012, 3:41pm UTC](https://forum.kirupa.com/t/drag-and-drop-menu/327611 "2012-03-14T15:41:16Z")

</div>

Hey guys I was wondering if anyone can PLEASE help me. I'm trying to create a drag and drop moodboard in flash cs5.5 and AS3 and after about 2 weeks of development nothing seems to be working out for me! Originally I wan…

---

## [Migrate this code from AS2 to AS3](https://forum.kirupa.com/t/migrate-this-code-from-as2-to-as3/327610)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [March 14, 2012, 2:02pm UTC](https://forum.kirupa.com/t/migrate-this-code-from-as2-to-as3/327610 "2012-03-14T14:02:27Z")

</div>

Hello all! I´n trying to migrate this code from as2 to as3 but can´t make it work. Could someone please give me a hand on this? var myXML:XML = new XML(); myXML.ignoreWhite = true; myXML.load("teste.xml"); myXML.onL…

---

## [Accessing movieclips from class](https://forum.kirupa.com/t/accessing-movieclips-from-class/327608)

<div class="topic-metadata">

**Author:** [@SpringHeel](https://forum.kirupa.com/u/SpringHeel)\
**Replies:** 0\
**Last updated:** [March 14, 2012, 8:26am UTC](https://forum.kirupa.com/t/accessing-movieclips-from-class/327608 "2012-03-14T08:26:27Z")

</div>

Hey I'm new to the forums, I'm having a lot of trouble understanding a certain thing. I'm creating a child of a symbol in my 'main' class var player:Symbol3 = new Symbol3(); addChild(player); player.x = 400…

---

## [Buttons: How to use later in the timeline without getting error 1009?](https://forum.kirupa.com/t/buttons-how-to-use-later-in-the-timeline-without-getting-error-1009/327607)

<div class="topic-metadata">

**Author:** [@drabski](https://forum.kirupa.com/u/drabski)\
**Replies:** 0\
**Last updated:** [March 14, 2012, 6:21am UTC](https://forum.kirupa.com/t/buttons-how-to-use-later-in-the-timeline-without-getting-error-1009/327607 "2012-03-14T06:21:19Z")

</div>

hi everyone, I'm new to AS3 and I cannot find a simple answer to this question and have been looking for some time now. My problem is a simple one. I have a button symbol in the Library that I want to use later in the…

---

## [Best place for body content positioning tutorials](https://forum.kirupa.com/t/best-place-for-body-content-positioning-tutorials/327603)

<div class="topic-metadata">

**Author:** [@catcat31](https://forum.kirupa.com/u/catcat31)\
**Replies:** 0\
**Last updated:** [March 13, 2012, 8:25pm UTC](https://forum.kirupa.com/t/best-place-for-body-content-positioning-tutorials/327603 "2012-03-13T20:25:40Z")

</div>

Hi, I want to start to style the body content of the main body of my pages. For example a paragraph of text to the left and an image to the right. I know I need to swot up on this but some you please show me the simple c…

---

## [Flash Runtime Search Path](https://forum.kirupa.com/t/flash-runtime-search-path/327602)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [March 13, 2012, 6:30pm UTC](https://forum.kirupa.com/t/flash-runtime-search-path/327602 "2012-03-13T18:30:27Z")

</div>

Is there a way to add paths to the Flash runtime search path for loading files? Say I want to load myXML.xml and its down in /myDir1/myDir2/myXML.xml. Is there any way I can add "/myDir1/myDir2" to the search path so I…

---

## [Death Animation](https://forum.kirupa.com/t/death-animation/327600)

<div class="topic-metadata">

**Author:** [@jaeger138](https://forum.kirupa.com/u/jaeger138)\
**Replies:** 0\
**Last updated:** [March 13, 2012, 2:49pm UTC](https://forum.kirupa.com/t/death-animation/327600 "2012-03-13T14:49:54Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Can someone please give me an example of some code that would, when an MCs 'health' variable is reduced to 0, play a death animation from frames 1 to 42 and then remove the clip from the scen…

---

## [Is Flash Frame Or Time Dependant?](https://forum.kirupa.com/t/is-flash-frame-or-time-dependant/327599)

<div class="topic-metadata">

**Author:** [@yoyoyo](https://forum.kirupa.com/u/yoyoyo)\
**Replies:** 0\
**Last updated:** [March 13, 2012, 2:34pm UTC](https://forum.kirupa.com/t/is-flash-frame-or-time-dependant/327599 "2012-03-13T14:34:56Z")

</div>

if for example the player moves, does it move him every x seconds or every x frames? like, if the flash game runs on somebody with fast computer and other has slow computer, so his game runs slower, so it can result in…

---

## [Hover works permanently instead of hovering](https://forum.kirupa.com/t/hover-works-permanently-instead-of-hovering/327596)

<div class="topic-metadata">

**Author:** [@FlashFish](https://forum.kirupa.com/u/FlashFish)\
**Replies:** 0\
**Last updated:** [March 13, 2012, 10:28am UTC](https://forum.kirupa.com/t/hover-works-permanently-instead-of-hovering/327596 "2012-03-13T10:28:26Z")

</div>

I'm attempting to build a CSS based menu. (There's a little javascript in there also, apparantly IE needs this.) Please remove the Xs from this url. http://www.meXdiadispXlays.tv/2012/ I'm very close to what I want a…

---

## [XML file to ComboBox](https://forum.kirupa.com/t/xml-file-to-combobox/327595)

<div class="topic-metadata">

**Author:** [@Lantui](https://forum.kirupa.com/u/Lantui)\
**Replies:** 0\
**Last updated:** [March 13, 2012, 6:34am UTC](https://forum.kirupa.com/t/xml-file-to-combobox/327595 "2012-03-13T06:34:53Z")

</div>

How can i get XML value content only into ComboBox XML file: \<list\>\<size\>3\</size\> \<items\> \<item xmlns: xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="lookup"\> \<description\>I would like to ask some questio…

---

## [Tutorial: Finding an Element's X, Y Position](https://forum.kirupa.com/t/tutorial-finding-an-elements-x-y-position/327593)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [March 13, 2012, 12:09am UTC](https://forum.kirupa.com/t/tutorial-finding-an-elements-x-y-position/327593 "2012-03-13T00:09:18Z")

</div>

\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[COLOR=#333333\]Hi everyone,\[/COLOR\]\[/COLOR\]\[/FONT\]\[/FONT\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COL…

---

## [\[important\] how do i do socket stuff in as3](https://forum.kirupa.com/t/important-how-do-i-do-socket-stuff-in-as3/327592)

<div class="topic-metadata">

**Author:** [@yoyoyo](https://forum.kirupa.com/u/yoyoyo)\
**Replies:** 0\
**Last updated:** [March 12, 2012, 8:04pm UTC](https://forum.kirupa.com/t/important-how-do-i-do-socket-stuff-in-as3/327592 "2012-03-12T20:04:09Z")

</div>

so i know as2 and i'm awesome at it but i can't do shenanigan in it like this is one of the best things I could produce out of as2: http://www.youtube.com/watch?v=oDD36AVTTo4 and well i wanna make a multiplayer game tile…

---

## [Seemless Install Failing (.htaccess)](https://forum.kirupa.com/t/seemless-install-failing-htaccess/327591)

<div class="topic-metadata">

**Author:** [@E\_Smuga](https://forum.kirupa.com/u/E_Smuga)\
**Replies:** 0\
**Last updated:** [March 12, 2012, 7:39pm UTC](https://forum.kirupa.com/t/seemless-install-failing-htaccess/327591 "2012-03-12T19:39:59Z")

</div>

I created a seamless install for an application: Register Free to see it http://englishfreeonline.com/download-i-immersion/ It works perfectly when you I allow installs for anyone. When I change permission to only al…

---

## [\[AS2\]removeMovieClip help and more](https://forum.kirupa.com/t/as2-removemovieclip-help-and-more/327590)

<div class="topic-metadata">

**Author:** [@jaeger138](https://forum.kirupa.com/u/jaeger138)\
**Replies:** 0\
**Last updated:** [March 12, 2012, 5:57pm UTC](https://forum.kirupa.com/t/as2-removemovieclip-help-and-more/327590 "2012-03-12T17:57:12Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Hi,\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]I have a project due in 2 days and I'm getting really worried because of the sheer amount of work it seems I have to do. Things in my game ar…

---

## [Pre-buffer Bitmapdata](https://forum.kirupa.com/t/pre-buffer-bitmapdata/327589)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [March 12, 2012, 10:42am UTC](https://forum.kirupa.com/t/pre-buffer-bitmapdata/327589 "2012-03-12T10:42:07Z")

</div>

Hey Before I go any further, I just want to clarify that this is Not about loading. So with that said. What I have is a .png sequence that will play forwards and backwards on mouse-over/out. I achieve this by having an…

---

## [Turn based game help](https://forum.kirupa.com/t/turn-based-game-help/327586)

<div class="topic-metadata">

**Author:** [@raphaelle](https://forum.kirupa.com/u/raphaelle)\
**Replies:** 0\
**Last updated:** [March 12, 2012, 7:51am UTC](https://forum.kirupa.com/t/turn-based-game-help/327586 "2012-03-12T07:51:07Z")

</div>

Good day evryone well, i need help on how to create a turn based game. in as3. i did something but it has an error, well what i did was give the enemy its on class, and i thought that since it has its own class i ca…

---

## [Need someone to refresh my MYSQL memory](https://forum.kirupa.com/t/need-someone-to-refresh-my-mysql-memory/327584)

<div class="topic-metadata">

**Author:** [@Ksuguy25](https://forum.kirupa.com/u/Ksuguy25)\
**Replies:** 0\
**Last updated:** [March 11, 2012, 9:57pm UTC](https://forum.kirupa.com/t/need-someone-to-refresh-my-mysql-memory/327584 "2012-03-11T21:57:09Z")

</div>

Somehow my knowledge of mysql is coming back to me (slowly) since I haven't used it in years. I'm building a very simple project with 7 fields (one checkbox and drop down list) I'll be using PHP duh for my users to submi…

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

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