# programming

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

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

**Page:** 815

---

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

---

## [\[AS2; Flash 8\] Space Invaders Style Game - The Aliens](https://forum.kirupa.com/t/as2-flash-8-space-invaders-style-game-the-aliens/288499)

<div class="topic-metadata">

**Author:** [@Olaf\_Forkbeard](https://forum.kirupa.com/u/Olaf_Forkbeard)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 3:11am UTC](https://forum.kirupa.com/t/as2-flash-8-space-invaders-style-game-the-aliens/288499 "2009-05-17T03:11:00Z")

</div>

I am working on a Space Invaders style game, where the aliens (in formation) move left and right. Every time they hit one side or the other they drop down about half their height. (I'll just call it a step). So they move…

---

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

---

## [Drag and Drop with line](https://forum.kirupa.com/t/drag-and-drop-with-line/288482)

<div class="topic-metadata">

**Author:** [@Gyan\_Singh](https://forum.kirupa.com/u/Gyan_Singh)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 3:36pm UTC](https://forum.kirupa.com/t/drag-and-drop-with-line/288482 "2009-05-16T15:36:47Z")

</div>

Hello friends i make a drag and drop function by help of you... i want draw a line from drag to drop. i have done this with AS2.0 but i couldn't did in AS3... can anyone help me... var score:Number = 0; var sta…

---

## [AS3: useHandcursor help](https://forum.kirupa.com/t/as3-usehandcursor-help/288478)

<div class="topic-metadata">

**Author:** [@surf](https://forum.kirupa.com/u/surf)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 12:21pm UTC](https://forum.kirupa.com/t/as3-usehandcursor-help/288478 "2009-05-16T12:21:14Z")

</div>

why wont this work for a movie clip where mc is the stage on flash cs3 and dvmc is a movieclip on the stage? mc.dvmc.useHandCursor = true; when compiled , its still using the arrow for mouse cursor and not the hand..…

---

## [Button on movie clip, inside the Scene 1](https://forum.kirupa.com/t/button-on-movie-clip-inside-the-scene-1/288476)

<div class="topic-metadata">

**Author:** [@pedro\_mc](https://forum.kirupa.com/u/pedro_mc)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 11:20am UTC](https://forum.kirupa.com/t/button-on-movie-clip-inside-the-scene-1/288476 "2009-05-16T11:20:39Z")

</div>

Hello, Hope any of you people can help me with this problem: I have in the Scene 1, on layer 2, Frame 2 a movie clip named "Festival\_conteudo\_mc". And inside of this i have a buton ( close\_btn ) that I would like to …

---

## [Drag MC inside MC while tweening](https://forum.kirupa.com/t/drag-mc-inside-mc-while-tweening/288471)

<div class="topic-metadata">

**Author:** [@IntC](https://forum.kirupa.com/u/IntC)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 8:44am UTC](https://forum.kirupa.com/t/drag-mc-inside-mc-while-tweening/288471 "2009-05-16T08:44:18Z")

</div>

Hey, i need to drag the green rectangle on the red rectangle to make the red rectangle to go to frame 2. But the problem is i am using AS Tweening and i cannot pick up the green rectangle from the black area. Example i…

---

## [ActionScript 3 Full Browser XML Slideshow (With scrolling)](https://forum.kirupa.com/t/actionscript-3-full-browser-xml-slideshow-with-scrolling/288470)

<div class="topic-metadata">

**Author:** [@ovea\_se](https://forum.kirupa.com/u/ovea_se)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 7:42am UTC](https://forum.kirupa.com/t/actionscript-3-full-browser-xml-slideshow-with-scrolling/288470 "2009-05-16T07:42:49Z")

</div>

\[LEFT\]I find a really nice Full Browser XML Slideshow in ttp://www.blog.noponies.com/archives/65 \[/LEFT\] \[LEFT\]But a little problem...I:-) I have some great images that do not show full\[/LEFT\] \[LEFT\]I find a nice exa…

---

## [Platform Game: Tile or Art-based?](https://forum.kirupa.com/t/platform-game-tile-or-art-based/288468)

<div class="topic-metadata">

**Author:** [@Taruto](https://forum.kirupa.com/u/Taruto)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 6:33am UTC](https://forum.kirupa.com/t/platform-game-tile-or-art-based/288468 "2009-05-16T06:33:51Z")

</div>

I'm planning to create a side-scrolling platform game (doing the art and ActionScripting myself), I would like to know if it's better to make the levels art-based or tile-based? Which is better and why? If it makes any…

---

## [Problem with XML loading in images](https://forum.kirupa.com/t/problem-with-xml-loading-in-images/288465)

<div class="topic-metadata">

**Author:** [@Jingles87](https://forum.kirupa.com/u/Jingles87)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 5:26am UTC](https://forum.kirupa.com/t/problem-with-xml-loading-in-images/288465 "2009-05-16T05:26:33Z")

</div>

Hello all, I have a "website template" that I am working on and I am having some trouble with a few images that I am trying to load using XML. The images do load into where they're supposed to go but my problem is that…

---

## [Roman numeral converter](https://forum.kirupa.com/t/roman-numeral-converter/288464)

<div class="topic-metadata">

**Author:** [@Gyan\_Singh](https://forum.kirupa.com/u/Gyan_Singh)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 5:25am UTC](https://forum.kirupa.com/t/roman-numeral-converter/288464 "2009-05-16T05:25:31Z")

</div>

h

---

## [Enable a movie clip within a disabled movie clip?](https://forum.kirupa.com/t/enable-a-movie-clip-within-a-disabled-movie-clip/288462)

<div class="topic-metadata">

**Author:** [@C\_M](https://forum.kirupa.com/u/C_M)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 4:38am UTC](https://forum.kirupa.com/t/enable-a-movie-clip-within-a-disabled-movie-clip/288462 "2009-05-16T04:38:32Z")

</div>

After searching for hours online and not finding anything on my problem, I hope someone here can help me. \[smile\] I'm a beginner with Flash and my knowledge is limited. I have a movie clip on my main timeline that has …

---

## [How can create a Pyramid program by loop and switch function?](https://forum.kirupa.com/t/how-can-create-a-pyramid-program-by-loop-and-switch-function/288461)

<div class="topic-metadata">

**Author:** [@herbert101smith](https://forum.kirupa.com/u/herbert101smith)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 3:46am UTC](https://forum.kirupa.com/t/how-can-create-a-pyramid-program-by-loop-and-switch-function/288461 "2009-05-16T03:46:19Z")

</div>

Hi Friends, Please take a look on given codes and find out where I have committed any mistake. Actually I have created 5 buttons and trying to display a pyramid after clicked on button. I am using a javascript function…

---

## [Auto Format is stopping my code from working](https://forum.kirupa.com/t/auto-format-is-stopping-my-code-from-working/288460)

<div class="topic-metadata">

**Author:** [@thwarzle](https://forum.kirupa.com/u/thwarzle)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 1:27am UTC](https://forum.kirupa.com/t/auto-format-is-stopping-my-code-from-working/288460 "2009-05-16T01:27:40Z")

</div>

Hi, I was hoping someone could help me out with formatting. The code works fine, but every time I click Auto Format it changes the code so it doesn't work anymore, giving me all kinds of errors. I perceive this as some…

---

## [A quick way to condense html code?](https://forum.kirupa.com/t/a-quick-way-to-condense-html-code/288456)

<div class="topic-metadata">

**Author:** [@bsyapril88](https://forum.kirupa.com/u/bsyapril88)\
**Replies:** 0\
**Last updated:** [May 15, 2009, 10:17pm UTC](https://forum.kirupa.com/t/a-quick-way-to-condense-html-code/288456 "2009-05-15T22:17:38Z")

</div>

I'm looking for an easy way to condense code. For example turning... \<html\> \<img src="hi.jpg" /\> Hi! \</html\> ...into... \<html\>\<img src="hi.jpg" /\>Hi!\</html\> Is there a website or an option in dreamweaver to d…

---

## [Actions on movie clip inside another movie clip (menu) wont work](https://forum.kirupa.com/t/actions-on-movie-clip-inside-another-movie-clip-menu-wont-work/288455)

<div class="topic-metadata">

**Author:** [@pacuia](https://forum.kirupa.com/u/pacuia)\
**Replies:** 0\
**Last updated:** [May 15, 2009, 10:04pm UTC](https://forum.kirupa.com/t/actions-on-movie-clip-inside-another-movie-clip-menu-wont-work/288455 "2009-05-15T22:04:04Z")

</div>

Hello all, I have a very simple problem but I can't find the very simple solution to it... I've create an animated menu with animated movie clips inside to work as buttons... All the main buttons work perfectely but I'…

---

## [SharedObject - newbie needs help!](https://forum.kirupa.com/t/sharedobject-newbie-needs-help/288454)

<div class="topic-metadata">

**Author:** [@mytoki](https://forum.kirupa.com/u/mytoki)\
**Replies:** 0\
**Last updated:** [May 15, 2009, 9:47pm UTC](https://forum.kirupa.com/t/sharedobject-newbie-needs-help/288454 "2009-05-15T21:47:38Z")

</div>

This seems like a fairly easy thing to fix but I can't figure it out... I'd like to have just one button component in my movie, where you can click it on and off. Also, I'd like it to save a SharedObject so that if the…

---

## [JSON and FLASH CS4/ AS3. How do you display?](https://forum.kirupa.com/t/json-and-flash-cs4-as3-how-do-you-display/288453)

<div class="topic-metadata">

**Author:** [@CLosDesign](https://forum.kirupa.com/u/CLosDesign)\
**Replies:** 0\
**Last updated:** [May 15, 2009, 9:37pm UTC](https://forum.kirupa.com/t/json-and-flash-cs4-as3-how-do-you-display/288453 "2009-05-15T21:37:31Z")

</div>

I see there are many tutorials on how to display XML content. Does anyone know how to display JSON content. Is it the same way? I was able to find a tutorial on how to make JSON work with AS3 but I don't know how to disp…

---

## [Are you done yet?](https://forum.kirupa.com/t/are-you-done-yet/288452)

<div class="topic-metadata">

**Author:** [@letter](https://forum.kirupa.com/u/letter)\
**Replies:** 0\
**Last updated:** [May 15, 2009, 9:07pm UTC](https://forum.kirupa.com/t/are-you-done-yet/288452 "2009-05-15T21:07:30Z")

</div>

I've been playing with AS3 bitmap manipulation, cool stuff, but I have a question/concern: How do I know when a floodFill is done? I'm floodFill'ing a section of a bitmap, then immediately checking to see if the bi…

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

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