# programming

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

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

**Page:** 665

---

## [AS3 Button.EventListeners](https://forum.kirupa.com/t/as3-button-eventlisteners/298250)

<div class="topic-metadata">

**Author:** [@nitroplonker](https://forum.kirupa.com/u/nitroplonker)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 2:22pm UTC](https://forum.kirupa.com/t/as3-button-eventlisteners/298250 "2009-10-15T14:22:34Z")

</div>

Hi, I have a rookie question to ask and it's how to assign the same event listeners to multiple buttons in as3 instead of having to write out the same code over and over again like so... ActionScript Code: \[LEFT\]li…

---

## [HELP : Controlling Quicktime](https://forum.kirupa.com/t/help-controlling-quicktime/298246)

<div class="topic-metadata">

**Author:** [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 12:30pm UTC](https://forum.kirupa.com/t/help-controlling-quicktime/298246 "2009-10-15T12:30:50Z")

</div>

Hi guys, I have been browsing different tutorials on video here at Kirupa but I always stumble on how to control my quicktime movies. I have a project and it involves loading a couple of quicktime movies. My main pro…

---

## [Preloader for a diffirent kind of project...?](https://forum.kirupa.com/t/preloader-for-a-diffirent-kind-of-project/298222)

<div class="topic-metadata">

**Author:** [@StresseDennis](https://forum.kirupa.com/u/StresseDennis)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 11:54am UTC](https://forum.kirupa.com/t/preloader-for-a-diffirent-kind-of-project/298222 "2009-10-15T11:54:23Z")

</div>

Hi there, I need to make a preloader for a test project that is very diffirent and a little bit off-beat as it uses script that I have prostetuted from a variety of diffirent files, see (http://www.urbanbullet.co.za/pre…

---

## [Dynamically creating TextFields - bottomScrollV and TextFieldAutoSize problem](https://forum.kirupa.com/t/dynamically-creating-textfields-bottomscrollv-and-textfieldautosize-problem/298220)

<div class="topic-metadata">

**Author:** [@rufusW](https://forum.kirupa.com/u/rufusW)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 11:18am UTC](https://forum.kirupa.com/t/dynamically-creating-textfields-bottomscrollv-and-textfieldautosize-problem/298220 "2009-10-15T11:18:16Z")

</div>

Hi all I'm currently creating an app which allows users to select blocks of text from a List and dynamically create a TextField on the stage. I'm calculating the height of the TextField and positioning the next TextF…

---

## [AS3 : Circle Line HitTesting](https://forum.kirupa.com/t/as3-circle-line-hittesting/298218)

<div class="topic-metadata">

**Author:** [@MuG1](https://forum.kirupa.com/u/MuG1)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 10:39am UTC](https://forum.kirupa.com/t/as3-circle-line-hittesting/298218 "2009-10-15T10:39:51Z")

</div>

Hey Peeps, Been a while since i've been here so I feel a bit guilty asking for help but I will anyway \[smile\] I've been playing around with some ball mechanics and I've managed to develop the following bit of code to…

---

## [Load multiple images into Loader?](https://forum.kirupa.com/t/load-multiple-images-into-loader/298216)

<div class="topic-metadata">

**Author:** [@Daimz](https://forum.kirupa.com/u/Daimz)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 9:44am UTC](https://forum.kirupa.com/t/load-multiple-images-into-loader/298216 "2009-10-15T09:44:09Z")

</div>

How would I load more than one image(MC) into a UI Loader? Basically my aim is to use SharedObject to save the basically what I am doing is I have a list of buttons each has a name which when clicked the name is added t…

---

## [Reading all text from a .txt file](https://forum.kirupa.com/t/reading-all-text-from-a-txt-file/298214)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 8:33am UTC](https://forum.kirupa.com/t/reading-all-text-from-a-txt-file/298214 "2009-10-15T08:33:37Z")

</div>

Hi guys, Quick question. Ofcourse I know that you can read flash variables from a text file, which is formatted like: @var1=firstVariable@var2=secondVariable and so on. But is there a way to read normal text out of …

---

## [AS2 dynamic mc \_alpha property](https://forum.kirupa.com/t/as2-dynamic-mc--alpha-property/298213)

<div class="topic-metadata">

**Author:** [@charco](https://forum.kirupa.com/u/charco)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 7:50am UTC](https://forum.kirupa.com/t/as2-dynamic-mc--alpha-property/298213 "2009-10-15T07:50:08Z")

</div>

I am having problems with the \_alpha property of dynamic masks. For some reason they don't seem to accept it. I have a holder mc that I use as a mask and the holder is full of dynamic mcs for which I would like to set ap…

---

## [Please explain syntax for (X ^ (X \>\> 31)) - (X \>\> 31)](https://forum.kirupa.com/t/please-explain-syntax-for-x-x-31-x-31/298208)

<div class="topic-metadata">

**Author:** [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 5:14am UTC](https://forum.kirupa.com/t/please-explain-syntax-for-x-x-31-x-31/298208 "2009-10-15T05:14:32Z")

</div>

Hi could someone please explain in very very basic terms (or direct me to tutorial) what is happening in this syntax: (X ^ (X \>\> 31)) - (X \>\> 31) this was part of and example on how to optimist code (posted in this f…

---

## [Creating boundries for Buildings and Border](https://forum.kirupa.com/t/creating-boundries-for-buildings-and-border/298207)

<div class="topic-metadata">

**Author:** [@haventownsend](https://forum.kirupa.com/u/haventownsend)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 4:28am UTC](https://forum.kirupa.com/t/creating-boundries-for-buildings-and-border/298207 "2009-10-15T04:28:03Z")

</div>

I have had flash for awhile, but only used for Animation and websites, and I decided to dwell into creating a flash game. I have movement, hotspots, money, inventory, buying from merchants, and a UI. My only problem is b…

---

## [Problems with first PHP](https://forum.kirupa.com/t/problems-with-first-php/298206)

<div class="topic-metadata">

**Author:** [@kinwald](https://forum.kirupa.com/u/kinwald)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 4:26am UTC](https://forum.kirupa.com/t/problems-with-first-php/298206 "2009-10-15T04:26:13Z")

</div>

I am having problems with get php to show up in my browser. I am using xampp. Heres the code: \<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml/DTD/xhtml1-transitional.dtd"\> \<…

---

## [Motion Tween Problems](https://forum.kirupa.com/t/motion-tween-problems/298205)

<div class="topic-metadata">

**Author:** [@gregoryt](https://forum.kirupa.com/u/gregoryt)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 3:46am UTC](https://forum.kirupa.com/t/motion-tween-problems/298205 "2009-10-15T03:46:04Z")

</div>

I have two buttons on my stage which both trigger a tween of a movie clip. When you click the first button the movie clip tweens from a y value of 235 to a y value of 635. That works fine. However, when you click the sec…

---

## [Need Help to insert Flash Game into Wordpress](https://forum.kirupa.com/t/need-help-to-insert-flash-game-into-wordpress/298202)

<div class="topic-metadata">

**Author:** [@YJYJYJ](https://forum.kirupa.com/u/YJYJYJ)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 3:12am UTC](https://forum.kirupa.com/t/need-help-to-insert-flash-game-into-wordpress/298202 "2009-10-15T03:12:05Z")

</div>

hi all, pls teach me how to insert a Flash Game into Wordpress. Flash Game is in swf file format. kindly teach me which directory should i upload the swf file to and the source code that i need to type in Wordpress…

---

## [Make loaded image buttonable?](https://forum.kirupa.com/t/make-loaded-image-buttonable/298200)

<div class="topic-metadata">

**Author:** [@oluc](https://forum.kirupa.com/u/oluc)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 2:21am UTC](https://forum.kirupa.com/t/make-loaded-image-buttonable/298200 "2009-10-15T02:21:07Z")

</div>

I did the following tutorial to load a bunch of images to the screen at once: http://tutorials.flashmymind.com/2009/02/loading-multiple-images/comment-page-1/ Now, how do I make them buttonable? Does someone know how…

---

## [TexTransition Text Animation Package](https://forum.kirupa.com/t/textransition-text-animation-package/298199)

<div class="topic-metadata">

**Author:** [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 1:33am UTC](https://forum.kirupa.com/t/textransition-text-animation-package/298199 "2009-10-15T01:33:06Z")

</div>

Hi guys, some of you may remember my now offline AS2 "Super Text Transition Class". Well, finally, the brand new AS3 version, \[TexTransition, is about to be released on \[URL="http://flashden.net/?ref=matthewjumpsoffbuild…

---

## [UPDATE with MAX() problem](https://forum.kirupa.com/t/update-with-max-problem/298198)

<div class="topic-metadata">

**Author:** [@SpyrL](https://forum.kirupa.com/u/SpyrL)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 1:29am UTC](https://forum.kirupa.com/t/update-with-max-problem/298198 "2009-10-15T01:29:23Z")

</div>

For some reason when I try an UPDATE statement using MAX() in the WHERE clause, it still updates all the instances. Here the statement: UPDATE site SET VIEWS=VIEWS+1 WHERE VERSION = (SELECT MAX(VERSION)); VERSION b…

---

## [Loader Instance with Custom Properties](https://forum.kirupa.com/t/loader-instance-with-custom-properties/298197)

<div class="topic-metadata">

**Author:** [@mrmike](https://forum.kirupa.com/u/mrmike)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 12:51am UTC](https://forum.kirupa.com/t/loader-instance-with-custom-properties/298197 "2009-10-15T00:51:34Z")

</div>

Hi, Through searching the various forums I have found that Loaders are not dynamic and hence you can not apply custom properties to each instance of them. I miss the old way (as2 way of attachingMovieClip) that you lo…

---

## [Duplicating a movie clip with dynamic content](https://forum.kirupa.com/t/duplicating-a-movie-clip-with-dynamic-content/298189)

<div class="topic-metadata">

**Author:** [@shigaugi](https://forum.kirupa.com/u/shigaugi)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 9:18pm UTC](https://forum.kirupa.com/t/duplicating-a-movie-clip-with-dynamic-content/298189 "2009-10-14T21:18:05Z")

</div>

Hi guys I have created an application that lets the user dynamically edit the content of an online greeting. I want the application to be able to duplicate the edited greeting 4 times, so the printed page will contain …

---

## [How do I access values held by a class instance from another class instance?](https://forum.kirupa.com/t/how-do-i-access-values-held-by-a-class-instance-from-another-class-instance/298187)

<div class="topic-metadata">

**Author:** [@alan\_moore](https://forum.kirupa.com/u/alan_moore)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 9:11pm UTC](https://forum.kirupa.com/t/how-do-i-access-values-held-by-a-class-instance-from-another-class-instance/298187 "2009-10-14T21:11:22Z")

</div>

Hi folks, longtime user of Kirupa but never posted here before. I have to admit I pretty much ran away from Flash when AS2 came along and only used it for animation purposes over the last 5 years. So I'm having a major…

---

## [Simple Flashgame? fastest wins](https://forum.kirupa.com/t/simple-flashgame-fastest-wins/298186)

<div class="topic-metadata">

**Author:** [@sandra\_s](https://forum.kirupa.com/u/sandra_s)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 9:10pm UTC](https://forum.kirupa.com/t/simple-flashgame-fastest-wins/298186 "2009-10-14T21:10:04Z")

</div>

Hey! I wanna do a simple game which should look something like this: 1. A random numbergenerator that generates value X 2. User A & B choose a value 3. Which one of A or B in the fastest to choice a value? (Let s…

---

## [Sprite - registration point](https://forum.kirupa.com/t/sprite-registration-point/298183)

<div class="topic-metadata">

**Author:** [@jik\_ff](https://forum.kirupa.com/u/jik_ff)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 8:29pm UTC](https://forum.kirupa.com/t/sprite-registration-point/298183 "2009-10-14T20:29:28Z")

</div>

I'm a little lost with where to find the information on this. Basically, I have a sprite object. when I scale it, it scales based on 0,0 being it's "registration point". I want to set the registration point to the …

---

## [Associative array and indexOf question](https://forum.kirupa.com/t/associative-array-and-indexof-question/298182)

<div class="topic-metadata">

**Author:** [@psych](https://forum.kirupa.com/u/psych)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 8:29pm UTC](https://forum.kirupa.com/t/associative-array-and-indexof-question/298182 "2009-10-14T20:29:23Z")

</div>

Hi guys, If i have an associative array like this for example: var arr:Array = new Array(); arr.push({name:"John", last:"Doe"}); arr.push({name:"Jane", lase:"Doe"}); How can i get array index of elements whose name…

---

## [Dynamic class instance by name?](https://forum.kirupa.com/t/dynamic-class-instance-by-name/298181)

<div class="topic-metadata">

**Author:** [@psych](https://forum.kirupa.com/u/psych)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 8:17pm UTC](https://forum.kirupa.com/t/dynamic-class-instance-by-name/298181 "2009-10-14T20:17:52Z")

</div>

Hi guys, Lets say i have a simple ClassB which just draws a rect: package { import flash.display.Sprite; public class ClassB extends Sprite { public function ClassB() { s…

---

## [Referencing movieclip created in another function](https://forum.kirupa.com/t/referencing-movieclip-created-in-another-function/298180)

<div class="topic-metadata">

**Author:** [@JayMasterJay](https://forum.kirupa.com/u/JayMasterJay)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 8:12pm UTC](https://forum.kirupa.com/t/referencing-movieclip-created-in-another-function/298180 "2009-10-14T20:12:53Z")

</div>

Hi, I'm a complete newb to AS 3.0, but wrote a couple of small games using AS 2.0. One of the things I found easiest about AS 2.0 is that a MovieClip created using \_root.attachMovieClip() inside of one function was ac…

---

## [Actionscript broke without touching it](https://forum.kirupa.com/t/actionscript-broke-without-touching-it/298177)

<div class="topic-metadata">

**Author:** [@digibrink](https://forum.kirupa.com/u/digibrink)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 7:18pm UTC](https://forum.kirupa.com/t/actionscript-broke-without-touching-it/298177 "2009-10-14T19:18:25Z")

</div>

sorry for duplicate

---

## ["Special" Float menu](https://forum.kirupa.com/t/special-float-menu/298175)

<div class="topic-metadata">

**Author:** [@forza\_stiinta](https://forum.kirupa.com/u/forza_stiinta)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 7:09pm UTC](https://forum.kirupa.com/t/special-float-menu/298175 "2009-10-14T19:09:19Z")

</div>

I need something like this, but something free. http://dhtml-menu.com/menu/dhtml-floating-menu-sample.html The idea is that I need a menu that initially is placed at 200px from the top, but when I scroll down, it mus…

---

## [Trouble Creating Instance, "MyCar"](https://forum.kirupa.com/t/trouble-creating-instance-mycar/298173)

<div class="topic-metadata">

**Author:** [@nvidia](https://forum.kirupa.com/u/nvidia)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 6:24pm UTC](https://forum.kirupa.com/t/trouble-creating-instance-mycar/298173 "2009-10-14T18:24:52Z")

</div>

Hi, i have created a project in FlashDevelop which contains a file called MyVehicle.as which acts as a Super class, MyCar.as which inherits the properties from the super class. I have also created a file called Host…

---

## [Drag, drop and rotate selected MovieClip](https://forum.kirupa.com/t/drag-drop-and-rotate-selected-movieclip/298172)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 6:16pm UTC](https://forum.kirupa.com/t/drag-drop-and-rotate-selected-movieclip/298172 "2009-10-14T18:16:04Z")

</div>

I´m building a game, where the user has several images as movieclips. He can drag them to an area of the stage, and selecting them, he could rotate it. Does anybody knows some tutorials on hoe to start? thanks

---

## [\[as2.0\] strange variable results w/eventlistener function](https://forum.kirupa.com/t/as2-0-strange-variable-results-w-eventlistener-function/298162)

<div class="topic-metadata">

**Author:** [@desoto0311](https://forum.kirupa.com/u/desoto0311)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 4:59pm UTC](https://forum.kirupa.com/t/as2-0-strange-variable-results-w-eventlistener-function/298162 "2009-10-14T16:59:25Z")

</div>

So I've got a function that does several things: It creates video cue points, loads content & executes a function based on those cue points, and finally, sets the eventlistener for the video. The problem I'm having (af…

---

## [getURL not working in firefox](https://forum.kirupa.com/t/geturl-not-working-in-firefox/298160)

<div class="topic-metadata">

**Author:** [@dansimon30](https://forum.kirupa.com/u/dansimon30)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 4:16pm UTC](https://forum.kirupa.com/t/geturl-not-working-in-firefox/298160 "2009-10-14T16:16:28Z")

</div>

I have an Xslide gallery that I need to make each photo link to an absolute URL. Works fine on IE but FireFox dosnt function at all. I can get it to work if I "blank" but then it is applied to both browsers. The requirem…

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

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