# flash

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

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

**Page:** 551

---

## [Placing items dynamically](https://forum.kirupa.com/t/placing-items-dynamically/293668)

<div class="topic-metadata">

**Author:** [@alpharaven](https://forum.kirupa.com/u/alpharaven)\
**Replies:** 0\
**Last updated:** [August 1, 2009, 5:28am UTC](https://forum.kirupa.com/t/placing-items-dynamically/293668 "2009-08-01T05:28:42Z")

</div>

I have a submenu that is being populated from an XML file. The problem that I am having is that some of the text is shorter than the rest therefore the buttons are over lapping one another or being placed far away from t…

---

## [Greybox/external interface call as3](https://forum.kirupa.com/t/greybox-external-interface-call-as3/293667)

<div class="topic-metadata">

**Author:** [@Ro\_Gee](https://forum.kirupa.com/u/Ro_Gee)\
**Replies:** 0\
**Last updated:** [August 1, 2009, 3:34am UTC](https://forum.kirupa.com/t/greybox-external-interface-call-as3/293667 "2009-08-01T03:34:50Z")

</div>

Hi Everyone, I am trying to open a greybox window from my flash movie. I am not getting a syntax error, but the window will not open when I click the button, either. Here is my actionScript 3 code: ActionScript Cod…

---

## [AS3 class to access external XML... help](https://forum.kirupa.com/t/as3-class-to-access-external-xml-help/293666)

<div class="topic-metadata">

**Author:** [@noverflow](https://forum.kirupa.com/u/noverflow)\
**Replies:** 0\
**Last updated:** [August 1, 2009, 2:54am UTC](https://forum.kirupa.com/t/as3-class-to-access-external-xml-help/293666 "2009-08-01T02:54:31Z")

</div>

So I have a class that reads from an external XML file, and it works great. (uses URLRequest and complete event listener) I have functions in it to read certain parts of the file. Im trying to create a new instance o…

---

## [New to AS3, does this class look correct?](https://forum.kirupa.com/t/new-to-as3-does-this-class-look-correct/293661)

<div class="topic-metadata">

**Author:** [@anakadote](https://forum.kirupa.com/u/anakadote)\
**Replies:** 0\
**Last updated:** [August 1, 2009, 12:59am UTC](https://forum.kirupa.com/t/new-to-as3-does-this-class-look-correct/293661 "2009-08-01T00:59:41Z")

</div>

I hope this isn't faux pas, but I'm making the transition from AS2 to AS3 and was wondering if I'm on the right track with this class. One question in particular I have is, I'm storing a reference (I think it's just a re…

---

## [Flash video issues, youtube issues](https://forum.kirupa.com/t/flash-video-issues-youtube-issues/293658)

<div class="topic-metadata">

**Author:** [@samsoner](https://forum.kirupa.com/u/samsoner)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 10:03pm UTC](https://forum.kirupa.com/t/flash-video-issues-youtube-issues/293658 "2009-07-31T22:03:07Z")

</div>

I'll look to see if there is a tutorial for this, but my question is: How do you integrate a Flash website with a video on your server OR a video that is externally linked on youtube? The idea is to create something …

---

## [computeSpectrum on Sound class?](https://forum.kirupa.com/t/computespectrum-on-sound-class/293654)

<div class="topic-metadata">

**Author:** [@cesig](https://forum.kirupa.com/u/cesig)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 9:14pm UTC](https://forum.kirupa.com/t/computespectrum-on-sound-class/293654 "2009-07-31T21:14:24Z")

</div>

I'm trying to do some beat detection on a sound, but I want other sounds playing at the same time, and I don't want those to be included in the beat detection. Is there anything like SoundMixer.computeSpectrum for indiv…

---

## [Fade out sound clip without a button](https://forum.kirupa.com/t/fade-out-sound-clip-without-a-button/293653)

<div class="topic-metadata">

**Author:** [@lorelei](https://forum.kirupa.com/u/lorelei)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 9:00pm UTC](https://forum.kirupa.com/t/fade-out-sound-clip-without-a-button/293653 "2009-07-31T21:00:22Z")

</div>

Hey, I have an animation with some sound attached to it from the library. I want to fade out the sound when the animation ends.. How do I do this? My code for starting the sound is: var music:Sound = new Sound(); mu…

---

## [startDrag & bounds problem](https://forum.kirupa.com/t/startdrag-bounds-problem/293650)

<div class="topic-metadata">

**Author:** [@regbolD](https://forum.kirupa.com/u/regbolD)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 8:23pm UTC](https://forum.kirupa.com/t/startdrag-bounds-problem/293650 "2009-07-31T20:23:36Z")

</div>

I have some movieClips on stage which are draggable and I \*\*dont \*\*want them to be draggable outside of a visible stage area. Problem is these movieClips are inside a sprite which is pannable and then for whatever reason…

---

## [PaperVision3D ViewportLayer problem](https://forum.kirupa.com/t/papervision3d-viewportlayer-problem/293639)

<div class="topic-metadata">

**Author:** [@pedro\_paulo](https://forum.kirupa.com/u/pedro_paulo)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 5:51pm UTC](https://forum.kirupa.com/t/papervision3d-viewportlayer-problem/293639 "2009-07-31T17:51:52Z")

</div>

Hi, everyone! I´m trying to separte two DisplayObjects 3D into ViewporLaers and controlling their "levels" on rendering. So I have two ViewportLayers: 1 - cardsHolder; and 2 - floorLayer. But floor layer is always ab…

---

## [\[Flash8/AS2\] Help Needed Regarding For Loops and Buttons](https://forum.kirupa.com/t/flash8-as2-help-needed-regarding-for-loops-and-buttons/293633)

<div class="topic-metadata">

**Author:** [@jimbobian](https://forum.kirupa.com/u/jimbobian)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 4:44pm UTC](https://forum.kirupa.com/t/flash8-as2-help-needed-regarding-for-loops-and-buttons/293633 "2009-07-31T16:44:15Z")

</div>

I have this code: for (z=0; z\<maxItems; z++) { \_root\["item\_"+z\].onRelease = function() { for (g=0; g\<maxItems; g++) { if (g != z) { \_root\["item\_"+g\].\_visible = false; …

---

## [How to past array via post request](https://forum.kirupa.com/t/how-to-past-array-via-post-request/293631)

<div class="topic-metadata">

**Author:** [@nighteagle](https://forum.kirupa.com/u/nighteagle)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 3:53pm UTC](https://forum.kirupa.com/t/how-to-past-array-via-post-request/293631 "2009-07-31T15:53:14Z")

</div>

When i crate flash mail list I past the variables via an object variables.name = formName; variables.mail = formMail; etc. but now I need to past an array and have no idea how to make this. Could someone help :huge…

---

## [What should this tell me?](https://forum.kirupa.com/t/what-should-this-tell-me/293630)

<div class="topic-metadata">

**Author:** [@dmennenoh](https://forum.kirupa.com/u/dmennenoh)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 3:08pm UTC](https://forum.kirupa.com/t/what-should-this-tell-me/293630 "2009-07-31T15:08:36Z")

</div>

I am getting an error and can't quite figure out what is going on - I have a player - Morris that uses an enter frame listener to move with the mouse. When I call remove - the listener is removed, stopping loop from bein…

---

## [Array Troubles](https://forum.kirupa.com/t/array-troubles/293627)

<div class="topic-metadata">

**Author:** [@Signy](https://forum.kirupa.com/u/Signy)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 2:27pm UTC](https://forum.kirupa.com/t/array-troubles/293627 "2009-07-31T14:27:31Z")

</div>

Hi all, I'll start by posting my code then explain what I want it to achieve. var chosenIngredient :String; var maxPreviewIngredients :Number; var previewIngredients :Array = \[\]; var ingredien…

---

## [UI ScrollBar Component](https://forum.kirupa.com/t/ui-scrollbar-component/293622)

<div class="topic-metadata">

**Author:** [@steresa](https://forum.kirupa.com/u/steresa)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 12:07pm UTC](https://forum.kirupa.com/t/ui-scrollbar-component/293622 "2009-07-31T12:07:58Z")

</div>

I have a dynamic text box on the stage with some text in it. The dynamic text box has an instance name of myText. I also have the UIScrollBar component on the stage. How do I get the scrollbar component to link up to the…

---

## [FLV publishing problems](https://forum.kirupa.com/t/flv-publishing-problems/293616)

<div class="topic-metadata">

**Author:** [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 9:59am UTC](https://forum.kirupa.com/t/flv-publishing-problems/293616 "2009-07-31T09:59:05Z")

</div>

Hi, I am doing a brief with requires FLV in the movie, I have successfully done this but when I test my movie from the server it does not link to the FLV file. I have checked the linkage and seems ok...is there any oth…

---

## [Scrolling Text behavior](https://forum.kirupa.com/t/scrolling-text-behavior/293613)

<div class="topic-metadata">

**Author:** [@General\_Tso](https://forum.kirupa.com/u/General_Tso)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 9:16am UTC](https://forum.kirupa.com/t/scrolling-text-behavior/293613 "2009-07-31T09:16:53Z")

</div>

I am trying to make a scrolling text box and bar similar to snickelfritz’s. His file can be found in his post here: I downloaded it, and it works. So for now, I simply copied his code exactly except I removed the condi…

---

## [Strikethrough property for a Sprite](https://forum.kirupa.com/t/strikethrough-property-for-a-sprite/293611)

<div class="topic-metadata">

**Author:** [@noobie123](https://forum.kirupa.com/u/noobie123)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 9:08am UTC](https://forum.kirupa.com/t/strikethrough-property-for-a-sprite/293611 "2009-07-31T09:08:14Z")

</div>

Is there an easy way in AS3 to strike-through a Sprite object. Since I want to do this on an array of squares, I was wondering if its possible to do this by simply setting a property. This would be much easier than drawi…

---

## [Multiple SWF load problem](https://forum.kirupa.com/t/multiple-swf-load-problem/293608)

<div class="topic-metadata">

**Author:** [@worthyashes](https://forum.kirupa.com/u/worthyashes)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 8:28am UTC](https://forum.kirupa.com/t/multiple-swf-load-problem/293608 "2009-07-31T08:28:24Z")

</div>

Hi, I've got a wierd one here. Basically I'm loading a bunch of SWFs at the same time. I'm using a custom class to do the loading. Most of the time they all load OK, however occasionally one or two will be unloaded (I …

---

## [Link XML (When using a sort sort list)?](https://forum.kirupa.com/t/link-xml-when-using-a-sort-sort-list/293605)

<div class="topic-metadata">

**Author:** [@Matt\_Blank](https://forum.kirupa.com/u/Matt_Blank)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 7:25am UTC](https://forum.kirupa.com/t/link-xml-when-using-a-sort-sort-list/293605 "2009-07-31T07:25:18Z")

</div>

Hi, I'm trying to use this script: http://www.kirupa.com/web/xml/examples/sortedgradeslist.htm It does what I want with regards to sorting, but what I would like is each 'student' to be a clickable link to somewher…

---

## [onLINE](https://forum.kirupa.com/t/online/293600)

<div class="topic-metadata">

**Author:** [@ron\_ron](https://forum.kirupa.com/u/ron_ron)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 6:20am UTC](https://forum.kirupa.com/t/online/293600 "2009-07-31T06:20:00Z")

</div>

I'm working on an online editing website. I'm wondering how to receive the image after the user edit it (change colours, add text) in to my email (as a PDF, JPEG, PNG,...??)? Is there a way apply an actionscript to a b…

---

## [Duplicating Mask and Setting it for Another Movie Clip at runtime](https://forum.kirupa.com/t/duplicating-mask-and-setting-it-for-another-movie-clip-at-runtime/293599)

<div class="topic-metadata">

**Author:** [@Neeraj](https://forum.kirupa.com/u/Neeraj)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 6:03am UTC](https://forum.kirupa.com/t/duplicating-mask-and-setting-it-for-another-movie-clip-at-runtime/293599 "2009-07-31T06:03:05Z")

</div>

got that solved.

---

## [gotoAndPlay not working, please help](https://forum.kirupa.com/t/gotoandplay-not-working-please-help/293593)

<div class="topic-metadata">

**Author:** [@lillies123](https://forum.kirupa.com/u/lillies123)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 4:15am UTC](https://forum.kirupa.com/t/gotoandplay-not-working-please-help/293593 "2009-07-31T04:15:55Z")

</div>

nm, got it working, pls delete thread

---

## [Dynamic Sound Generation - any tips/links](https://forum.kirupa.com/t/dynamic-sound-generation-any-tips-links/293591)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 3:41am UTC](https://forum.kirupa.com/t/dynamic-sound-generation-any-tips-links/293591 "2009-07-31T03:41:49Z")

</div>

Hi all - I've found a hand full of examples on dynamic sound utilizing the SampleDataEvent... however, I'm looking for any tips / info on wrangling that beast. I'm looking for anything beyond producing a simple pitch …

---

## [Flash PHP query string](https://forum.kirupa.com/t/flash-php-query-string/293590)

<div class="topic-metadata">

**Author:** [@dpollen](https://forum.kirupa.com/u/dpollen)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 3:25am UTC](https://forum.kirupa.com/t/flash-php-query-string/293590 "2009-07-31T03:25:18Z")

</div>

Hi guys I’m currently working on a flash combobox and text field passing data to php to display the input from flash. It require using query string method. I’m stuck on the query string code, anyone able to help? My a…

---

## [Expanding Button Help](https://forum.kirupa.com/t/expanding-button-help/293588)

<div class="topic-metadata">

**Author:** [@Arkhano](https://forum.kirupa.com/u/Arkhano)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 3:05am UTC](https://forum.kirupa.com/t/expanding-button-help/293588 "2009-07-31T03:05:28Z")

</div>

Hello, I'm very new to Flash and I want to create 4 buttons which when clicked on will expand into the URL that is assigned to them. For example if you click on a button it will expand, pushing the other buttons aside wi…

---

## [Need help creating simple component](https://forum.kirupa.com/t/need-help-creating-simple-component/293587)

<div class="topic-metadata">

**Author:** [@wmarcello](https://forum.kirupa.com/u/wmarcello)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 2:31am UTC](https://forum.kirupa.com/t/need-help-creating-simple-component/293587 "2009-07-31T02:31:08Z")

</div>

I’m trying to create a simple component that extends the MovieClip class. It’s just a basic component… no live preview, no extending UIComponent, etc. What is giving me problems is that I am trying to include a prebuil…

---

## [setTimeout / clearTimeout problem](https://forum.kirupa.com/t/settimeout-cleartimeout-problem/293585)

<div class="topic-metadata">

**Author:** [@mr\_hansen84](https://forum.kirupa.com/u/mr_hansen84)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 1:53am UTC](https://forum.kirupa.com/t/settimeout-cleartimeout-problem/293585 "2009-07-31T01:53:47Z")

</div>

Hey Lads, Im doing a banner rotation thing and im using tweens and setTimeout to rotate through the images. I want to add a back and a forward button so the user can flick through the images as he pleases. It all works…

---

## [CS4 error 1061: .....undefined method addEventListener](https://forum.kirupa.com/t/cs4-error-1061-undefined-method-addeventlistener/293584)

<div class="topic-metadata">

**Author:** [@celticfc16](https://forum.kirupa.com/u/celticfc16)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 1:17am UTC](https://forum.kirupa.com/t/cs4-error-1061-undefined-method-addeventlistener/293584 "2009-07-31T01:17:18Z")

</div>

I am new to CS4 and coding. When I test my movie it keeps going through my pics as a slide show. I just want the large pic to stay still and change when i click on my thumbnail size pics. What I noticed is that addEventL…

---

## [getBounds huh?](https://forum.kirupa.com/t/getbounds-huh/293580)

<div class="topic-metadata">

**Author:** [@tdq](https://forum.kirupa.com/u/tdq)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 12:30am UTC](https://forum.kirupa.com/t/getbounds-huh/293580 "2009-07-31T00:30:18Z")

</div>

Another newbie question. I've added a rectangle (testRect) movieclip to my stage. The rectangle is placed at 200,100 and is 100 pixels across and 50 pixels tall. The stage is 800x600. Here is my code var b:Rectangle = …

---

## [Questions on Drop Down Menus?](https://forum.kirupa.com/t/questions-on-drop-down-menus/293579)

<div class="topic-metadata">

**Author:** [@slowguy](https://forum.kirupa.com/u/slowguy)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 12:27am UTC](https://forum.kirupa.com/t/questions-on-drop-down-menus/293579 "2009-07-31T00:27:09Z")

</div>

umm yeah ive checked out websites for making drop down menus but im u kno... slow... anyways could somebody please explain how to make 1 or tell me how to put action script on a button? Id be really grateful. o yeah flas…

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

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