# programming

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

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

**Page:** 236

---

## [If todays date is equal to 05/09/2011 then goto and stop at frame within movieclip](https://forum.kirupa.com/t/if-todays-date-is-equal-to-05-09-2011-then-goto-and-stop-at-frame-within-movieclip/324706)

<div class="topic-metadata">

**Author:** [@flashhelptime](https://forum.kirupa.com/u/flashhelptime)\
**Replies:** 0\
**Last updated:** [September 4, 2011, 4:42pm UTC](https://forum.kirupa.com/t/if-todays-date-is-equal-to-05-09-2011-then-goto-and-stop-at-frame-within-movieclip/324706 "2011-09-04T16:42:42Z")

</div>

If current date is equal to 05/09/2011 then goto and stop at a particular frame within movieclip how do i do this?? Thanks for all help given in advance \[smile\]

---

## [AS3 Arrays](https://forum.kirupa.com/t/as3-arrays/324704)

<div class="topic-metadata">

**Author:** [@ab1980](https://forum.kirupa.com/u/ab1980)\
**Replies:** 0\
**Last updated:** [September 4, 2011, 12:01pm UTC](https://forum.kirupa.com/t/as3-arrays/324704 "2011-09-04T12:01:15Z")

</div>

Hi This is my first post here :bucktooth: i've been visiting the forums for tips while making my flash games.... Now i've been struggling with one part- Basically, i have 2 arrays containing object1 and object2 . …

---

## [hitTestObject in Class?](https://forum.kirupa.com/t/hittestobject-in-class/324703)

<div class="topic-metadata">

**Author:** [@TheAwesomeDude](https://forum.kirupa.com/u/TheAwesomeDude)\
**Replies:** 0\
**Last updated:** [September 4, 2011, 10:45am UTC](https://forum.kirupa.com/t/hittestobject-in-class/324703 "2011-09-04T10:45:58Z")

</div>

EDIT: Hi! I dont think that will work. I need to have it as individual blocks. I did a quick demo file to show what I need. You will se in the file that the map is randomized and I need it to be like that to! \[smile\] …

---

## [NetStream is rejecting camera, but video object can preview it](https://forum.kirupa.com/t/netstream-is-rejecting-camera-but-video-object-can-preview-it/324701)

<div class="topic-metadata">

**Author:** [@LNenadL](https://forum.kirupa.com/u/LNenadL)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 9:43pm UTC](https://forum.kirupa.com/t/netstream-is-rejecting-camera-but-video-object-can-preview-it/324701 "2011-09-03T21:43:28Z")

</div>

Hello, I am kinda new in Flash, but I was using Action Script before in other programs. I am developing now Adobe Flash Professional CS5.5, and working with Adobe Media Server 4. I am writing a code that will stream ca…

---

## [Copying a child to a new parent](https://forum.kirupa.com/t/copying-a-child-to-a-new-parent/324699)

<div class="topic-metadata">

**Author:** [@sogj](https://forum.kirupa.com/u/sogj)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 8:37pm UTC](https://forum.kirupa.com/t/copying-a-child-to-a-new-parent/324699 "2011-09-03T20:37:13Z")

</div>

Some forums suggested to simple add the child to the new parent and it would automatically be removed from the old parent. However, these were Actionscript 2.0 forums and the suggestion didn't work - it removed the ch…

---

## [Weird Squares in Random Midpoint Displacement Algorithm](https://forum.kirupa.com/t/weird-squares-in-random-midpoint-displacement-algorithm/324698)

<div class="topic-metadata">

**Author:** [@firefly431](https://forum.kirupa.com/u/firefly431)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 8:32pm UTC](https://forum.kirupa.com/t/weird-squares-in-random-midpoint-displacement-algorithm/324698 "2011-09-03T20:32:02Z")

</div>

Hello, I'm trying to make a plasma fractal (as a self-challenge, I made the sierpinski triangle, Koch snowflake, Mandelbrot set, Julia set, and dragon fractal. If you want the code, PM/reply.) Here's the code of frame 1: …

---

## [Loading MC from MC](https://forum.kirupa.com/t/loading-mc-from-mc/324696)

<div class="topic-metadata">

**Author:** [@Eterya](https://forum.kirupa.com/u/Eterya)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 6:33pm UTC](https://forum.kirupa.com/t/loading-mc-from-mc/324696 "2011-09-03T18:33:10Z")

</div>

Hello. I have a flash site where the different pages recide on their own keyframe as movieclips. On frame 3 I have a page (movieclip) with a button. With this button I would like to open a photogallery (allso a movicli…

---

## [Did a removeChild() but child keeps running](https://forum.kirupa.com/t/did-a-removechild-but-child-keeps-running/324695)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 6:21pm UTC](https://forum.kirupa.com/t/did-a-removechild-but-child-keeps-running/324695 "2011-09-03T18:21:25Z")

</div>

I have an animation in a class, P2, that extends Sprite that I call from the Flash IDE. I have a button that removes the class at any time using removeChild(); P2 is a series of functions that each animate one or a cou…

---

## [Mod Rewrite Help](https://forum.kirupa.com/t/mod-rewrite-help/324694)

<div class="topic-metadata">

**Author:** [@0x66FF00](https://forum.kirupa.com/u/0x66FF00)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 6:16pm UTC](https://forum.kirupa.com/t/mod-rewrite-help/324694 "2011-09-03T18:16:14Z")

</div>

Hello, I really tried to Google it, but failed (miserably). I want to do two things and can't seem to combine them... I want to use urls like this: \[COLOR=#B22222\] sub\[/COLOR\].domain.com/\[COLOR=#0000CD\]value \[/COLOR\] F…

---

## [Range Exception handling](https://forum.kirupa.com/t/range-exception-handling/324693)

<div class="topic-metadata">

**Author:** [@sogj](https://forum.kirupa.com/u/sogj)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 6:16pm UTC](https://forum.kirupa.com/t/range-exception-handling/324693 "2011-09-03T18:16:04Z")

</div>

for (i=1; i\<9; i++) { if (this\["blank"+i\].getChildAt(0) is Letters) { word += this\["blank"+i\].getChildAt(0).letter; } } This code throws a range exception if, for instance, "blank2" does…

---

## [Randomizing an array's trace statements by percentage](https://forum.kirupa.com/t/randomizing-an-arrays-trace-statements-by-percentage/324692)

<div class="topic-metadata">

**Author:** [@humbuged](https://forum.kirupa.com/u/humbuged)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 5:31pm UTC](https://forum.kirupa.com/t/randomizing-an-arrays-trace-statements-by-percentage/324692 "2011-09-03T17:31:14Z")

</div>

Hello \[smile\] I have an array that I want to shuffle but at different percentages. Like "Hello" would show up 80% in the Output window. "Bye" would show the other 20% of the time. How do I do this? var myArray:Arr…

---

## [Simple this\[\] syntax question](https://forum.kirupa.com/t/simple-this-syntax-question/324690)

<div class="topic-metadata">

**Author:** [@sogj](https://forum.kirupa.com/u/sogj)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 3:20pm UTC](https://forum.kirupa.com/t/simple-this-syntax-question/324690 "2011-09-03T15:20:15Z")

</div>

Variable name definitions confuse me! Sorry for the simple question. trace (MovieClip(root).blank1); //this traces properly trace (MovieClip(root).this\["blank"+1\]); //this won't compile What's the correct syntax? A…

---

## [as2 for load movieclip](https://forum.kirupa.com/t/as2-for-load-movieclip/324688)

<div class="topic-metadata">

**Author:** [@msksanthu](https://forum.kirupa.com/u/msksanthu)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 12:07pm UTC](https://forum.kirupa.com/t/as2-for-load-movieclip/324688 "2011-09-03T12:07:25Z")

</div>

im having a problem..i,e. i need to load an external swf which is in as3...and need it to be played in my as2 swf layout. with a time slider ,play, pause ,next, previous for that swf movie clip. pls give ur mail id i can…

---

## [Custom class importing weird issue](https://forum.kirupa.com/t/custom-class-importing-weird-issue/324687)

<div class="topic-metadata">

**Author:** [@sledge\_hammer](https://forum.kirupa.com/u/sledge_hammer)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 5:06am UTC](https://forum.kirupa.com/t/custom-class-importing-weird-issue/324687 "2011-09-03T05:06:53Z")

</div>

A very weird problem is happening in my AS3 code. I made a custom class called test, and in the main document class I imported it using "import test". Also, I set the class path correctly so it should work fine. Now, the…

---

## [What is best script for artists' and talent membership agency?](https://forum.kirupa.com/t/what-is-best-script-for-artists-and-talent-membership-agency/324686)

<div class="topic-metadata">

**Author:** [@raj\_icici](https://forum.kirupa.com/u/raj_icici)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 5:01am UTC](https://forum.kirupa.com/t/what-is-best-script-for-artists-and-talent-membership-agency/324686 "2011-09-03T05:01:14Z")

</div>

This question seeks an advice for the best possible solution (a ready-made script either free or not very costly) available for the job described below. Kindly advice me on the basis of your experience (if you have used …

---

## [Make something like Pokedex](https://forum.kirupa.com/t/make-something-like-pokedex/324685)

<div class="topic-metadata">

**Author:** [@Doraemon](https://forum.kirupa.com/u/Doraemon)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 3:51am UTC](https://forum.kirupa.com/t/make-something-like-pokedex/324685 "2011-09-03T03:51:26Z")

</div>

How to make something like this: http://www.pokemon.com/us/pokedex/ I just need the way how to make these feature... theme is not need Can anyone give: - some tips... - some tutorial... - some program to make... - some…

---

## [How to implement multiple languages without the use of a server-side language?](https://forum.kirupa.com/t/how-to-implement-multiple-languages-without-the-use-of-a-server-side-language/324684)

<div class="topic-metadata">

**Author:** [@OMG](https://forum.kirupa.com/u/OMG)\
**Replies:** 0\
**Last updated:** [September 3, 2011, 3:30am UTC](https://forum.kirupa.com/t/how-to-implement-multiple-languages-without-the-use-of-a-server-side-language/324684 "2011-09-03T03:30:46Z")

</div>

I was wondering if there was an appropriate way of doing this using only javascript and html

---

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

---

## [VB Script Help](https://forum.kirupa.com/t/vb-script-help/324665)

<div class="topic-metadata">

**Author:** [@Ksuguy25](https://forum.kirupa.com/u/Ksuguy25)\
**Replies:** 0\
**Last updated:** [September 2, 2011, 12:50am UTC](https://forum.kirupa.com/t/vb-script-help/324665 "2011-09-02T00:50:04Z")

</div>

Hey guys, I'm new to VBScript programing and I need a little help. I'm writing a mortgage calculator which needs the following. two input boxes 1. how much does the house cost 2. how much will you be paying each month …

---

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

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

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