# flash

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

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

**Page:** 565

---

## [Two questions: Iterate object in an MC? Pass arguments to a function trough an Event?](https://forum.kirupa.com/t/two-questions-iterate-object-in-an-mc-pass-arguments-to-a-function-trough-an-event/292542)

<div class="topic-metadata">

**Author:** [@Veng](https://forum.kirupa.com/u/Veng)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 3:03pm UTC](https://forum.kirupa.com/t/two-questions-iterate-object-in-an-mc-pass-arguments-to-a-function-trough-an-event/292542 "2009-07-15T15:03:19Z")

</div>

In AS2 if I used: for (i in myMC:MovieClip) { trace(myMC\*); or trace(i); } i could get first the path of the other movieClips inside myMC and second just the name of the instance of the movieClips inside my MC. In AS…

---

## [Good custom tween class?](https://forum.kirupa.com/t/good-custom-tween-class/292536)

<div class="topic-metadata">

**Author:** [@CoDe\_ReD](https://forum.kirupa.com/u/CoDe_ReD)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 1:51pm UTC](https://forum.kirupa.com/t/good-custom-tween-class/292536 "2009-07-15T13:51:09Z")

</div>

Hi people, I'm working on a project right now that requires small bits and pieces of tweening. I've got complete freedom in the animation department, so I'm trying to come up with some tween effects that are both styli…

---

## [\_width not reading initially](https://forum.kirupa.com/t/-width-not-reading-initially/292535)

<div class="topic-metadata">

**Author:** [@davidb2002](https://forum.kirupa.com/u/davidb2002)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 1:21pm UTC](https://forum.kirupa.com/t/-width-not-reading-initially/292535 "2009-07-15T13:21:13Z")

</div>

Im modifying an xml slideshow code from: http://www.republicofcode.com/tutorials/flash/slideshow/6.php Because my images are going to be different sizes I am working on ceterning into a fixed stage. However, for some…

---

## [Flash not showing in folders HELP](https://forum.kirupa.com/t/flash-not-showing-in-folders-help/292530)

<div class="topic-metadata">

**Author:** [@putch](https://forum.kirupa.com/u/putch)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 12:01pm UTC](https://forum.kirupa.com/t/flash-not-showing-in-folders-help/292530 "2009-07-15T12:01:20Z")

</div>

I have a client who needs some work done to her site (note: I DID NOT design the site, just doing updates). She wants to password protect a some files, so when I threw them into a folder, I lost the flash. See below. n…

---

## [Create a Font Menu](https://forum.kirupa.com/t/create-a-font-menu/292528)

<div class="topic-metadata">

**Author:** [@ron\_ron](https://forum.kirupa.com/u/ron_ron)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 11:31am UTC](https://forum.kirupa.com/t/create-a-font-menu/292528 "2009-07-15T11:31:32Z")

</div>

It's a Submit Form (name, age, etc...) If I have 4 font types embeded (eg. Arial / Varadana / Comic Sans / Eras) how can I create a drop down list of the fonts where anyone could select - change (runtime) the FONT TYPE…

---

## [It's a Submit Form](https://forum.kirupa.com/t/its-a-submit-form/292526)

<div class="topic-metadata">

**Author:** [@ron\_ron](https://forum.kirupa.com/u/ron_ron)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 11:19am UTC](https://forum.kirupa.com/t/its-a-submit-form/292526 "2009-07-15T11:19:34Z")

</div>

It's a Submit Form (name, age, etc...) If I have 4 font types embeded (eg. Arial / Varadana / Comic Sans / Eras) how can I create a drop down list of the fonts where anyone could select - change (runtime) the FONT TYPE…

---

## [Filter is using too much memory](https://forum.kirupa.com/t/filter-is-using-too-much-memory/292525)

<div class="topic-metadata">

**Author:** [@anonp](https://forum.kirupa.com/u/anonp)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 10:07am UTC](https://forum.kirupa.com/t/filter-is-using-too-much-memory/292525 "2009-07-15T10:07:54Z")

</div>

To achieve a zoom effect in our 2D flash game, we make the background of the game much bigger than the visible stage. This becomes a problem when the background is complex or when we apply a grayscale filter to the back…

---

## [Loading same pictures in 2 diferent movieclips](https://forum.kirupa.com/t/loading-same-pictures-in-2-diferent-movieclips/292519)

<div class="topic-metadata">

**Author:** [@katsoft](https://forum.kirupa.com/u/katsoft)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 6:42am UTC](https://forum.kirupa.com/t/loading-same-pictures-in-2-diferent-movieclips/292519 "2009-07-15T06:42:11Z")

</div>

Hi, I have to load same pictures from a xml into 2 diferent movieclips.... right now I loaded them 2 times from the xml .... how can I do this in as.3.0 ...something like duplicatemovieclip in as3.0. Thanks.

---

## [Rotate Circle With Mouse Movement](https://forum.kirupa.com/t/rotate-circle-with-mouse-movement/292516)

<div class="topic-metadata">

**Author:** [@abielmuren](https://forum.kirupa.com/u/abielmuren)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 5:40am UTC](https://forum.kirupa.com/t/rotate-circle-with-mouse-movement/292516 "2009-07-15T05:40:09Z")

</div>

\*\*Hi there!, I'm trying to make a dummy from a circular menu that reacts (rotate) to mouse movement, I uploaded a fla example, different colors, size, etc, but essentially the same in function; but for now I'm freezed…

---

## [Can someone help me optimize this random composition art piece?](https://forum.kirupa.com/t/can-someone-help-me-optimize-this-random-composition-art-piece/292514)

<div class="topic-metadata">

**Author:** [@gl0tch](https://forum.kirupa.com/u/gl0tch)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 4:47am UTC](https://forum.kirupa.com/t/can-someone-help-me-optimize-this-random-composition-art-piece/292514 "2009-07-15T04:47:38Z")

</div>

Hi- I am graciously working with an Actionscript 2 random composition generator as shared by the wonderful designer "No Ponies". You can read about it \[\[U\]here\[/U\], download it \[URL="http://www.blog.noponies.com/wp-co…

---

## [SwapDepth and Delay - Stops working after mouse rollover (Flash 8)](https://forum.kirupa.com/t/swapdepth-and-delay-stops-working-after-mouse-rollover-flash-8/292508)

<div class="topic-metadata">

**Author:** [@Melza](https://forum.kirupa.com/u/Melza)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 3:21am UTC](https://forum.kirupa.com/t/swapdepth-and-delay-stops-working-after-mouse-rollover-flash-8/292508 "2009-07-15T03:21:16Z")

</div>

Hi, Am really hoping someone can help me - I am sooo close to finishing this project. I'm still learning Flash, so I hope I explain myself well enough. I have three buttons, each time you hover over a button an ima…

---

## [Include AS3 SWF into AS2 FLA](https://forum.kirupa.com/t/include-as3-swf-into-as2-fla/292500)

<div class="topic-metadata">

**Author:** [@artcoder](https://forum.kirupa.com/u/artcoder)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 11:52pm UTC](https://forum.kirupa.com/t/include-as3-swf-into-as2-fla/292500 "2009-07-14T23:52:07Z")

</div>

How can I include as SWF created with AS3 into the FLA of using AS2. I tried using loadMovie("myExternalMovie.swf"); but nothing happens.

---

## [Flash Error codes - Can't figure it out...!](https://forum.kirupa.com/t/flash-error-codes-cant-figure-it-out/292497)

<div class="topic-metadata">

**Author:** [@DH1234](https://forum.kirupa.com/u/DH1234)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 10:12pm UTC](https://forum.kirupa.com/t/flash-error-codes-cant-figure-it-out/292497 "2009-07-14T22:12:57Z")

</div>

Hello All - Thanks in advance for your responses. I am probably having one of those days, but here goes.. stop(); var placesXML:XML = \<Places\> \<place name= "pantemakassar"\> \<frame\>62\</frame\> \<Dat…

---

## [Importing External classes](https://forum.kirupa.com/t/importing-external-classes/292496)

<div class="topic-metadata">

**Author:** [@fantasticphil](https://forum.kirupa.com/u/fantasticphil)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 10:04pm UTC](https://forum.kirupa.com/t/importing-external-classes/292496 "2009-07-14T22:04:24Z")

</div>

Hello Can someone help clarify something for me? When I point my code to import an external classes such as: import flash.display.\*; my understanding is that its referencing something within the flash directory t…

---

## [Select all MCs by dragging the mouse?](https://forum.kirupa.com/t/select-all-mcs-by-dragging-the-mouse/292495)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 10:01pm UTC](https://forum.kirupa.com/t/select-all-mcs-by-dragging-the-mouse/292495 "2009-07-14T22:01:26Z")

</div>

OK, suppose I'm creating a little app that has a bunch of toy railroad pieces (movie clips) that I can move with the mouse and connect to build a railroad. I want to set it up so that, like Illustrator and Visio and ot…

---

## [Back and Forward button in flash 8](https://forum.kirupa.com/t/back-and-forward-button-in-flash-8/292494)

<div class="topic-metadata">

**Author:** [@sachinflash](https://forum.kirupa.com/u/sachinflash)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 9:58pm UTC](https://forum.kirupa.com/t/back-and-forward-button-in-flash-8/292494 "2009-07-14T21:58:46Z")

</div>

hi! I need help with creating a backward and forward button inside flash using Actionscript 2.0. The Back button needs to go to the last viewed \* frame inside a flash document, and the forward needs to go forward to the …

---

## [Adding Flash Music player to HTML?](https://forum.kirupa.com/t/adding-flash-music-player-to-html/292492)

<div class="topic-metadata">

**Author:** [@sarinalove](https://forum.kirupa.com/u/sarinalove)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 8:36pm UTC](https://forum.kirupa.com/t/adding-flash-music-player-to-html/292492 "2009-07-14T20:36:59Z")

</div>

I currently have an HTML website but would love to add some music. The specific type of music player I want looks a lot like this: http://www.christinefarah.com/index2.php It seems that it is flash based. Does some…

---

## [Need as3 Blur Filter help](https://forum.kirupa.com/t/need-as3-blur-filter-help/292489)

<div class="topic-metadata">

**Author:** [@freshflashlearn](https://forum.kirupa.com/u/freshflashlearn)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 8:05pm UTC](https://forum.kirupa.com/t/need-as3-blur-filter-help/292489 "2009-07-14T20:05:28Z")

</div>

how i can initialize the Blur Filter value in as3 pls help

---

## [Creating a swf with byteArray](https://forum.kirupa.com/t/creating-a-swf-with-bytearray/292484)

<div class="topic-metadata">

**Author:** [@fathed](https://forum.kirupa.com/u/fathed)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 6:49pm UTC](https://forum.kirupa.com/t/creating-a-swf-with-bytearray/292484 "2009-07-14T18:49:16Z")

</div>

I am trying to create a new swf with AIR and Flash CS3. All I want to do is push a button and have a new swf saved to the desktop with a line of actionscript in it. The actionscript can be anything – stop(); - for instan…

---

## [Problems figuring out random flv player](https://forum.kirupa.com/t/problems-figuring-out-random-flv-player/292481)

<div class="topic-metadata">

**Author:** [@mistyneyens](https://forum.kirupa.com/u/mistyneyens)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 6:27pm UTC](https://forum.kirupa.com/t/problems-figuring-out-random-flv-player/292481 "2009-07-14T18:27:01Z")

</div>

I am still kind of a noob with AS3. Any idea how I could incorporate an array into the following simple player which would pull a random file from a separate folder after the user's chosen video has played?: stop(); f…

---

## [Exporting classes on a later frame: breaks all nested timelines?](https://forum.kirupa.com/t/exporting-classes-on-a-later-frame-breaks-all-nested-timelines/292479)

<div class="topic-metadata">

**Author:** [@cstadler](https://forum.kirupa.com/u/cstadler)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 6:22pm UTC](https://forum.kirupa.com/t/exporting-classes-on-a-later-frame-breaks-all-nested-timelines/292479 "2009-07-14T18:22:18Z")

</div>

Goal: I have a large flash app (\> 100k) w/ its own looping preloader animation in the first frame. This preloader should happily spin while the app loads. (For various important reasons, I can't use a separate SWF to l…

---

## [How to replace this numbers for variables?](https://forum.kirupa.com/t/how-to-replace-this-numbers-for-variables/292477)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 5:34pm UTC](https://forum.kirupa.com/t/how-to-replace-this-numbers-for-variables/292477 "2009-07-14T17:34:03Z")

</div>

Hi there... Trying to replace the number on the following call with a variable... How could i do it? Have to remove 144 of them... rather do a loop for it than do it one by one... \_root.mc\_movies\_area.mc\_area\_54.mc\_54…

---

## [Test Preloader](https://forum.kirupa.com/t/test-preloader/292473)

<div class="topic-metadata">

**Author:** [@micky\_](https://forum.kirupa.com/u/micky_)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 4:42pm UTC](https://forum.kirupa.com/t/test-preloader/292473 "2009-07-14T16:42:55Z")

</div>

Hi, I have created web site with AS3 using Flashdevelop, but I can not test the preloader. Whole SWF file is not big (about 100K) so when I run it everything is loaded instantly and I can't see if preloader is actually…

---

## [Child Index](https://forum.kirupa.com/t/child-index/292472)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 4:14pm UTC](https://forum.kirupa.com/t/child-index/292472 "2009-07-14T16:14:25Z")

</div>

Hi I have this swf file http://www.qwerty-design.co.uk/bensons/forum.html This will eventually be loads of these pins. I'm using the Pin head as a hit area to start the simple rollover animation. I just want the t…

---

## [Need help connecting to PHP](https://forum.kirupa.com/t/need-help-connecting-to-php/292471)

<div class="topic-metadata">

**Author:** [@Sketchbookshark](https://forum.kirupa.com/u/Sketchbookshark)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 4:00pm UTC](https://forum.kirupa.com/t/need-help-connecting-to-php/292471 "2009-07-14T16:00:53Z")

</div>

Hi everyone, Iam using CS4, AS3.0. And I am trying to connect my swf to PHP with not much luck. Instead of receiving what is in the print command I get the whole php-document back. It seems PHP is not executing at all.…

---

## [Resize a BitmapData object maintaining transparency straight from loaderInfo](https://forum.kirupa.com/t/resize-a-bitmapdata-object-maintaining-transparency-straight-from-loaderinfo/292470)

<div class="topic-metadata">

**Author:** [@abrandao](https://forum.kirupa.com/u/abrandao)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 3:56pm UTC](https://forum.kirupa.com/t/resize-a-bitmapdata-object-maintaining-transparency-straight-from-loaderinfo/292470 "2009-07-14T15:56:59Z")

</div>

How to resize a BitmapData ? I've got this right after loading an image: var bitmapdata1:BitmapData = Bitmap(\_bitmaploader.contentLoaderInfo.content).bitmapData; I want to create a new BitmapData called "temp": v…

---

## [Conditional Statements with Keyboard Events](https://forum.kirupa.com/t/conditional-statements-with-keyboard-events/292469)

<div class="topic-metadata">

**Author:** [@sanaali](https://forum.kirupa.com/u/sanaali)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 3:54pm UTC](https://forum.kirupa.com/t/conditional-statements-with-keyboard-events/292469 "2009-07-14T15:54:20Z")

</div>

I'm trying to load and unload UI Component based on the using pressing UP. When they press the UP key i want the UI component to load a specific image. When they press it again I want the image to be unloaded. And if the…

---

## [AS3 slot machine](https://forum.kirupa.com/t/as3-slot-machine/292468)

<div class="topic-metadata">

**Author:** [@webguync](https://forum.kirupa.com/u/webguync)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 3:26pm UTC](https://forum.kirupa.com/t/as3-slot-machine/292468 "2009-07-14T15:26:27Z")

</div>

has anyone created a slot machine application and if so can share some of how to do it or point me to a tutorial online? Preferably using AS 3.0. I basically just need something where you click a button and get 3 random …

---

## [Document classes and library instances](https://forum.kirupa.com/t/document-classes-and-library-instances/292467)

<div class="topic-metadata">

**Author:** [@Stratboy](https://forum.kirupa.com/u/Stratboy)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 3:06pm UTC](https://forum.kirupa.com/t/document-classes-and-library-instances/292467 "2009-07-14T15:06:31Z")

</div>

Hi! I've got a BIG problem, hope someone can help me \[frowning\] I've got a Main Document class, that loads external swf each with its own document class (they are pages and pieces of the site). The Main class makes u…

---

## [Noob here - Import website page into flash](https://forum.kirupa.com/t/noob-here-import-website-page-into-flash/292460)

<div class="topic-metadata">

**Author:** [@zm15](https://forum.kirupa.com/u/zm15)\
**Replies:** 0\
**Last updated:** [July 14, 2009, 1:45pm UTC](https://forum.kirupa.com/t/noob-here-import-website-page-into-flash/292460 "2009-07-14T13:45:52Z")

</div>

This is what i am trying to do. I want to insert a webpage inside of a predefined space in flash. Kind of like an iframe in html. Here is where i want the webpage to appear: \[image\] How can i define the area where the w…

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

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