# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=562

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

**Page:** 563

---

## [AS2: Can I make a variable a function?](https://forum.kirupa.com/t/as2-can-i-make-a-variable-a-function/292694)

<div class="topic-metadata">

**Author:** [@vivacuica](https://forum.kirupa.com/u/vivacuica)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 4:36pm UTC](https://forum.kirupa.com/t/as2-can-i-make-a-variable-a-function/292694 "2009-07-17T16:36:22Z")

</div>

Hey guys-- I have a number of functions in my code that I want to be called from a List Component, depending on what the user selects from the list. I've added a number of cities to the list like this: combo.addI…

---

## [Seaching XML Tutorial sans the checkboxes](https://forum.kirupa.com/t/seaching-xml-tutorial-sans-the-checkboxes/292689)

<div class="topic-metadata">

**Author:** [@stratmack](https://forum.kirupa.com/u/stratmack)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 3:16pm UTC](https://forum.kirupa.com/t/seaching-xml-tutorial-sans-the-checkboxes/292689 "2009-07-17T15:16:31Z")

</div>

I'm a graphics/Flash guy venturing into the flash/xml realm so I'm a bit novice but here's my dilima. I'm creating a little flash box that searches an xml file and returns the results in a text box and it's based on Kiru…

---

## [as3 to php file upload](https://forum.kirupa.com/t/as3-to-php-file-upload/292688)

<div class="topic-metadata">

**Author:** [@spazy\_t](https://forum.kirupa.com/u/spazy_t)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 3:02pm UTC](https://forum.kirupa.com/t/as3-to-php-file-upload/292688 "2009-07-17T15:02:03Z")

</div>

Hello i have been wandering the internet for several days and can't find an answer to my file uploader nightmare, i just want to upload a file from flash via php, i have been using the FileReference class but as soon as …

---

## [Tween multiple MovieClips PROBLEM](https://forum.kirupa.com/t/tween-multiple-movieclips-problem/292687)

<div class="topic-metadata">

**Author:** [@smeared](https://forum.kirupa.com/u/smeared)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 2:54pm UTC](https://forum.kirupa.com/t/tween-multiple-movieclips-problem/292687 "2009-07-17T14:54:20Z")

</div>

nevermind

---

## [Its important for me please](https://forum.kirupa.com/t/its-important-for-me-please/292686)

<div class="topic-metadata">

**Author:** [@jeoshamsi](https://forum.kirupa.com/u/jeoshamsi)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 2:49pm UTC](https://forum.kirupa.com/t/its-important-for-me-please/292686 "2009-07-17T14:49:27Z")

</div>

Hello Guys I have question regarding some LoadVar .... I have 150 Questions in a single variable in text file with sepration of & ..... LIKE:- question=whats is your name?&whats is your father name?&w…

---

## [Error trapping Sound](https://forum.kirupa.com/t/error-trapping-sound/292684)

<div class="topic-metadata">

**Author:** [@Ashlev](https://forum.kirupa.com/u/Ashlev)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 2:34pm UTC](https://forum.kirupa.com/t/error-trapping-sound/292684 "2009-07-17T14:34:55Z")

</div>

Hi I need to be able to trap if a sound file has been found or not. At the moment Im using loadSound to load in the file, and onLoad to set the movie running when the sound has been loaded. I have 2 outcomes in the onL…

---

## [Separating XML Elements \[AS3\]](https://forum.kirupa.com/t/separating-xml-elements-as3/292682)

<div class="topic-metadata">

**Author:** [@danhodkinson](https://forum.kirupa.com/u/danhodkinson)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 1:46pm UTC](https://forum.kirupa.com/t/separating-xml-elements-as3/292682 "2009-07-17T13:46:29Z")

</div>

Hi all, having a bit of trouble with XML. I'm trying to seperate my projects along a horizontal and vertical row, for every project the images are shown vertically one after the other, then when the \</project\> closes and…

---

## [What if Sound URLRequest fails?](https://forum.kirupa.com/t/what-if-sound-urlrequest-fails/292681)

<div class="topic-metadata">

**Author:** [@Tyg3r](https://forum.kirupa.com/u/Tyg3r)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 1:41pm UTC](https://forum.kirupa.com/t/what-if-sound-urlrequest-fails/292681 "2009-07-17T13:41:26Z")

</div>

Hi I was wondering if there's a method to determine whether an audio file is accessible before trying to import it into the movie? I'd like to use something like this, just in case the the .mp3 is not in the correct …

---

## [FLVPlayback doesn't play at at (only on browser)](https://forum.kirupa.com/t/flvplayback-doesnt-play-at-at-only-on-browser/292680)

<div class="topic-metadata">

**Author:** [@nfh](https://forum.kirupa.com/u/nfh)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 1:39pm UTC](https://forum.kirupa.com/t/flvplayback-doesnt-play-at-at-only-on-browser/292680 "2009-07-17T13:39:12Z")

</div>

Hi, I have a small flash project where there's a FLVPlayback component that is linked to a FLV video file. If I double click on the published SWF file (thus opening it with the FlashPlayer 10 executable), the video…

---

## [Fading in image logo multipart](https://forum.kirupa.com/t/fading-in-image-logo-multipart/292679)

<div class="topic-metadata">

**Author:** [@acccetturo](https://forum.kirupa.com/u/acccetturo)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 1:38pm UTC](https://forum.kirupa.com/t/fading-in-image-logo-multipart/292679 "2009-07-17T13:38:57Z")

</div>

I'm working on a new website, and I'd like to have the clients logo fade in, but not in one part. The logo is a basic 5 petal flower, each petal being a different color and overlaping with the next slightly. I'd like to …

---

## [Math random help](https://forum.kirupa.com/t/math-random-help/292677)

<div class="topic-metadata">

**Author:** [@farban](https://forum.kirupa.com/u/farban)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 12:30pm UTC](https://forum.kirupa.com/t/math-random-help/292677 "2009-07-17T12:30:25Z")

</div>

Hey there I am making a game where red squares spawn on the right side of the screen. So far the red squares spawn all the way up and down the height of the stage. The problem is that i want the red squares to spawn …

---

## [Flex drag and drop](https://forum.kirupa.com/t/flex-drag-and-drop/292676)

<div class="topic-metadata">

**Author:** [@livingdeadbeat](https://forum.kirupa.com/u/livingdeadbeat)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 11:58am UTC](https://forum.kirupa.com/t/flex-drag-and-drop/292676 "2009-07-17T11:58:07Z")

</div>

Hi Forum, i'm new to flex. I want to make a form manager where a user can drag components on to a blank area, but i want it to work like a tile list. So the components are in the tile list and it moves them down …

---

## [Simulate download causing Stream Errors](https://forum.kirupa.com/t/simulate-download-causing-stream-errors/292675)

<div class="topic-metadata">

**Author:** [@BoppreH](https://forum.kirupa.com/u/BoppreH)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 11:55am UTC](https://forum.kirupa.com/t/simulate-download-causing-stream-errors/292675 "2009-07-17T11:55:13Z")

</div>

I have a movie that asks some question to a bunch of php files and load images based on the answers. Nothing too fancy in the connection, and it works well. Problem is, as soon as I hit the "simulate download" button, …

---

## [Flash8: How to change scrollbar width](https://forum.kirupa.com/t/flash8-how-to-change-scrollbar-width/292673)

<div class="topic-metadata">

**Author:** [@pavanshinde](https://forum.kirupa.com/u/pavanshinde)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 11:35am UTC](https://forum.kirupa.com/t/flash8-how-to-change-scrollbar-width/292673 "2009-07-17T11:35:16Z")

</div>

Hi Guys, I am creating an application which will run on browser and touch screen kiosk. I have most of the V2 components. My problem is the list components scrollbar.. its width is too less for a kiosk. I tried many th…

---

## [\[ask\] how to tell flash "what to load" using URL method (e.g myApp.php?imageID=01)](https://forum.kirupa.com/t/ask-how-to-tell-flash-what-to-load-using-url-method-e-g-myapp-php-imageid-01/292669)

<div class="topic-metadata">

**Author:** [@mentega](https://forum.kirupa.com/u/mentega)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 9:42am UTC](https://forum.kirupa.com/t/ask-how-to-tell-flash-what-to-load-using-url-method-e-g-myapp-php-imageid-01/292669 "2009-07-17T09:42:32Z")

</div>

hi everyone, i just got stuck again with some works that needs me to create a flash player that can display an uploaded images and determine which image is being requested by URL i was thinking of using PHP since i rea…

---

## [POST variable error](https://forum.kirupa.com/t/post-variable-error/292662)

<div class="topic-metadata">

**Author:** [@lifeworks](https://forum.kirupa.com/u/lifeworks)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 7:10am UTC](https://forum.kirupa.com/t/post-variable-error/292662 "2009-07-17T07:10:11Z")

</div>

Hi Ive been tinkering with some games which post the user's score to a php file, which writes the data to a database... but Ive discovered that in some browsers I get this error. I googled some URLencoding tools for …

---

## [Know what has been drawn in a 'graphics' object](https://forum.kirupa.com/t/know-what-has-been-drawn-in-a-graphics-object/292660)

<div class="topic-metadata">

**Author:** [@neeraj\_b](https://forum.kirupa.com/u/neeraj_b)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 6:15am UTC](https://forum.kirupa.com/t/know-what-has-been-drawn-in-a-graphics-object/292660 "2009-07-17T06:15:06Z")

</div>

Hi, Lets say I have a customMovieClip. I sometimes draw an ellipse with customMovieClip.graphics and sometimes a rectangle. Now I want to know what was the shape ( ellipse/rect) that was created using a particular g…

---

## [For Loop Problem - dynamic count limiter](https://forum.kirupa.com/t/for-loop-problem-dynamic-count-limiter/292659)

<div class="topic-metadata">

**Author:** [@MicahZ](https://forum.kirupa.com/u/MicahZ)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 5:59am UTC](https://forum.kirupa.com/t/for-loop-problem-dynamic-count-limiter/292659 "2009-07-17T05:59:09Z")

</div>

I'm loading a variable from a .txt file into flash (per client request). The variable is as follows... &ClientNumberOf=4 so the variable = 4, this works on trace, happy, joy When I try and add the variable to my for …

---

## [Object Randomizer (with Collision Detection)](https://forum.kirupa.com/t/object-randomizer-with-collision-detection/292656)

<div class="topic-metadata">

**Author:** [@jayinhar](https://forum.kirupa.com/u/jayinhar)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 5:23am UTC](https://forum.kirupa.com/t/object-randomizer-with-collision-detection/292656 "2009-07-17T05:23:38Z")

</div>

Just wondering, I need a little help here. I set up a basic engine with two objects in it: a "wall" and an "enemy". I want to accomplish three tasks with this engine: Randomly assign "enemy" a position when the movie …

---

## [Strange Dynamic Mask with Tween Problem](https://forum.kirupa.com/t/strange-dynamic-mask-with-tween-problem/292652)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 3:05am UTC](https://forum.kirupa.com/t/strange-dynamic-mask-with-tween-problem/292652 "2009-07-17T03:05:44Z")

</div>

Can anyone tell me what I am doing wrong or don't know enough about masking to accomplish? Basically, I have a Sprite that serves as a mask. That sprite is populated with several small squares with tweens on them (usin…

---

## [Removing Loader Event Listeners](https://forum.kirupa.com/t/removing-loader-event-listeners/292649)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [July 17, 2009, 12:14am UTC](https://forum.kirupa.com/t/removing-loader-event-listeners/292649 "2009-07-17T00:14:37Z")

</div>

What is the correct way to refer to the dispatcher listeners in the following code so that I can remove them within completeListener()? private function createLoader():void { // Create the Loader loader = new …

---

## [Overriding Polymorphism?](https://forum.kirupa.com/t/overriding-polymorphism/292635)

<div class="topic-metadata">

**Author:** [@mothmann](https://forum.kirupa.com/u/mothmann)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 5:58pm UTC](https://forum.kirupa.com/t/overriding-polymorphism/292635 "2009-07-16T17:58:25Z")

</div>

class A package{ import flash.events.\* import flash.display.MovieClip; public class A extends MovieClip{ public function A():void{ this.addEventListener(Event.ADDED\_TO\_STAGE, staged); this.addEventListener(…

---

## [RTL bug](https://forum.kirupa.com/t/rtl-bug/292628)

<div class="topic-metadata">

**Author:** [@alon900](https://forum.kirupa.com/u/alon900)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 4:41pm UTC](https://forum.kirupa.com/t/rtl-bug/292628 "2009-07-16T16:41:32Z")

</div>

Hi there, Im tring for some time to make a Dynamic text box and write in Right To Left Orientation But for some reason it get mixed up... Any1 knonws how i can fix the problem ??

---

## [Flash 8 - overlapping movie clips](https://forum.kirupa.com/t/flash-8-overlapping-movie-clips/292627)

<div class="topic-metadata">

**Author:** [@pixeltheatre](https://forum.kirupa.com/u/pixeltheatre)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 4:07pm UTC](https://forum.kirupa.com/t/flash-8-overlapping-movie-clips/292627 "2009-07-16T16:07:54Z")

</div>

Hi - when i tell Flash to load a movie in on top of the existing movie, how do I disable the links below while that movie is still loaded and then re-enable the links once it's closed. i.e - I'm clicking an image to lo…

---

## [sendAndLoad + php + POST](https://forum.kirupa.com/t/sendandload-php-post/292626)

<div class="topic-metadata">

**Author:** [@vascoraf](https://forum.kirupa.com/u/vascoraf)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 3:44pm UTC](https://forum.kirupa.com/t/sendandload-php-post/292626 "2009-07-16T15:44:02Z")

</div>

Hello. Im building a reservation form, using actionscript and php. I use sendAndLoad to send variables to php via POST, which returns a different HTTP POST response in case of sucess or not. Is there anyway to "read"…

---

## [Flash file works locally but not on other Computers](https://forum.kirupa.com/t/flash-file-works-locally-but-not-on-other-computers/292624)

<div class="topic-metadata">

**Author:** [@sanaali](https://forum.kirupa.com/u/sanaali)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 3:25pm UTC](https://forum.kirupa.com/t/flash-file-works-locally-but-not-on-other-computers/292624 "2009-07-16T15:25:30Z")

</div>

Hi, I don't know if anyone else has had this problem, but I've created a flash project that works fine on my computer locally. When I take it to another computer(I've tried 3-4), my keyboard events are not working. I u…

---

## [Convert swf to dvd](https://forum.kirupa.com/t/convert-swf-to-dvd/292623)

<div class="topic-metadata">

**Author:** [@stefan83](https://forum.kirupa.com/u/stefan83)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 3:07pm UTC](https://forum.kirupa.com/t/convert-swf-to-dvd/292623 "2009-07-16T15:07:40Z")

</div>

Hi there! I'm trying to convert a swf to a format that I can play on a dvd player. I also need the movie to loop continuously. Anyone have any tips or know any free conversion software? Thanks!

---

## [Dispatching keyboard events](https://forum.kirupa.com/t/dispatching-keyboard-events/292622)

<div class="topic-metadata">

**Author:** [@skyro](https://forum.kirupa.com/u/skyro)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 2:45pm UTC](https://forum.kirupa.com/t/dispatching-keyboard-events/292622 "2009-07-16T14:45:57Z")

</div>

Can this be done in AS2? I have a key.addlistener setup to listen to key events. What I want to be able to do is to dispatch key events by for example a mouse click or just on load. Anyone know if it is possible? I…

---

## [Can anyone help me remove the particles?](https://forum.kirupa.com/t/can-anyone-help-me-remove-the-particles/292621)

<div class="topic-metadata">

**Author:** [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 2:45pm UTC](https://forum.kirupa.com/t/can-anyone-help-me-remove-the-particles/292621 "2009-07-16T14:45:44Z")

</div>

function updateStage(event:Event):void { if (particles\_ary.length\<numOfParticles) {// check the amount //trace(numOfParticles); var moveAsset2:MoveAsset2=new MoveAsset2 ;// creat movieclip off inst…

---

## [Ininite menu and button problem](https://forum.kirupa.com/t/ininite-menu-and-button-problem/292620)

<div class="topic-metadata">

**Author:** [@VoodooChild](https://forum.kirupa.com/u/VoodooChild)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 2:28pm UTC](https://forum.kirupa.com/t/ininite-menu-and-button-problem/292620 "2009-07-16T14:28:36Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]Ok, in opening I have tried to do my due diligence and have spent hours trying to find a solution to this problem, which seems pretty simple…\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\]I am us…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=561)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=563)
