# flash

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

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

**Page:** 10

---

## [Replacing one movie clip on stage with another on a button press.](https://forum.kirupa.com/t/replacing-one-movie-clip-on-stage-with-another-on-a-button-press/498470)

<div class="topic-metadata">

**Author:** [@ajoo](https://forum.kirupa.com/u/ajoo)\
**Replies:** 6\
**Last updated:** [January 28, 2015, 10:36am UTC](https://forum.kirupa.com/t/replacing-one-movie-clip-on-stage-with-another-on-a-button-press/498470 "2015-01-28T10:36:57Z")

</div>

Hi, I wish to replace a movie clip with another from the library ( at the same place as the first object) at the press of a button. So I have 2 movie clips mc\_rect for a rectangle, mc\_Oval for an oval and a button bt…

---

## [Bringing objects of 3d array to front](https://forum.kirupa.com/t/bringing-objects-of-3d-array-to-front/491916)

<div class="topic-metadata">

**Author:** [@onurcan1977](https://forum.kirupa.com/u/onurcan1977)\
**Replies:** 5\
**Last updated:** [January 26, 2015, 7:40pm UTC](https://forum.kirupa.com/t/bringing-objects-of-3d-array-to-front/491916 "2015-01-26T19:40:32Z")

</div>

I'm trying to create 3d array which holds movieclips and textfields. When I test the movie, textfields aren't visible, they are behind movieclips (I guess so). I tried using setchildindex however it gave me error. Here's…

---

## [Data Grid or List ?](https://forum.kirupa.com/t/data-grid-or-list/494809)

<div class="topic-metadata">

**Author:** [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Replies:** 1\
**Last updated:** [January 26, 2015, 4:46am UTC](https://forum.kirupa.com/t/data-grid-or-list/494809 "2015-01-26T04:46:42Z")

</div>

Hi guys I have chosen to try the Data Grid component instead of just the list component, everything works out great. Customised the look & everything but no data shown \[frowning\] Can someone help me please. var mp3\_A…

---

## [can AIR for mobile deploy to device via wifi?](https://forum.kirupa.com/t/can-air-for-mobile-deploy-to-device-via-wifi/494800)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 2\
**Last updated:** [January 26, 2015, 2:54am UTC](https://forum.kirupa.com/t/can-air-for-mobile-deploy-to-device-via-wifi/494800 "2015-01-26T02:54:50Z")

</div>

Im pretty sure the answer is no, but is there a way to deploy to ios or android via WIFI and skip the USB? Im talking about for everyday device testing, I have not used testflight yet, but I assume its not quick enough…

---

## [TLF editManager.overwriteText is deleting special characters](https://forum.kirupa.com/t/tlf-editmanager-overwritetext-is-deleting-special-characters/488034)

<div class="topic-metadata">

**Author:** [@Guy\_Parker](https://forum.kirupa.com/u/Guy_Parker)\
**Replies:** 2\
**Last updated:** [January 24, 2015, 1:03am UTC](https://forum.kirupa.com/t/tlf-editmanager-overwritetext-is-deleting-special-characters/488034 "2015-01-24T01:03:57Z")

</div>

I've ran into a problem using the built in functions in editManager (flashx.textLayout.edit.IEditManager) where it is killing/removing/deleting special characters in a String when I use the function overwriteText() or in…

---

## [How do I make it stop raining?](https://forum.kirupa.com/t/how-do-i-make-it-stop-raining/487526)

<div class="topic-metadata">

**Author:** [@Sebzicide](https://forum.kirupa.com/u/Sebzicide)\
**Replies:** 6\
**Last updated:** [January 23, 2015, 5:17pm UTC](https://forum.kirupa.com/t/how-do-i-make-it-stop-raining/487526 "2015-01-23T17:17:32Z")

</div>

Hello, Im currently working on a movie project and i was wondering how to make it stop raining. Here is the script for the rain: for (i = 0; i \< 500; i++) { duplicateMovieClip("drop", "drop" + i, i); setProperty(…

---

## [Can't add scrollpane properly from class](https://forum.kirupa.com/t/cant-add-scrollpane-properly-from-class/487485)

<div class="topic-metadata">

**Author:** [@onurcan1977](https://forum.kirupa.com/u/onurcan1977)\
**Replies:** 2\
**Last updated:** [January 22, 2015, 11:03pm UTC](https://forum.kirupa.com/t/cant-add-scrollpane-properly-from-class/487485 "2015-01-22T23:03:36Z")

</div>

Hello, I created many movieclips and added them into my scrollpane source. The code is working fine when I test it with .fla file. However I'm new to classes and it's giving me error: RangeError: Error #2006: The supplie…

---

## [Loading a SET of audio files](https://forum.kirupa.com/t/loading-a-set-of-audio-files/477626)

<div class="topic-metadata">

**Author:** [@ajoo](https://forum.kirupa.com/u/ajoo)\
**Replies:** 9\
**Last updated:** [January 22, 2015, 9:21am UTC](https://forum.kirupa.com/t/loading-a-set-of-audio-files/477626 "2015-01-22T09:21:58Z")

</div>

Hi all, I have been looking at some forums and the net in general to see if someone ever had a similar problem but this one is just a bit different. What I have is 2 different sets of sound files ( each set contain…

---

## [Confining mouse actions to MC on stage](https://forum.kirupa.com/t/confining-mouse-actions-to-mc-on-stage/484732)

<div class="topic-metadata">

**Author:** [@jsimpsonJSD](https://forum.kirupa.com/u/jsimpsonJSD)\
**Replies:** 2\
**Last updated:** [January 21, 2015, 8:28pm UTC](https://forum.kirupa.com/t/confining-mouse-actions-to-mc-on-stage/484732 "2015-01-21T20:28:33Z")

</div>

Hey gang - newbie with AS3 here. What I'm doing here is drawing a simple straight line on stage by clicking and dragging. This code works fine, but I only want this to happen within a specified area of the stage. How …

---

## [Swipe Gesture stops working when using removeChild](https://forum.kirupa.com/t/swipe-gesture-stops-working-when-using-removechild/478480)

<div class="topic-metadata">

**Author:** [@kiwirob](https://forum.kirupa.com/u/kiwirob)\
**Replies:** 3\
**Last updated:** [January 20, 2015, 11:56am UTC](https://forum.kirupa.com/t/swipe-gesture-stops-working-when-using-removechild/478480 "2015-01-20T11:56:56Z")

</div>

Hi there, I'm developing an Android app using Air which utilizes swipe gestures. I have an up/down swipe menu on a movieclip called "Parts\_Menu" that has a bunch of nested MovieClips added from the library: for (…

---

## [Bevel Cube 3D AS3](https://forum.kirupa.com/t/bevel-cube-3d-as3/479497)

<div class="topic-metadata">

**Author:** [@Hikkyu](https://forum.kirupa.com/u/Hikkyu)\
**Replies:** 0\
**Last updated:** [January 19, 2015, 12:45pm UTC](https://forum.kirupa.com/t/bevel-cube-3d-as3/479497 "2015-01-19T12:45:04Z")

</div>

I wish I create a beveled cube with clickable automatically rotating faces like this (http://www.observatoire-marketing-pme.com/lancer.html, click "enter" and then on "Marketing") I tried to create a cube with BitmapDa…

---

## [Flash AS3 get window size](https://forum.kirupa.com/t/flash-as3-get-window-size/476173)

<div class="topic-metadata">

**Author:** [@Thomas120](https://forum.kirupa.com/u/Thomas120)\
**Replies:** 3\
**Last updated:** [January 17, 2015, 7:42pm UTC](https://forum.kirupa.com/t/flash-as3-get-window-size/476173 "2015-01-17T19:42:22Z")

</div>

I want Flash to respond to the size of the browser window. What is wrong with this script? When I preview the swf The textfield 'showWidth' says '550' even when I resize the window. stage.addEventListener(Event.ENTER\_F…

---

## [Where is my Android Certificate?](https://forum.kirupa.com/t/where-is-my-android-certificate/473690)

<div class="topic-metadata">

**Author:** [@Thomas120](https://forum.kirupa.com/u/Thomas120)\
**Replies:** 4\
**Last updated:** [January 17, 2015, 1:52am UTC](https://forum.kirupa.com/t/where-is-my-android-certificate/473690 "2015-01-17T01:52:32Z")

</div>

Hi, I have made an app in Flash. Now I want to publish it as an Air for Android. I installed the Android SDK. But where is my certificate on my pc?

---

## [Ball to bounce of an object](https://forum.kirupa.com/t/ball-to-bounce-of-an-object/456227)

<div class="topic-metadata">

**Author:** [@johnnien2](https://forum.kirupa.com/u/johnnien2)\
**Replies:** 2\
**Last updated:** [January 6, 2015, 8:43pm UTC](https://forum.kirupa.com/t/ball-to-bounce-of-an-object/456227 "2015-01-06T20:43:36Z")

</div>

Hello! I need help with a ball colliding correctly with a square on stage. This is the file: https://app.box.com/s/ui4q15juyp9iqszmm95g It’s basically a ball bouncing of four walls and hitting 2 object incorrectly. Bec…

---

## [Check existing XML item](https://forum.kirupa.com/t/check-existing-xml-item/456022)

<div class="topic-metadata">

**Author:** [@neo0800](https://forum.kirupa.com/u/neo0800)\
**Replies:** 3\
**Last updated:** [January 5, 2015, 10:49pm UTC](https://forum.kirupa.com/t/check-existing-xml-item/456022 "2015-01-05T22:49:39Z")

</div>

Hello there! I'm trying to check the existence of an Item in a XML File here is my XML: myXML = (\<data\> \<cart\> \<id\>1\</id\> \<product\>Item 1\</product\> \</cart\> \<cart\> \<id\>2\</id\> \<product\>Item 1\</…

---

## [Question about audio from child loaded swf files](https://forum.kirupa.com/t/question-about-audio-from-child-loaded-swf-files/440418)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 7\
**Last updated:** [December 23, 2014, 4:49am UTC](https://forum.kirupa.com/t/question-about-audio-from-child-loaded-swf-files/440418 "2014-12-23T04:49:39Z")

</div>

Hello, I'm trying to figure something out and would really like some input on this. I have a swf (file1.swf) and that loads another swf (file2.swf). In file1.swf, I have a SoundMixer that controls the overall volume…

---

## [Completely removing swf file from memory](https://forum.kirupa.com/t/completely-removing-swf-file-from-memory/441391)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 2\
**Last updated:** [December 22, 2014, 6:15pm UTC](https://forum.kirupa.com/t/completely-removing-swf-file-from-memory/441391 "2014-12-22T18:15:37Z")

</div>

Hi All, I’m running into an annoying issue. I have a swf file that loads another swf file (i don’t know what that swf file is going to be, it comes from whatever URL i provide and I just load it). I notice in my Activ…

---

## [How to add keyboard interaction?](https://forum.kirupa.com/t/how-to-add-keyboard-interaction/438542)

<div class="topic-metadata">

**Author:** [@withinboy2z](https://forum.kirupa.com/u/withinboy2z)\
**Replies:** 2\
**Last updated:** [December 19, 2014, 7:26am UTC](https://forum.kirupa.com/t/how-to-add-keyboard-interaction/438542 "2014-12-19T07:26:00Z")

</div>

I got 16 different buttons in this application, each button playing different kind of sound. Currently i only able to use mouse click to start playing sound, and click again to stop, but now i wish to add shortcut key to…

---

## [Moving to next frame based on 1 letter typed in a text field](https://forum.kirupa.com/t/moving-to-next-frame-based-on-1-letter-typed-in-a-text-field/438452)

<div class="topic-metadata">

**Author:** [@rhanna2](https://forum.kirupa.com/u/rhanna2)\
**Replies:** 0\
**Last updated:** [December 18, 2014, 4:50pm UTC](https://forum.kirupa.com/t/moving-to-next-frame-based-on-1-letter-typed-in-a-text-field/438452 "2014-12-18T16:50:53Z")

</div>

Hello, I have a text field that will change display based on what is typed in the field, very similar to a drop-down menu. What I need to know, is how can I have it navigate to the next frame if there is no action other…

---

## [Help with the mouse trail](https://forum.kirupa.com/t/help-with-the-mouse-trail/427124)

<div class="topic-metadata">

**Author:** [@takshi\_murairi](https://forum.kirupa.com/u/takshi_murairi)\
**Replies:** 2\
**Last updated:** [December 16, 2014, 8:24pm UTC](https://forum.kirupa.com/t/help-with-the-mouse-trail/427124 "2014-12-16T20:24:41Z")

</div>

Hi, I am working on a project in which i am planning to display a video as one of my final project for my video art elective. I want to make it interactive by adding a mouse trail on top of it so that viewers can leave…

---

## [Trying to target a movie clip on parent timeline](https://forum.kirupa.com/t/trying-to-target-a-movie-clip-on-parent-timeline/419812)

<div class="topic-metadata">

**Author:** [@Eddie\_E](https://forum.kirupa.com/u/Eddie_E)\
**Replies:** 4\
**Last updated:** [December 15, 2014, 3:12am UTC](https://forum.kirupa.com/t/trying-to-target-a-movie-clip-on-parent-timeline/419812 "2014-12-15T03:12:56Z")

</div>

Hi I have the following: koala1\_mc.addEventListener(MouseEvent.CLICK, koala1); koala1\_mc.buttonMode = true; koala1\_mc.useHandCursor = true; function koala1(e:MouseEvent):void { MovieClip(parent).game1\_mc.gotoAn…

---

## [Coding a character to go to the opposite side when exceeding the stage width](https://forum.kirupa.com/t/coding-a-character-to-go-to-the-opposite-side-when-exceeding-the-stage-width/427203)

<div class="topic-metadata">

**Author:** [@A\_Feral\_Unicorn](https://forum.kirupa.com/u/A_Feral_Unicorn)\
**Replies:** 1\
**Last updated:** [December 15, 2014, 12:05am UTC](https://forum.kirupa.com/t/coding-a-character-to-go-to-the-opposite-side-when-exceeding-the-stage-width/427203 "2014-12-15T00:05:04Z")

</div>

Basically, I've made it so that my "player" in my game doesn't exceed the stage width (only moves along the x axis) and so when it gets to the edge it just stops. However, I want to make it so that if the player exceeds …

---

## [Scroll text extracted from string using Flash 8 duplicate Movie Clip](https://forum.kirupa.com/t/scroll-text-extracted-from-string-using-flash-8-duplicate-movie-clip/427046)

<div class="topic-metadata">

**Author:** [@Patsail1](https://forum.kirupa.com/u/Patsail1)\
**Replies:** 0\
**Last updated:** [December 13, 2014, 12:51pm UTC](https://forum.kirupa.com/t/scroll-text-extracted-from-string-using-flash-8-duplicate-movie-clip/427046 "2014-12-13T12:51:16Z")

</div>

I have tried all sorts of coding and am now making thr coding worse. I think the problem is in Frame 1 - In the 'While Loop' Gratefull for any help scrolling-text-around-world-ball.fla (77.5 KB) Pat

---

## [Button component loops 2 squares](https://forum.kirupa.com/t/button-component-loops-2-squares/351993)

<div class="topic-metadata">

**Author:** [@onurcan1977](https://forum.kirupa.com/u/onurcan1977)\
**Replies:** 1\
**Last updated:** [December 13, 2014, 1:58am UTC](https://forum.kirupa.com/t/button-component-loops-2-squares/351993 "2014-12-13T01:58:01Z")

</div>

I'm trying to create some buttons dynamically. When I test the code below, a white rectangle appears and the button loops its 2 squares. import flash.display.MovieClip; function createButton(event:Event) { var cla…

---

## [Playing flvs locally](https://forum.kirupa.com/t/playing-flvs-locally/425091)

<div class="topic-metadata">

**Author:** [@e\_v](https://forum.kirupa.com/u/e_v)\
**Replies:** 2\
**Last updated:** [December 13, 2014, 1:34am UTC](https://forum.kirupa.com/t/playing-flvs-locally/425091 "2014-12-13T01:34:38Z")

</div>

I take it Adobe no longer makes its Media Player. So what is the best way to view an FLV by itself? I looked up various third-party players, but on the two I tried to download, my antivirus warned me about adware threa…

---

## [ArgumentError: Error #2004 when implementing iExternalizable](https://forum.kirupa.com/t/argumenterror-error-2004-when-implementing-iexternalizable/407196)

<div class="topic-metadata">

**Author:** [@sneakyimp](https://forum.kirupa.com/u/sneakyimp)\
**Replies:** 1\
**Last updated:** [December 4, 2014, 11:28pm UTC](https://forum.kirupa.com/t/argumenterror-error-2004-when-implementing-iexternalizable/407196 "2014-12-04T23:28:01Z")

</div>

I've written a trivial class in attempting to better understand iExternalizable's behavior. I can't see that I've done anything wrong, but my code throws an error. Here's my class: package { import flash.utils.ID…

---

## [Show image when button is clicked](https://forum.kirupa.com/t/show-image-when-button-is-clicked/396978)

<div class="topic-metadata">

**Author:** [@kite111](https://forum.kirupa.com/u/kite111)\
**Replies:** 1\
**Last updated:** [December 2, 2014, 2:55am UTC](https://forum.kirupa.com/t/show-image-when-button-is-clicked/396978 "2014-12-02T02:55:32Z")

</div>

Hello. I want to create something like this. Cupcake creator Do you guys know how to do it? A circle will be clicked and the corresponding image fades in. Example click btn1 then img1 appears.just like what happens in …

---

## [Flash and PHP FileUpload](https://forum.kirupa.com/t/flash-and-php-fileupload/371712)

<div class="topic-metadata">

**Author:** [@neo0800](https://forum.kirupa.com/u/neo0800)\
**Replies:** 0\
**Last updated:** [November 26, 2014, 5:56pm UTC](https://forum.kirupa.com/t/flash-and-php-fileupload/371712 "2014-11-26T17:56:02Z")

</div>

Hey Guys.... I wana Upload a file with flash and php WITHOUT using FileReference. What I want is to give the exact File Path (of my Computer) to the php File. I tried this, but without any success. var URLrequest:URL…

---

## [I'm creating something like incredibox, Need Help](https://forum.kirupa.com/t/im-creating-something-like-incredibox-need-help/356390)

<div class="topic-metadata">

**Author:** [@withinboy2z](https://forum.kirupa.com/u/withinboy2z)\
**Replies:** 7\
**Last updated:** [November 26, 2014, 4:38am UTC](https://forum.kirupa.com/t/im-creating-something-like-incredibox-need-help/356390 "2014-11-26T04:38:01Z")

</div>

Im trying to build an flash application like \>Incredibox\< It allow user to drag and drop to play music, and all the music synchronizing together, but it is possible to build with AC3, the only question I wanted to ask is…

---

## [Painting a mask with a non-circular brush](https://forum.kirupa.com/t/painting-a-mask-with-a-non-circular-brush/352057)

<div class="topic-metadata">

**Author:** [@Vaevictis](https://forum.kirupa.com/u/Vaevictis)\
**Replies:** 1\
**Last updated:** [November 20, 2014, 6:19pm UTC](https://forum.kirupa.com/t/painting-a-mask-with-a-non-circular-brush/352057 "2014-11-20T18:19:22Z")

</div>

I need for the user to be able to unveil a hidden image by painting it - á la the classic scratch lottery ticket. I can get it to work by placing the hidden image on top of the background image, putting a mask on it and …

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

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