# programming

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

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

**Page:** 778

---

## [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…

---

## [\[as1 Flash8\] Movement](https://forum.kirupa.com/t/as1-flash8-movement/290790)

<div class="topic-metadata">

**Author:** [@marcelozep](https://forum.kirupa.com/u/marcelozep)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 4:34pm UTC](https://forum.kirupa.com/t/as1-flash8-movement/290790 "2009-06-19T16:34:48Z")

</div>

Hello. I have a black square in the middle of the stage named "m". This black square moves right and left, up and down, with a changeable speed, like, increasing speed -\>acceleration, and decreasing speed -\> deceleration…

---

## [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…

---

## [How to stop an external loading](https://forum.kirupa.com/t/how-to-stop-an-external-loading/290770)

<div class="topic-metadata">

**Author:** [@Mumble](https://forum.kirupa.com/u/Mumble)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 11:30am UTC](https://forum.kirupa.com/t/how-to-stop-an-external-loading/290770 "2009-06-19T11:30:13Z")

</div>

Greetings, I've tried browsing a lot everywhere but I could not find a solution to the following problem: I need to call loadSound() multiple times, to load different mp3s time to time, all of them in streaming. But …

---

## [Is there a way to detect 2 key presses at once?](https://forum.kirupa.com/t/is-there-a-way-to-detect-2-key-presses-at-once/290768)

<div class="topic-metadata">

**Author:** [@bear](https://forum.kirupa.com/u/bear)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 10:58am UTC](https://forum.kirupa.com/t/is-there-a-way-to-detect-2-key-presses-at-once/290768 "2009-06-19T10:58:51Z")

</div>

Hey guys, When I say two keyboard presses, I'm thinking about a situation where I would need to detect both. Not a shift this or alt that or control third. I'm talking about Down + A \*\*or \*\*5 + T. For instance: Ryu has…

---

## [Dynamically Adding Empty MCs to a Container](https://forum.kirupa.com/t/dynamically-adding-empty-mcs-to-a-container/290767)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 10:20am UTC](https://forum.kirupa.com/t/dynamically-adding-empty-mcs-to-a-container/290767 "2009-06-19T10:20:43Z")

</div>

Hi .. Rather than typing out each child to add to a container mc, I wish to use a for loop to do so. However, in AS2, when adding an instance of an object, I could specify a unique name based on the current number of the…

---

## [External text and variables](https://forum.kirupa.com/t/external-text-and-variables/290766)

<div class="topic-metadata">

**Author:** [@fuggedaboutit](https://forum.kirupa.com/u/fuggedaboutit)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 10:17am UTC](https://forum.kirupa.com/t/external-text-and-variables/290766 "2009-06-19T10:17:42Z")

</div>

Having trouble trying to re-use a page layout mulitple times in one site, but importing different parts of an external text file for each use. The site has various different page layout designs, which can easily be swapp…

---

## [What's the faster or better way?](https://forum.kirupa.com/t/whats-the-faster-or-better-way/290764)

<div class="topic-metadata">

**Author:** [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 9:40am UTC](https://forum.kirupa.com/t/whats-the-faster-or-better-way/290764 "2009-06-19T09:40:53Z")

</div>

Hey everyone, I wouldn't say I'm an expert in programming, but I know quite alot. I'm currently designing a database-like site, and I had a question regarding the speed or functionality of things. For every entry the…

---

## ['Random' question: bingo](https://forum.kirupa.com/t/random-question-bingo/290763)

<div class="topic-metadata">

**Author:** [@cantaloupe](https://forum.kirupa.com/u/cantaloupe)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 9:32am UTC](https://forum.kirupa.com/t/random-question-bingo/290763 "2009-06-19T09:32:58Z")

</div>

Hi, I'm trying to make a simple bingo script whereby all the numbers are on different frames of a movie and they are played randomly every 5 seconds. What would be the best way to do this and ensure that I don't get th…

---

## [Programmed Zoom](https://forum.kirupa.com/t/programmed-zoom/290762)

<div class="topic-metadata">

**Author:** [@magapatalogikaa](https://forum.kirupa.com/u/magapatalogikaa)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 9:24am UTC](https://forum.kirupa.com/t/programmed-zoom/290762 "2009-06-19T09:24:08Z")

</div>

I have to create an animation involving a big fast zoom with a little rotation and animating it on the timeline just doesn't cut it. I start with state 1 (see attached file state11.jpg) where there is an animation and …

---

## [\[fl8 as2\] using alpha with static text](https://forum.kirupa.com/t/fl8-as2-using-alpha-with-static-text/290756)

<div class="topic-metadata">

**Author:** [@proeliumfessus](https://forum.kirupa.com/u/proeliumfessus)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 6:13am UTC](https://forum.kirupa.com/t/fl8-as2-using-alpha-with-static-text/290756 "2009-06-19T06:13:05Z")

</div>

I converted a static text field to a mc then thirty frames later inserted a keyframe and droped the mc's alpha to zero.. then created a motion tween between the keyframes... yet for some reason the text isnt fading when …

---

## [Duplicating addEventListener functionality with a loop?](https://forum.kirupa.com/t/duplicating-addeventlistener-functionality-with-a-loop/290755)

<div class="topic-metadata">

**Author:** [@BadBadNeil](https://forum.kirupa.com/u/BadBadNeil)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 5:31am UTC](https://forum.kirupa.com/t/duplicating-addeventlistener-functionality-with-a-loop/290755 "2009-06-19T05:31:57Z")

</div>

Hello, I have 14 movie clips on the stage, each of which has it's own on and off mode and each goes to a separate URL. I would like to use loops to consolidate the code however I am having trouble with the handler. S…

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

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