# flash

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

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

**Page:** 617

---

## [addChild needs to be called twice?](https://forum.kirupa.com/t/addchild-needs-to-be-called-twice/288557)

<div class="topic-metadata">

**Author:** [@ikonik](https://forum.kirupa.com/u/ikonik)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 10:06am UTC](https://forum.kirupa.com/t/addchild-needs-to-be-called-twice/288557 "2009-05-18T10:06:48Z")

</div>

I have two classes, Init (which is my Document class) and LoadXML which... er.. loads in some XML data. Init calls the LoadXML and when it has completed a green backdrop is draw to the screen... but... Why do I nee…

---

## [Drawing rectangle x y position problem](https://forum.kirupa.com/t/drawing-rectangle-x-y-position-problem/288556)

<div class="topic-metadata">

**Author:** [@probphp](https://forum.kirupa.com/u/probphp)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 9:50am UTC](https://forum.kirupa.com/t/drawing-rectangle-x-y-position-problem/288556 "2009-05-18T09:50:52Z")

</div>

Hello all, Plese look at my source. public function onMouseDownHandler(e:MouseEvent) { //trace("mouse down clicked!"); if ( e.target is Stage ) { GL.mouseIniX = mouseX; GL.mouseIniY = mouseY; switch(GL.isactive) { case "…

---

## [Load random pix](https://forum.kirupa.com/t/load-random-pix/288555)

<div class="topic-metadata">

**Author:** [@longneck](https://forum.kirupa.com/u/longneck)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 9:46am UTC](https://forum.kirupa.com/t/load-random-pix/288555 "2009-05-18T09:46:45Z")

</div>

Hi all, I have this site that loads random pix from different folders (not xml). What I would like but can't seem to get to work, is for all the different images to be displayed before they are loaded again. If there f…

---

## [Someone know any good tutorials for this?](https://forum.kirupa.com/t/someone-know-any-good-tutorials-for-this/288554)

<div class="topic-metadata">

**Author:** [@Tobbelit0](https://forum.kirupa.com/u/Tobbelit0)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 9:22am UTC](https://forum.kirupa.com/t/someone-know-any-good-tutorials-for-this/288554 "2009-05-18T09:22:50Z")

</div>

Hello! I whant to do something like this link in flash. http://www.dvsshoes.com/ When you click the links the information kind of sliding from side to side. It would be very nice with some help here :bounce:! …

---

## [Actionscript3 Pop-up](https://forum.kirupa.com/t/actionscript3-pop-up/288552)

<div class="topic-metadata">

**Author:** [@graciie](https://forum.kirupa.com/u/graciie)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 6:58am UTC](https://forum.kirupa.com/t/actionscript3-pop-up/288552 "2009-05-18T06:58:52Z")

</div>

\[COLOR=#800000\] \[COLOR=#800000\]can anyone tell mi how do i create a pop up box in actionscript 3? I need it asap Thanks =) \[/COLOR\] \[/COLOR\]

---

## [How to animate the movieclip using actionscript 3.0](https://forum.kirupa.com/t/how-to-animate-the-movieclip-using-actionscript-3-0/288551)

<div class="topic-metadata">

**Author:** [@kadaj](https://forum.kirupa.com/u/kadaj)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 6:12am UTC](https://forum.kirupa.com/t/how-to-animate-the-movieclip-using-actionscript-3-0/288551 "2009-05-18T06:12:25Z")

</div>

Hello, (Please see the attachment ‘sample.fla’ Flash CS4 Player 10 Actionscript 3.0) Main timeline has only one layer ‘actions’. There is a main movieclip named ‘shape’ (exported to actionscript with classname ‘Sha…

---

## [Need help with drag and drop interface](https://forum.kirupa.com/t/need-help-with-drag-and-drop-interface/288548)

<div class="topic-metadata">

**Author:** [@danwangkw](https://forum.kirupa.com/u/danwangkw)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 3:09am UTC](https://forum.kirupa.com/t/need-help-with-drag-and-drop-interface/288548 "2009-05-18T03:09:54Z")

</div>

I need assistance from the good folks here. ============ Scenario Flash has a classroom scene - three slides (or draggable objects), a slide projector (droptarget) and a screen on the wall. All three objects share the …

---

## [SoundAsset uses SoundStreamHead or DefineSound?](https://forum.kirupa.com/t/soundasset-uses-soundstreamhead-or-definesound/288547)

<div class="topic-metadata">

**Author:** [@wvxvw](https://forum.kirupa.com/u/wvxvw)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 2:41am UTC](https://forum.kirupa.com/t/soundasset-uses-soundstreamhead-or-definesound/288547 "2009-05-18T02:41:41Z")

</div>

If somebody could shed some light on this it would be very nice... I'm trying to figure out how could I record the sound into SWF (technically, what I need is to write sound bytes into the SWF dictionary). This is how th…

---

## [Bold in dynamic text boxes](https://forum.kirupa.com/t/bold-in-dynamic-text-boxes/288539)

<div class="topic-metadata">

**Author:** [@bsyapril88](https://forum.kirupa.com/u/bsyapril88)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 10:02pm UTC](https://forum.kirupa.com/t/bold-in-dynamic-text-boxes/288539 "2009-05-17T22:02:04Z")

</div>

There is a lot out there about using bold in dynamic text boxes and how buggy it can get. I have found myself in a situation that whenever I add some non-bold (regular) text (even in a static text box) to the stage all…

---

## [Problem with resize function](https://forum.kirupa.com/t/problem-with-resize-function/288536)

<div class="topic-metadata">

**Author:** [@Dimitree](https://forum.kirupa.com/u/Dimitree)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 8:48pm UTC](https://forum.kirupa.com/t/problem-with-resize-function/288536 "2009-05-17T20:48:11Z")

</div>

Well I have this code: public function addFlow() { for (var i:int=0; i\<4; i++) { // Box is a movieclip exported for actionscript from my library var box:Box = new Box() box.x= (yourMC.width)+i\*(box.width+100); box…

---

## [Need some help with designing some buttons](https://forum.kirupa.com/t/need-some-help-with-designing-some-buttons/288533)

<div class="topic-metadata">

**Author:** [@sixteen](https://forum.kirupa.com/u/sixteen)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 7:18pm UTC](https://forum.kirupa.com/t/need-some-help-with-designing-some-buttons/288533 "2009-05-17T19:18:38Z")

</div>

I want to make some glass buttons. At least give them a glass effect. I already know everything it should happen on rolling over but i need a little help at drawing them. I mean giving them a nice shinny cover. Could you…

---

## [Random drawing](https://forum.kirupa.com/t/random-drawing/288529)

<div class="topic-metadata">

**Author:** [@aoj](https://forum.kirupa.com/u/aoj)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 5:33pm UTC](https://forum.kirupa.com/t/random-drawing/288529 "2009-05-17T17:33:27Z")

</div>

Hello I need to make a flash website for a project from school. Now was I wondering if somebody has a good tutorial for making something like this: http://www.girlsgogames.nl/spel/Magic-Pen.html I should only be abl…

---

## [Access dynamic movieclip](https://forum.kirupa.com/t/access-dynamic-movieclip/288527)

<div class="topic-metadata">

**Author:** [@Dardein](https://forum.kirupa.com/u/Dardein)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 4:02pm UTC](https://forum.kirupa.com/t/access-dynamic-movieclip/288527 "2009-05-17T16:02:21Z")

</div>

function LoadXML(e:Event):void { xmlData = new XML(e.target.data); var list:XMLList = xmlData.snipper; num = list.length(); for(var i:Number = 0; i\<aantal;i++){ container = new Container(); …

---

## [Auto-Resizing and Centering movie in AS 2.0](https://forum.kirupa.com/t/auto-resizing-and-centering-movie-in-as-2-0/288525)

<div class="topic-metadata">

**Author:** [@cherny013](https://forum.kirupa.com/u/cherny013)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 3:35pm UTC](https://forum.kirupa.com/t/auto-resizing-and-centering-movie-in-as-2-0/288525 "2009-05-17T15:35:57Z")

</div>

Hi all, I have a request to bulid the Flash website looking somewhat similar to Labello http://www.labello.com/international/home.html I need a fullscreen flash that position elements dinamically, based on the stage dime…

---

## [Mouse Events on the Display List](https://forum.kirupa.com/t/mouse-events-on-the-display-list/288520)

<div class="topic-metadata">

**Author:** [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 2:01pm UTC](https://forum.kirupa.com/t/mouse-events-on-the-display-list/288520 "2009-05-17T14:01:20Z")

</div>

Hi all, Ok ill try my best here: I have a garment class which extends Sprite. Each garment class has 2 children on the display list: var hittest:Sprite //basic rectangle sprite to use for drag and drop of the garm…

---

## [Paint "Undo" function not working](https://forum.kirupa.com/t/paint-undo-function-not-working/288519)

<div class="topic-metadata">

**Author:** [@RyuMaster666](https://forum.kirupa.com/u/RyuMaster666)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 1:55pm UTC](https://forum.kirupa.com/t/paint-undo-function-not-working/288519 "2009-05-17T13:55:04Z")

</div>

Hi! I'm trying to do bitmap undo function. Like, I perform some operations with bitmapdata (puttin' pixel there, filling with color); I have those two functions. bmdCavas it tied to actual Bitmap with image, which is pla…

---

## [SWF to SWF communication from separate browser windows](https://forum.kirupa.com/t/swf-to-swf-communication-from-separate-browser-windows/288516)

<div class="topic-metadata">

**Author:** [@vicborg81](https://forum.kirupa.com/u/vicborg81)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 1:12pm UTC](https://forum.kirupa.com/t/swf-to-swf-communication-from-separate-browser-windows/288516 "2009-05-17T13:12:05Z")

</div>

I hope somebody could shed some light on this issue for me. Assets are the following: • An index.html with index.swf embedded • A gallery.html with gallery.swf embedded • Gallery.swf has 5 different images Please Note:…

---

## [Drag and drop interface - need help](https://forum.kirupa.com/t/drag-and-drop-interface-need-help/288511)

<div class="topic-metadata">

**Author:** [@danwangkw](https://forum.kirupa.com/u/danwangkw)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 9:19am UTC](https://forum.kirupa.com/t/drag-and-drop-interface-need-help/288511 "2009-05-17T09:19:15Z")

</div>

With reference to this .FLA and the actionscript which resides within: function dragSetup(clip, targ) { clip.onPress = function() { startDrag(this); this.beingDragged=true; }; clip.onRelease = clip.onReleaseOutsid…

---

## [Help with a multidimensional array](https://forum.kirupa.com/t/help-with-a-multidimensional-array/288510)

<div class="topic-metadata">

**Author:** [@ASNewMeat](https://forum.kirupa.com/u/ASNewMeat)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 8:37am UTC](https://forum.kirupa.com/t/help-with-a-multidimensional-array/288510 "2009-05-17T08:37:36Z")

</div>

I've been trying to figure this out for a couple days now, and could use some help. I'm trying to build an 8x8 grid of identical movieclips, in a multidimensional array, that I can then access by row, and play each in or…

---

## [as3.0 login with php and mysql](https://forum.kirupa.com/t/as3-0-login-with-php-and-mysql/288509)

<div class="topic-metadata">

**Author:** [@roll4dasoul](https://forum.kirupa.com/u/roll4dasoul)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 7:30am UTC](https://forum.kirupa.com/t/as3-0-login-with-php-and-mysql/288509 "2009-05-17T07:30:51Z")

</div>

Hello everyone, Currently I'm trying to make a login with flash. Using actiosncript 3.0 I'm able to connected to a single php with stored info on it. Everything works fine just between php and as3.0. Then I try to conn…

---

## [Advice on how to learn to intergrate librarys and engines](https://forum.kirupa.com/t/advice-on-how-to-learn-to-intergrate-librarys-and-engines/288508)

<div class="topic-metadata">

**Author:** [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 7:20am UTC](https://forum.kirupa.com/t/advice-on-how-to-learn-to-intergrate-librarys-and-engines/288508 "2009-05-17T07:20:28Z")

</div>

Hi, I'm looking for general recomendations and tutorials in regards to learning to integrate engines and library code into my projects. I think I have the very basics of AS3 sorted, or at least I know how to figure the…

---

## [AS3 Parallax Gallery](https://forum.kirupa.com/t/as3-parallax-gallery/288504)

<div class="topic-metadata">

**Author:** [@AnthonyV1121](https://forum.kirupa.com/u/AnthonyV1121)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 4:59am UTC](https://forum.kirupa.com/t/as3-parallax-gallery/288504 "2009-05-17T04:59:45Z")

</div>

Can anyone translate this AS2 code to AS3? I tried myself but I am having a problem with the setProperty method. Code is pasted and here's the link to the source files. Thanks, any help greatly appreciated. http://www.…

---

## [Seamless FLV Sequence?](https://forum.kirupa.com/t/seamless-flv-sequence/288503)

<div class="topic-metadata">

**Author:** [@NHansen](https://forum.kirupa.com/u/NHansen)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 4:37am UTC](https://forum.kirupa.com/t/seamless-flv-sequence/288503 "2009-05-17T04:37:46Z")

</div>

So I have 3 FLVs, embedded in the timeline, each in their own MovieClip (along with 2 other, smaller FLVs that play while the 3-FLV-Sequence is running). I am playing them one after the other, but there is a quick snag b…

---

## [Constructor Functions of multiple classes](https://forum.kirupa.com/t/constructor-functions-of-multiple-classes/288501)

<div class="topic-metadata">

**Author:** [@Tartarus](https://forum.kirupa.com/u/Tartarus)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 3:50am UTC](https://forum.kirupa.com/t/constructor-functions-of-multiple-classes/288501 "2009-05-17T03:50:06Z")

</div>

Hi, I have a rather general question regarding OOP. How do constructor functions execute with multiple class extensions? I'm making an orbital physics simulation, and every spatial body is of the class SpaceObject, wh…

---

## [Animating Powerbar](https://forum.kirupa.com/t/animating-powerbar/288498)

<div class="topic-metadata">

**Author:** [@xZeRo23](https://forum.kirupa.com/u/xZeRo23)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 1:37am UTC](https://forum.kirupa.com/t/animating-powerbar/288498 "2009-05-17T01:37:37Z")

</div>

Is it possible to create a animating powerbar like the one in Burnout? How would I attempt creating this?

---

## [XMLSocket, "Error #2048: Security sandbox violation"](https://forum.kirupa.com/t/xmlsocket-error-2048-security-sandbox-violation/288493)

<div class="topic-metadata">

**Author:** [@kedinik](https://forum.kirupa.com/u/kedinik)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 10:21pm UTC](https://forum.kirupa.com/t/xmlsocket-error-2048-security-sandbox-violation/288493 "2009-05-16T22:21:45Z")

</div>

I'm attempting to create an XMLSocket that connects to a PHP-written socket server. I think my code is pretty sound. I used to receive an IOError, but now that is solved and I keep receiving "Error #2048: Security san…

---

## [Hi, draggable button problem!](https://forum.kirupa.com/t/hi-draggable-button-problem/288491)

<div class="topic-metadata">

**Author:** [@Lunatic13](https://forum.kirupa.com/u/Lunatic13)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 9:08pm UTC](https://forum.kirupa.com/t/hi-draggable-button-problem/288491 "2009-05-16T21:08:32Z")

</div>

Hello, I'm new in this forum. But I have been working with flash for about 4 months. So what I have is a draggable button, and the fading in text every 20 frames. I've done that the button drags, but how I can do that th…

---

## [Exporting Problem](https://forum.kirupa.com/t/exporting-problem/288488)

<div class="topic-metadata">

**Author:** [@amschwend](https://forum.kirupa.com/u/amschwend)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 7:59pm UTC](https://forum.kirupa.com/t/exporting-problem/288488 "2009-05-16T19:59:56Z")

</div>

I've created online portfolio in Flash and due to size, added a preloader. The preloader doesn't really work, though, because it waits for all of the movie clips in the library to load. I deselected the option for "expor…

---

## [SWF goes to "Not Responding" for brief time](https://forum.kirupa.com/t/swf-goes-to-not-responding-for-brief-time/288486)

<div class="topic-metadata">

**Author:** [@Ransom1337](https://forum.kirupa.com/u/Ransom1337)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 6:53pm UTC](https://forum.kirupa.com/t/swf-goes-to-not-responding-for-brief-time/288486 "2009-05-16T18:53:12Z")

</div>

Hello, In the intro sequence to my file, I have titles fading in and out using a black square over the top of them which tweens from Alpha 0% to 100%. The first title works just fine. But when i comes to the second tit…

---

## [getCharBoundaries returns incorrect values when parent of TextField is rotated in 3D](https://forum.kirupa.com/t/getcharboundaries-returns-incorrect-values-when-parent-of-textfield-is-rotated-in-3d/288484)

<div class="topic-metadata">

**Author:** [@NoRabbit](https://forum.kirupa.com/u/NoRabbit)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 4:57pm UTC](https://forum.kirupa.com/t/getcharboundaries-returns-incorrect-values-when-parent-of-textfield-is-rotated-in-3d/288484 "2009-05-16T16:57:11Z")

</div>

Everything is in the title: I'm just trying to make a sprite follow the last letter of a TextField with the getCharBoundaries() function. It works fine when the DisplayObject that contains the TextField has no 3d trans…

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

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