# programming

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

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

**Page:** 502

---

## [Random Movement Along X Axis](https://forum.kirupa.com/t/random-movement-along-x-axis/308736)

<div class="topic-metadata">

**Author:** [@captsin](https://forum.kirupa.com/u/captsin)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 4:16am UTC](https://forum.kirupa.com/t/random-movement-along-x-axis/308736 "2010-04-29T04:16:57Z")

</div>

Hello, This is my first post. I'm new to actionscript but find it as rewarding as it is challenging. My problem is that I'd like a movie clip to randomly move along the x axis whenever the mouse is clicked by using…

---

## [Collision Issue](https://forum.kirupa.com/t/collision-issue/308735)

<div class="topic-metadata">

**Author:** [@Shneidr](https://forum.kirupa.com/u/Shneidr)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 3:22am UTC](https://forum.kirupa.com/t/collision-issue/308735 "2010-04-29T03:22:18Z")

</div>

Hey guys, So I'm programming this platform scrolling game, working really hard at fixing up a lot of nit picky issues and I've come across an issue with my ground collision: when the player jumps to a higher ledge that…

---

## [SWFADDRESS + URL variable](https://forum.kirupa.com/t/swfaddress-url-variable/308734)

<div class="topic-metadata">

**Author:** [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 3:15am UTC](https://forum.kirupa.com/t/swfaddress-url-variable/308734 "2010-04-29T03:15:16Z")

</div>

Hello all. Having a hard time getting info on SWFADDRESS so I thought I'd try here as Kirupa has saved my butt in the past. So my question is this. I am trying to attach a variable to the end of my SWFADDRESS url but can…

---

## [Brand New Canon 450D](https://forum.kirupa.com/t/brand-new-canon-450d/308729)

<div class="topic-metadata">

**Author:** [@upsales](https://forum.kirupa.com/u/upsales)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 12:29am UTC](https://forum.kirupa.com/t/brand-new-canon-450d/308729 "2010-04-29T00:29:17Z")

</div>

DIGITAL CAMERA VILLAGE. is a certified wholesaler of various brands of Cameras mobile phones, video games,laptops and digital Cameras. Shipping world wide via FedEx 48hrs Shipment 2days delivery with all shipp…

---

## [XML gallery variable img width](https://forum.kirupa.com/t/xml-gallery-variable-img-width/308728)

<div class="topic-metadata">

**Author:** [@Gandarufu](https://forum.kirupa.com/u/Gandarufu)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 11:03pm UTC](https://forum.kirupa.com/t/xml-gallery-variable-img-width/308728 "2010-04-28T23:03:26Z")

</div>

hi there folks, i'm a complete noob when it comes to scripting. i'm working on a XML gallery. it's supposed to read the images from the xml and then add them to a holder\_mc. my only problem is that i cannot work out…

---

## [No Errors But ship wont move](https://forum.kirupa.com/t/no-errors-but-ship-wont-move/308723)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 9:31pm UTC](https://forum.kirupa.com/t/no-errors-but-ship-wont-move/308723 "2010-04-28T21:31:04Z")

</div>

Hi all, im trying to capture keyboard events to steer my ship. I’m getting no errors but my ship wont go. the key trace and the burn trace works. var lForce:Number; stage.addEventListener(KeyboardEvent.KEY\_DOWN,move…

---

## [Creating forms with Javascript and HTML?](https://forum.kirupa.com/t/creating-forms-with-javascript-and-html/308722)

<div class="topic-metadata">

**Author:** [@boebarl1](https://forum.kirupa.com/u/boebarl1)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 9:20pm UTC](https://forum.kirupa.com/t/creating-forms-with-javascript-and-html/308722 "2010-04-28T21:20:20Z")

</div>

I am writing trying to create this form and I am wondering how I create multple questions with radio buttons? Can I have one large form with smaller forms inside of that one? I am wondering if the javascript will be able…

---

## [Need help, have a problem passing var data to \*.as document](https://forum.kirupa.com/t/need-help-have-a-problem-passing-var-data-to-as-document/308721)

<div class="topic-metadata">

**Author:** [@bob\_stone](https://forum.kirupa.com/u/bob_stone)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 8:48pm UTC](https://forum.kirupa.com/t/need-help-have-a-problem-passing-var-data-to-as-document/308721 "2010-04-28T20:48:49Z")

</div>

This problem is a lot more complex than title implies. I am trying to pass public var "quote" from player class document to movieclip function and on to a 2nd gigyaSocial.as method. I can trace the var in player.as but…

---

## [Setting Axis Dynamically?](https://forum.kirupa.com/t/setting-axis-dynamically/308720)

<div class="topic-metadata">

**Author:** [@jjmorga](https://forum.kirupa.com/u/jjmorga)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 8:32pm UTC](https://forum.kirupa.com/t/setting-axis-dynamically/308720 "2010-04-28T20:32:59Z")

</div>

Hello. I would like to set which axis is manipulated dynamically; or rather, I'd like to use a custom dynamic variable to set which proper variable to use. Kind of like this: my\_mc.x=55; or what i want to do is: my\_mc…

---

## [Velocity of multiple child's](https://forum.kirupa.com/t/velocity-of-multiple-childs/308719)

<div class="topic-metadata">

**Author:** [@JWH89](https://forum.kirupa.com/u/JWH89)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 8:30pm UTC](https://forum.kirupa.com/t/velocity-of-multiple-childs/308719 "2010-04-28T20:30:13Z")

</div>

Hi, pretty new to flash and AS3 and I'm having some problems when adding multiple instances of a movie clip then controlling their movement. I had it working fine when I was only adding one child. With the code I curr…

---

## [Flash MX V6 multiple draggable objects problem](https://forum.kirupa.com/t/flash-mx-v6-multiple-draggable-objects-problem/308715)

<div class="topic-metadata">

**Author:** [@bellasdaddy666](https://forum.kirupa.com/u/bellasdaddy666)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 6:57pm UTC](https://forum.kirupa.com/t/flash-mx-v6-multiple-draggable-objects-problem/308715 "2010-04-28T18:57:02Z")

</div>

Hi, I simply wanted to have a bunch of stickers to be placed on a shoe. Everything worked fine when all I had was one sticker, now that I have added another I'm getting a problem where the combination of the two (how m…

---

## [Bitwise operation](https://forum.kirupa.com/t/bitwise-operation/308713)

<div class="topic-metadata">

**Author:** [@pardoner](https://forum.kirupa.com/u/pardoner)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 5:26pm UTC](https://forum.kirupa.com/t/bitwise-operation/308713 "2010-04-28T17:26:14Z")

</div>

I'm trying to make a color utility class the with adjust color based on their hue (color), saturation (amount of white), and back values. Does anyone have any idea how -- using bitwise operators -- to increase the satu…

---

## [Hittest help!](https://forum.kirupa.com/t/hittest-help/308710)

<div class="topic-metadata">

**Author:** [@lauren92](https://forum.kirupa.com/u/lauren92)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 5:02pm UTC](https://forum.kirupa.com/t/hittest-help/308710 "2010-04-28T17:02:47Z")

</div>

hey i'm working on a flash project for school and need some help with a hittest. i'm making a game similar to pong and the ball bounces off each paddle fine with a regular hittest. however, the ball will not bounce off e…

---

## [SWFAddress - passing different vars with php](https://forum.kirupa.com/t/swfaddress-passing-different-vars-with-php/308707)

<div class="topic-metadata">

**Author:** [@pedromau](https://forum.kirupa.com/u/pedromau)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 4:06pm UTC](https://forum.kirupa.com/t/swfaddress-passing-different-vars-with-php/308707 "2010-04-28T16:06:10Z")

</div>

Hello! I'm trying to make a website where I can use SWFAddress. The thing is that I have all the site's info in sql. In the example found at http://www.asual.com/swfaddress/samples/seo/#/portfolio/2/?desc=true they use 2…

---

## [How to remove child! Why won't in remove!](https://forum.kirupa.com/t/how-to-remove-child-why-wont-in-remove/308705)

<div class="topic-metadata">

**Author:** [@phatmambo](https://forum.kirupa.com/u/phatmambo)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 3:24pm UTC](https://forum.kirupa.com/t/how-to-remove-child-why-wont-in-remove/308705 "2010-04-28T15:24:18Z")

</div>

I have a button (myCloseBtn) and when clicked it runs a function (removeFull) to remove a child (full\_mc) from the stage along with some others (full\_description) (full\_caption) (full\_price). This works fine! I also wa…

---

## [Mask Animation Problem](https://forum.kirupa.com/t/mask-animation-problem/308703)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 2:04pm UTC](https://forum.kirupa.com/t/mask-animation-problem/308703 "2010-04-28T14:04:27Z")

</div>

Hi guys, I'm trying to add a mask animation on a movieclip that i have in the library. The problem is that my code add the image to the movieclip that i have created to contain the image but his mask doesn't animate. So …

---

## [Placing DIV content from site A into site B](https://forum.kirupa.com/t/placing-div-content-from-site-a-into-site-b/308701)

<div class="topic-metadata">

**Author:** [@Chappo](https://forum.kirupa.com/u/Chappo)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 1:28pm UTC](https://forum.kirupa.com/t/placing-div-content-from-site-a-into-site-b/308701 "2010-04-28T13:28:47Z")

</div>

Hello, Have been searching for the solution for quite some time now and have not yet found anything that matches what i want to do. Basically i have 2 sites, for example: www.google.com en www.yahoo.com On the Google…

---

## [How to calculate total child of screen?](https://forum.kirupa.com/t/how-to-calculate-total-child-of-screen/308698)

<div class="topic-metadata">

**Author:** [@palanivelrajan](https://forum.kirupa.com/u/palanivelrajan)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 12:15pm UTC](https://forum.kirupa.com/t/how-to-calculate-total-child-of-screen/308698 "2010-04-28T12:15:30Z")

</div>

\<?xml version='1.0' encoding='UTF8'?\> \<data\> \<screen id="" title=""\> \<row\>110011101\</row\> \<row\>110011101\</row\> \<row\>110011101\</row\> \<row\>110011101\</row\> \<row\>110011101\</row\> …

---

## [Looping Mp3 in this](https://forum.kirupa.com/t/looping-mp3-in-this/308695)

<div class="topic-metadata">

**Author:** [@Dan008](https://forum.kirupa.com/u/Dan008)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 11:36am UTC](https://forum.kirupa.com/t/looping-mp3-in-this/308695 "2010-04-28T11:36:08Z")

</div>

Guys how do i get this sound to loop? "sonido1" - my mp3 stop(); import com.greensock.TweenMax; import com.greensock.easing.\* function love() { TweenMax.to(sonido1, 1, {volume:1, delay:0.5}); }; function apagad…

---

## [Problem regarding video, CS4 Flash](https://forum.kirupa.com/t/problem-regarding-video-cs4-flash/308694)

<div class="topic-metadata">

**Author:** [@xanten](https://forum.kirupa.com/u/xanten)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 11:25am UTC](https://forum.kirupa.com/t/problem-regarding-video-cs4-flash/308694 "2010-04-28T11:25:56Z")

</div>

Hello, this is my first post and i seem to have come across a problem with this Film promotional website i am creating in Flash CS4. On the first frame where i have the title and buttons i have added a trailer video usin…

---

## [Trouble with flash components](https://forum.kirupa.com/t/trouble-with-flash-components/308693)

<div class="topic-metadata">

**Author:** [@plumpnation](https://forum.kirupa.com/u/plumpnation)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 11:21am UTC](https://forum.kirupa.com/t/trouble-with-flash-components/308693 "2010-04-28T11:21:18Z")

</div>

Thanks for reading! I have a checkbox in the library of an external swf that is loaded into my main app. It is all OO, the checkbox is in the library and the import is in the class script. It works absolutely fine. …

---

## [Nested Arrays](https://forum.kirupa.com/t/nested-arrays/308691)

<div class="topic-metadata">

**Author:** [@thequ1ck](https://forum.kirupa.com/u/thequ1ck)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 10:56am UTC](https://forum.kirupa.com/t/nested-arrays/308691 "2010-04-28T10:56:07Z")

</div>

I'm sure this must have come up before but how do you generate nested arrays in as3? In AS2 I believe you could simply write arrayX\[a\]\*\*\[c\] = d; but in AS3 you need to declare each nested array e.g. function someFunc…

---

## [Difficulty with dynamic text boxes](https://forum.kirupa.com/t/difficulty-with-dynamic-text-boxes/308687)

<div class="topic-metadata">

**Author:** [@Munchie33](https://forum.kirupa.com/u/Munchie33)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 8:24am UTC](https://forum.kirupa.com/t/difficulty-with-dynamic-text-boxes/308687 "2010-04-28T08:24:07Z")

</div>

Hi everyone, I have searched everywhere but cannot find something similar to what I am trying to do. I want to make something where an object is controlled by pressing the arrowkeys (I can do that fine) and the locatio…

---

## [Beginner scope problem I guess? Please help!](https://forum.kirupa.com/t/beginner-scope-problem-i-guess-please-help/308682)

<div class="topic-metadata">

**Author:** [@user\_name1](https://forum.kirupa.com/u/user_name1)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 6:43am UTC](https://forum.kirupa.com/t/beginner-scope-problem-i-guess-please-help/308682 "2010-04-28T06:43:47Z")

</div>

Hi. I am having trouble just getting started on a simple as3 image slider. I cannot figure out oop in flash. In my fla file I have: var datastr:String = '\["img1.jpg", "img2.jpg", "img3.jpg", "img4.jpg", "img5.jpg…

---

## [Is someone can encrypt my swf?](https://forum.kirupa.com/t/is-someone-can-encrypt-my-swf/308680)

<div class="topic-metadata">

**Author:** [@domyself](https://forum.kirupa.com/u/domyself)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 6:00am UTC](https://forum.kirupa.com/t/is-someone-can-encrypt-my-swf/308680 "2010-04-28T06:00:06Z")

</div>

My company has a application developed by flash. We must encrypt it before release. So is some can tell me how to do it? Is there some very simple but efficient way? Or are there some good sofe for encrypting swf?

---

## [Getting the nodevalue in XML](https://forum.kirupa.com/t/getting-the-nodevalue-in-xml/308679)

<div class="topic-metadata">

**Author:** [@trumpet](https://forum.kirupa.com/u/trumpet)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 5:57am UTC](https://forum.kirupa.com/t/getting-the-nodevalue-in-xml/308679 "2010-04-28T05:57:29Z")

</div>

Hi, I had posted this post earlier but I guess i forgot to give it a title, anyway there's some progress in my quest with XML. The story so far: I have created an XML list that feeds a TreeView component, with AS2…

---

## [Help with dynamically created MC!](https://forum.kirupa.com/t/help-with-dynamically-created-mc/308674)

<div class="topic-metadata">

**Author:** [@sanzochan](https://forum.kirupa.com/u/sanzochan)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 3:40am UTC](https://forum.kirupa.com/t/help-with-dynamically-created-mc/308674 "2010-04-28T03:40:52Z")

</div>

Hi, I'm new here, and I've got a real problem. I'm trying to create a sorting game, where the player has to choose the odd one out. I've loaded an XML that hold all my pictures for that level. What I've done is to put …

---

## [AS2 to AS3 sound button](https://forum.kirupa.com/t/as2-to-as3-sound-button/308673)

<div class="topic-metadata">

**Author:** [@Dan008](https://forum.kirupa.com/u/Dan008)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 3:32am UTC](https://forum.kirupa.com/t/as2-to-as3-sound-button/308673 "2010-04-28T03:32:11Z")

</div>

Anyone can help out on this AS2 to AS3? In the MP3 clip frame1 (AS2) ///////////////MUSIC PLAYER //////////////////////////////// var song:Array = new Array(); //The random songs song\[0\] = "cms\_mp3/ran\_jazzmata…

---

## [Urgent help needed: Restricting object(movie Clip) in a defined boundry](https://forum.kirupa.com/t/urgent-help-needed-restricting-object-movie-clip-in-a-defined-boundry/308671)

<div class="topic-metadata">

**Author:** [@leeda111](https://forum.kirupa.com/u/leeda111)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 2:49am UTC](https://forum.kirupa.com/t/urgent-help-needed-restricting-object-movie-clip-in-a-defined-boundry/308671 "2010-04-28T02:49:10Z")

</div>

Hi, I am new to flash. I am trying to create a game right now. Soewhat same at the game "This is the only level"(http://armorgames.com/play/4309/this-is-the-only-level) I want to restrict the cartoon(movie object) wi…

---

## [Dynamic MCs and indexing them](https://forum.kirupa.com/t/dynamic-mcs-and-indexing-them/308670)

<div class="topic-metadata">

**Author:** [@marquizzo](https://forum.kirupa.com/u/marquizzo)\
**Replies:** 0\
**Last updated:** [April 28, 2010, 2:24am UTC](https://forum.kirupa.com/t/dynamic-mcs-and-indexing-them/308670 "2010-04-28T02:24:33Z")

</div>

Hello! I'm having a problem while assigning variables into dynamically-created MovieClips. Here's a pseudo-code of what I'm trying to achieve. var myArray:Array = \[\]; // Create a movieClip for each element in XML. f…

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

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