# programming

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

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

**Page:** 899

---

## [Javascript Pattern Matching](https://forum.kirupa.com/t/javascript-pattern-matching/283211)

<div class="topic-metadata">

**Author:** [@dottim](https://forum.kirupa.com/u/dottim)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 6:22pm UTC](https://forum.kirupa.com/t/javascript-pattern-matching/283211 "2009-03-03T18:22:45Z")

</div>

I am looking to create a function to allow one to create custom slideshow. Between two select boxes one can pick the images in the order they like them played. The pattern I am looking for is that all images must be acco…

---

## [AS3 Tile Based Game](https://forum.kirupa.com/t/as3-tile-based-game/283210)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 6:18pm UTC](https://forum.kirupa.com/t/as3-tile-based-game/283210 "2009-03-03T18:18:51Z")

</div>

er wait... http://tbg.tonypa.pri.ee/start.html he has as3 versions that I'm just managing to find now?

---

## [AS2 Scroll Bar Component](https://forum.kirupa.com/t/as2-scroll-bar-component/283208)

<div class="topic-metadata">

**Author:** [@philj1986](https://forum.kirupa.com/u/philj1986)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 5:46pm UTC](https://forum.kirupa.com/t/as2-scroll-bar-component/283208 "2009-03-03T17:46:56Z")

</div>

Hey all, If you are looking for a good scrollbar component that runs on AS2 check this one out: www.scrollbarpro.com I've used it for about 3 projects already and it's like a dream cause other scroll bars were drivin…

---

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

<div class="topic-metadata">

**Author:** [@flashjones](https://forum.kirupa.com/u/flashjones)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 5:15pm UTC](https://forum.kirupa.com/t/as3-beginner-question/283205 "2009-03-03T17:15:29Z")

</div>

I am completely new to AS3 and have spent the last few years learning AS2. My question is simple and I apologize if it has been asked before. I just need to create a simple button that will let me go from frame 1 to f…

---

## [Zooming into Vector](https://forum.kirupa.com/t/zooming-into-vector/283204)

<div class="topic-metadata">

**Author:** [@thesprucegoose](https://forum.kirupa.com/u/thesprucegoose)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 4:57pm UTC](https://forum.kirupa.com/t/zooming-into-vector/283204 "2009-03-03T16:57:29Z")

</div>

All, I'm attempting to make a flash file that zooms into a vector image of a map. For example, having a whole map of the United States then clicking New Jersey and having the stage zoom to fit only New Jersey. I star…

---

## [Controlling a nested movie from an external text file...help!](https://forum.kirupa.com/t/controlling-a-nested-movie-from-an-external-text-file-help/283202)

<div class="topic-metadata">

**Author:** [@antiproanti](https://forum.kirupa.com/u/antiproanti)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 4:47pm UTC](https://forum.kirupa.com/t/controlling-a-nested-movie-from-an-external-text-file-help/283202 "2009-03-03T16:47:09Z")

</div>

Hi, new to the forums but hoping you guys can help...i have a nested movie file with a bunch of different icons, each pertaining to a different sport (it's a scoreboard that can be updated by typing in a text file on the…

---

## [Synchronously ping a server/url?](https://forum.kirupa.com/t/synchronously-ping-a-server-url/283200)

<div class="topic-metadata">

**Author:** [@cFoo](https://forum.kirupa.com/u/cFoo)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 4:46pm UTC](https://forum.kirupa.com/t/synchronously-ping-a-server-url/283200 "2009-03-03T16:46:11Z")

</div>

Can someone please, pretty please point me to or show me how to synchronously ping a server in AS3? Everything in AS3 seems to be asynchronous \[frowning\]

---

## [Transitioning Picture Header](https://forum.kirupa.com/t/transitioning-picture-header/283198)

<div class="topic-metadata">

**Author:** [@Wyatt](https://forum.kirupa.com/u/Wyatt)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 4:35pm UTC](https://forum.kirupa.com/t/transitioning-picture-header/283198 "2009-03-03T16:35:08Z")

</div>

Hey everyone, I'm trying to create an object like the picture slideshow on RVCA. I've heard this is a free Ajax source code... if so, \[COLOR="DarkOliveGreen"\]can anyone point me to this\[/COLOR\]? \[COLOR="DarkRed"\]Wo…

---

## [Creating a box/field/area on stage to place horizontal scrolling image gallery into](https://forum.kirupa.com/t/creating-a-box-field-area-on-stage-to-place-horizontal-scrolling-image-gallery-into/283197)

<div class="topic-metadata">

**Author:** [@MMG](https://forum.kirupa.com/u/MMG)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 4:34pm UTC](https://forum.kirupa.com/t/creating-a-box-field-area-on-stage-to-place-horizontal-scrolling-image-gallery-into/283197 "2009-03-03T16:34:29Z")

</div>

Hey all! I've created an XML driven horizontal image gallery which scrolls to the left when you hover the mouse over the left side and to the right when you hover over the right side. The gallery consists of 7 thumbnai…

---

## [Random Dynamic Text](https://forum.kirupa.com/t/random-dynamic-text/283196)

<div class="topic-metadata">

**Author:** [@paulscanlon\_99](https://forum.kirupa.com/u/paulscanlon_99)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 4:30pm UTC](https://forum.kirupa.com/t/random-dynamic-text/283196 "2009-03-03T16:30:50Z")

</div>

Hi all, i have a project that needs me to do a little bit of AS2 coding and i'll be honest i'm not that good. What i'd like to do is create an array of maybe 10 words (or more) and for that array to then create instanc…

---

## [Maintaining history of all actions](https://forum.kirupa.com/t/maintaining-history-of-all-actions/283195)

<div class="topic-metadata">

**Author:** [@shaji](https://forum.kirupa.com/u/shaji)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 4:28pm UTC](https://forum.kirupa.com/t/maintaining-history-of-all-actions/283195 "2009-03-03T16:28:51Z")

</div>

Hi, I am working on a paint application, I am able to draw lines, draw shapes, erase. I need to implement undo and redo functionality. I plan to store history in a bitmap and put it in an array. My question is wheth…

---

## [Communicating between SWFs](https://forum.kirupa.com/t/communicating-between-swfs/283190)

<div class="topic-metadata">

**Author:** [@beczesz](https://forum.kirupa.com/u/beczesz)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 3:40pm UTC](https://forum.kirupa.com/t/communicating-between-swfs/283190 "2009-03-03T15:40:40Z")

</div>

Hi! I have a loader swf, from which I want to transmit some parameters. adaLoader = new Loader(); adaLoader.load(new URLRequest("game.swf?id=2"); In the game (receiver) project I get this variable with: this…

---

## [Trying to externally load/stream 21 mb of video](https://forum.kirupa.com/t/trying-to-externally-load-stream-21-mb-of-video/283187)

<div class="topic-metadata">

**Author:** [@Heerefishyfish](https://forum.kirupa.com/u/Heerefishyfish)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 3:06pm UTC](https://forum.kirupa.com/t/trying-to-externally-load-stream-21-mb-of-video/283187 "2009-03-03T15:06:03Z")

</div>

Hi all, I've been trying this for over a week now with minimal luck, and have finally decided to ask the flashkit powers-that-be. I'm creating a swf that loads in 18 individual 15-20 sec clips, and then loops them. …

---

## [Restricting double space in a text box](https://forum.kirupa.com/t/restricting-double-space-in-a-text-box/283185)

<div class="topic-metadata">

**Author:** [@arunforce](https://forum.kirupa.com/u/arunforce)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 3:03pm UTC](https://forum.kirupa.com/t/restricting-double-space-in-a-text-box/283185 "2009-03-03T15:03:14Z")

</div>

How would I restrict double space but still allow single space in a text box? :bu:

---

## [Possible to execute 2 functions with one hit test?](https://forum.kirupa.com/t/possible-to-execute-2-functions-with-one-hit-test/283183)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 2:45pm UTC](https://forum.kirupa.com/t/possible-to-execute-2-functions-with-one-hit-test/283183 "2009-03-03T14:45:40Z")

</div>

I have a simple hitTest that does a gotoAndPlay of a nested animation. I have a loadMovie on the timeline of the nested animation, but it seems like it would be better to loadMovie with the same hitTest.

---

## [DispatchEvent before add to stage?](https://forum.kirupa.com/t/dispatchevent-before-add-to-stage/283179)

<div class="topic-metadata">

**Author:** [@manolie](https://forum.kirupa.com/u/manolie)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 1:12pm UTC](https://forum.kirupa.com/t/dispatchevent-before-add-to-stage/283179 "2009-03-03T13:12:55Z")

</div>

Hello... I am trying dispatchEvent in a class (aClass extends MovieClip) that is instantiated by another class (mainClass extends movieclip),but I am not able to dispatch the custom event in the mainClass unless the aCla…

---

## [Sound in AS3](https://forum.kirupa.com/t/sound-in-as3/283178)

<div class="topic-metadata">

**Author:** [@TZP](https://forum.kirupa.com/u/TZP)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 12:50pm UTC](https://forum.kirupa.com/t/sound-in-as3/283178 "2009-03-03T12:50:48Z")

</div>

Good day to you. I got a question and maybe someone of you has an answer for me. \[smile\] Is it possible to record speech in AS3 and to write the spoken words into a textfile or something? Or maybe record something twice …

---

## [ComponentEvent.RESIZE](https://forum.kirupa.com/t/componentevent-resize/283177)

<div class="topic-metadata">

**Author:** [@aveltium](https://forum.kirupa.com/u/aveltium)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 12:19pm UTC](https://forum.kirupa.com/t/componentevent-resize/283177 "2009-03-03T12:19:02Z")

</div>

Hi, this is my first post on this forum. I'm new to Flash and Actionscript. Please forgive me if this question is too dumb. I don't know how to use the ComponentEvent.RESIZE event. I want to use it to resize my textfie…

---

## [Flash News Ticker not displaying on all computers](https://forum.kirupa.com/t/flash-news-ticker-not-displaying-on-all-computers/283169)

<div class="topic-metadata">

**Author:** [@edge123](https://forum.kirupa.com/u/edge123)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 11:01am UTC](https://forum.kirupa.com/t/flash-news-ticker-not-displaying-on-all-computers/283169 "2009-03-03T11:01:34Z")

</div>

Hi, I have just followed the kirupa.com tutorial on creating a Flash XML news ticker, which appears to work great on most computers. However it is not displaying on all computers, and this seems to be regardless of what …

---

## [Object instantiation problem](https://forum.kirupa.com/t/object-instantiation-problem/283164)

<div class="topic-metadata">

**Author:** [@chrisg1979](https://forum.kirupa.com/u/chrisg1979)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 9:30am UTC](https://forum.kirupa.com/t/object-instantiation-problem/283164 "2009-03-03T09:30:59Z")

</div>

Hi everyone, I'm having a bit of an issue with creating an associative array to hold name value pairs. I'm using the code below but I get '1120: Access of undefined property SPECIFIC\_TRANSITIONS'. Is this because I'm t…

---

## [The World’s 1st SCM Hosting Solution](https://forum.kirupa.com/t/the-world-s-1st-scm-hosting-solution/283162)

<div class="topic-metadata">

**Author:** [@Catherine\_Sea](https://forum.kirupa.com/u/Catherine_Sea)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 8:40am UTC](https://forum.kirupa.com/t/the-world-s-1st-scm-hosting-solution/283162 "2009-03-03T08:40:44Z")

</div>

We are pleased to announce the release of SCM Anywhere™ Hosted, the world’s first Software Configuration Management hosting solution. The service is managed by Dynamsoft and comes with fully integrated version control…

---

## [Save image from flash](https://forum.kirupa.com/t/save-image-from-flash/283158)

<div class="topic-metadata">

**Author:** [@thilsen](https://forum.kirupa.com/u/thilsen)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 5:29am UTC](https://forum.kirupa.com/t/save-image-from-flash/283158 "2009-03-03T05:29:29Z")

</div>

Hi all, can any one tell me how to save a movieclip as JPEG from flash? actually, i want to store that mc as jpg in local disk. Thanks n advance thil

---

## [\<!\[CDATA\[ with multiple nodes in XML](https://forum.kirupa.com/t/cdata-with-multiple-nodes-in-xml/283147)

<div class="topic-metadata">

**Author:** [@artriste](https://forum.kirupa.com/u/artriste)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 3:55am UTC](https://forum.kirupa.com/t/cdata-with-multiple-nodes-in-xml/283147 "2009-03-03T03:55:07Z")

</div>

Hi, I am using an XML file that goes as follow: \<menu\> \<item label="" details="" img="" /\> \</menu\> I used the \<!\[CDATA\[ tags before with no issues, in order to insert special characters and symbols into the X…

---

## [Senocular - Perlin Flag Wave - Stopping After 2 Minutes](https://forum.kirupa.com/t/senocular-perlin-flag-wave-stopping-after-2-minutes/283145)

<div class="topic-metadata">

**Author:** [@tonygarcia](https://forum.kirupa.com/u/tonygarcia)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 3:17am UTC](https://forum.kirupa.com/t/senocular-perlin-flag-wave-stopping-after-2-minutes/283145 "2009-03-03T03:17:16Z")

</div>

Hello, I am using this FLA, I can't figure out why the flag stops waving after 2 minutes... can anyone please help? http://www.senocular.com/flash/source.php?id=0.188

---

## [Launching lightwindow from AS3 with xml](https://forum.kirupa.com/t/launching-lightwindow-from-as3-with-xml/283144)

<div class="topic-metadata">

**Author:** [@squarelight](https://forum.kirupa.com/u/squarelight)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 3:06am UTC](https://forum.kirupa.com/t/launching-lightwindow-from-as3-with-xml/283144 "2009-03-03T03:06:19Z")

</div>

I'd like to replace my current functionality of just launching a new url in a new window to loading a .swf in lightwindow. I've seen a previous post on this but I was having trouble following it. My current function lo…

---

## [RegExp - Back Reference?](https://forum.kirupa.com/t/regexp-back-reference/283143)

<div class="topic-metadata">

**Author:** [@eslacker](https://forum.kirupa.com/u/eslacker)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 2:39am UTC](https://forum.kirupa.com/t/regexp-back-reference/283143 "2009-03-03T02:39:18Z")

</div>

Yo. I'm trying to parse some simple HTML and I have a recurring question that keeps coming up (I've been doing multiple RegExp matches but I'm hoping for a better solution). So, I'm using the following Pattern: ((\<(b|…

---

## [My client needs a news reader type set up](https://forum.kirupa.com/t/my-client-needs-a-news-reader-type-set-up/283141)

<div class="topic-metadata">

**Author:** [@red5\_ws](https://forum.kirupa.com/u/red5_ws)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 1:26am UTC](https://forum.kirupa.com/t/my-client-needs-a-news-reader-type-set-up/283141 "2009-03-03T01:26:27Z")

</div>

where they can update houses for rent. They need to be able to easily upload pictures and a description of the site along with a link to mapquest. I need a simple template setup of some kind with very easy content mana…

---

## [addEventListener which runs from another class](https://forum.kirupa.com/t/addeventlistener-which-runs-from-another-class/283140)

<div class="topic-metadata">

**Author:** [@ryrocks](https://forum.kirupa.com/u/ryrocks)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 1:08am UTC](https://forum.kirupa.com/t/addeventlistener-which-runs-from-another-class/283140 "2009-03-03T01:08:55Z")

</div>

Hey, I want to declare addEventListener in a class. But I want the function handler to run from another class. Is this possible? Say I have a class Ground.as with the code: stage.addEventListener(Event.ENTER\_FRAM…

---

## [Actionscript question - Help needed with score counting conflict!](https://forum.kirupa.com/t/actionscript-question-help-needed-with-score-counting-conflict/283136)

<div class="topic-metadata">

**Author:** [@maxflash](https://forum.kirupa.com/u/maxflash)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 12:38am UTC](https://forum.kirupa.com/t/actionscript-question-help-needed-with-score-counting-conflict/283136 "2009-03-03T00:38:57Z")

</div>

I'm creating an interactive where the user selects 6 words out of 28 that are scattered over the screen and depending on which 6 words that they select it will then take them to play 1 out of 16 animations. I have also s…

---

## [My hitTest needs a 2nd function](https://forum.kirupa.com/t/my-hittest-needs-a-2nd-function/283129)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [March 2, 2009, 11:16pm UTC](https://forum.kirupa.com/t/my-hittest-needs-a-2nd-function/283129 "2009-03-02T23:16:44Z")

</div>

I have a bouncing basketball that when "dunked" launches a nested net animation. In the nested animation is a loadMovie of a subSWF, the empty mc called mySUB is on the main timeline. It is working but because the 3rd pa…

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

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