# flash

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

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

**Page:** 585

---

## [Multiple rollout 'if' state options required](https://forum.kirupa.com/t/multiple-rollout-if-state-options-required/290846)

<div class="topic-metadata">

**Author:** [@sampad](https://forum.kirupa.com/u/sampad)\
**Replies:** 0\
**Last updated:** [June 20, 2009, 8:50pm UTC](https://forum.kirupa.com/t/multiple-rollout-if-state-options-required/290846 "2009-06-20T20:50:38Z")

</div>

I will try and clarify my overall problem - when the button loads a movie the rollover states of instances 'copy' and 'date' should relate to that movie. If you rollover another button - the rollover state should chang…

---

## [Why would a game run slow for one user but fast for another on same computer?](https://forum.kirupa.com/t/why-would-a-game-run-slow-for-one-user-but-fast-for-another-on-same-computer/290841)

<div class="topic-metadata">

**Author:** [@unthank](https://forum.kirupa.com/u/unthank)\
**Replies:** 0\
**Last updated:** [June 20, 2009, 5:21pm UTC](https://forum.kirupa.com/t/why-would-a-game-run-slow-for-one-user-but-fast-for-another-on-same-computer/290841 "2009-06-20T17:21:52Z")

</div>

Hi All, I'm working on a game that aims to teach kids stuff about microbes, hygiene and antibiotics. I had a test in a school last week and the game was running too slow to play. Each pupil was logged in as themselve…

---

## [Switch type of object](https://forum.kirupa.com/t/switch-type-of-object/290839)

<div class="topic-metadata">

**Author:** [@superpeppe](https://forum.kirupa.com/u/superpeppe)\
**Replies:** 0\
**Last updated:** [June 20, 2009, 3:23pm UTC](https://forum.kirupa.com/t/switch-type-of-object/290839 "2009-06-20T15:23:37Z")

</div>

Hi I want to find out which type an object has. Therefore I thought of the 'switch' statement, but how would you do that? The following code does not work, but you will get the point of what I want to do. switch (ob…

---

## [noScale MovieClip](https://forum.kirupa.com/t/noscale-movieclip/290836)

<div class="topic-metadata">

**Author:** [@euanc](https://forum.kirupa.com/u/euanc)\
**Replies:** 0\
**Last updated:** [June 20, 2009, 12:57pm UTC](https://forum.kirupa.com/t/noscale-movieclip/290836 "2009-06-20T12:57:24Z")

</div>

Is there a way to set the swf to scale apart from one MovieClip? I have a bitmap pattern which i dont want to change! thanks, euan

---

## [Arrays - playing mcs at random](https://forum.kirupa.com/t/arrays-playing-mcs-at-random/290834)

<div class="topic-metadata">

**Author:** [@cantaloupe](https://forum.kirupa.com/u/cantaloupe)\
**Replies:** 0\
**Last updated:** [June 20, 2009, 10:03am UTC](https://forum.kirupa.com/t/arrays-playing-mcs-at-random/290834 "2009-06-20T10:03:36Z")

</div>

Basically, I have 100 movieclips in my library, named mc1, mc2... and so on. When a button is pressed, I want these to play, one by one - but at random (and without repeating). Have been playing around with arrays for ho…

---

## [Loading and changing flv videos](https://forum.kirupa.com/t/loading-and-changing-flv-videos/290832)

<div class="topic-metadata">

**Author:** [@Archonius](https://forum.kirupa.com/u/Archonius)\
**Replies:** 0\
**Last updated:** [June 20, 2009, 9:12am UTC](https://forum.kirupa.com/t/loading-and-changing-flv-videos/290832 "2009-06-20T09:12:04Z")

</div>

I've made a class to set up a stream and load the flv using a string variable controlling the name and location of the flv file. package { import flash.display.Sprite; import flash.events.\*; import flash.m…

---

## [Tracing Arrays](https://forum.kirupa.com/t/tracing-arrays/290829)

<div class="topic-metadata">

**Author:** [@dilpreet](https://forum.kirupa.com/u/dilpreet)\
**Replies:** 0\
**Last updated:** [June 20, 2009, 6:28am UTC](https://forum.kirupa.com/t/tracing-arrays/290829 "2009-06-20T06:28:37Z")

</div>

Hey I have two arrays arrscore and arrname i push the percentage to arrscore when the person has finished the quiz and the name to arrname. when the quiz is done once and i trace both of the arrays it's fine but whe…

---

## [AS2 to AS3 (urgent)](https://forum.kirupa.com/t/as2-to-as3-urgent/290825)

<div class="topic-metadata">

**Author:** [@a7mad](https://forum.kirupa.com/u/a7mad)\
**Replies:** 0\
**Last updated:** [June 20, 2009, 3:32am UTC](https://forum.kirupa.com/t/as2-to-as3-urgent/290825 "2009-06-20T03:32:47Z")

</div>

Hi all, I'm new in As3 and my time is tight. could sombody convert this as2 code to as3? or may be somebody knows some good links/tut/...etc how to convert as2 to as3? I'll be very grateful for that. import mx.utils…

---

## [Detecting mouse outside stage](https://forum.kirupa.com/t/detecting-mouse-outside-stage/290821)

<div class="topic-metadata">

**Author:** [@Kirbyprime](https://forum.kirupa.com/u/Kirbyprime)\
**Replies:** 0\
**Last updated:** [June 20, 2009, 1:17am UTC](https://forum.kirupa.com/t/detecting-mouse-outside-stage/290821 "2009-06-20T01:17:00Z")

</div>

Was wondering if anyone knows how to solve this. I have a swf that needs to change states based on whether or not the mouse is hovering over the swf or if it's outside. I've tried doing things such as stage.addEventL…

---

## [Textfield backround color/highlight](https://forum.kirupa.com/t/textfield-backround-color-highlight/290817)

<div class="topic-metadata">

**Author:** [@JBETT](https://forum.kirupa.com/u/JBETT)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 10:27pm UTC](https://forum.kirupa.com/t/textfield-backround-color-highlight/290817 "2009-06-19T22:27:11Z")

</div>

ive been stuck for an hour on trying to apply a backround color to my dynamic textfield (highlight). is this possible?

---

## [Can't access Flash labels through XML?](https://forum.kirupa.com/t/cant-access-flash-labels-through-xml/290816)

<div class="topic-metadata">

**Author:** [@EdThaSt0rm](https://forum.kirupa.com/u/EdThaSt0rm)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 10:12pm UTC](https://forum.kirupa.com/t/cant-access-flash-labels-through-xml/290816 "2009-06-19T22:12:37Z")

</div>

Hello all! I’m working in Flash with a XML menu. The idea is: when you click on a button from the XML menu it should take me to a Label in Flash. I’m using the following CS3 code to call on the XML; //The path for…

---

## [Can I use arithmetic operators on objects?](https://forum.kirupa.com/t/can-i-use-arithmetic-operators-on-objects/290815)

<div class="topic-metadata">

**Author:** [@doak](https://forum.kirupa.com/u/doak)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 10:07pm UTC](https://forum.kirupa.com/t/can-i-use-arithmetic-operators-on-objects/290815 "2009-06-19T22:07:55Z")

</div>

Does anyone know if it's possible to add objects as a whole together using operators rather than breaking them apart or using object.method() format? Below is a simple example of what I would like. Want to do: var …

---

## [Simple ChangeDepths problem, but Hard for Me](https://forum.kirupa.com/t/simple-changedepths-problem-but-hard-for-me/290807)

<div class="topic-metadata">

**Author:** [@rooterman42](https://forum.kirupa.com/u/rooterman42)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 8:33pm UTC](https://forum.kirupa.com/t/simple-changedepths-problem-but-hard-for-me/290807 "2009-06-19T20:33:18Z")

</div>

Hi, I'm trying to apply a ChangeDepths() to a bunch movieclips that I've nested inside a main movieclip which I'm using as a mask. The ChangeDepths() function worked fine when the clips were not nested, but after I pla…

---

## [Actionscript 3 For A Simple Logo,](https://forum.kirupa.com/t/actionscript-3-for-a-simple-logo/290803)

<div class="topic-metadata">

**Author:** [@chrisdegrote](https://forum.kirupa.com/u/chrisdegrote)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 7:59pm UTC](https://forum.kirupa.com/t/actionscript-3-for-a-simple-logo/290803 "2009-06-19T19:59:01Z")

</div>

Hello people, for my site I've got a logo in flash. But I don't got enough knowledge of actionscript 3.0 to get it working properly. What I want is an eventlistener to go to my homepage when clicked on. http://www.ba…

---

## [SWF optimization - heavy graphics](https://forum.kirupa.com/t/swf-optimization-heavy-graphics/290801)

<div class="topic-metadata">

**Author:** [@BoppreH](https://forum.kirupa.com/u/BoppreH)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 7:25pm UTC](https://forum.kirupa.com/t/swf-optimization-heavy-graphics/290801 "2009-06-19T19:25:56Z")

</div>

I'm coding games that come with the graphics done. Unfortunately the designer has some bad practices, such as not using Sprite symbols - never. And the files have dozens (even hundreds) of symbols in the library, very …

---

## [Convert XML to Simple Object?](https://forum.kirupa.com/t/convert-xml-to-simple-object/290799)

<div class="topic-metadata">

**Author:** [@Chromag](https://forum.kirupa.com/u/Chromag)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 7:02pm UTC](https://forum.kirupa.com/t/convert-xml-to-simple-object/290799 "2009-06-19T19:02:24Z")

</div>

I'm new to AS3 (but not other programming languages) so pardon my ignorance. Is there a way to convert the XML object into a simple object? I'm parsing a string into XML and I realize that in itself is an object, but I…

---

## [Deselecting the "non" currentTarget](https://forum.kirupa.com/t/deselecting-the-non-currenttarget/290798)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 6:58pm UTC](https://forum.kirupa.com/t/deselecting-the-non-currenttarget/290798 "2009-06-19T18:58:10Z")

</div>

Hey All, I'm messing around with some code, and I have it set up so that when you click on a square, the alpha goes to .5. I'm trying to set it up so that if you click another square, that alpha goes to .5 and the ot…

---

## [Need as3 help](https://forum.kirupa.com/t/need-as3-help/290797)

<div class="topic-metadata">

**Author:** [@freshflashlearn](https://forum.kirupa.com/u/freshflashlearn)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 6:55pm UTC](https://forum.kirupa.com/t/need-as3-help/290797 "2009-06-19T18:55:35Z")

</div>

Hi iam new in programming and a beginner in as3 i want to creat a button with rollover effect using class can some one send this type of tutorial link or someone who know the script pls paste the script(MAINLY I WANT TO …

---

## ["Error #1006: value is not a function" with mysterious cause](https://forum.kirupa.com/t/error-1006-value-is-not-a-function-with-mysterious-cause/290791)

<div class="topic-metadata">

**Author:** [@BoppreH](https://forum.kirupa.com/u/BoppreH)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 4:52pm UTC](https://forum.kirupa.com/t/error-1006-value-is-not-a-function-with-mysterious-cause/290791 "2009-06-19T16:52:58Z")

</div>

This is the line throwing the error: trace((root as MovieClip), (root as MovieClip).manager, (root as MovieClip).manager.gotoAndFade) (root as MovieClip).manager.gotoAndFade() And this is the output: \[object MainT…

---

## [Using variables to control Flash movie](https://forum.kirupa.com/t/using-variables-to-control-flash-movie/290788)

<div class="topic-metadata">

**Author:** [@dplows](https://forum.kirupa.com/u/dplows)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 4:24pm UTC](https://forum.kirupa.com/t/using-variables-to-control-flash-movie/290788 "2009-06-19T16:24:31Z")

</div>

I've looked on the net for awhile but I'm pretty sure I have a unique situation, please bear with me: I have a home page that contains a Flash movie which auto-plays a lady speaking, then when she's done, it loops a sl…

---

## [Working with pdfs/viewers in AS3?](https://forum.kirupa.com/t/working-with-pdfs-viewers-in-as3/290787)

<div class="topic-metadata">

**Author:** [@madfatter](https://forum.kirupa.com/u/madfatter)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 4:22pm UTC](https://forum.kirupa.com/t/working-with-pdfs-viewers-in-as3/290787 "2009-06-19T16:22:16Z")

</div>

Hi, I have a client who wants to launch pdf's in a flash site. I've looked at the now unsupported FlashPaper and it or something like it would probably do the trick. I've tried loading the FlashPaper swf externall…

---

## [Need help passing form validation message](https://forum.kirupa.com/t/need-help-passing-form-validation-message/290785)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 4:14pm UTC](https://forum.kirupa.com/t/need-help-passing-form-validation-message/290785 "2009-06-19T16:14:32Z")

</div>

I have the following which produces a trace if the user does not type an email address when testing locally, but nothing when testing outside of Flash. //handle onValidation myForm.onValidate = function(infoObj:Object…

---

## [Passing variables to skip Flash movie](https://forum.kirupa.com/t/passing-variables-to-skip-flash-movie/290784)

<div class="topic-metadata">

**Author:** [@dplows](https://forum.kirupa.com/u/dplows)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 4:02pm UTC](https://forum.kirupa.com/t/passing-variables-to-skip-flash-movie/290784 "2009-06-19T16:02:48Z")

</div>

I've looked on the net for awhile but I'm pretty sure I have a unique situation, please bear with me: I have a home page that contains a Flash movie which auto-plays a lady speaking, then when she's done, it loops a sl…

---

## [Transition between External SWF's](https://forum.kirupa.com/t/transition-between-external-swfs/290782)

<div class="topic-metadata">

**Author:** [@lmaeda](https://forum.kirupa.com/u/lmaeda)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 2:58pm UTC](https://forum.kirupa.com/t/transition-between-external-swfs/290782 "2009-06-19T14:58:53Z")

</div>

I did the "Transition between External SWF's" tutorial and it was great - easy to follow and it worked! However I am having problem with one thing and I'm not sure if it's possible or not. I put a menu bar for my websi…

---

## [Drag and Drop Input text](https://forum.kirupa.com/t/drag-and-drop-input-text/290781)

<div class="topic-metadata">

**Author:** [@Blimp](https://forum.kirupa.com/u/Blimp)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 2:14pm UTC](https://forum.kirupa.com/t/drag-and-drop-input-text/290781 "2009-06-19T14:14:40Z")

</div>

Hey, for a project I need to be able drag around input text, and still be able to type in it. Being that I am flailing at flash right now, could someone write a mini tutorial thing please? Cheers ~ Blimp |D

---

## [Loading random SWF into MC](https://forum.kirupa.com/t/loading-random-swf-into-mc/290780)

<div class="topic-metadata">

**Author:** [@madmrshn](https://forum.kirupa.com/u/madmrshn)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 2:13pm UTC](https://forum.kirupa.com/t/loading-random-swf-into-mc/290780 "2009-06-19T14:13:35Z")

</div>

So I've spent an entire day trying to make my old AS2 file that loaded random swf's work with AS3 with no luck. Every time I think I've found the code to fix it, nothing works. The search here yields results for AS2, but…

---

## [Action script regarding mcs](https://forum.kirupa.com/t/action-script-regarding-mcs/290778)

<div class="topic-metadata">

**Author:** [@r3h0ld3r](https://forum.kirupa.com/u/r3h0ld3r)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 2:08pm UTC](https://forum.kirupa.com/t/action-script-regarding-mcs/290778 "2009-06-19T14:08:10Z")

</div>

Hello all, I have a button. On the OVER state I have a movie clip move to the left. However when you move the mouse off of the button it snaps back and doesn't look good. Is there a way to program it so that it will…

---

## [How do you have your library set up?](https://forum.kirupa.com/t/how-do-you-have-your-library-set-up/290777)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 1:48pm UTC](https://forum.kirupa.com/t/how-do-you-have-your-library-set-up/290777 "2009-06-19T13:48:56Z")

</div>

Okay, so I am mostly self taught on any programming knowledge that I have... about a year ago, I started learning Flash and went through several books to do so... The one thing that was never covered (that I read) was …

---

## [\[Question\] make the script run in every frame](https://forum.kirupa.com/t/question-make-the-script-run-in-every-frame/290776)

<div class="topic-metadata">

**Author:** [@udi001](https://forum.kirupa.com/u/udi001)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 1:41pm UTC](https://forum.kirupa.com/t/question-make-the-script-run-in-every-frame/290776 "2009-06-19T13:41:12Z")

</div>

Hello, I have 2 navigation buttons (next and previous) that navigates to the next and previous frames. acctually i have several buttons (differ by color) with the same instance name. i have to add eventListener every …

---

## [Water Fluid Effect](https://forum.kirupa.com/t/water-fluid-effect/290772)

<div class="topic-metadata">

**Author:** [@stevensunsunsun](https://forum.kirupa.com/u/stevensunsunsun)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 11:53am UTC](https://forum.kirupa.com/t/water-fluid-effect/290772 "2009-06-19T11:53:14Z")

</div>

Hi there... I'm a bit stuck looking for a tutorial for a water effect I'm trying to create. Has anyone made a simple random fluid water-effect in Flash, to be applied to one background image? There's plenty of ripple…

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

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