# flash

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

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

**Page:** 124

---

## [Missionaries and Cannibals](https://forum.kirupa.com/t/missionaries-and-cannibals/324683)

<div class="topic-metadata">

**Author:** [@bigpappi23](https://forum.kirupa.com/u/bigpappi23)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 2:09am UTC](https://forum.kirupa.com/t/missionaries-and-cannibals/324683 "2011-09-03T02:09:17Z")

</div>

Hi guys... does anyone know how to do the missionaries and cannibals game in flash???

---

## [ScrollPane Component Issue](https://forum.kirupa.com/t/scrollpane-component-issue/324682)

<div class="topic-metadata">

**Author:** [@designwolf](https://forum.kirupa.com/u/designwolf)\
**Replies:** 0\
**Last updated:** [September 2, 2011, 10:03pm UTC](https://forum.kirupa.com/t/scrollpane-component-issue/324682 "2011-09-02T22:03:52Z")

</div>

Hello All, I've recently been introduced to the ScrollPane component. While I was able to get through the basic steps and set it up, there is one feature which is not working for me. I've scoured the internet for ans…

---

## [Filter XML and get all the parents](https://forum.kirupa.com/t/filter-xml-and-get-all-the-parents/324681)

<div class="topic-metadata">

**Author:** [@croxover](https://forum.kirupa.com/u/croxover)\
**Replies:** 0\
**Last updated:** [September 2, 2011, 9:24pm UTC](https://forum.kirupa.com/t/filter-xml-and-get-all-the-parents/324681 "2011-09-02T21:24:45Z")

</div>

I want to get the full parent node on a result of a search. XML example: \<ItemNodeCollection\> \<MaxProf\>1\</MaxProf\> \<ItemNodes\> \<ItemNode\> \<Prop\> \<Id\>1\</Id\> …

---

## [Same trace, different results?](https://forum.kirupa.com/t/same-trace-different-results/324677)

<div class="topic-metadata">

**Author:** [@sogj](https://forum.kirupa.com/u/sogj)\
**Replies:** 0\
**Last updated:** [September 2, 2011, 6:51pm UTC](https://forum.kirupa.com/t/same-trace-different-results/324677 "2011-09-02T18:51:04Z")

</div>

I have the same trace in two different functions (both events on the same object) but it's tracing differently. public function Letters(): void { this.addEventListener(MouseEvent.MOUSE\_DOWN, letterMove); …

---

## [Screen Resolution for Wallpaper DOwnload](https://forum.kirupa.com/t/screen-resolution-for-wallpaper-download/324676)

<div class="topic-metadata">

**Author:** [@carleokj](https://forum.kirupa.com/u/carleokj)\
**Replies:** 0\
**Last updated:** [September 2, 2011, 6:32pm UTC](https://forum.kirupa.com/t/screen-resolution-for-wallpaper-download/324676 "2011-09-02T18:32:10Z")

</div>

Hello All, Does anyone know if any script or flash component exists which would allow me to have the users resolution detected and have the wallpaper download be the exact size of the resolution. I would envision that…

---

## [Multiple Buttons - One Function - Different Addchilds](https://forum.kirupa.com/t/multiple-buttons-one-function-different-addchilds/324674)

<div class="topic-metadata">

**Author:** [@shakaBoy](https://forum.kirupa.com/u/shakaBoy)\
**Replies:** 0\
**Last updated:** [September 2, 2011, 2:40pm UTC](https://forum.kirupa.com/t/multiple-buttons-one-function-different-addchilds/324674 "2011-09-02T14:40:30Z")

</div>

Hello everyone, Here's my dilemma - I have two buttons (home and contact) (and two pages) and I want to send them to the same function. In the function I have a pagecontainer.addChild() but I want the function to know …

---

## [\[AS3\] Closest movieclip](https://forum.kirupa.com/t/as3-closest-movieclip/324673)

<div class="topic-metadata">

**Author:** [@mvrb](https://forum.kirupa.com/u/mvrb)\
**Replies:** 0\
**Last updated:** [September 2, 2011, 12:21pm UTC](https://forum.kirupa.com/t/as3-closest-movieclip/324673 "2011-09-02T12:21:50Z")

</div>

Hello everyone. I’m trying to make a game where my movieclip will automaticly point at the closest enemy. I’ve tried push() the X and Y coordinates of my enemies to an array, but with no luck. This is my code so far: h…

---

## [AS3 TextField transformation problem](https://forum.kirupa.com/t/as3-textfield-transformation-problem/324671)

<div class="topic-metadata">

**Author:** [@pavuk666](https://forum.kirupa.com/u/pavuk666)\
**Replies:** 0\
**Last updated:** [September 2, 2011, 9:24am UTC](https://forum.kirupa.com/t/as3-textfield-transformation-problem/324671 "2011-09-02T09:24:13Z")

</div>

Hi, I'm developing a flash product designer... one of it's features is that customers can add their own text to product and they can move it, resize it, rotate it... but I have one problem - text is stored in dynamic …

---

## [Document Class simple question](https://forum.kirupa.com/t/document-class-simple-question/324669)

<div class="topic-metadata">

**Author:** [@sledge\_hammer](https://forum.kirupa.com/u/sledge_hammer)\
**Replies:** 0\
**Last updated:** [September 2, 2011, 7:02am UTC](https://forum.kirupa.com/t/document-class-simple-question/324669 "2011-09-02T07:02:34Z")

</div>

Is the DocumentClass's constructor method meant to be like a Main() function in C++/C#/Java programming?

---

## [RemoveChild problem](https://forum.kirupa.com/t/removechild-problem/324667)

<div class="topic-metadata">

**Author:** [@Sinj\_Raion](https://forum.kirupa.com/u/Sinj_Raion)\
**Replies:** 0\
**Last updated:** [September 2, 2011, 2:48am UTC](https://forum.kirupa.com/t/removechild-problem/324667 "2011-09-02T02:48:39Z")

</div>

I've been trying to make a movieClip be able to fire a "bullet," but so far I haven't had any luck with removing it. I've removed all the unnecessary code: function shoot(e:MouseEvent){ var bullet:shootyThing = ne…

---

## [Why Alert Component cannot use this.createObject](https://forum.kirupa.com/t/why-alert-component-cannot-use-this-createobject/324666)

<div class="topic-metadata">

**Author:** [@dan\_85](https://forum.kirupa.com/u/dan_85)\
**Replies:** 0\
**Last updated:** [September 2, 2011, 12:50am UTC](https://forum.kirupa.com/t/why-alert-component-cannot-use-this-createobject/324666 "2011-09-02T00:50:04Z")

</div>

Hi everybody and very good morning, I have confused about the Alert components. I wonder why the Alert component should be import using import mx.controls.Alert; but why I cannot use this.createObject("Butto…

---

## [Button vs movieclip, round 1 fight!](https://forum.kirupa.com/t/button-vs-movieclip-round-1-fight/324664)

<div class="topic-metadata">

**Author:** [@tottejaevel](https://forum.kirupa.com/u/tottejaevel)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 11:02pm UTC](https://forum.kirupa.com/t/button-vs-movieclip-round-1-fight/324664 "2011-09-01T23:02:19Z")

</div>

Hey dudes! I've just made an interactive banner with rollover/rollout commands taken from this site. My problem is now: I still want to create a button with onrelease event such as getURL and clickTAG covering the whol…

---

## [Endless blood - no lag?](https://forum.kirupa.com/t/endless-blood-no-lag/324661)

<div class="topic-metadata">

**Author:** [@masterLaser](https://forum.kirupa.com/u/masterLaser)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 8:28pm UTC](https://forum.kirupa.com/t/endless-blood-no-lag/324661 "2011-09-01T20:28:02Z")

</div>

Hi. Im building a game where i would like the blood stains (when shooting people) to never disapear. Now i just spawn a movieclip/sprite on the map whenever a body is been hit, and just leave the stain there. The probl…

---

## [FlashBuilder - Single .as file without custom editor colors](https://forum.kirupa.com/t/flashbuilder-single-as-file-without-custom-editor-colors/324660)

<div class="topic-metadata">

**Author:** [@SharkTank](https://forum.kirupa.com/u/SharkTank)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 7:53pm UTC](https://forum.kirupa.com/t/flashbuilder-single-as-file-without-custom-editor-colors/324660 "2011-09-01T19:53:08Z")

</div>

The title pretty much says it all. The entire hierarchy obeys the custom editor colors I've set(a dark theme), except for one .as file. It is just plain white on black. Ironically it has kept two of the custom colors, si…

---

## [Require visiting certain frames before moving forward?](https://forum.kirupa.com/t/require-visiting-certain-frames-before-moving-forward/324659)

<div class="topic-metadata">

**Author:** [@lazerbrains](https://forum.kirupa.com/u/lazerbrains)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 7:49pm UTC](https://forum.kirupa.com/t/require-visiting-certain-frames-before-moving-forward/324659 "2011-09-01T19:49:11Z")

</div>

I have a site where I want to restrict the user from moving forward unless they have visited certain pages. So if you visti page 1, 2, & 3, then a button appears that lets you move forward. I have this working using butt…

---

## [AS2 to AS3 help](https://forum.kirupa.com/t/as2-to-as3-help/324658)

<div class="topic-metadata">

**Author:** [@Eterya](https://forum.kirupa.com/u/Eterya)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 7:45pm UTC](https://forum.kirupa.com/t/as2-to-as3-help/324658 "2011-09-01T19:45:43Z")

</div>

Hello. I have a script that I use for menues where a slider moves on mouse over. Example is found here: http://www.eterya.com This is a movie clip using as2. What I need is for this to work in as3. Heres the code…

---

## [How to change the code to work automatically instead of using Play button?](https://forum.kirupa.com/t/how-to-change-the-code-to-work-automatically-instead-of-using-play-button/324657)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 7:44pm UTC](https://forum.kirupa.com/t/how-to-change-the-code-to-work-automatically-instead-of-using-play-button/324657 "2011-09-01T19:44:21Z")

</div>

Hi, The following code draws a square on using Play Button. But I want it to be started drawing automatically without using the Play Button. I got the example code from searching the google. import com.greensock.\*; …

---

## [How to unload an external SWF after 15 seconds?](https://forum.kirupa.com/t/how-to-unload-an-external-swf-after-15-seconds/324656)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 5:43pm UTC](https://forum.kirupa.com/t/how-to-unload-an-external-swf-after-15-seconds/324656 "2011-09-01T17:43:32Z")

</div>

Hi, I am using the following code to load an external SWF. I want to unload it after 15 seconds. How can I unload it? Please help me in this regard. var mySwf1:SWFLoader = new SWFLoader("Clock.swf", {width:200, hei…

---

## [as3 preloader woes](https://forum.kirupa.com/t/as3-preloader-woes/324652)

<div class="topic-metadata">

**Author:** [@fonzio](https://forum.kirupa.com/u/fonzio)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 3:32pm UTC](https://forum.kirupa.com/t/as3-preloader-woes/324652 "2011-09-01T15:32:53Z")

</div>

hi all, and firstly thanks for looking I have started to write a game, the components i have so far are the main menu, help section and contact section i have found a good tutorial loading multiple swf, which i will …

---

## [AS3 Stream Problem](https://forum.kirupa.com/t/as3-stream-problem/324651)

<div class="topic-metadata">

**Author:** [@magamuga](https://forum.kirupa.com/u/magamuga)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 2:15pm UTC](https://forum.kirupa.com/t/as3-stream-problem/324651 "2011-09-01T14:15:34Z")

</div>

Hi everybody, I have a video player that doesnt have "seek from unloaded time" functionality. I want to add it now, but i am having headaches. Please help \[smile\] I sipmly load video like this; stream.play("vidurl.f…

---

## [Urgent - TFL TEXT in Loaded SWF, BUG?](https://forum.kirupa.com/t/urgent-tfl-text-in-loaded-swf-bug/324649)

<div class="topic-metadata">

**Author:** [@colouredFunk](https://forum.kirupa.com/u/colouredFunk)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 11:31am UTC](https://forum.kirupa.com/t/urgent-tfl-text-in-loaded-swf-bug/324649 "2011-09-01T11:31:12Z")

</div>

Hi all, After spending 7 hours pulling my hair out trying to figure out why I can't control a loaded external SWF, I've worked out if the external SWF has TFL text boxes in it, I can't control the timeline, if I switch…

---

## [Question re: Random Movement in AS3 Tutorial](https://forum.kirupa.com/t/question-re-random-movement-in-as3-tutorial/324648)

<div class="topic-metadata">

**Author:** [@kubik](https://forum.kirupa.com/u/kubik)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 10:30am UTC](https://forum.kirupa.com/t/question-re-random-movement-in-as3-tutorial/324648 "2011-09-01T10:30:52Z")

</div>

Getting back into Flash development after a prolonged absence, I was playing around with kirupa's excellent "Random Movement in AS3" Tutorial. So far, so good. This bit of code adds the instances of blueCircle on my st…

---

## [Rotating menu in Actionscript 3.0](https://forum.kirupa.com/t/rotating-menu-in-actionscript-3-0/324646)

<div class="topic-metadata">

**Author:** [@Flash\_flea](https://forum.kirupa.com/u/Flash_flea)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 4:38am UTC](https://forum.kirupa.com/t/rotating-menu-in-actionscript-3-0/324646 "2011-09-01T04:38:22Z")

</div>

I'm using Actionscript 3.0 for Adobe Flash CS4 for this project... (http://tutorials.flashmymind.com/2009/02/rotating-menu-via-actionscript-3/) I tried to modify the code of this tutorial a bit to have words appear ins…

---

## [Reassign class variable to a blank instance of its class](https://forum.kirupa.com/t/reassign-class-variable-to-a-blank-instance-of-its-class/324644)

<div class="topic-metadata">

**Author:** [@sogj](https://forum.kirupa.com/u/sogj)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 1:47am UTC](https://forum.kirupa.com/t/reassign-class-variable-to-a-blank-instance-of-its-class/324644 "2011-09-01T01:47:32Z")

</div>

When I declare a class variable private var myVar:MyClass = new MyClass(); It creates a new instance of that class that will trace as \[Object MyClass\]. However, as soon as I assign it to something myVar = thisOt…

---

## [Why doesn't this listener get the custom event?](https://forum.kirupa.com/t/why-doesnt-this-listener-get-the-custom-event/324643)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [August 31, 2011, 9:07pm UTC](https://forum.kirupa.com/t/why-doesnt-this-listener-get-the-custom-event/324643 "2011-08-31T21:07:52Z")

</div>

I'm very confused about why one of my event listeners does not catch a custom event while all of the others do. I have this in my FLA: function runP5():void { p5 = new P5\_SMS(); addChild(p5); p5.addEventLi…

---

## [Movig car from number](https://forum.kirupa.com/t/movig-car-from-number/324641)

<div class="topic-metadata">

**Author:** [@stuw](https://forum.kirupa.com/u/stuw)\
**Replies:** 0\
**Last updated:** [August 31, 2011, 7:05pm UTC](https://forum.kirupa.com/t/movig-car-from-number/324641 "2011-08-31T19:05:00Z")

</div>

I am trying to animate a scoreboard of sorts where you put in the scores and the first car to reach the finish wins, but i need some help doing it. I want to have a text box, where you type in the score and this moves th…

---

## [Peer to Peer in Flash, is Java the answer?](https://forum.kirupa.com/t/peer-to-peer-in-flash-is-java-the-answer/324639)

<div class="topic-metadata">

**Author:** [@wMattD](https://forum.kirupa.com/u/wMattD)\
**Replies:** 0\
**Last updated:** [August 31, 2011, 2:26pm UTC](https://forum.kirupa.com/t/peer-to-peer-in-flash-is-java-the-answer/324639 "2011-08-31T14:26:02Z")

</div>

Disclaimer: I'm still learning Flash, and while I've had a few college courses over Java, they were years ago (ie, I've forgotten almost everything) and they never covered network connections. So, by asking this questio…

---

## [AS3 youtube question](https://forum.kirupa.com/t/as3-youtube-question/324638)

<div class="topic-metadata">

**Author:** [@kstv\_chttrj](https://forum.kirupa.com/u/kstv_chttrj)\
**Replies:** 0\
**Last updated:** [August 31, 2011, 1:20pm UTC](https://forum.kirupa.com/t/as3-youtube-question/324638 "2011-08-31T13:20:16Z")

</div>

Hello. I have one question please excuse me if its stupid. Is Developers key still needed to embed youtube on flash? I am not talking about chromeless one. If yes then can anyone guide me, where to put the develo…

---

## [How to call a function dynamically?](https://forum.kirupa.com/t/how-to-call-a-function-dynamically/324635)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [August 31, 2011, 6:39am UTC](https://forum.kirupa.com/t/how-to-call-a-function-dynamically/324635 "2011-08-31T06:39:44Z")

</div>

Say I have this: function f1():void { if (!paused) { // animate something // start timer and when it's done execute f2() } else { ?? } } function f2(te:TimerEvent):void { …

---

## [Embedded video keeps looping](https://forum.kirupa.com/t/embedded-video-keeps-looping/324627)

<div class="topic-metadata">

**Author:** [@Lawrence\_Smith](https://forum.kirupa.com/u/Lawrence_Smith)\
**Replies:** 0\
**Last updated:** [August 30, 2011, 11:48pm UTC](https://forum.kirupa.com/t/embedded-video-keeps-looping/324627 "2011-08-30T23:48:56Z")

</div>

So i have been working on a project, its a digital portfolio. Now I have the Host Movie and and then I have a submovie which is loaded into the Host movie. That all works fine! Here is my problem... I have embedded a v…

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

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