# flash

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

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

**Page:** 342

---

## [Spacing depending on text width of dynamically generated buttons help!](https://forum.kirupa.com/t/spacing-depending-on-text-width-of-dynamically-generated-buttons-help/309291)

<div class="topic-metadata">

**Author:** [@alejandroy](https://forum.kirupa.com/u/alejandroy)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 4:54pm UTC](https://forum.kirupa.com/t/spacing-depending-on-text-width-of-dynamically-generated-buttons-help/309291 "2010-05-11T16:54:14Z")

</div>

I have the following AS2 code which creates dynamic buttons based on an array: var labels\_array:Array = new Array({label\_txt:"\>\> arquitectura industrial", gotoX:"partners"}, {label\_txt:"\>\> edificación", gotoX:"team"})…

---

## [Flash Menu, HTML content, and Z-index](https://forum.kirupa.com/t/flash-menu-html-content-and-z-index/309288)

<div class="topic-metadata">

**Author:** [@jtyson859](https://forum.kirupa.com/u/jtyson859)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 3:40pm UTC](https://forum.kirupa.com/t/flash-menu-html-content-and-z-index/309288 "2010-05-11T15:40:36Z")

</div>

I have a flash menu that needs to overlap HTML content. I have already done this by using a negative margin on the HTML content and setting the flash menu to transparent. The problem is all the HTML links that are 'un…

---

## [Flash refuses to publish swc](https://forum.kirupa.com/t/flash-refuses-to-publish-swc/309281)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 1:40pm UTC](https://forum.kirupa.com/t/flash-refuses-to-publish-swc/309281 "2010-05-11T13:40:42Z")

</div>

Both my cs3 and cs4 refuses to publish an SWC although I have checked the "publish swc"-box, and i get no thrown errors or anything. It publishes everything else just fine, any ideas what might cause this (both cs3 and…

---

## [Dynamic xml based grid gallery - Interesting captions problem](https://forum.kirupa.com/t/dynamic-xml-based-grid-gallery-interesting-captions-problem/309279)

<div class="topic-metadata">

**Author:** [@phatmambo](https://forum.kirupa.com/u/phatmambo)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 1:13pm UTC](https://forum.kirupa.com/t/dynamic-xml-based-grid-gallery-interesting-captions-problem/309279 "2010-05-11T13:13:44Z")

</div>

I have a store style website that uses a grid format gallery to display a grid of thumbnail products which can then be clicked. http://www.ruxx.co.uk/test I have created xml captions that sit ontop of each thumbnail …

---

## [Loading XML data into dynamic text field using a class](https://forum.kirupa.com/t/loading-xml-data-into-dynamic-text-field-using-a-class/309276)

<div class="topic-metadata">

**Author:** [@flashrocket](https://forum.kirupa.com/u/flashrocket)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 11:28am UTC](https://forum.kirupa.com/t/loading-xml-data-into-dynamic-text-field-using-a-class/309276 "2010-05-11T11:28:06Z")

</div>

Hi, I'm quite new to ActionScript and would be grateful for any help here. I want to load text into a dynamic text field (called 'about\_tab') using a class depending on the language selected (by clicking on a flag ic…

---

## [NetStream.time is not correct](https://forum.kirupa.com/t/netstream-time-is-not-correct/309275)

<div class="topic-metadata">

**Author:** [@Tinelise](https://forum.kirupa.com/u/Tinelise)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 11:00am UTC](https://forum.kirupa.com/t/netstream-time-is-not-correct/309275 "2010-05-11T11:00:33Z")

</div>

I'm recording videos with fms and netstream. When I try to watch them via connecting to my netConnection and play them via Video/NetStream the ns.time seems to behave wierd. I'm tracing the ns.time: \[trace\] 1.906 \[tr…

---

## [Create sound file and download](https://forum.kirupa.com/t/create-sound-file-and-download/309274)

<div class="topic-metadata">

**Author:** [@amaze](https://forum.kirupa.com/u/amaze)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 10:31am UTC](https://forum.kirupa.com/t/create-sound-file-and-download/309274 "2010-05-11T10:31:50Z")

</div>

Hi all, I am creating a sound mixer in AS3 and I want the user to be able to download the final mix. The mixer has 7 different sounds that loads from the library and the user changes the 7 volumes with the use of volum…

---

## [Accessing an instance of a symbol from AS3](https://forum.kirupa.com/t/accessing-an-instance-of-a-symbol-from-as3/309272)

<div class="topic-metadata">

**Author:** [@pep\_castefa](https://forum.kirupa.com/u/pep_castefa)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 9:45am UTC](https://forum.kirupa.com/t/accessing-an-instance-of-a-symbol-from-as3/309272 "2010-05-11T09:45:41Z")

</div>

Hi... I have a symbol (of type movie clip) which is exported for action with AS3 as, say clsAux. From an AS file, I extend this class to program some methods to interact with it The movie clip has, inside, an instance of…

---

## [Problem with xml paths](https://forum.kirupa.com/t/problem-with-xml-paths/309268)

<div class="topic-metadata">

**Author:** [@Fischer](https://forum.kirupa.com/u/Fischer)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 9:19am UTC](https://forum.kirupa.com/t/problem-with-xml-paths/309268 "2010-05-11T09:19:38Z")

</div>

Hi I have a problem with some simple coding here. I am building a world map with countries and provinses using kml files, that I process as xml files. My problem is, that the kml files I get has different designs, and th…

---

## [AIR crashes while debugging in Flex](https://forum.kirupa.com/t/air-crashes-while-debugging-in-flex/309266)

<div class="topic-metadata">

**Author:** [@Ekry](https://forum.kirupa.com/u/Ekry)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 8:21am UTC](https://forum.kirupa.com/t/air-crashes-while-debugging-in-flex/309266 "2010-05-11T08:21:28Z")

</div>

I'm developing an AIR application on Flex 3. When a runtime error occurs while debugging, the AIR environment crashes. Windows will then complain 'adl.exe stopped working' and I will have to laborously shut down the ap…

---

## [Random tint for symbols from a select 4 colors](https://forum.kirupa.com/t/random-tint-for-symbols-from-a-select-4-colors/309262)

<div class="topic-metadata">

**Author:** [@orionstar](https://forum.kirupa.com/u/orionstar)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 5:11am UTC](https://forum.kirupa.com/t/random-tint-for-symbols-from-a-select-4-colors/309262 "2010-05-11T05:11:23Z")

</div>

I am trying to get symbols to randomly get tinted from 4 select colors. The symbols come in randomly but would like them to come tinted randomly as well. How would you get them to tint at a random color in AS2? Thank…

---

## [Flashvar usage](https://forum.kirupa.com/t/flashvar-usage/309259)

<div class="topic-metadata">

**Author:** [@aemdliz](https://forum.kirupa.com/u/aemdliz)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 2:27am UTC](https://forum.kirupa.com/t/flashvar-usage/309259 "2010-05-11T02:27:58Z")

</div>

I have a question and I hope I explain correctly. I have a web page with pictures on it. I have a FMS3 server with MP4 videos on it. I have created a video player using ActionScript 3.0 on CS3 which accesses the video…

---

## [AS3 unfair to noobs trying to use arrays!](https://forum.kirupa.com/t/as3-unfair-to-noobs-trying-to-use-arrays/309258)

<div class="topic-metadata">

**Author:** [@JamminBill](https://forum.kirupa.com/u/JamminBill)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 1:51am UTC](https://forum.kirupa.com/t/as3-unfair-to-noobs-trying-to-use-arrays/309258 "2010-05-11T01:51:34Z")

</div>

In attempting to transition from AS2 to AS3, I am now messing around with arrays. I've been able to get arrays to work for me for the most part, but now I'm stumped. When I have a bunch of buttons that will make a corres…

---

## [AS2 : Kirupa Portfolio XML Q](https://forum.kirupa.com/t/as2-kirupa-portfolio-xml-q/309255)

<div class="topic-metadata">

**Author:** [@skylineDr](https://forum.kirupa.com/u/skylineDr)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 1:10am UTC](https://forum.kirupa.com/t/as2-kirupa-portfolio-xml-q/309255 "2010-05-11T01:10:24Z")

</div>

Okay, So, I've been coming here for a while for all my flash needs, but today I'm having trouble and I hope you can help. I used the XML Portfolio for what I needed for my own personal portfolio. However, I need help- …

---

## [Slice/Break Circle into pieces in Actionscript?](https://forum.kirupa.com/t/slice-break-circle-into-pieces-in-actionscript/309254)

<div class="topic-metadata">

**Author:** [@tcabaco](https://forum.kirupa.com/u/tcabaco)\
**Replies:** 0\
**Last updated:** [May 11, 2010, 1:07am UTC](https://forum.kirupa.com/t/slice-break-circle-into-pieces-in-actionscript/309254 "2010-05-11T01:07:40Z")

</div>

Hi I'm looking into building a navigation system that revolves around the shape of a circle and each link is a slice of that circle. I could build it graphically and/or in the timeline, but the thing is that I'll have th…

---

## [Mask not compiling?](https://forum.kirupa.com/t/mask-not-compiling/309252)

<div class="topic-metadata">

**Author:** [@NateTheGreatt](https://forum.kirupa.com/u/NateTheGreatt)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 11:55pm UTC](https://forum.kirupa.com/t/mask-not-compiling/309252 "2010-05-10T23:55:23Z")

</div>

nevermind. fixed it. not sure how to delete thread

---

## [As3 Project Help](https://forum.kirupa.com/t/as3-project-help/309251)

<div class="topic-metadata">

**Author:** [@finishedfirst](https://forum.kirupa.com/u/finishedfirst)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 11:27pm UTC](https://forum.kirupa.com/t/as3-project-help/309251 "2010-05-10T23:27:14Z")

</div>

Hello, i am trying to create kind of menu that looks like someone going through their mail. Basically what i want to have are envelopes kind of stacked on top of each other and when the user presses the next button the e…

---

## [Dynamic Text & MovieClipLoader](https://forum.kirupa.com/t/dynamic-text-moviecliploader/309250)

<div class="topic-metadata">

**Author:** [@arctavian](https://forum.kirupa.com/u/arctavian)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 11:14pm UTC](https://forum.kirupa.com/t/dynamic-text-moviecliploader/309250 "2010-05-10T23:14:33Z")

</div>

I'm having trouble getting an external.swf to show dynamic text in the parent swf. When I run the external swf by itself the text shows up fine, but when I try to load it into another swf using the MovieClipLoader the dy…

---

## [Problem with effect](https://forum.kirupa.com/t/problem-with-effect/309246)

<div class="topic-metadata">

**Author:** [@omar\_ali](https://forum.kirupa.com/u/omar_ali)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 9:09pm UTC](https://forum.kirupa.com/t/problem-with-effect/309246 "2010-05-10T21:09:07Z")

</div>

Hello everyone I am new to flash,tried to fllow a video tutorial to create snow, I did create the snoe video in after efect and exported to flash and import an image to library in flash but the problem is that no effe…

---

## [Constructor issue for flashlite (as2.0)](https://forum.kirupa.com/t/constructor-issue-for-flashlite-as2-0/309244)

<div class="topic-metadata">

**Author:** [@Captain\_Planet](https://forum.kirupa.com/u/Captain_Planet)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 8:31pm UTC](https://forum.kirupa.com/t/constructor-issue-for-flashlite-as2-0/309244 "2010-05-10T20:31:37Z")

</div>

Hi all. Quick question. I have the following code on frame one of my flash lite 2.0 (as 2.0) movie: On frame 1: import test; t = new test() testtb.text = t.returnPageTitle("Page 1") and this is my external as file…

---

## [Finding and replacing new line characters](https://forum.kirupa.com/t/finding-and-replacing-new-line-characters/309242)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 7:38pm UTC](https://forum.kirupa.com/t/finding-and-replacing-new-line-characters/309242 "2010-05-10T19:38:55Z")

</div>

I am making some string variables to use in an animation. Another person in the office has has written all of the text using Word. Some of these strings have up to 50 lines and each new line has some sort of special char…

---

## [Gradual stop for scroller](https://forum.kirupa.com/t/gradual-stop-for-scroller/309233)

<div class="topic-metadata">

**Author:** [@wilson1221](https://forum.kirupa.com/u/wilson1221)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 4:13pm UTC](https://forum.kirupa.com/t/gradual-stop-for-scroller/309233 "2010-05-10T16:13:39Z")

</div>

hey I have a as2 scroller button that drags 'clip' MC: on(press){ this.onEnterFrame=function(){ speed=20; llimit=-400;//right limit if(clip.\_x\>llimit){ clip.\_x-=speed; }} } on(release,releaseOutside){ delete onEnterFr…

---

## [Accessing Event Listeners In Custom Class](https://forum.kirupa.com/t/accessing-event-listeners-in-custom-class/309230)

<div class="topic-metadata">

**Author:** [@sonofjohn](https://forum.kirupa.com/u/sonofjohn)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 3:58pm UTC](https://forum.kirupa.com/t/accessing-event-listeners-in-custom-class/309230 "2010-05-10T15:58:21Z")

</div>

Hi, Im am trying to access my event listners in my "menuButn" class from my doc class. Driving me crazy any help would be greatly appreciated... In my main document class i have the following: Main.as public func…

---

## [Add a list to the component inspector](https://forum.kirupa.com/t/add-a-list-to-the-component-inspector/309228)

<div class="topic-metadata">

**Author:** [@bencam](https://forum.kirupa.com/u/bencam)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 3:50pm UTC](https://forum.kirupa.com/t/add-a-list-to-the-component-inspector/309228 "2010-05-10T15:50:45Z")

</div>

Hi, I'm creating a component which requires the selection of one item from a list of items in the component inspector. If you look at the checkbox component, you'll see a tag called labelPlacement which allows the sele…

---

## [hitTestObject - Multiple Times](https://forum.kirupa.com/t/hittestobject-multiple-times/309226)

<div class="topic-metadata">

**Author:** [@wwfc\_barmy\_army](https://forum.kirupa.com/u/wwfc_barmy_army)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 3:18pm UTC](https://forum.kirupa.com/t/hittestobject-multiple-times/309226 "2010-05-10T15:18:49Z")

</div>

Hello. I have the following code to pick up collision detection between two objects: public function loop(e:Event) : void { if (this.heli.hitTestObject(enemy)) { Clashed(); } } …

---

## [Hit object then remove from array](https://forum.kirupa.com/t/hit-object-then-remove-from-array/309225)

<div class="topic-metadata">

**Author:** [@JWH89](https://forum.kirupa.com/u/JWH89)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 1:47pm UTC](https://forum.kirupa.com/t/hit-object-then-remove-from-array/309225 "2010-05-10T13:47:08Z")

</div>

Hello, Having a problem with my game. I am running a hittest to see if my avatar hits a food movie clip. When it does I want to remove the child that has been hit. I have put all the food movieclips into an array call…

---

## [Paypal question: payment confirmation...?](https://forum.kirupa.com/t/paypal-question-payment-confirmation/309224)

<div class="topic-metadata">

**Author:** [@0L4F](https://forum.kirupa.com/u/0L4F)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 12:22pm UTC](https://forum.kirupa.com/t/paypal-question-payment-confirmation/309224 "2010-05-10T12:22:21Z")

</div>

Hello Kirupians, Does any of you have experience with working with Paypal? I'm doing some investigation for a client who wants me to create a website that has paid music downloads. I'll do this in AS3. I understand…

---

## [Menu Style Help](https://forum.kirupa.com/t/menu-style-help/309219)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 10:37am UTC](https://forum.kirupa.com/t/menu-style-help/309219 "2010-05-10T10:37:50Z")

</div>

Hi guys, Can somebody have link to a tutorial or something else for making a tutorial like this: http://www.bloodstream.com.br/ ? I really need it...thanks. \[smiley\]

---

## [Making an interactive movie (QTE-style)](https://forum.kirupa.com/t/making-an-interactive-movie-qte-style/309217)

<div class="topic-metadata">

**Author:** [@kyt](https://forum.kirupa.com/u/kyt)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 10:18am UTC](https://forum.kirupa.com/t/making-an-interactive-movie-qte-style/309217 "2010-05-10T10:18:43Z")

</div>

Hey guys, i'm in the middle of making an interactive movie with events within it that act sort of like quick time events, only that there are multiple outcomes, making it sort of like an old "Choose your own adventure" b…

---

## [Going to a frame and accessing a variable, at one shot](https://forum.kirupa.com/t/going-to-a-frame-and-accessing-a-variable-at-one-shot/309215)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 8:43am UTC](https://forum.kirupa.com/t/going-to-a-frame-and-accessing-a-variable-at-one-shot/309215 "2010-05-10T08:43:09Z")

</div>

Hi guys, I am sure this is a bug with flash, and looking for a smart workaround. Now I have a 20 frame movieclip (named mc), and by default the playhead is stopped at frame 0 of that movieclip. At frame 10 I have a m…

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

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