# programming

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

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

**Page:** 370

---

## [Setting multiple movieclip properties via a for loop](https://forum.kirupa.com/t/setting-multiple-movieclip-properties-via-a-for-loop/316787)

<div class="topic-metadata">

**Author:** [@dt01](https://forum.kirupa.com/u/dt01)\
**Replies:** 0\
**Last updated:** [December 2, 2010, 12:23pm UTC](https://forum.kirupa.com/t/setting-multiple-movieclip-properties-via-a-for-loop/316787 "2010-12-02T12:23:24Z")

</div>

Hi, I have 35 movieclips, named s1, s2, s3 etc, depending on the value of currentDisplay, I would like to set a movieclip visible property to true while the others are set to false, I have tried the following: for (…

---

## [AS3 Click bttn to play movieclip and then pause on desired frame help!](https://forum.kirupa.com/t/as3-click-bttn-to-play-movieclip-and-then-pause-on-desired-frame-help/316786)

<div class="topic-metadata">

**Author:** [@jimbob300966](https://forum.kirupa.com/u/jimbob300966)\
**Replies:** 0\
**Last updated:** [December 2, 2010, 11:16am UTC](https://forum.kirupa.com/t/as3-click-bttn-to-play-movieclip-and-then-pause-on-desired-frame-help/316786 "2010-12-02T11:16:23Z")

</div>

Hey, Ive had a search through quite a few forums and message boards but havent quite been able to pin down what I need to do. I'm working in flash cs5 and using AS3 I have a button (bttn1) which when clicked plays a …

---

## [How to use this site](https://forum.kirupa.com/t/how-to-use-this-site/316783)

<div class="topic-metadata">

**Author:** [@bizkit01](https://forum.kirupa.com/u/bizkit01)\
**Replies:** 0\
**Last updated:** [December 2, 2010, 8:59am UTC](https://forum.kirupa.com/t/how-to-use-this-site/316783 "2010-12-02T08:59:11Z")

</div>

Sorry I'm a newbie, but I go to the Flash tutorials on this site and start watching them from the beginning, and I realize they're out of order. http://www.kirupa.com/developer/flash/index.htm I started with Developer …

---

## [Matching pattern algorithm](https://forum.kirupa.com/t/matching-pattern-algorithm/316782)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [December 2, 2010, 8:56am UTC](https://forum.kirupa.com/t/matching-pattern-algorithm/316782 "2010-12-02T08:56:03Z")

</div>

// So I've got an array consisting of unique, four digit String numbers (0,1,2 only). var patterns:Array = \["1111", "2212", "1121", "2222", "1011", "2022", "2021", "1012", "1022", "2012", "1021", "2011", "0022", "0011",…

---

## [More Enjoyment From the iPad with iOS 4.2 and Aiseesoft iPad Software](https://forum.kirupa.com/t/more-enjoyment-from-the-ipad-with-ios-4-2-and-aiseesoft-ipad-software/316780)

<div class="topic-metadata">

**Author:** [@Nalamdiw](https://forum.kirupa.com/u/Nalamdiw)\
**Replies:** 0\
**Last updated:** [December 2, 2010, 8:15am UTC](https://forum.kirupa.com/t/more-enjoyment-from-the-ipad-with-ios-4-2-and-aiseesoft-ipad-software/316780 "2010-12-02T08:15:05Z")

</div>

iOS 4.2, operating system update, has been released. This update brings lots of exciting new features to iPhone, iPod touch and iPad users. iOS 4.1, released in September this year, has already brought features like mu…

---

## [Editing Script](https://forum.kirupa.com/t/editing-script/316773)

<div class="topic-metadata">

**Author:** [@vikrant29nov](https://forum.kirupa.com/u/vikrant29nov)\
**Replies:** 0\
**Last updated:** [December 2, 2010, 5:12am UTC](https://forum.kirupa.com/t/editing-script/316773 "2010-12-02T05:12:12Z")

</div>

Hi, I have a flash file in that the script is there almost on every frame... Basically this script is calling images by providing image numbers.. like Frame 1-3: img=1 like Frame 3-5: img=2 and so on.. So now i ha…

---

## [Flash 10.1 in browser multitouch on Android?](https://forum.kirupa.com/t/flash-10-1-in-browser-multitouch-on-android/316771)

<div class="topic-metadata">

**Author:** [@pcehnaids](https://forum.kirupa.com/u/pcehnaids)\
**Replies:** 0\
**Last updated:** [December 2, 2010, 4:51am UTC](https://forum.kirupa.com/t/flash-10-1-in-browser-multitouch-on-android/316771 "2010-12-02T04:51:11Z")

</div>

I am having trouble finding information on how to create in browser, flash games which utilize touch controls in Android. I have implemented several examples I found online, but when I test them on my EVO, the touch co…

---

## [Changing a global variable on a frame](https://forum.kirupa.com/t/changing-a-global-variable-on-a-frame/316769)

<div class="topic-metadata">

**Author:** [@Garb](https://forum.kirupa.com/u/Garb)\
**Replies:** 0\
**Last updated:** [December 2, 2010, 2:23am UTC](https://forum.kirupa.com/t/changing-a-global-variable-on-a-frame/316769 "2010-12-02T02:23:48Z")

</div>

Hi! I was wondering how in AS2 you change change, lets say the variable \_global.speed = 12, which is placed on a main timelime frame and make it so on a specific frame of a movie clip the variable changes. How can i do…

---

## [Text Box Value and Timer](https://forum.kirupa.com/t/text-box-value-and-timer/316768)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [December 2, 2010, 1:56am UTC](https://forum.kirupa.com/t/text-box-value-and-timer/316768 "2010-12-02T01:56:17Z")

</div>

var txt\_1 = txt2.text; var txt\_2 = txt3.text; txt4.text = (txt\_2 - txt\_1); What is the alternative way of doing this??? Seeing the text in the txt boxes are numbers correlative to a timer constantly going. Here is the …

---

## [Movie that pans horizontal and vertical using mouse](https://forum.kirupa.com/t/movie-that-pans-horizontal-and-vertical-using-mouse/316766)

<div class="topic-metadata">

**Author:** [@chockybickyman](https://forum.kirupa.com/u/chockybickyman)\
**Replies:** 0\
**Last updated:** [December 2, 2010, 12:39am UTC](https://forum.kirupa.com/t/movie-that-pans-horizontal-and-vertical-using-mouse/316766 "2010-12-02T00:39:01Z")

</div>

I have a movie that is around 2000+ pixels wide and 1000+ pixels high. I want to be able to move around the screen with the mouse on the x and y. Hopefully will work properly at 100% on any browser. Thats what I am try…

---

## [Take a snapshot from a streaming video](https://forum.kirupa.com/t/take-a-snapshot-from-a-streaming-video/316765)

<div class="topic-metadata">

**Author:** [@mramses](https://forum.kirupa.com/u/mramses)\
**Replies:** 0\
**Last updated:** [December 2, 2010, 12:28am UTC](https://forum.kirupa.com/t/take-a-snapshot-from-a-streaming-video/316765 "2010-12-02T00:28:47Z")

</div>

Hello all. This is my first post to this forum, so if I've posted in the wrong section, I apologize. I've set up Red5 on one of my servers. I've created a "caster" flash app and a "viewer" flash app. Basically this is …

---

## [Multi Language Options](https://forum.kirupa.com/t/multi-language-options/316763)

<div class="topic-metadata">

**Author:** [@666](https://forum.kirupa.com/u/666)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 10:53pm UTC](https://forum.kirupa.com/t/multi-language-options/316763 "2010-12-01T22:53:15Z")

</div>

\[FONT=Calibri\] Hi, \[/FONT\] \[FONT=Calibri\] I want my site to be able to translate into the following languages; English, German, Spanish, French, Italian, Portuguese, Japanese, Korean and Chinese (Simplified). The w…

---

## [Sort array of colors](https://forum.kirupa.com/t/sort-array-of-colors/316762)

<div class="topic-metadata">

**Author:** [@infect](https://forum.kirupa.com/u/infect)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 10:50pm UTC](https://forum.kirupa.com/t/sort-array-of-colors/316762 "2010-12-01T22:50:28Z")

</div>

I have an array of colors that i want to sort from light to dark. currently I am reading them in as uints and sorting the array decending using colors.sort(Array.DESCENDING); It almost works the way I want it to but the…

---

## [Crazy Movement Problem](https://forum.kirupa.com/t/crazy-movement-problem/316760)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 8:53pm UTC](https://forum.kirupa.com/t/crazy-movement-problem/316760 "2010-12-01T20:53:25Z")

</div>

I'm trying to get a ship to move with a thruster and retain its velocity here's the code package { import flash.display.Sprite; public class Ship extends Sprite { ; var thrust:Number…

---

## [Need help with XML and new line](https://forum.kirupa.com/t/need-help-with-xml-and-new-line/316755)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 6:07pm UTC](https://forum.kirupa.com/t/need-help-with-xml-and-new-line/316755 "2010-12-01T18:07:27Z")

</div>

Hello, I am in the process of making an animation that takes text from an XML document and displays it in a scrollPane. I had this working when I was just using string variables. Now with XML it seems to ignore the new…

---

## [Dynamic button and parameter](https://forum.kirupa.com/t/dynamic-button-and-parameter/316754)

<div class="topic-metadata">

**Author:** [@cavanhaki](https://forum.kirupa.com/u/cavanhaki)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 6:07pm UTC](https://forum.kirupa.com/t/dynamic-button-and-parameter/316754 "2010-12-01T18:07:20Z")

</div>

Hi, how is possible passing parameter inside button. Sample. for(var i:Number = 0; i\<totalArray-1; i++) { var item\_mc = mc.attach.attachMovie("boxEven", "boxEven" + i, i); item\_mc.title.htmlText = item\_mc; ite…

---

## [CSS tag name from Mouseover](https://forum.kirupa.com/t/css-tag-name-from-mouseover/316752)

<div class="topic-metadata">

**Author:** [@FlashUserNull](https://forum.kirupa.com/u/FlashUserNull)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 4:17pm UTC](https://forum.kirupa.com/t/css-tag-name-from-mouseover/316752 "2010-12-01T16:17:15Z")

</div>

I have some external dynamic html text and and external css style being imported and applied to a TextField. Does anyone know of a way for when you mouse over a url to retrieve the css tag name that is being applied to …

---

## [colorTransform return to original state (please help)](https://forum.kirupa.com/t/colortransform-return-to-original-state-please-help/316751)

<div class="topic-metadata">

**Author:** [@cmathison](https://forum.kirupa.com/u/cmathison)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 3:53pm UTC](https://forum.kirupa.com/t/colortransform-return-to-original-state-please-help/316751 "2010-12-01T15:53:25Z")

</div>

Hello All! I am trying to have colorTransform work on MouseOver and MouseOut I can get it to work problem is I want it to go back to the original state of the button, not to another color can someone help me please? …

---

## [CSS Font Issue in Safari](https://forum.kirupa.com/t/css-font-issue-in-safari/316750)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 3:16pm UTC](https://forum.kirupa.com/t/css-font-issue-in-safari/316750 "2010-12-01T15:16:15Z")

</div>

On this page: http://www.aomtsu.com/index.php?id=4 the first paragraph isn't CSS'ed in Safari. It's like Safari just skips over it. It looks fine in other browsers I have tried. Thanks in advance! -Brandon

---

## [getElementById is killing me](https://forum.kirupa.com/t/getelementbyid-is-killing-me/316749)

<div class="topic-metadata">

**Author:** [@Orya](https://forum.kirupa.com/u/Orya)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 2:25pm UTC](https://forum.kirupa.com/t/getelementbyid-is-killing-me/316749 "2010-12-01T14:25:04Z")

</div>

So, I was telling a number of up to 10 Flash-Apps to do some stuff using JS. I was using this code: for(var i = 1; i \<= 10; i++) { if(document.getElementById("swf" + i)) { try { document.getElementById…

---

## [Really Simple Loop HELP!](https://forum.kirupa.com/t/really-simple-loop-help/316748)

<div class="topic-metadata">

**Author:** [@pykieh](https://forum.kirupa.com/u/pykieh)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 2:00pm UTC](https://forum.kirupa.com/t/really-simple-loop-help/316748 "2010-12-01T14:00:34Z")

</div>

Hello all you Flash geniuses! I would really appreciate some help with what will probably be a simple simple task. Basically I've made an animated christmas card in After Effects and exported this as a Flash File. I…

---

## [Apple iphone 4 32gb black -$320/HTC Desire HD $300/Blackberry Torch 9800 $310](https://forum.kirupa.com/t/apple-iphone-4-32gb-black-320-htc-desire-hd-300-blackberry-torch-9800-310/316744)

<div class="topic-metadata">

**Author:** [@fabian22](https://forum.kirupa.com/u/fabian22)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 12:52pm UTC](https://forum.kirupa.com/t/apple-iphone-4-32gb-black-320-htc-desire-hd-300-blackberry-torch-9800-310/316744 "2010-12-01T12:52:57Z")

</div>

We Sell all kinds of Mobile phone such as iPhones , Nokia , Samsung , Sony Erickson , Toshiba, Blackberry and many more all unlocked with the complete accessories in original factory sealed box 100% original and comes wi…

---

## [Disable a button](https://forum.kirupa.com/t/disable-a-button/316742)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 11:12am UTC](https://forum.kirupa.com/t/disable-a-button/316742 "2010-12-01T11:12:19Z")

</div>

I have a button which on press will go to next frame. I want to disable this button by on press another button. Please fill the blank for me. btn.onPress=function(){disable button A;}

---

## [Play movie based on IF condition](https://forum.kirupa.com/t/play-movie-based-on-if-condition/316741)

<div class="topic-metadata">

**Author:** [@MAKDXB](https://forum.kirupa.com/u/MAKDXB)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 11:03am UTC](https://forum.kirupa.com/t/play-movie-based-on-if-condition/316741 "2010-12-01T11:03:52Z")

</div>

Hi, I trying to play different movies based on the day detected by script. Script works fine and plays right movie. But as soon as i insert any graphics / animation from library; script stops working. Is there any kn…

---

## [Free PHP Template Engine Project](https://forum.kirupa.com/t/free-php-template-engine-project/316739)

<div class="topic-metadata">

**Author:** [@annyphp](https://forum.kirupa.com/u/annyphp)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 10:23am UTC](https://forum.kirupa.com/t/free-php-template-engine-project/316739 "2010-12-01T10:23:20Z")

</div>

A theme engine that allows you to use template files written in pure php. These template files do not need to be processed by the theme engine, and as such execute a lot faster than most other template engines. Another m…

---

## [Event.DEACTIAVE and wmode](https://forum.kirupa.com/t/event-deactiave-and-wmode/316734)

<div class="topic-metadata">

**Author:** [@Orya](https://forum.kirupa.com/u/Orya)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 8:22am UTC](https://forum.kirupa.com/t/event-deactiave-and-wmode/316734 "2010-12-01T08:22:26Z")

</div>

Hi. Short question: If I want to use my flash apps with certain navigation parts over them at times or kinda hiding them sometimes or whatever, I have to set the wmode to "transparent" or "opaque". If I set it to "window…

---

## [Get RGB of each pixel and transform it?](https://forum.kirupa.com/t/get-rgb-of-each-pixel-and-transform-it/316733)

<div class="topic-metadata">

**Author:** [@iluvAS](https://forum.kirupa.com/u/iluvAS)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 8:13am UTC](https://forum.kirupa.com/t/get-rgb-of-each-pixel-and-transform-it/316733 "2010-12-01T08:13:05Z")

</div>

I'm making a matrix effect thing using AS3. Everything is going good except for color transitions. Basically i have two bitmap images, one is where the leading white letters are falling, another is where the letters ar…

---

## [How to Rip Blu-Ray Disc Professionally to iPad, iPhone, iPod, PSP, etc?](https://forum.kirupa.com/t/how-to-rip-blu-ray-disc-professionally-to-ipad-iphone-ipod-psp-etc/316727)

<div class="topic-metadata">

**Author:** [@silyzac](https://forum.kirupa.com/u/silyzac)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 5:17am UTC](https://forum.kirupa.com/t/how-to-rip-blu-ray-disc-professionally-to-ipad-iphone-ipod-psp-etc/316727 "2010-12-01T05:17:04Z")

</div>

Blu-ray or Blu-ray Discs (abbreviated as BD) use shorter wavelength blue lasers (405nm) to read and write data, but the traditional DVD uses red lasers (wavelength 650nm). Normally, the shorter wavelength of the laser, t…

---

## [\[question\] using addChild?](https://forum.kirupa.com/t/question-using-addchild/316726)

<div class="topic-metadata">

**Author:** [@Pelevet](https://forum.kirupa.com/u/Pelevet)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 5:05am UTC](https://forum.kirupa.com/t/question-using-addchild/316726 "2010-12-01T05:05:35Z")

</div>

I am not having fully knowledge about ObjectDisplay abstract class. i have a timer class that i instantiate to use in my 'my menu' interface to do some action like when i press button it runs 30 secs then when its …

---

## [Can i become a good flash developer?](https://forum.kirupa.com/t/can-i-become-a-good-flash-developer/316723)

<div class="topic-metadata">

**Author:** [@sunder\_raasi](https://forum.kirupa.com/u/sunder_raasi)\
**Replies:** 0\
**Last updated:** [December 1, 2010, 4:24am UTC](https://forum.kirupa.com/t/can-i-become-a-good-flash-developer/316723 "2010-12-01T04:24:14Z")

</div>

Feel great, i found a good forum site today. \[worried\] I have been a php developer for 4 years. I am fluent in programming and i have no doubt on that part. I got bored with my life with php and i got interest in Fla…

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

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