# programming

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

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

**Page:** 752

---

## [\[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 …

---

## [Changing Image Names](https://forum.kirupa.com/t/changing-image-names/292646)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 10:27pm UTC](https://forum.kirupa.com/t/changing-image-names/292646 "2009-07-16T22:27:03Z")

</div>

I there a way I can change the name of the file to a random generated code? Is there also a way so that I can upload .gif, .png, .bmp? I use this code to upload now, so can someone show me how to do this? THanks in …

---

## [100% of the browser window?](https://forum.kirupa.com/t/100-of-the-browser-window/292636)

<div class="topic-metadata">

**Author:** [@r3h0ld3r](https://forum.kirupa.com/u/r3h0ld3r)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 6:45pm UTC](https://forum.kirupa.com/t/100-of-the-browser-window/292636 "2009-07-16T18:45:52Z")

</div>

I'm working on a few web pages and I've got a navigation bar that I've made in flash that's obviously a certain size, say 100 pixels tall, and it's located inside of a div that's right next to the main content (on the le…

---

## [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(…

---

## [PHP Contact from](https://forum.kirupa.com/t/php-contact-from/292632)

<div class="topic-metadata">

**Author:** [@pain\_train79](https://forum.kirupa.com/u/pain_train79)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 5:16pm UTC](https://forum.kirupa.com/t/php-contact-from/292632 "2009-07-16T17:16:43Z")

</div>

Hi, Im new to this site, and just want to thank you for a very informative tutorial on how to create a PHP contact from. I've got a couple of question that I would like some help on. Firstly when the submit button is …

---

## [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…

---

## [Object to move on rollover and rollout! Please HELP!](https://forum.kirupa.com/t/object-to-move-on-rollover-and-rollout-please-help/292617)

<div class="topic-metadata">

**Author:** [@neilbaxta](https://forum.kirupa.com/u/neilbaxta)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 2:01pm UTC](https://forum.kirupa.com/t/object-to-move-on-rollover-and-rollout-please-help/292617 "2009-07-16T14:01:30Z")

</div>

Hi, I'm having a really hard problem figuring this one out but it's probably a really simple fix for some of you so are looking for a bit of advice. I want to have a few menu buttons on my web page (home, about, contac…

---

## [How to communicate between external SWF please?](https://forum.kirupa.com/t/how-to-communicate-between-external-swf-please/292615)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 12:27pm UTC](https://forum.kirupa.com/t/how-to-communicate-between-external-swf-please/292615 "2009-07-16T12:27:52Z")

</div>

Hello, I got a new question regarding a project I'm doing. I'm creating a website template which has a navigation with links and 2 zones dedicated to load external contents. Loading 2 external swf by clicking on a li…

---

## [Filtering xml with E4X](https://forum.kirupa.com/t/filtering-xml-with-e4x/292613)

<div class="topic-metadata">

**Author:** [@Burvs](https://forum.kirupa.com/u/Burvs)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 12:20pm UTC](https://forum.kirupa.com/t/filtering-xml-with-e4x/292613 "2009-07-16T12:20:02Z")

</div>

Hi all, I'm trying to work out how to filter the below XML (loaded into a var called "projectsXML") by the contents of the "tag" nodes, but can't quite get it working. So for instance, how would I use an E4X expressi…

---

## [Senocular Transform Tool help - restrict drag area](https://forum.kirupa.com/t/senocular-transform-tool-help-restrict-drag-area/292612)

<div class="topic-metadata">

**Author:** [@makubex](https://forum.kirupa.com/u/makubex)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 12:14pm UTC](https://forum.kirupa.com/t/senocular-transform-tool-help-restrict-drag-area/292612 "2009-07-16T12:14:10Z")

</div>

Hi all... I am using senocular's transform tool AS3 in one of my projects... its a great tool... I am having a problem in customizing the tool, I need the movieclip to be drag only with in a rectangle. plz can someone sh…

---

## [Remoting Question](https://forum.kirupa.com/t/remoting-question/292611)

<div class="topic-metadata">

**Author:** [@dmennenoh](https://forum.kirupa.com/u/dmennenoh)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 12:07pm UTC](https://forum.kirupa.com/t/remoting-question/292611 "2009-07-16T12:07:22Z")

</div>

I am doing some remoting with AS3 and having no real luck... I have a PHP method: function getCollections() { $resArray = array(); $sql = "SELECT \* from collections"; return mysql\_query($sql,…

---

## [Delayed child constructor](https://forum.kirupa.com/t/delayed-child-constructor/292609)

<div class="topic-metadata">

**Author:** [@StridBR](https://forum.kirupa.com/u/StridBR)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 11:33am UTC](https://forum.kirupa.com/t/delayed-child-constructor/292609 "2009-07-16T11:33:25Z")

</div>

I have a timeline instanced movieclip which i'm calling a method on its parents movieclip constructor problem is that even though the object already exists, its methods are "undefined", i have put some traces in, and n…

---

## [Struggling with Conditionals](https://forum.kirupa.com/t/struggling-with-conditionals/292607)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 10:07am UTC](https://forum.kirupa.com/t/struggling-with-conditionals/292607 "2009-07-16T10:07:15Z")

</div>

Can anyone please help me, I'm pulling me hair out over this. I know I've asked a lot over the last few days but I do very much appreciate it. If its any consolation I do help others on things that I know about such a…

---

## [Generate Random Number ?!?](https://forum.kirupa.com/t/generate-random-number/292605)

<div class="topic-metadata">

**Author:** [@synxmax](https://forum.kirupa.com/u/synxmax)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 8:36am UTC](https://forum.kirupa.com/t/generate-random-number/292605 "2009-07-16T08:36:29Z")

</div>

Dear Guys I Want To Generate A Random Number Between 2 Number BUT Without Generating 2 Same Number I Mean If For Example Already Generated Number "2" Next Time Did Not Generate It , Is There Any Solution

---

## [Display List Referencing](https://forum.kirupa.com/t/display-list-referencing/292604)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 8:31am UTC](https://forum.kirupa.com/t/display-list-referencing/292604 "2009-07-16T08:31:43Z")

</div>

Hi I had some help on this the other day which was very useful but my project has changed a bit since then. I have a container movieclip called cont\_mc then inside that I have a series of pins which are called pin1\_m…

---

## [What do you think about my particle class? source included](https://forum.kirupa.com/t/what-do-you-think-about-my-particle-class-source-included/292601)

<div class="topic-metadata">

**Author:** [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 8:26am UTC](https://forum.kirupa.com/t/what-do-you-think-about-my-particle-class-source-included/292601 "2009-07-16T08:26:44Z")

</div>

I'm new to AS programming, but quiet proud of what I managed to do http://emotioned.com/2009/07/flash-cs4-as3-confetti-particle-system-source-files-and-class/#more-473 I would really appreciate it if you can comment …

---

## [Errors with FlexBuilder 3](https://forum.kirupa.com/t/errors-with-flexbuilder-3/292599)

<div class="topic-metadata">

**Author:** [@Eichen](https://forum.kirupa.com/u/Eichen)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 8:14am UTC](https://forum.kirupa.com/t/errors-with-flexbuilder-3/292599 "2009-07-16T08:14:57Z")

</div>

Hi! I have .fla called Helicopter and a movieclip in the library with a linkage of Fly. If I use the code-snippet (as a seperate class called Helicopter.as) below with Flash or Flashdeveloper it works fine. If i use Fl…

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

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