# flash

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

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

**Page:** 539

---

## [How do I play to a certain frame, stop then gotoandstop](https://forum.kirupa.com/t/how-do-i-play-to-a-certain-frame-stop-then-gotoandstop/294559)

<div class="topic-metadata">

**Author:** [@flashman2](https://forum.kirupa.com/u/flashman2)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 6:08pm UTC](https://forum.kirupa.com/t/how-do-i-play-to-a-certain-frame-stop-then-gotoandstop/294559 "2009-08-16T18:08:13Z")

</div>

hello it's an easy problem i can't seem to solve, i'm using AS.2.0 i need to gotoAndPlay then gotoFrame and stop at frame EXAMPLE: gotoAndplay from frame 2 then when it reaches frame 10, i want it to go to the Pare…

---

## [Please Help a newbie (about loading images in to movieclip array)](https://forum.kirupa.com/t/please-help-a-newbie-about-loading-images-in-to-movieclip-array/294557)

<div class="topic-metadata">

**Author:** [@bahy](https://forum.kirupa.com/u/bahy)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 4:11pm UTC](https://forum.kirupa.com/t/please-help-a-newbie-about-loading-images-in-to-movieclip-array/294557 "2009-08-16T16:11:24Z")

</div>

This is a project for studying, and I am close to the end but now i am having no solution for doing this. I read the image gallery from a xml file. then add the thumbnail images of the gallery into a moviclips I call…

---

## [Instance name of dynamically added MCs?](https://forum.kirupa.com/t/instance-name-of-dynamically-added-mcs/294556)

<div class="topic-metadata">

**Author:** [@fjckls](https://forum.kirupa.com/u/fjckls)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 2:46pm UTC](https://forum.kirupa.com/t/instance-name-of-dynamically-added-mcs/294556 "2009-08-16T14:46:22Z")

</div>

here is my code: var sp:Sprite = new Sprite(); sp.x = sp.y = 40; addChild(sp); for (var i:int = 0; i \< 5; i++){ var btn:MovieClip = new Button(); btn.name = "btn" + i; btn.x = 0; btn.y = i\* (btn.height + 3); btn.…

---

## [Flex for ActionScript 3.0 problem](https://forum.kirupa.com/t/flex-for-actionscript-3-0-problem/294550)

<div class="topic-metadata">

**Author:** [@renton79](https://forum.kirupa.com/u/renton79)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 11:38am UTC](https://forum.kirupa.com/t/flex-for-actionscript-3-0-problem/294550 "2009-08-16T11:38:24Z")

</div>

Sorry for this stupid question but I have a little problem I have installed yesterday Flex Builder 3 trial and when working in AS project, I couldn't use such simple import as flash.geom.Matrix3D (Matrix is in there), do…

---

## [addEventListener to what exactly?](https://forum.kirupa.com/t/addeventlistener-to-what-exactly/294547)

<div class="topic-metadata">

**Author:** [@lope](https://forum.kirupa.com/u/lope)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 9:53am UTC](https://forum.kirupa.com/t/addeventlistener-to-what-exactly/294547 "2009-08-16T09:53:38Z")

</div>

i want to affect childMC movieClip, but any of these will give me the same rezults, or at least i think \[smiley\] addEventListener(Event.ENTER\_FRAME, onEFrame); stage.addEventListener(Event.ENTER\_FRAME, onEFrame); paren…

---

## [Advice about working on Open Source files](https://forum.kirupa.com/t/advice-about-working-on-open-source-files/294543)

<div class="topic-metadata">

**Author:** [@gloopy](https://forum.kirupa.com/u/gloopy)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 6:24am UTC](https://forum.kirupa.com/t/advice-about-working-on-open-source-files/294543 "2009-08-16T06:24:48Z")

</div>

Sorry if this post is in the wrong forum. I'm trying to learn more about flash, and have found a couple of useful sites. However, I'm having trouble working out how to use their source files, and wondered if anyone h…

---

## [Help on 3D Walkthrough](https://forum.kirupa.com/t/help-on-3d-walkthrough/294542)

<div class="topic-metadata">

**Author:** [@edbtzy](https://forum.kirupa.com/u/edbtzy)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 2:45am UTC](https://forum.kirupa.com/t/help-on-3d-walkthrough/294542 "2009-08-16T02:45:38Z")

</div>

Im not NEW to flash but i know what im doing... I am trying to create a 3D walkthrough (like a virtual walk through a house) using FLASH. I have multiple pictures that i inserted into the library which will be used for t…

---

## [Loading a pic into a movieclip](https://forum.kirupa.com/t/loading-a-pic-into-a-movieclip/294539)

<div class="topic-metadata">

**Author:** [@Joselito31](https://forum.kirupa.com/u/Joselito31)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 12:30am UTC](https://forum.kirupa.com/t/loading-a-pic-into-a-movieclip/294539 "2009-08-16T00:30:09Z")

</div>

Hi there, I need to load a image into a movieclip that occupies a certain width and height (it' s a resizable movieclip). How do achieve it? Thanks...

---

## [Crashes/errors/instability](https://forum.kirupa.com/t/crashes-errors-instability/294537)

<div class="topic-metadata">

**Author:** [@General\_Tso](https://forum.kirupa.com/u/General_Tso)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 12:18am UTC](https://forum.kirupa.com/t/crashes-errors-instability/294537 "2009-08-16T00:18:14Z")

</div>

I'm pretty new to Flash. I have slowly built up an .fla file to its current size of 44MB. It is in AS3 (CS4) and has numerous jpegs imported into it with animated masks over each. I am now experiencing multiple issues …

---

## [OnClip Event to timeline as](https://forum.kirupa.com/t/onclip-event-to-timeline-as/294536)

<div class="topic-metadata">

**Author:** [@firewheel](https://forum.kirupa.com/u/firewheel)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 12:13am UTC](https://forum.kirupa.com/t/onclip-event-to-timeline-as/294536 "2009-08-16T00:13:03Z")

</div>

I'm trying to have an animation occur on a timeline and not on Enter frame, so instead of it doing a continuous loop it just does the animation twice then stops. Currently this code is on the movie clip itself and I want…

---

## [Movieclips visible/invisible](https://forum.kirupa.com/t/movieclips-visible-invisible/294533)

<div class="topic-metadata">

**Author:** [@Centifolia](https://forum.kirupa.com/u/Centifolia)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 9:22pm UTC](https://forum.kirupa.com/t/movieclips-visible-invisible/294533 "2009-08-15T21:22:27Z")

</div>

HI - I'm pretty new to Flash and I could need some help. Here is what I want to do. I have a hand animation counting from 1-5. Next to each finger appears a word which acts as a button. As soon as I click on a button ano…

---

## [ComboBox prevents browser scrolling](https://forum.kirupa.com/t/combobox-prevents-browser-scrolling/294532)

<div class="topic-metadata">

**Author:** [@tsclan](https://forum.kirupa.com/u/tsclan)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 9:16pm UTC](https://forum.kirupa.com/t/combobox-prevents-browser-scrolling/294532 "2009-08-15T21:16:24Z")

</div>

Hi, I have noticed that whenever I include a combo box within my Flash project I can no longer use my mouse wheel to scroll the page when my mouse cursor is within the Flash. At the moment this only happens in Firefox.…

---

## [Buttons in Mc Not working](https://forum.kirupa.com/t/buttons-in-mc-not-working/294529)

<div class="topic-metadata">

**Author:** [@ThatsSavage](https://forum.kirupa.com/u/ThatsSavage)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 7:14pm UTC](https://forum.kirupa.com/t/buttons-in-mc-not-working/294529 "2009-08-15T19:14:16Z")

</div>

K so i started this flash site and made buttons that open little sliders underneath them that load subcategory's. the problem is i cant get the buttons on the little slider to load a external swf file in a loader on my f…

---

## [Passing Variable from Root Timeline into MC](https://forum.kirupa.com/t/passing-variable-from-root-timeline-into-mc/294524)

<div class="topic-metadata">

**Author:** [@jxmckenzie](https://forum.kirupa.com/u/jxmckenzie)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 3:44pm UTC](https://forum.kirupa.com/t/passing-variable-from-root-timeline-into-mc/294524 "2009-08-15T15:44:55Z")

</div>

I'm guessing this is pretty simple, I just can't find the solution through my google searches. Bascially I created a variable and gave it a value in the first frame of my main timeline. Now I just want to pass that v…

---

## [THICK line-line intersection](https://forum.kirupa.com/t/thick-line-line-intersection/294520)

<div class="topic-metadata">

**Author:** [@BeerOclock](https://forum.kirupa.com/u/BeerOclock)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 2:06pm UTC](https://forum.kirupa.com/t/thick-line-line-intersection/294520 "2009-08-15T14:06:23Z")

</div>

Finding the intersection point of 2 line segments is easy enough. But now I need to test wether a line with thickness intersects another (non-thick) line. My idea is to actually perform 2 tests, one at the top and b…

---

## [Dynamic text not seen in some users' computers](https://forum.kirupa.com/t/dynamic-text-not-seen-in-some-users-computers/294515)

<div class="topic-metadata">

**Author:** [@Dimitree](https://forum.kirupa.com/u/Dimitree)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 10:55am UTC](https://forum.kirupa.com/t/dynamic-text-not-seen-in-some-users-computers/294515 "2009-08-15T10:55:22Z")

</div>

I ve made this website http://www.nicodesign.dk as part of a college assignement. There is a menu navigation on the bottom of the page (portfolio, events, etc.) built from an external XML file. The fact is I get complain…

---

## [XML and dynamically creating buttons](https://forum.kirupa.com/t/xml-and-dynamically-creating-buttons/294514)

<div class="topic-metadata">

**Author:** [@samm](https://forum.kirupa.com/u/samm)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 10:44am UTC](https://forum.kirupa.com/t/xml-and-dynamically-creating-buttons/294514 "2009-08-15T10:44:09Z")

</div>

First of all, I'm sorry if this has been answered in part or in whole elsewhere - I've been looking and I can't find anything directly related. So I have this loop generating buttons based upon how many entries there …

---

## [Adding text infront of loaded .txt file](https://forum.kirupa.com/t/adding-text-infront-of-loaded-txt-file/294513)

<div class="topic-metadata">

**Author:** [@Bq86](https://forum.kirupa.com/u/Bq86)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 10:26am UTC](https://forum.kirupa.com/t/adding-text-infront-of-loaded-txt-file/294513 "2009-08-15T10:26:40Z")

</div>

Hi, I want to load a txt/dat file into flash - the file looks like this: \<p\>testujemyTRESC\</p\> Now, loading this text by loadText i need it to begin with “n=”. Is it possible to add for example “n=” in front of the t…

---

## [MP3 looping help](https://forum.kirupa.com/t/mp3-looping-help/294511)

<div class="topic-metadata">

**Author:** [@Ravyn](https://forum.kirupa.com/u/Ravyn)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 8:48am UTC](https://forum.kirupa.com/t/mp3-looping-help/294511 "2009-08-15T08:48:15Z")

</div>

I used to have a single MP3 that would continuously loop on my website with the following actionscript: x = new Sound(); x.loadSound("WITHOUT INST.mp3", true); x.onSoundComplete = function() { x.loadSound("WITHOUT…

---

## [Flash 8: Loading swf into swf](https://forum.kirupa.com/t/flash-8-loading-swf-into-swf/294503)

<div class="topic-metadata">

**Author:** [@newtome](https://forum.kirupa.com/u/newtome)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 4:59am UTC](https://forum.kirupa.com/t/flash-8-loading-swf-into-swf/294503 "2009-08-15T04:59:08Z")

</div>

The loading works fine but some of the resulting behavior is curious. level 0 - login.swf level 1 - menu level 2 - transactionA Menu consists of buttons which launch load swf's (transaction screens). If I launch tr…

---

## [Gun rotation according to mouse](https://forum.kirupa.com/t/gun-rotation-according-to-mouse/294502)

<div class="topic-metadata">

**Author:** [@dilpreet](https://forum.kirupa.com/u/dilpreet)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 4:26am UTC](https://forum.kirupa.com/t/gun-rotation-according-to-mouse/294502 "2009-08-15T04:26:47Z")

</div>

Hey I have done the rotation bit, but now i want to limit the rotation but i can't do it this is my code - stage.addEventListener(Event.ENTER\_FRAME, moveArm) function moveArm(e:Event):void { //Grab the angle var a…

---

## [How can I make this calculation in actionscript 3.0](https://forum.kirupa.com/t/how-can-i-make-this-calculation-in-actionscript-3-0/294501)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 3:02am UTC](https://forum.kirupa.com/t/how-can-i-make-this-calculation-in-actionscript-3-0/294501 "2009-08-15T03:02:46Z")

</div>

Hi, I have a question that honestly I cannot figure out without any help. What I want to create is a calculator, which is going to calculate how many times “B” can fit into object “A” and as you can see in the illustr…

---

## [Matrix3D and Vertex3D](https://forum.kirupa.com/t/matrix3d-and-vertex3d/294496)

<div class="topic-metadata">

**Author:** [@renton79](https://forum.kirupa.com/u/renton79)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 11:56pm UTC](https://forum.kirupa.com/t/matrix3d-and-vertex3d/294496 "2009-08-14T23:56:39Z")

</div>

\[FONT=Courier New\]Hi Guys, I have a question about Matrix3D and Vertex3D classes. I want to rotate each of this 3 points around center (0, 0, 0): v1 = \*\*\[COLOR=Blue\]vertex3D\[/COLOR\]\*\*(-100, 0, 0) v2 = \*\*\[C…

---

## [Noob here - Mouse Down](https://forum.kirupa.com/t/noob-here-mouse-down/294490)

<div class="topic-metadata">

**Author:** [@zm15](https://forum.kirupa.com/u/zm15)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 8:23pm UTC](https://forum.kirupa.com/t/noob-here-mouse-down/294490 "2009-08-14T20:23:39Z")

</div>

I am trying to use a "if else" statement, and i am missing something. I want the movieclip to be transparent when the mouse is clicked on it. Here is my code i have: box.stop(); box.buttonMode=true; box.addEventLi…

---

## [Bitmaps Disappearing - $50 Reward](https://forum.kirupa.com/t/bitmaps-disappearing-50-reward/294488)

<div class="topic-metadata">

**Author:** [@zylum](https://forum.kirupa.com/u/zylum)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 7:22pm UTC](https://forum.kirupa.com/t/bitmaps-disappearing-50-reward/294488 "2009-08-14T19:22:20Z")

</div>

Hi there, This thing has been bugging me forever. I have a drawing application where you can sketch stuff and draw various shapes. In order for the lines to be drawn properly with alpha, I had to use bitmaps (so at the…

---

## [Need help for resizable movieclip](https://forum.kirupa.com/t/need-help-for-resizable-movieclip/294484)

<div class="topic-metadata">

**Author:** [@Joselito31](https://forum.kirupa.com/u/Joselito31)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 5:56pm UTC](https://forum.kirupa.com/t/need-help-for-resizable-movieclip/294484 "2009-08-14T17:56:29Z")

</div>

Hi, please, could someone help me? I need to divide my stage into 2 movieclip. One movieclip, the upper one, will occupied ¾ of the whole screen, and the other one, the down one, will occupied the rest of screen. The…

---

## [Removing Images from Memory in a loop](https://forum.kirupa.com/t/removing-images-from-memory-in-a-loop/294482)

<div class="topic-metadata">

**Author:** [@melacroso](https://forum.kirupa.com/u/melacroso)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 4:29pm UTC](https://forum.kirupa.com/t/removing-images-from-memory-in-a-loop/294482 "2009-08-14T16:29:21Z")

</div>

Hiya everybody. Friday eve nightmare hehe. I've made a script which loads in, at intervals, images in a sequence (image1.jpg, image2.jpg,..... ). However I've being doing my nut as to how to remove the preceeding image…

---

## [Replacing Remote XML with Local](https://forum.kirupa.com/t/replacing-remote-xml-with-local/294478)

<div class="topic-metadata">

**Author:** [@mcwazza](https://forum.kirupa.com/u/mcwazza)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 3:37pm UTC](https://forum.kirupa.com/t/replacing-remote-xml-with-local/294478 "2009-08-14T15:37:56Z")

</div>

In my html, I have var frank = "http://www.deloitte.com/deloitte-ecm-cm-dpm-web/getflash?queryParams=view=dhome/cid=4030faec731c1210VgnVCM100000ba42f00aRCRD"; flashvars.john = frank; and relating to this in m…

---

## [buttonLoopScript problem](https://forum.kirupa.com/t/buttonloopscript-problem/294475)

<div class="topic-metadata">

**Author:** [@chrisribar](https://forum.kirupa.com/u/chrisribar)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 3:26pm UTC](https://forum.kirupa.com/t/buttonloopscript-problem/294475 "2009-08-14T15:26:25Z")

</div>

Attached is my .fla file for flash cs3. What I want to happen is for the first button to automatically become activated and play the PageIn0 clip upon playing. Can anyone help me out? Thanks! CODE: currentButton = nu…

---

## [as2 - disable keydown function](https://forum.kirupa.com/t/as2-disable-keydown-function/294473)

<div class="topic-metadata">

**Author:** [@danny\_brooks](https://forum.kirupa.com/u/danny_brooks)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 2:21pm UTC](https://forum.kirupa.com/t/as2-disable-keydown-function/294473 "2009-08-14T14:21:34Z")

</div>

is there a way to disable the left arrow key for a certain part of a movie. i have the follow code to make it work but need the code to disable it. //listen for keypress var myListener:Object = new Object(); myListen…

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

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