# flash

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

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

**Page:** 66

---

## [Help! Cannot remove movie clip from array](https://forum.kirupa.com/t/help-cannot-remove-movie-clip-from-array/328717)

<div class="topic-metadata">

**Author:** [@baldbull](https://forum.kirupa.com/u/baldbull)\
**Replies:** 0\
**Last updated:** [June 9, 2012, 1:14pm UTC](https://forum.kirupa.com/t/help-cannot-remove-movie-clip-from-array/328717 "2012-06-09T13:14:16Z")

</div>

I am trying to remove a movie clip from an array (i am not an expert programmer so please bare with me:) I create my array in my main timeline, then within a movie, when a user clicks a button, that movie clip should b…

---

## [Can't get gotoAndStop(); to work](https://forum.kirupa.com/t/cant-get-gotoandstop-to-work/328715)

<div class="topic-metadata">

**Author:** [@Ragnoroct](https://forum.kirupa.com/u/Ragnoroct)\
**Replies:** 0\
**Last updated:** [June 9, 2012, 5:08am UTC](https://forum.kirupa.com/t/cant-get-gotoandstop-to-work/328715 "2012-06-09T05:08:32Z")

</div>

I have a fla file with a movieclip that has two frames. I try to change the movieclips frame by gotoAndStop through the as file but it doesn't work. No error it just doesn't do anything. fla file code on first(only one…

---

## [Can't create timer](https://forum.kirupa.com/t/cant-create-timer/328713)

<div class="topic-metadata">

**Author:** [@Ragnoroct](https://forum.kirupa.com/u/Ragnoroct)\
**Replies:** 0\
**Last updated:** [June 8, 2012, 11:29pm UTC](https://forum.kirupa.com/t/cant-create-timer/328713 "2012-06-08T23:29:25Z")

</div>

For some odd reason when I try to create a timer nothing happens, so when I refer to that timer I get an error because it doesn't exist. This is my as code package com.mygame.dodge { import flash.display.Sprite;…

---

## [addChild() doesn't seem to work](https://forum.kirupa.com/t/addchild-doesnt-seem-to-work/328710)

<div class="topic-metadata">

**Author:** [@Ragnoroct](https://forum.kirupa.com/u/Ragnoroct)\
**Replies:** 0\
**Last updated:** [June 8, 2012, 6:53pm UTC](https://forum.kirupa.com/t/addchild-doesnt-seem-to-work/328710 "2012-06-08T18:53:41Z")

</div>

K, I know pretty simple right? It's been trumping me for quite a while now though. I have a fla file with a movieclip with the linkage B. That fla file also imports the class by com.mysite.testing.TestClass and instances…

---

## [AS code for Event after rollover](https://forum.kirupa.com/t/as-code-for-event-after-rollover/328709)

<div class="topic-metadata">

**Author:** [@SpindizZzy](https://forum.kirupa.com/u/SpindizZzy)\
**Replies:** 0\
**Last updated:** [June 8, 2012, 6:13pm UTC](https://forum.kirupa.com/t/as-code-for-event-after-rollover/328709 "2012-06-08T18:13:56Z")

</div>

Hi, I bought several components from flashXML.net and tried to get help there, but they don't help w specific lines of code... I want to add an extra functionality to the first button of my BlurMenuFX (bottom of…

---

## [Unique mp4 caching example](https://forum.kirupa.com/t/unique-mp4-caching-example/328707)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [June 8, 2012, 4:16pm UTC](https://forum.kirupa.com/t/unique-mp4-caching-example/328707 "2012-06-08T16:16:50Z")

</div>

I'm making a website that will have an intro. I'm also making a countdown to the launch of this website. Both, the countdown and the website will be on different domain names (but probably on the same ftp folder). Is i…

---

## [Replace xml](https://forum.kirupa.com/t/replace-xml/328703)

<div class="topic-metadata">

**Author:** [@cledus](https://forum.kirupa.com/u/cledus)\
**Replies:** 0\
**Last updated:** [June 8, 2012, 9:18am UTC](https://forum.kirupa.com/t/replace-xml/328703 "2012-06-08T09:18:21Z")

</div>

Hi! I have a problem. I have an xml loaded in the var xml1. I want to replace all data in it with a newly loaded xml named xml2. I was hoping that I could do it like this: xml1 = xml2. It doesent work. Can I do it in s…

---

## [Actionscript 3.0 custom classes](https://forum.kirupa.com/t/actionscript-3-0-custom-classes/328700)

<div class="topic-metadata">

**Author:** [@Ragnoroct](https://forum.kirupa.com/u/Ragnoroct)\
**Replies:** 0\
**Last updated:** [June 7, 2012, 10:13pm UTC](https://forum.kirupa.com/t/actionscript-3-0-custom-classes/328700 "2012-06-07T22:13:29Z")

</div>

Dear Kirupa members, I am trying to construct a small flash game using two classes for learning purposes. I have a small understanding of super-classes and sub-classes. The game partially works with one class doing stu…

---

## [Grated cheese falling animation suggestions](https://forum.kirupa.com/t/grated-cheese-falling-animation-suggestions/328699)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [June 7, 2012, 9:15pm UTC](https://forum.kirupa.com/t/grated-cheese-falling-animation-suggestions/328699 "2012-06-07T21:15:45Z")

</div>

I have been asked to simulate cheese falling. Ideally, to be a realistic representation the falling cheese would stop and increase in depth as it lands on the plate of chili. Cheesey I know. I have been experimenting wit…

---

## [Invoke Menu Functions Using JSFL](https://forum.kirupa.com/t/invoke-menu-functions-using-jsfl/328698)

<div class="topic-metadata">

**Author:** [@Colin\_Lim](https://forum.kirupa.com/u/Colin_Lim)\
**Replies:** 0\
**Last updated:** [June 7, 2012, 8:47pm UTC](https://forum.kirupa.com/t/invoke-menu-functions-using-jsfl/328698 "2012-06-07T20:47:53Z")

</div>

I'm trying to invoke a menu function (specifically "Import To Stage") using JSFL, but I can't find an appropriate method, and Google hasn't helped. I don't want to duplicate the functionality of Import To Stage; all I wa…

---

## [AS3 Uneven Terrain Clamping](https://forum.kirupa.com/t/as3-uneven-terrain-clamping/328697)

<div class="topic-metadata">

**Author:** [@IgiveUp](https://forum.kirupa.com/u/IgiveUp)\
**Replies:** 0\
**Last updated:** [June 7, 2012, 4:02pm UTC](https://forum.kirupa.com/t/as3-uneven-terrain-clamping/328697 "2012-06-07T16:02:51Z")

</div>

Can anyone please show me a working .fla example of this? http://flashcove.net/268/uneven-terrain-clamping-in-flash-games-as3/ I have tried and tried but I cannot get this to work. I tried the code as is(with a little …

---

## [Access a stage variable inside a text box that's in a MovieClip](https://forum.kirupa.com/t/access-a-stage-variable-inside-a-text-box-thats-in-a-movieclip/328695)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [June 7, 2012, 12:00pm UTC](https://forum.kirupa.com/t/access-a-stage-variable-inside-a-text-box-thats-in-a-movieclip/328695 "2012-06-07T12:00:00Z")

</div>

I have a var in the stage called Salary, and i want to access it from a movieClip, so i used: saldoAluno.text =MovieClip(this.root).Salary ; But it can't find the variable. Any ideas?

---

## [Make a two-state Button](https://forum.kirupa.com/t/make-a-two-state-button/328694)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [June 7, 2012, 10:51am UTC](https://forum.kirupa.com/t/make-a-two-state-button/328694 "2012-06-07T10:51:55Z")

</div>

I am trying to make a check button where when i click it shows an arrow inside the box, and when i click again i get the state i had in the first place, so i used this: var VistoContainer:MovieClip; var counterVisto:…

---

## [Cached files in Air Application](https://forum.kirupa.com/t/cached-files-in-air-application/328690)

<div class="topic-metadata">

**Author:** [@ORNj](https://forum.kirupa.com/u/ORNj)\
**Replies:** 0\
**Last updated:** [June 6, 2012, 9:23pm UTC](https://forum.kirupa.com/t/cached-files-in-air-application/328690 "2012-06-06T21:23:49Z")

</div>

I'm trying to load local XML files into an Air application. After a while the application is supposed to check to see if the file has been modified then reload it. When attempting to reload the file I am getting a cached…

---

## [How to Go back two Movieclips](https://forum.kirupa.com/t/how-to-go-back-two-movieclips/328689)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [June 6, 2012, 7:49pm UTC](https://forum.kirupa.com/t/how-to-go-back-two-movieclips/328689 "2012-06-06T19:49:45Z")

</div>

I am inside a movieclip and i want to access to the stage, so i use MovieClip(parent). But if i am inside a movieclip that's inside another movieclip, what do i use to go back 2 levels to access the stage?

---

## [Text Curve space,,](https://forum.kirupa.com/t/text-curve-space/328686)

<div class="topic-metadata">

**Author:** [@portalRules](https://forum.kirupa.com/u/portalRules)\
**Replies:** 0\
**Last updated:** [June 6, 2012, 9:52am UTC](https://forum.kirupa.com/t/text-curve-space/328686 "2012-06-06T09:52:06Z")

</div>

sory for my bad english,, I have read this tutorial http://flashscript.biz/Flash10/curvedtext/curvedtext.html but i'm confused with the math formula, because the text too tighly when i changed text with 15 degree…

---

## [Loading an .flv from an imported .swf](https://forum.kirupa.com/t/loading-an-flv-from-an-imported-swf/328683)

<div class="topic-metadata">

**Author:** [@wongmo](https://forum.kirupa.com/u/wongmo)\
**Replies:** 0\
**Last updated:** [June 6, 2012, 1:26am UTC](https://forum.kirupa.com/t/loading-an-flv-from-an-imported-swf/328683 "2012-06-06T01:26:00Z")

</div>

I'm trying to load an .flv from a child .swf of the main clip. The child .swf has a line like this: myVideo.source = "flvs/planets.f4v"; myVideo.skin = "TransSkin.swf"; On its own it works fine, but obviously once it…

---

## [Access separate textfield spread over timeline, better way?](https://forum.kirupa.com/t/access-separate-textfield-spread-over-timeline-better-way/328681)

<div class="topic-metadata">

**Author:** [@lnsiu](https://forum.kirupa.com/u/lnsiu)\
**Replies:** 0\
**Last updated:** [June 5, 2012, 9:15pm UTC](https://forum.kirupa.com/t/access-separate-textfield-spread-over-timeline-better-way/328681 "2012-06-05T21:15:42Z")

</div>

Is there a more elegant way to access different textfields spread over a timeline than the example I have below? I have a timeline with many different textfields that is non-present in most other frames. They occupy a …

---

## [as2 page flip preload pages](https://forum.kirupa.com/t/as2-page-flip-preload-pages/328680)

<div class="topic-metadata">

**Author:** [@molly\_ferns](https://forum.kirupa.com/u/molly_ferns)\
**Replies:** 0\
**Last updated:** [June 5, 2012, 6:31pm UTC](https://forum.kirupa.com/t/as2-page-flip-preload-pages/328680 "2012-06-05T18:31:58Z")

</div>

Hi everyone, Please can anyone let me know how to load all pages in http://www.flashpageflip.com/demos/free/ before one flips through them? At the moment only after you turn the page it starts loading but i want that i…

---

## [Cycle through all (unknown node structure) xml nodes](https://forum.kirupa.com/t/cycle-through-all-unknown-node-structure-xml-nodes/328679)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [June 5, 2012, 2:09pm UTC](https://forum.kirupa.com/t/cycle-through-all-unknown-node-structure-xml-nodes/328679 "2012-06-05T14:09:15Z")

</div>

How should I format a for loop, or while conditional, to cycle through all of the nodes, node levels in a unknown XML? For instance, if I load an XML: \<root\> \<word\> \<word\> \<word\> \<image src="some address" …

---

## [Upload file to web domain with File Reference](https://forum.kirupa.com/t/upload-file-to-web-domain-with-file-reference/328673)

<div class="topic-metadata">

**Author:** [@Asteroids](https://forum.kirupa.com/u/Asteroids)\
**Replies:** 0\
**Last updated:** [June 5, 2012, 12:03am UTC](https://forum.kirupa.com/t/upload-file-to-web-domain-with-file-reference/328673 "2012-06-05T00:03:38Z")

</div>

i want to use file reference to upload image file to folder in web domain but i stuck when use file reference in flash+php upload say complete but not have image file in my path folder what a problem this is my cod…

---

## [Flash5 soundObject](https://forum.kirupa.com/t/flash5-soundobject/328671)

<div class="topic-metadata">

**Author:** [@BillyShope](https://forum.kirupa.com/u/BillyShope)\
**Replies:** 0\
**Last updated:** [June 4, 2012, 10:53pm UTC](https://forum.kirupa.com/t/flash5-soundobject/328671 "2012-06-04T22:53:00Z")

</div>

With Flash5, is there any way to use gotoAndPlay() after determining that a soundObject has stopped playing?

---

## [Turn a website into a different language](https://forum.kirupa.com/t/turn-a-website-into-a-different-language/328669)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [June 4, 2012, 8:51pm UTC](https://forum.kirupa.com/t/turn-a-website-into-a-different-language/328669 "2012-06-04T20:51:47Z")

</div>

I am making a flash site and i have it in portuguese, but i want to make a button that when it's clicked everything turns into english. Does anyone know a easy way to do this?

---

## [Rollover / Liquid design](https://forum.kirupa.com/t/rollover-liquid-design/328668)

<div class="topic-metadata">

**Author:** [@SpindizZzy](https://forum.kirupa.com/u/SpindizZzy)\
**Replies:** 0\
**Last updated:** [June 4, 2012, 7:19pm UTC](https://forum.kirupa.com/t/rollover-liquid-design/328668 "2012-06-04T19:19:36Z")

</div>

Hi guys, I’m new to this forum (so please be forgiving if i posted in the wrong place :-/) and only have some experience in AS. I recently purchased a few flash-components from FlashXML.net and have trouble using them… …

---

## [Change movieclip keyframe depending on RSS text](https://forum.kirupa.com/t/change-movieclip-keyframe-depending-on-rss-text/328666)

<div class="topic-metadata">

**Author:** [@Jamie\_Hodges](https://forum.kirupa.com/u/Jamie_Hodges)\
**Replies:** 0\
**Last updated:** [June 4, 2012, 3:30pm UTC](https://forum.kirupa.com/t/change-movieclip-keyframe-depending-on-rss-text/328666 "2012-06-04T15:30:54Z")

</div>

Hi, I'm trying to create a surfing app for a website using an rss feed for the information. The trouble is, all the information appears in one line of text. What I want to achieve is a change of keyframe in a moviecl…

---

## [swapDepths and onRelease actions problem](https://forum.kirupa.com/t/swapdepths-and-onrelease-actions-problem/328665)

<div class="topic-metadata">

**Author:** [@fastrix](https://forum.kirupa.com/u/fastrix)\
**Replies:** 0\
**Last updated:** [June 4, 2012, 2:36pm UTC](https://forum.kirupa.com/t/swapdepths-and-onrelease-actions-problem/328665 "2012-06-04T14:36:29Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]I hope u can help me again!!! There're buttons that need to scale at max when rollover but they appear ones back of anothers. Tried the swapDepths method for buttons: \[/FONT\]\[/COLOR\] Butt…

---

## [Capture the mousedrag with Image Convert to animation](https://forum.kirupa.com/t/capture-the-mousedrag-with-image-convert-to-animation/328663)

<div class="topic-metadata">

**Author:** [@gopik3](https://forum.kirupa.com/u/gopik3)\
**Replies:** 0\
**Last updated:** [June 4, 2012, 7:10am UTC](https://forum.kirupa.com/t/capture-the-mousedrag-with-image-convert-to-animation/328663 "2012-06-04T07:10:05Z")

</div>

Hello, Am creating A story Telling Game,If the Player drag the image and click the save button.it save as a new movie clip and it playable as per drag.plz give some idea for this function.like it need media server…

---

## [Flash DataGrid](https://forum.kirupa.com/t/flash-datagrid/328662)

<div class="topic-metadata">

**Author:** [@mladenko](https://forum.kirupa.com/u/mladenko)\
**Replies:** 0\
**Last updated:** [June 4, 2012, 6:28am UTC](https://forum.kirupa.com/t/flash-datagrid/328662 "2012-06-04T06:28:27Z")

</div>

Hi all, Is it possible to drag rows from DataGrid component? I wont to player can drag info from DataGrid to another MovieClip. Also i am populating datagrid with AMFPHP and i dont see any text but i get correct number…

---

## [Setting up Sublime Text 2 for AS3](https://forum.kirupa.com/t/setting-up-sublime-text-2-for-as3/328659)

<div class="topic-metadata">

**Author:** [@The\_Deecs](https://forum.kirupa.com/u/The_Deecs)\
**Replies:** 0\
**Last updated:** [June 4, 2012, 4:36am UTC](https://forum.kirupa.com/t/setting-up-sublime-text-2-for-as3/328659 "2012-06-04T04:36:49Z")

</div>

Hi there, Sublime Text 2 looks very good in videos and to an extent in using it myself. The only thing is I cant get it to look-up classes from the flash native classpath or my own classes classpath. Is there a way to …

---

## [Please help! AS3 click to move smoothly](https://forum.kirupa.com/t/please-help-as3-click-to-move-smoothly/328658)

<div class="topic-metadata">

**Author:** [@nguyenna](https://forum.kirupa.com/u/nguyenna)\
**Replies:** 0\
**Last updated:** [June 4, 2012, 2:14am UTC](https://forum.kirupa.com/t/please-help-as3-click-to-move-smoothly/328658 "2012-06-04T02:14:06Z")

</div>

I'm trying to make an object move to where the user clicks. The object follows through but it does not move directly towards the point. Any guidance on how to make the ball move in a line towards the position will be muc…

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

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