# flash

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

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

**Page:** 343

---

## [AS3 Question - display an image from a string in a variable](https://forum.kirupa.com/t/as3-question-display-an-image-from-a-string-in-a-variable/309213)

<div class="topic-metadata">

**Author:** [@TomKub](https://forum.kirupa.com/u/TomKub)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 8:00am UTC](https://forum.kirupa.com/t/as3-question-display-an-image-from-a-string-in-a-variable/309213 "2010-05-10T08:00:06Z")

</div>

solved using htmlText with a textField Hi, quick question hoping someone may have an idea on how to achieve this. I have this variable var userPicLoc:String = "http://tinyurl.com/2qk25q"; I would like to display …

---

## [Gradient colortransform](https://forum.kirupa.com/t/gradient-colortransform/309212)

<div class="topic-metadata">

**Author:** [@GrayFox](https://forum.kirupa.com/u/GrayFox)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 6:35am UTC](https://forum.kirupa.com/t/gradient-colortransform/309212 "2010-05-10T06:35:11Z")

</div>

Hi all, I am building an application that would allow me to change it's theme. I am planning to do this by loading a color code via xml and then setting the color of all the graphics in the application to that color. O…

---

## [Webcam to take picture and save](https://forum.kirupa.com/t/webcam-to-take-picture-and-save/309211)

<div class="topic-metadata">

**Author:** [@juss](https://forum.kirupa.com/u/juss)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 6:21am UTC](https://forum.kirupa.com/t/webcam-to-take-picture-and-save/309211 "2010-05-10T06:21:44Z")

</div>

Hi, I'm totally new to AS3 and I have an upcoming project on it. It's a virtual hairstyling project but I have no idea how to get the first part to work. This is how the first part of the project goes: First, it wi…

---

## [Prevent flash movie breaking out of template with mouse scroll](https://forum.kirupa.com/t/prevent-flash-movie-breaking-out-of-template-with-mouse-scroll/309210)

<div class="topic-metadata">

**Author:** [@Eddie\_E](https://forum.kirupa.com/u/Eddie_E)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 5:55am UTC](https://forum.kirupa.com/t/prevent-flash-movie-breaking-out-of-template-with-mouse-scroll/309210 "2010-05-10T05:55:32Z")

</div>

Hi I have a flash file that I use to get certain answers to questions. Currently on Explorer and firefox (fine on chrome) if you use the mouse scroll bar it can seriously go off the template making it unusable. Is the…

---

## [RTMFP (Strtatus) works stable only on a local network, not in internet](https://forum.kirupa.com/t/rtmfp-strtatus-works-stable-only-on-a-local-network-not-in-internet/309208)

<div class="topic-metadata">

**Author:** [@NS11111](https://forum.kirupa.com/u/NS11111)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 3:39am UTC](https://forum.kirupa.com/t/rtmfp-strtatus-works-stable-only-on-a-local-network-not-in-internet/309208 "2010-05-10T03:39:32Z")

</div>

Hi, No problem to connect two computers using RTMFP (Stratus) on a local network. As for connection via internet it is mostly failed. Video streams do not start. But sometimes connection is okay (one case for 30-60 …

---

## [Limit of 3 arguments for function ? What is happening here:](https://forum.kirupa.com/t/limit-of-3-arguments-for-function-what-is-happening-here/309207)

<div class="topic-metadata">

**Author:** [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Replies:** 0\
**Last updated:** [May 10, 2010, 12:57am UTC](https://forum.kirupa.com/t/limit-of-3-arguments-for-function-what-is-happening-here/309207 "2010-05-10T00:57:52Z")

</div>

var menu:MovieClip = asdf(); function asdf(s:String='', myx:int=0, p:MovieClip=null):MovieClip // eventual crash with a stackOverflow error //function asdf(s:String='', myx:int=0):MovieClip // works fine //function as…

---

## [as3 variable type definition issue](https://forum.kirupa.com/t/as3-variable-type-definition-issue/309206)

<div class="topic-metadata">

**Author:** [@magentaraindrop](https://forum.kirupa.com/u/magentaraindrop)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 9:43pm UTC](https://forum.kirupa.com/t/as3-variable-type-definition-issue/309206 "2010-05-09T21:43:15Z")

</div>

So I am trying to add a variable from my library to the stage. My variable is a chunk of text saved as a movie clip titled KatText. The issue is I can add it straight onto the stage via this code: this.addChild(KatText …

---

## [How to get a list of an object's properties/variables](https://forum.kirupa.com/t/how-to-get-a-list-of-an-objects-properties-variables/309203)

<div class="topic-metadata">

**Author:** [@moonglare](https://forum.kirupa.com/u/moonglare)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 6:39pm UTC](https://forum.kirupa.com/t/how-to-get-a-list-of-an-objects-properties-variables/309203 "2010-05-09T18:39:53Z")

</div>

Hello, I am creating a Facebook application using Flash, javascript and the Graph API. I receive Facebook objects as JSON objects, and pass them into Flash via ExternalInterface I know that, for example, if I access h…

---

## [Array deletion - simple question](https://forum.kirupa.com/t/array-deletion-simple-question/309202)

<div class="topic-metadata">

**Author:** [@jrjellybeans](https://forum.kirupa.com/u/jrjellybeans)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 6:34pm UTC](https://forum.kirupa.com/t/array-deletion-simple-question/309202 "2010-05-09T18:34:05Z")

</div>

Hey all, When I'm removing an object from the display list (via removeChild), I'm performing a splice on all of the arrays that the object has: public function onDeath():void { arEnemy.splice(0,arEnemy.length); }…

---

## [Embedding font works, not at the glow filter doesn't!](https://forum.kirupa.com/t/embedding-font-works-not-at-the-glow-filter-doesnt/309201)

<div class="topic-metadata">

**Author:** [@ahao](https://forum.kirupa.com/u/ahao)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 6:30pm UTC](https://forum.kirupa.com/t/embedding-font-works-not-at-the-glow-filter-doesnt/309201 "2010-05-09T18:30:50Z")

</div>

http://cmdstud.khlim.be/~tthai/Shared/Varia/Terragotchi%20V%202.0.html This is the link of my project. I embedded a kind of pixlated customfont say "font.tff". As you can see the clock in the right corner uses this fon…

---

## [Desperate need of help!](https://forum.kirupa.com/t/desperate-need-of-help/309196)

<div class="topic-metadata">

**Author:** [@thisfinecity](https://forum.kirupa.com/u/thisfinecity)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 3:23pm UTC](https://forum.kirupa.com/t/desperate-need-of-help/309196 "2010-05-09T15:23:30Z")

</div>

I just got CS4 very much a noob to flash, ive looked all over on how to fix my problem but no luck so here is my scenerio. Im making an animation to describe how a potential iphone app would work. Its going to be a 3 m…

---

## [Can't acces movieclip within movieclip](https://forum.kirupa.com/t/cant-acces-movieclip-within-movieclip/309195)

<div class="topic-metadata">

**Author:** [@RHA](https://forum.kirupa.com/u/RHA)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 2:40pm UTC](https://forum.kirupa.com/t/cant-acces-movieclip-within-movieclip/309195 "2010-05-09T14:40:48Z")

</div>

I want to access the properties of movieclips inside a movieclip. Below is a code of how the Parent mc is created. It's looped because it's gets it data from XML. So there is not one parent movieclip but a number of pa…

---

## [Flash Banner onclick to Flash Overlay?](https://forum.kirupa.com/t/flash-banner-onclick-to-flash-overlay/309192)

<div class="topic-metadata">

**Author:** [@4o7](https://forum.kirupa.com/u/4o7)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 12:52pm UTC](https://forum.kirupa.com/t/flash-banner-onclick-to-flash-overlay/309192 "2010-05-09T12:52:23Z")

</div>

Hi all :D: Hope you're well. I was hoping someone could lend some insight to my current dilemma? I'm attempting to create a flash ad banner (728x90 leaderboard) which, when clicked on, loads a new frame that expands …

---

## [Syncing sound with movieclip problem](https://forum.kirupa.com/t/syncing-sound-with-movieclip-problem/309187)

<div class="topic-metadata">

**Author:** [@cronin4392](https://forum.kirupa.com/u/cronin4392)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 5:31am UTC](https://forum.kirupa.com/t/syncing-sound-with-movieclip-problem/309187 "2010-05-09T05:31:05Z")

</div>

I am doing a project for a client where I have to sync an intro song to animated lips. When I preview it in flash it is synced fine and when I view it on my site on the first load (when it isnt in cache) the animation ki…

---

## [Recording sound visualization?](https://forum.kirupa.com/t/recording-sound-visualization/309184)

<div class="topic-metadata">

**Author:** [@trypt](https://forum.kirupa.com/u/trypt)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 4:02am UTC](https://forum.kirupa.com/t/recording-sound-visualization/309184 "2010-05-09T04:02:14Z")

</div>

Hi everybody~ I'm not sure about if this is doable, I've been googling for the past few days and got no luck... (wrong keyword?) I'm wondering is there a way to record the visualization effects animation generated by S…

---

## [Removing movieClips from an Array](https://forum.kirupa.com/t/removing-movieclips-from-an-array/309181)

<div class="topic-metadata">

**Author:** [@ahao](https://forum.kirupa.com/u/ahao)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 11:54pm UTC](https://forum.kirupa.com/t/removing-movieclips-from-an-array/309181 "2010-05-08T23:54:25Z")

</div>

Hi, i'm making a mini-game (part of a larger game) where worms pop up randomly on the screen. You can click on a spraycan do remove them all at once. After that it should repeat itself. But during the second wave, when I…

---

## [AS2 array.push override question](https://forum.kirupa.com/t/as2-array-push-override-question/309180)

<div class="topic-metadata">

**Author:** [@derm116](https://forum.kirupa.com/u/derm116)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 10:24pm UTC](https://forum.kirupa.com/t/as2-array-push-override-question/309180 "2010-05-08T22:24:53Z")

</div>

Hi all, Could anyone explain what the following line of code is doing? this.push.apply(this, arguments); What i think is that each time an item is added to the array it inherits the properties of the parent? Is thi…

---

## [Troubles removing Enemy from an array, instance still is on stage](https://forum.kirupa.com/t/troubles-removing-enemy-from-an-array-instance-still-is-on-stage/309177)

<div class="topic-metadata">

**Author:** [@Mattster](https://forum.kirupa.com/u/Mattster)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 6:50pm UTC](https://forum.kirupa.com/t/troubles-removing-enemy-from-an-array-instance-still-is-on-stage/309177 "2010-05-08T18:50:11Z")

</div>

Alright, so really I am having 2 difficulties here. 1) When a bullet hits an enemy, if 2 zombies are beside eachother, the bullet hits them both -- How can I make it so the bullet can only hit one? 2) When an enemy …

---

## [Is there a 'ByteArray.writeUnsignedByte()'?](https://forum.kirupa.com/t/is-there-a-bytearray-writeunsignedbyte/309176)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 6:48pm UTC](https://forum.kirupa.com/t/is-there-a-bytearray-writeunsignedbyte/309176 "2010-05-08T18:48:44Z")

</div>

I'm not sure if I'm just not thinking right, but isn't there supposed to be a "ByteArray.writeUnsignedByte()" to go along with the "readUnsignedByte()", or is there something I'm just not thinking of? http://help.adobe…

---

## [Calling a class function within another class](https://forum.kirupa.com/t/calling-a-class-function-within-another-class/309173)

<div class="topic-metadata">

**Author:** [@lashdl](https://forum.kirupa.com/u/lashdl)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 6:11pm UTC](https://forum.kirupa.com/t/calling-a-class-function-within-another-class/309173 "2010-05-08T18:11:57Z")

</div>

Hi. I've been searching around the forums to find a solution of this problem. I have two classes: Monster and Player. Constructors are defined and the classes by themselves apparently works. My problem is that I want to …

---

## [Making sure an array reference to a property stays up-to-date?](https://forum.kirupa.com/t/making-sure-an-array-reference-to-a-property-stays-up-to-date/309171)

<div class="topic-metadata">

**Author:** [@Boreez](https://forum.kirupa.com/u/Boreez)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 3:35pm UTC](https://forum.kirupa.com/t/making-sure-an-array-reference-to-a-property-stays-up-to-date/309171 "2010-05-08T15:35:58Z")

</div>

Consider this for a second: theState.stateGrowth = 0; globalVariablesArray.push(theState.stateGrowth); trace(globalVariablesArray\[0\]); // traces 0 theState.stateGrowth--; trace(globalVariablesArray\[0\]); // still tr…

---

## [Help with depth on flash 8](https://forum.kirupa.com/t/help-with-depth-on-flash-8/309168)

<div class="topic-metadata">

**Author:** [@Izzart](https://forum.kirupa.com/u/Izzart)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 3:24pm UTC](https://forum.kirupa.com/t/help-with-depth-on-flash-8/309168 "2010-05-08T15:24:24Z")

</div>

hi, im having a problem with the depth of loading objects (movieclips) i have 3 buttons on the stage (or within a movieclip on stage), and 3 objects (mc's) in the library, now - How do I set the depth of an objects? …

---

## [Remove SWF -- kind of urgent!](https://forum.kirupa.com/t/remove-swf-kind-of-urgent/309167)

<div class="topic-metadata">

**Author:** [@cm2010](https://forum.kirupa.com/u/cm2010)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 3:15pm UTC](https://forum.kirupa.com/t/remove-swf-kind-of-urgent/309167 "2010-05-08T15:15:35Z")

</div>

Hello, I'm loading external SWFs into a larger SWF/projector, and I need to load the next and remove the previous one. Because of some unforseen technical requirements, I need to do this in AS3, unfortunately, I'm onl…

---

## [First animate then move using onclick](https://forum.kirupa.com/t/first-animate-then-move-using-onclick/309166)

<div class="topic-metadata">

**Author:** [@raheel1669](https://forum.kirupa.com/u/raheel1669)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 2:56pm UTC](https://forum.kirupa.com/t/first-animate-then-move-using-onclick/309166 "2010-05-08T14:56:21Z")

</div>

Hi, i ve an assignment and am new in flash. I ve an animation using different symbols. First i want this animation to run. Then after it has finished, i want buttons to appear. Till here every thing is in my control. Now…

---

## [Array remove element issue](https://forum.kirupa.com/t/array-remove-element-issue/309163)

<div class="topic-metadata">

**Author:** [@brunoja](https://forum.kirupa.com/u/brunoja)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 1:59pm UTC](https://forum.kirupa.com/t/array-remove-element-issue/309163 "2010-05-08T13:59:05Z")

</div>

Hello! First of all, how should I remove an element from an array? Now I am using arrays this way (just an example): array\["red"\] = 0xff0000; array\["black"\] = 0x000000; How do I remove "red" for example from the ar…

---

## [Smoother sound looping](https://forum.kirupa.com/t/smoother-sound-looping/309159)

<div class="topic-metadata">

**Author:** [@joobny](https://forum.kirupa.com/u/joobny)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 9:41am UTC](https://forum.kirupa.com/t/smoother-sound-looping/309159 "2010-05-08T09:41:05Z")

</div>

Hey everyone, I've been using the following code to make the soundtrack for my project loop over and over again until it is told to stop: function playMusic():void { soundtrackChannel = soundtrack.play(); soundtrack…

---

## [XML Slideshow x-y-position](https://forum.kirupa.com/t/xml-slideshow-x-y-position/309158)

<div class="topic-metadata">

**Author:** [@2w1w2w](https://forum.kirupa.com/u/2w1w2w)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 9:28am UTC](https://forum.kirupa.com/t/xml-slideshow-x-y-position/309158 "2010-05-08T09:28:43Z")

</div>

Hi, really need help. I searched now for two days, but can´t find. It should be simple i think. I have got a slideshow with title-text. Now my problem is to give the title-text a x and y-position by the XML-Data. And how…

---

## [007 James Bond 22 Movie Complete Collection DVD(dvdsuperdeal.com)](https://forum.kirupa.com/t/007-james-bond-22-movie-complete-collection-dvd-dvdsuperdeal-com/309157)

<div class="topic-metadata">

**Author:** [@Lovely100](https://forum.kirupa.com/u/Lovely100)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 9:01am UTC](https://forum.kirupa.com/t/007-james-bond-22-movie-complete-collection-dvd-dvdsuperdeal-com/309157 "2010-05-08T09:01:29Z")

</div>

I purchased the whole collection of \[007 James Bond DVD's for my boyfriend for Christmas and it was a huge hit. He loves them! The \[url=http://www.dvdsuperdeal.com/007-james-bond-22-movie-complete-collection-dvd-boxset.h…

---

## [INPOSIBlE... guess nobody nows?](https://forum.kirupa.com/t/inposible-guess-nobody-nows/309156)

<div class="topic-metadata">

**Author:** [@omenas](https://forum.kirupa.com/u/omenas)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 8:30am UTC](https://forum.kirupa.com/t/inposible-guess-nobody-nows/309156 "2010-05-08T08:30:34Z")

</div>

\*Hey all, I'm quite new to Action Script (I've played with flash for a while, but only for animation not code) and I've been following some video tutorials from lynda.com but I've run into a problem that I can't quite f…

---

## [Sound lag time](https://forum.kirupa.com/t/sound-lag-time/309153)

<div class="topic-metadata">

**Author:** [@xplosivo](https://forum.kirupa.com/u/xplosivo)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 4:54am UTC](https://forum.kirupa.com/t/sound-lag-time/309153 "2010-05-08T04:54:39Z")

</div>

Hello all, I've seen this question posted around some other forums but haven't really been able to solve it. I'm building a flash based game and trying to get a short sound clip to play on an event. It's an mp3 file le…

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

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