# programming

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

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

**Page:** 560

---

## [Loop and Tween. How can I solve this?](https://forum.kirupa.com/t/loop-and-tween-how-can-i-solve-this/304927)

<div class="topic-metadata">

**Author:** [@shapper](https://forum.kirupa.com/u/shapper)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 5:04pm UTC](https://forum.kirupa.com/t/loop-and-tween-how-can-i-solve-this/304927 "2010-02-16T17:04:04Z")

</div>

Hello, I have the following loop: var disabled = new Array('RB0','RC0'); for (var j = 0; j \< disabled.length; j++ ) { var d : MovieClip = getChildByName(disabled\[j\]) as MovieClip; var tween:Tween = new T…

---

## [MovieClip Issue](https://forum.kirupa.com/t/movieclip-issue/304926)

<div class="topic-metadata">

**Author:** [@agent67orange](https://forum.kirupa.com/u/agent67orange)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 5:02pm UTC](https://forum.kirupa.com/t/movieclip-issue/304926 "2010-02-16T17:02:32Z")

</div>

Hello all, I am having a movie clip issue. I don't normally use flash in this way but I am trying to learn some new things. I have a movieclip that acts as a rollover...you rollover the clip and it presents more info…

---

## [Firefox events problem](https://forum.kirupa.com/t/firefox-events-problem/304925)

<div class="topic-metadata">

**Author:** [@Stratboy](https://forum.kirupa.com/u/Stratboy)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 4:53pm UTC](https://forum.kirupa.com/t/firefox-events-problem/304925 "2010-02-16T16:53:47Z")

</div>

First: the problem occurs only in firefox (tested: v3.6) on Max Os X (tested: 10.6.2). On mac/safari and win/ie8/ff/safari is all ok. The flash plugin used is the latest version. Take a look and use any of the right ar…

---

## [Output a \*.mp3 file](https://forum.kirupa.com/t/output-a-mp3-file/304924)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 4:38pm UTC](https://forum.kirupa.com/t/output-a-mp3-file/304924 "2010-02-16T16:38:36Z")

</div>

Is it possible for Flash to output a \*.mp3 file of a Sound Object?

---

## [navigateToURL() encoding issues](https://forum.kirupa.com/t/navigatetourl-encoding-issues/304923)

<div class="topic-metadata">

**Author:** [@malidia](https://forum.kirupa.com/u/malidia)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 4:03pm UTC](https://forum.kirupa.com/t/navigatetourl-encoding-issues/304923 "2010-02-16T16:03:06Z")

</div>

Hey all, Has anyone run into a problem using flash.net.navigateToURL() and relative links on an https server? apparently our server is running IIS 6 and when I put a link such as "page1/about" into the navigateToURL fu…

---

## [Why can't I use some of the keys?!](https://forum.kirupa.com/t/why-cant-i-use-some-of-the-keys/304920)

<div class="topic-metadata">

**Author:** [@SticksStones](https://forum.kirupa.com/u/SticksStones)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 2:47pm UTC](https://forum.kirupa.com/t/why-cant-i-use-some-of-the-keys/304920 "2010-02-16T14:47:00Z")

</div>

Hi all, I'm not sure if this is the best place to post. Sorry if it's not! I've tried 4 or 5 different way's of grabbing keyboard input in flash AS3, but each time I can get the cursor keys, shift, space, the number …

---

## [Communication between mxml and Flash file](https://forum.kirupa.com/t/communication-between-mxml-and-flash-file/304919)

<div class="topic-metadata">

**Author:** [@Dimitree](https://forum.kirupa.com/u/Dimitree)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 2:22pm UTC](https://forum.kirupa.com/t/communication-between-mxml-and-flash-file/304919 "2010-02-16T14:22:23Z")

</div>

I have an application written in Flex and I want to access a private var (inside the .mxml file) from a Flash file. I mean how would it be possible to "call" this var into an .fla file? I have no clue at all...

---

## [Button plays MC forward then reverse](https://forum.kirupa.com/t/button-plays-mc-forward-then-reverse/304918)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 1:53pm UTC](https://forum.kirupa.com/t/button-plays-mc-forward-then-reverse/304918 "2010-02-16T13:53:41Z")

</div>

So, I have 4 buttons on the stage. Each button controls associated MCs. When the button is clicked, the MCs fade to invisible (alpha). Now I want them to fade back in when the buttons are clicked again. Is there a way to…

---

## [Hitesting](https://forum.kirupa.com/t/hitesting/304916)

<div class="topic-metadata">

**Author:** [@jynx20](https://forum.kirupa.com/u/jynx20)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 1:14pm UTC](https://forum.kirupa.com/t/hitesting/304916 "2010-02-16T13:14:59Z")

</div>

how does hit testing work in flash?

---

## [Problems with mp3 player](https://forum.kirupa.com/t/problems-with-mp3-player/304913)

<div class="topic-metadata">

**Author:** [@oreiah](https://forum.kirupa.com/u/oreiah)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 12:27pm UTC](https://forum.kirupa.com/t/problems-with-mp3-player/304913 "2010-02-16T12:27:21Z")

</div>

I have a flash movie that loads an mp3 layer when the btn\_2 is clicked and also I have an external swf files that will load when btn\_1 is clicked and it will load over the main movie.The buttons below will be unclickable…

---

## [How to Stop External audio swf](https://forum.kirupa.com/t/how-to-stop-external-audio-swf/304912)

<div class="topic-metadata">

**Author:** [@kooldropz](https://forum.kirupa.com/u/kooldropz)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 12:01pm UTC](https://forum.kirupa.com/t/how-to-stop-external-audio-swf/304912 "2010-02-16T12:01:56Z")

</div>

Hi all, I am in a very pathetic situation, from last 3 days i have been in this problem and i am running out time to reach deadline so kindly please help me I have two swf loaded into an engine one is an anima…

---

## [Questions from a beginner](https://forum.kirupa.com/t/questions-from-a-beginner/304906)

<div class="topic-metadata">

**Author:** [@NewCoderDude](https://forum.kirupa.com/u/NewCoderDude)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 10:40am UTC](https://forum.kirupa.com/t/questions-from-a-beginner/304906 "2010-02-16T10:40:44Z")

</div>

Hi, I hope it's ok for me to make this thread. I have been looking at the FAQ and the stickies and don't see anything specific to absolute programming beginners. So I am just going to use this thread. I am brand new …

---

## [Loop Problem!](https://forum.kirupa.com/t/loop-problem/304904)

<div class="topic-metadata">

**Author:** [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 9:57am UTC](https://forum.kirupa.com/t/loop-problem/304904 "2010-02-16T09:57:47Z")

</div>

Hi, I am trying to my head around Loops and I have 3 MCs which I want positioned one above the other according the mcs before it’s height. var clipsArray:Array = new Array("mc1", "mc2", "mc3"); trace(clipsArray); var …

---

## [How to create dynamic flash content slider](https://forum.kirupa.com/t/how-to-create-dynamic-flash-content-slider/304902)

<div class="topic-metadata">

**Author:** [@badut](https://forum.kirupa.com/u/badut)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 9:12am UTC](https://forum.kirupa.com/t/how-to-create-dynamic-flash-content-slider/304902 "2010-02-16T09:12:27Z")

</div>

Hi every one i want create dynamic content slider using xml and action script like in the site www.manutd.com..but i don't have idea...............everyone can help me to find some tutorial..............or source code

---

## [Platform game fall to ground function](https://forum.kirupa.com/t/platform-game-fall-to-ground-function/304901)

<div class="topic-metadata">

**Author:** [@Lesh](https://forum.kirupa.com/u/Lesh)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 9:00am UTC](https://forum.kirupa.com/t/platform-game-fall-to-ground-function/304901 "2010-02-16T09:00:09Z")

</div>

I have gotten to a point with my platform game where I am completely stuck. I have the player movement working fine but the only thing is, it doesn't fall off the blocks. I have a Floor class which references the Chara…

---

## [New To This World](https://forum.kirupa.com/t/new-to-this-world/304900)

<div class="topic-metadata">

**Author:** [@jnerd](https://forum.kirupa.com/u/jnerd)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 8:34am UTC](https://forum.kirupa.com/t/new-to-this-world/304900 "2010-02-16T08:34:25Z")

</div>

Hows Life ? Just come across this site from another site and now I hope that my time and my visit to this simple website will give some fruit to me and this will be really worth full visit.

---

## [Wait until frame is loaded?](https://forum.kirupa.com/t/wait-until-frame-is-loaded/304897)

<div class="topic-metadata">

**Author:** [@RollingSton3](https://forum.kirupa.com/u/RollingSton3)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 6:32am UTC](https://forum.kirupa.com/t/wait-until-frame-is-loaded/304897 "2010-02-16T06:32:41Z")

</div>

I have a textarea named "debug" on frame 2 that does not exist on frame 1 Using this code: function outputHello(){ debug.text="Hello"; } stop(); gotoAndStop(2); outputHello(); It sometimes (not all the time) fail…

---

## [Packaging HTML System For Embedding](https://forum.kirupa.com/t/packaging-html-system-for-embedding/304896)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 6:30am UTC](https://forum.kirupa.com/t/packaging-html-system-for-embedding/304896 "2010-02-16T06:30:19Z")

</div>

Greetings, I have created a calculator using HTML, CSS, and JavaScript, and I need to be able to provide this system as code that anyone can paste on their website to embed the calculator. Does anyone know how things…

---

## [Using Variables in AS3](https://forum.kirupa.com/t/using-variables-in-as3/304893)

<div class="topic-metadata">

**Author:** [@Chimeara](https://forum.kirupa.com/u/Chimeara)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 4:42am UTC](https://forum.kirupa.com/t/using-variables-in-as3/304893 "2010-02-16T04:42:25Z")

</div>

I am trying to have my timeline play from different frames, depending what frame it is currently on when the button is pressed. So Pressing the button 3 times will play: A-\>B B-\>A A-\>B But instead it plays A-\>B A-\>B …

---

## [Stupid and simple question about stage/root](https://forum.kirupa.com/t/stupid-and-simple-question-about-stage-root/304892)

<div class="topic-metadata">

**Author:** [@cry4dawn](https://forum.kirupa.com/u/cry4dawn)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 4:06am UTC](https://forum.kirupa.com/t/stupid-and-simple-question-about-stage-root/304892 "2010-02-16T04:06:27Z")

</div>

If I have a movieclip loaded with Loader and I want it to call back down to the movie that loaded it how do i do that? referencing a root object just gets me to the root of the child not to the main stage. Thanks

---

## [Why does this happen!?!](https://forum.kirupa.com/t/why-does-this-happen/304890)

<div class="topic-metadata">

**Author:** [@onejames](https://forum.kirupa.com/u/onejames)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 2:29am UTC](https://forum.kirupa.com/t/why-does-this-happen/304890 "2010-02-16T02:29:04Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]I have created several buttons on the stage that on "over" change to a movie symbol and rotate. At the same time there is text that appears to the left in a grey area. All works fine, until you…

---

## [Dynamically Naming/referring to Movieclips](https://forum.kirupa.com/t/dynamically-naming-referring-to-movieclips/304888)

<div class="topic-metadata">

**Author:** [@Kainevg](https://forum.kirupa.com/u/Kainevg)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 12:27am UTC](https://forum.kirupa.com/t/dynamically-naming-referring-to-movieclips/304888 "2010-02-16T00:27:20Z")

</div>

Hey, Sorry about the bad title ^.^ Not really sure what to call it.. What I am doing.. I am going to have a button that when you click on it it creates a movieclip and adds a certain child to it (In this case, its li…

---

## [Stopping, playing, getting info of an external .swf animation](https://forum.kirupa.com/t/stopping-playing-getting-info-of-an-external-swf-animation/304887)

<div class="topic-metadata">

**Author:** [@brunoja](https://forum.kirupa.com/u/brunoja)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 12:12am UTC](https://forum.kirupa.com/t/stopping-playing-getting-info-of-an-external-swf-animation/304887 "2010-02-16T00:12:32Z")

</div>

Hello! I have an external .swf lib that I load using Loader class. I can get the content of it (images, text) using: new (loader.contentLoaderInfo.applicationDomain.getDefinition(symbol) as Class)(); Then I use it …

---

## [Restart Flash movie from JavaScript?](https://forum.kirupa.com/t/restart-flash-movie-from-javascript/304885)

<div class="topic-metadata">

**Author:** [@bnardone](https://forum.kirupa.com/u/bnardone)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 11:21pm UTC](https://forum.kirupa.com/t/restart-flash-movie-from-javascript/304885 "2010-02-15T23:21:59Z")

</div>

Hi, (Apologies if this isn't the right forum to ask this in.) Is it possible to restart a Flash movie that has called a JS window, e.g. the movie calls the JS window, the user closes the JS window and it triggers the…

---

## [Text changes from trace() to TextField](https://forum.kirupa.com/t/text-changes-from-trace-to-textfield/304882)

<div class="topic-metadata">

**Author:** [@dalseide](https://forum.kirupa.com/u/dalseide)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 11:11pm UTC](https://forum.kirupa.com/t/text-changes-from-trace-to-textfield/304882 "2010-02-15T23:11:57Z")

</div>

I'm loading some text from an XML. If I use the trace() method, the output shows nordic letters (æøå), but when the text is shown on stage in a textfield, "ø" is shown correctly, but "å" becomes regular "a". • The font…

---

## [How do i get rid of the thin white border around my flash movie in FireFox](https://forum.kirupa.com/t/how-do-i-get-rid-of-the-thin-white-border-around-my-flash-movie-in-firefox/304876)

<div class="topic-metadata">

**Author:** [@cry4dawn](https://forum.kirupa.com/u/cry4dawn)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 9:37pm UTC](https://forum.kirupa.com/t/how-do-i-get-rid-of-the-thin-white-border-around-my-flash-movie-in-firefox/304876 "2010-02-15T21:37:31Z")

</div>

I am using swfobject.js to embed my flash movie in a page. It is a black movie on a black page and when I click on anything that focuses the movie a microthin line appears in FF but not IE. Anyone know how to make this…

---

## [Secure Checkout Woes in Flash, what can I do?](https://forum.kirupa.com/t/secure-checkout-woes-in-flash-what-can-i-do/304873)

<div class="topic-metadata">

**Author:** [@cry4dawn](https://forum.kirupa.com/u/cry4dawn)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 8:48pm UTC](https://forum.kirupa.com/t/secure-checkout-woes-in-flash-what-can-i-do/304873 "2010-02-15T20:48:19Z")

</div>

Hey everyone, I have been trying to promote a new web site written entirely in full browser flash. Nobody at all was comfortable with the idea of checking out inside of flash (even though its just as secure). So I went…

---

## [Creating an .swf animation without using flash CSX?](https://forum.kirupa.com/t/creating-an-swf-animation-without-using-flash-csx/304870)

<div class="topic-metadata">

**Author:** [@brunoja](https://forum.kirupa.com/u/brunoja)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 7:36pm UTC](https://forum.kirupa.com/t/creating-an-swf-animation-without-using-flash-csx/304870 "2010-02-15T19:36:20Z")

</div>

Hello! Is there any way to create an .swf animation without using flash CSX? Any free solution? Thank you!

---

## [Moving Flash content into MovieClip?](https://forum.kirupa.com/t/moving-flash-content-into-movieclip/304869)

<div class="topic-metadata">

**Author:** [@helious](https://forum.kirupa.com/u/helious)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 6:45pm UTC](https://forum.kirupa.com/t/moving-flash-content-into-movieclip/304869 "2010-02-15T18:45:36Z")

</div>

Im trying to get a Flash Guestbook to work, but i would like to place it somewhere else, than on the main stage. But all the layers, and actions are on the main stage of the GuestBook Fla. How do i move it all into a…

---

## [Autoformat Semicolon Issue](https://forum.kirupa.com/t/autoformat-semicolon-issue/304868)

<div class="topic-metadata">

**Author:** [@Alexbrainbox](https://forum.kirupa.com/u/Alexbrainbox)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 6:40pm UTC](https://forum.kirupa.com/t/autoformat-semicolon-issue/304868 "2010-02-15T18:40:55Z")

</div>

Hello there, My copy of Flash CS3 seems to have a problem with its Autoformatting. Whenever I press the button, it adds a semi-colon to the end of every single line (apart from the beginning of functions). Does anyone …

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

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