# flash

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

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

**Page:** 715

---

## [Clearing a list?](https://forum.kirupa.com/t/clearing-a-list/281303)

<div class="topic-metadata">

**Author:** [@michdd](https://forum.kirupa.com/u/michdd)\
**Replies:** 0\
**Last updated:** [February 7, 2009, 3:28am UTC](https://forum.kirupa.com/t/clearing-a-list/281303 "2009-02-07T03:28:10Z")

</div>

Is there any way that I can clear all of the previously added items within a List?

---

## [Change color every second?](https://forum.kirupa.com/t/change-color-every-second/281295)

<div class="topic-metadata">

**Author:** [@Mini\_Master2000](https://forum.kirupa.com/u/Mini_Master2000)\
**Replies:** 0\
**Last updated:** [February 7, 2009, 12:00am UTC](https://forum.kirupa.com/t/change-color-every-second/281295 "2009-02-07T00:00:49Z")

</div>

Hello, I need some help. I'm trying to change a movieclip's color randomly every second using actionscript 2. Additionally, I like to use fading as the transition between the colors. Thank you so much for your help in ad…

---

## [Resizing External Image](https://forum.kirupa.com/t/resizing-external-image/281289)

<div class="topic-metadata">

**Author:** [@j1234](https://forum.kirupa.com/u/j1234)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 10:37pm UTC](https://forum.kirupa.com/t/resizing-external-image/281289 "2009-02-06T22:37:44Z")

</div>

Hello community: This code works. It puts my external image on the stage: var pngurl:URLRequest=new URLRequest("image.png"); var pngloader:Loader=new Loader(); pngloader.load(pngurl); this.addChild(pngloader); Thi…

---

## [\[AS2\] Crossdomain external class](https://forum.kirupa.com/t/as2-crossdomain-external-class/281285)

<div class="topic-metadata">

**Author:** [@b\_rich](https://forum.kirupa.com/u/b_rich)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 10:15pm UTC](https://forum.kirupa.com/t/as2-crossdomain-external-class/281285 "2009-02-06T22:15:42Z")

</div>

\*\[edit\] nvm \[stuck\_out\_tongue\]

---

## [Photo Gallery using XML and Flash thumbnails](https://forum.kirupa.com/t/photo-gallery-using-xml-and-flash-thumbnails/281284)

<div class="topic-metadata">

**Author:** [@sanneke](https://forum.kirupa.com/u/sanneke)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 9:47pm UTC](https://forum.kirupa.com/t/photo-gallery-using-xml-and-flash-thumbnails/281284 "2009-02-06T21:47:02Z")

</div>

Actually how do I add a stop button to the first photogallery? Sanneke

---

## [Argument Error with Loader.load() method](https://forum.kirupa.com/t/argument-error-with-loader-load-method/281283)

<div class="topic-metadata">

**Author:** [@dail](https://forum.kirupa.com/u/dail)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 9:39pm UTC](https://forum.kirupa.com/t/argument-error-with-loader-load-method/281283 "2009-02-06T21:39:46Z")

</div>

Hi, In a few of my scripts, I've come across an issue when using a single loader to load assets. It seems that if the loaders content is re parented, subsequent calls to the loaders load() method will intermittently …

---

## [Multi language how-to](https://forum.kirupa.com/t/multi-language-how-to/281282)

<div class="topic-metadata">

**Author:** [@tolgainam](https://forum.kirupa.com/u/tolgainam)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 9:29pm UTC](https://forum.kirupa.com/t/multi-language-how-to/281282 "2009-02-06T21:29:08Z")

</div>

Hello I am trying to build a mini application in various languages. All of the language files have their own XML with proper id and text in it. The problem is how can I load those languages and change them during run tim…

---

## [NetStream.pause Bug](https://forum.kirupa.com/t/netstream-pause-bug/281281)

<div class="topic-metadata">

**Author:** [@snozbunny](https://forum.kirupa.com/u/snozbunny)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 8:40pm UTC](https://forum.kirupa.com/t/netstream-pause-bug/281281 "2009-02-06T20:40:37Z")

</div>

Hello everyone, \[beer\] I am working on a video player application and I came across this odd problem with the play/pause/togglePause. I wanted to check if anyone else has seen it before. If I check the time when I pa…

---

## [Please help! Play Loaded swf loaded by XML](https://forum.kirupa.com/t/please-help-play-loaded-swf-loaded-by-xml/281280)

<div class="topic-metadata">

**Author:** [@rooterman42](https://forum.kirupa.com/u/rooterman42)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 8:34pm UTC](https://forum.kirupa.com/t/please-help-play-loaded-swf-loaded-by-xml/281280 "2009-02-06T20:34:35Z")

</div>

I have a movieclip on the stage called "anim\_mc1". Inside it is another movieclip, "holder\_mc1". Into this I'm loading an external swf via xml. The external swf has a stop(); in the first frame, and when the it is loaded…

---

## [Please help! circular reveal of complete image](https://forum.kirupa.com/t/please-help-circular-reveal-of-complete-image/281278)

<div class="topic-metadata">

**Author:** [@skyblu263](https://forum.kirupa.com/u/skyblu263)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 8:20pm UTC](https://forum.kirupa.com/t/please-help-circular-reveal-of-complete-image/281278 "2009-02-06T20:20:35Z")

</div>

Hi, Can anyone give me a tutorial or tell me where to find a tutorial that will show me how to reveal an image using a complete circular motion mask so that the reveal would start and point A and end at point A (the sa…

---

## [\[CS3 - AS2\] netconnection question](https://forum.kirupa.com/t/cs3-as2-netconnection-question/281277)

<div class="topic-metadata">

**Author:** [@jimbaker](https://forum.kirupa.com/u/jimbaker)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 8:15pm UTC](https://forum.kirupa.com/t/cs3-as2-netconnection-question/281277 "2009-02-06T20:15:49Z")

</div>

I had to give up on this portion of the project BUT... To any here that have an interest, feel free to try things out. Following the advice I have gotten here about talking to to a flash application instead of an HTML …

---

## [Off clicking / release?](https://forum.kirupa.com/t/off-clicking-release/281276)

<div class="topic-metadata">

**Author:** [@g27](https://forum.kirupa.com/u/g27)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 7:57pm UTC](https://forum.kirupa.com/t/off-clicking-release/281276 "2009-02-06T19:57:57Z")

</div>

Hey everyone, I am using a movieclip as a button and actionscript 1/2. So you click on a red dot and an address appears. However for obvious reasons when you click off the address remains. What code do I use for a sim…

---

## [Kirupa Scrollbar AS3.0 Problem](https://forum.kirupa.com/t/kirupa-scrollbar-as3-0-problem/281275)

<div class="topic-metadata">

**Author:** [@auzzieb53](https://forum.kirupa.com/u/auzzieb53)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 7:49pm UTC](https://forum.kirupa.com/t/kirupa-scrollbar-as3-0-problem/281275 "2009-02-06T19:49:46Z")

</div>

Hello, I've been working with the sweet kirupa scroll bar script found here: http://www.kirupa.com/forum/archive/index.php/t-275991.html I don't know if any one else has encountered this issue, if so just point me to…

---

## [Click anywher](https://forum.kirupa.com/t/click-anywher/281273)

<div class="topic-metadata">

**Author:** [@Danief](https://forum.kirupa.com/u/Danief)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 7:16pm UTC](https://forum.kirupa.com/t/click-anywher/281273 "2009-02-06T19:16:50Z")

</div>

what is the code to put in the frame to make the movie play when you click anywhere on the screen... is it something along the lines of this... this.onPress = function() { play(); } }; ?

---

## [Type declarations](https://forum.kirupa.com/t/type-declarations/281272)

<div class="topic-metadata">

**Author:** [@nikomax](https://forum.kirupa.com/u/nikomax)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 6:52pm UTC](https://forum.kirupa.com/t/type-declarations/281272 "2009-02-06T18:52:59Z")

</div>

I have been learning Java for my uni course and to me it seems that AS3 is similar to it in a few ways. But how strict is the type definition in AS3? For those of you that don't understand here is an example. JAVA …

---

## [onMouseDown and mouse position](https://forum.kirupa.com/t/onmousedown-and-mouse-position/281268)

<div class="topic-metadata">

**Author:** [@johnboy123](https://forum.kirupa.com/u/johnboy123)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 6:11pm UTC](https://forum.kirupa.com/t/onmousedown-and-mouse-position/281268 "2009-02-06T18:11:10Z")

</div>

hi, I'm trying to call a function depending on where the mouse is clicked on screen - if its clicked within a certain area I want to determine where... I only have a basic knowledge and have put together something like t…

---

## [Using variables with transform.colorTransform](https://forum.kirupa.com/t/using-variables-with-transform-colortransform/281267)

<div class="topic-metadata">

**Author:** [@pixel\_chick](https://forum.kirupa.com/u/pixel_chick)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 6:07pm UTC](https://forum.kirupa.com/t/using-variables-with-transform-colortransform/281267 "2009-02-06T18:07:57Z")

</div>

I have declared a handful of new colors like this: var colTransNameNumber:ColorTransform = new ColorTransform(); colTransNameNumber.color = 0x77060A; The name and number are coming from variables in the query string bu…

---

## [I am going crazy (localToGlobal)](https://forum.kirupa.com/t/i-am-going-crazy-localtoglobal/281266)

<div class="topic-metadata">

**Author:** [@malidia](https://forum.kirupa.com/u/malidia)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 6:05pm UTC](https://forum.kirupa.com/t/i-am-going-crazy-localtoglobal/281266 "2009-02-06T18:05:52Z")

</div>

Ok so I understand localToGlobal, i have used localToGlobal, but for some reason i can not get localToGlobal to work on a particular problem, and I am not sure why. Here is my code: package{ import flash.di…

---

## [Random layers](https://forum.kirupa.com/t/random-layers/281265)

<div class="topic-metadata">

**Author:** [@cigi223](https://forum.kirupa.com/u/cigi223)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 5:55pm UTC](https://forum.kirupa.com/t/random-layers/281265 "2009-02-06T17:55:40Z")

</div>

\[FONT=Times New Roman\] Hi guys, \[/FONT\] \[FONT=Times New Roman\] \[/FONT\] \[FONT=Times New Roman\] I'm new to the forum and very, very new to ActionScript. \[/FONT\] \[FONT=Times New Roman\] \[/FONT\] \[FONT=Time…

---

## [Dynamic Button call](https://forum.kirupa.com/t/dynamic-button-call/281262)

<div class="topic-metadata">

**Author:** [@jasonlijw](https://forum.kirupa.com/u/jasonlijw)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 5:31pm UTC](https://forum.kirupa.com/t/dynamic-button-call/281262 "2009-02-06T17:31:10Z")

</div>

I am building a grid of buttons dynamically in a for loop from XML. I am then assigning them button.label and button.name from the array. The grid appears, the buttons have the right label, the event.target.name method p…

---

## [FLASH input method changed to asian, can't use symbols anymore](https://forum.kirupa.com/t/flash-input-method-changed-to-asian-cant-use-symbols-anymore/281261)

<div class="topic-metadata">

**Author:** [@jayrich86](https://forum.kirupa.com/u/jayrich86)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 5:25pm UTC](https://forum.kirupa.com/t/flash-input-method-changed-to-asian-cant-use-symbols-anymore/281261 "2009-02-06T17:25:54Z")

</div>

I don't know what happened my input method is showing up as Japanese or Chinese or Korean, and characters like "/" and "}" and "%" on my keyboard are now not working or displaying strange characters. Any idea how to fix …

---

## [Pass Variables from one swf to another swf?](https://forum.kirupa.com/t/pass-variables-from-one-swf-to-another-swf/281255)

<div class="topic-metadata">

**Author:** [@frescono](https://forum.kirupa.com/u/frescono)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 4:16pm UTC](https://forum.kirupa.com/t/pass-variables-from-one-swf-to-another-swf/281255 "2009-02-06T16:16:11Z")

</div>

I have a swf with an input text box and a button. When the button is clicked, i need it to open another swf in a new window and pass the variables to a text box in the new window. Any ideas on how to do this???

---

## [ExternalInterface Issue](https://forum.kirupa.com/t/externalinterface-issue/281253)

<div class="topic-metadata">

**Author:** [@MaGiCpt](https://forum.kirupa.com/u/MaGiCpt)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 3:48pm UTC](https://forum.kirupa.com/t/externalinterface-issue/281253 "2009-02-06T15:48:04Z")

</div>

Hello there, Im using a js file to make a application communicate with my swf using the ExternalInterface. in the javascript file i use something like so: .CallFunction("\<invoke name=\\"mudarFilter\\"\>\<arguments\>\<stri…

---

## [Event hitTest](https://forum.kirupa.com/t/event-hittest/281249)

<div class="topic-metadata">

**Author:** [@trickeyd](https://forum.kirupa.com/u/trickeyd)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 3:26pm UTC](https://forum.kirupa.com/t/event-hittest/281249 "2009-02-06T15:26:00Z")

</div>

Hi everyone. I am creating a system with creatures that need to know when they hit each-other. At the moment I am using the following loop for each creature in each frame: if (!\_pregnant) { for(var i:Number =…

---

## [Video Player Errors](https://forum.kirupa.com/t/video-player-errors/281248)

<div class="topic-metadata">

**Author:** [@sholton311](https://forum.kirupa.com/u/sholton311)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 3:22pm UTC](https://forum.kirupa.com/t/video-player-errors/281248 "2009-02-06T15:22:54Z")

</div>

I have made an xml video viewer which works great, however I am getting output errors when I run it- I'm not sure why or what is being affected, but if anyone could help I'd appreciate it. The errors are as follows: …

---

## [\[AS2\] Strings and if statements](https://forum.kirupa.com/t/as2-strings-and-if-statements/281244)

<div class="topic-metadata">

**Author:** [@ConceptUK2009](https://forum.kirupa.com/u/ConceptUK2009)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 2:31pm UTC](https://forum.kirupa.com/t/as2-strings-and-if-statements/281244 "2009-02-06T14:31:33Z")

</div>

I want to have the whole of the argument in an if statement represented by a variable string. Is this possible? I am yet to get the code to work: var featureLimit:String = "featureType == \\"logo\_ci4\\" || featureType =…

---

## [Opposite of AddChildAt(sprite, 0);](https://forum.kirupa.com/t/opposite-of-addchildat-sprite-0/281243)

<div class="topic-metadata">

**Author:** [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 2:10pm UTC](https://forum.kirupa.com/t/opposite-of-addchildat-sprite-0/281243 "2009-02-06T14:10:29Z")

</div>

Hi all In my current game i have tried to add a sprite above an existing sprite. Usually i just do this in order of instantiation. However on this occasion it seems my UI is behind an existing object. In terms of the…

---

## [Protect Parts of my FLA](https://forum.kirupa.com/t/protect-parts-of-my-fla/281241)

<div class="topic-metadata">

**Author:** [@Tazbo](https://forum.kirupa.com/u/Tazbo)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 1:32pm UTC](https://forum.kirupa.com/t/protect-parts-of-my-fla/281241 "2009-02-06T13:32:20Z")

</div>

Hi Guys, I have created a flash file and the company I have created it for now wants the fla so they can make changes to certain parts of the action script. There are some elements that I want to protect as it took me …

---

## [Loading Title from XML](https://forum.kirupa.com/t/loading-title-from-xml/281236)

<div class="topic-metadata">

**Author:** [@bradders\_123](https://forum.kirupa.com/u/bradders_123)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 12:22pm UTC](https://forum.kirupa.com/t/loading-title-from-xml/281236 "2009-02-06T12:22:17Z")

</div>

I have an .xml file which is one I downloaded and modified. I'm trying to get flash to read the Title and display it in txt field inside a movie clip. Here is my xml code: \<?xml version="1.0" encoding="UTF-8"?\> \<gal…

---

## [My Two different Instance objects does not collide](https://forum.kirupa.com/t/my-two-different-instance-objects-does-not-collide/281235)

<div class="topic-metadata">

**Author:** [@kilamantok](https://forum.kirupa.com/u/kilamantok)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 11:22am UTC](https://forum.kirupa.com/t/my-two-different-instance-objects-does-not-collide/281235 "2009-02-06T11:22:47Z")

</div>

Thank you very much for giving some time to read my problem. Im building a shooter game where a bullet is call from a class and the enemy is also called from a class. I cant make them collide. In order for stuff to s…

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

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