# programming

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

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

**Page:** 156

---

## [HitTestObject on a Box2D-object](https://forum.kirupa.com/t/hittestobject-on-a-box2d-object/329173)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [July 28, 2012, 12:26pm UTC](https://forum.kirupa.com/t/hittestobject-on-a-box2d-object/329173 "2012-07-28T12:26:47Z")

</div>

Hello! I've started playing around with Box2D and I've encountered a problem I can't figure out. I got 4 walls and a point that's floating around on the stage searching for collisions with the walls. Here is the code tha…

---

## [As3 problem](https://forum.kirupa.com/t/as3-problem/329168)

<div class="topic-metadata">

**Author:** [@BlindSide78](https://forum.kirupa.com/u/BlindSide78)\
**Replies:** 0\
**Last updated:** [July 27, 2012, 5:28pm UTC](https://forum.kirupa.com/t/as3-problem/329168 "2012-07-27T17:28:46Z")

</div>

Hi guys im tring to make a movieclip point at a movieclip within classes i have a turrent class, a player class, and a main class that controls everything. so in my main class i put this code to display the player: v…

---

## [Flash Professional - Flash Builder 4.6?](https://forum.kirupa.com/t/flash-professional-flash-builder-4-6/329167)

<div class="topic-metadata">

**Author:** [@NightGrooves](https://forum.kirupa.com/u/NightGrooves)\
**Replies:** 0\
**Last updated:** [July 27, 2012, 1:15pm UTC](https://forum.kirupa.com/t/flash-professional-flash-builder-4-6/329167 "2012-07-27T13:15:59Z")

</div>

Hey everyone, I was wondering if you're using ActionScript 3.0 in Flash Builder 4.6 can you use the same code that you would use if you were using Flash Professional? Or is there a slight variation that I'm not accoun…

---

## [Randomise postions](https://forum.kirupa.com/t/randomise-postions/329166)

<div class="topic-metadata">

**Author:** [@tonks](https://forum.kirupa.com/u/tonks)\
**Replies:** 0\
**Last updated:** [July 27, 2012, 10:29am UTC](https://forum.kirupa.com/t/randomise-postions/329166 "2012-07-27T10:29:58Z")

</div>

Hi Guys, Hope you can help. My actionscript skills are pretty weak so I have attached an FLA to show you what I need. All I want to do it randomise the postion of these 6 movieclips. I have placed a duplicate layer of m…

---

## [Variables passing](https://forum.kirupa.com/t/variables-passing/329165)

<div class="topic-metadata">

**Author:** [@azeroth](https://forum.kirupa.com/u/azeroth)\
**Replies:** 0\
**Last updated:** [July 27, 2012, 9:39am UTC](https://forum.kirupa.com/t/variables-passing/329165 "2012-07-27T09:39:23Z")

</div>

Hey again guys, now i have this: http://triplew.com.gr/cathedral/test.rar i have a database named "maxiakrev" and a table in it "items" with columns: id int primary key not null auto\_increment name text armor int d…

---

## [AVG and COUNT functions are not giving proper result in SQL query](https://forum.kirupa.com/t/avg-and-count-functions-are-not-giving-proper-result-in-sql-query/329164)

<div class="topic-metadata">

**Author:** [@kra123](https://forum.kirupa.com/u/kra123)\
**Replies:** 0\
**Last updated:** [July 27, 2012, 9:23am UTC](https://forum.kirupa.com/t/avg-and-count-functions-are-not-giving-proper-result-in-sql-query/329164 "2012-07-27T09:23:10Z")

</div>

Hello Everyone, I have following query and I am trying to display members in the order where members with highest average rating will be displayed first, if more than one members have same average rating then highest…

---

## [How can we create such 3D (360 degree) View websites?](https://forum.kirupa.com/t/how-can-we-create-such-3d-360-degree-view-websites/329162)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [July 26, 2012, 9:53pm UTC](https://forum.kirupa.com/t/how-can-we-create-such-3d-360-degree-view-websites/329162 "2012-07-26T21:53:06Z")

</div>

Hi, How to create such 360 degree View website? Please let me know the software requirements and any tutorial link. The following is the Website Link: http://www.saco-ksa.com/360/out.html I am using FLASH CS4. T…

---

## [How to avoid a #1009 error in a drag and drop](https://forum.kirupa.com/t/how-to-avoid-a-1009-error-in-a-drag-and-drop/329161)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [July 26, 2012, 8:42pm UTC](https://forum.kirupa.com/t/how-to-avoid-a-1009-error-in-a-drag-and-drop/329161 "2012-07-26T20:42:00Z")

</div>

OK. I've got this drag and drop working but when I drop it anywhere other thatn the target, such as the stage, I get this error. TypeError: Error #1009: Cannot access a property or method of a null object reference. …

---

## [How to replace text in a string, in a certain spot](https://forum.kirupa.com/t/how-to-replace-text-in-a-string-in-a-certain-spot/329159)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [July 26, 2012, 5:05pm UTC](https://forum.kirupa.com/t/how-to-replace-text-in-a-string-in-a-certain-spot/329159 "2012-07-26T17:05:38Z")

</div>

Hello, I am working on a drag and drop interactive. The text all comes from external XML files. When the user drops an answer onto a question I need the text from the dragger to display in the proper location in the qu…

---

## [Why is this dictionary not working HELP,HELP](https://forum.kirupa.com/t/why-is-this-dictionary-not-working-help-help/329157)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [July 26, 2012, 4:07pm UTC](https://forum.kirupa.com/t/why-is-this-dictionary-not-working-help-help/329157 "2012-07-26T16:07:50Z")

</div>

The 2 traces at the bottom output this: //nameX //undefined So, the first trace outputs what I expected but the second trace comes back as undefined. I am trying to access text which I assigned to the drop target, bu…

---

## [SWF Address Retrofit\`](https://forum.kirupa.com/t/swf-address-retrofit/329156)

<div class="topic-metadata">

**Author:** [@lletdownl](https://forum.kirupa.com/u/lletdownl)\
**Replies:** 0\
**Last updated:** [July 26, 2012, 2:15pm UTC](https://forum.kirupa.com/t/swf-address-retrofit/329156 "2012-07-26T14:15:02Z")

</div>

Hello all, I am wrapping up retrofitting my offices old flash site with SWF addressing to make it a bit more user friendly. Anyone interested in taking it through its paces and posting comments below regarding bugs, or…

---

## [Jewelry Making Supplies Wholesale, Cheap Beads and Charms](https://forum.kirupa.com/t/jewelry-making-supplies-wholesale-cheap-beads-and-charms/329155)

<div class="topic-metadata">

**Author:** [@jackeywang13](https://forum.kirupa.com/u/jackeywang13)\
**Replies:** 0\
**Last updated:** [July 26, 2012, 8:43am UTC](https://forum.kirupa.com/t/jewelry-making-supplies-wholesale-cheap-beads-and-charms/329155 "2012-07-26T08:43:36Z")

</div>

In today’s seed bead projects, I will show you how to make a seed bead bracelet that are fun to wear yourself and also as great gifts to others as well. In the whole project, only 3 kinds of beads, 1 roll nylon wire and …

---

## [Issue with php variable used as a link](https://forum.kirupa.com/t/issue-with-php-variable-used-as-a-link/329152)

<div class="topic-metadata">

**Author:** [@donnie3543](https://forum.kirupa.com/u/donnie3543)\
**Replies:** 0\
**Last updated:** [July 26, 2012, 1:31am UTC](https://forum.kirupa.com/t/issue-with-php-variable-used-as-a-link/329152 "2012-07-26T01:31:18Z")

</div>

I'm stumped here. Basically my customer is uploading an image named 1.jpg, 1.png, 1.gif, or 1.jpeg. I'm using php to look to see which file type it is and get the path which works fine. Problem is I can't seem to get t…

---

## [MovieClip Problem](https://forum.kirupa.com/t/movieclip-problem/329151)

<div class="topic-metadata">

**Author:** [@nickseego](https://forum.kirupa.com/u/nickseego)\
**Replies:** 0\
**Last updated:** [July 26, 2012, 12:31am UTC](https://forum.kirupa.com/t/movieclip-problem/329151 "2012-07-26T00:31:19Z")

</div>

Hey guys, I'm having a bit of trouble with a movieclip. I have a moviclip with a class attached to it and that movieclip(with the class) is stored within another movieclip(a container, if you will). The problem i'm havin…

---

## [Is this a good way to do a drag/drop in words. HELP, HELP](https://forum.kirupa.com/t/is-this-a-good-way-to-do-a-drag-drop-in-words-help-help/329146)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [July 25, 2012, 11:57am UTC](https://forum.kirupa.com/t/is-this-a-good-way-to-do-a-drag-drop-in-words-help-help/329146 "2012-07-25T11:57:45Z")

</div>

I do not have my code on this computer but here is what I have. I am making a drag/drop quiz where I have multiple questions, multiple answers. So there are multiple targets. I am creating these targets in a for loop, …

---

## [Storing scores online?](https://forum.kirupa.com/t/storing-scores-online/329145)

<div class="topic-metadata">

**Author:** [@Quiggz](https://forum.kirupa.com/u/Quiggz)\
**Replies:** 0\
**Last updated:** [July 25, 2012, 11:39am UTC](https://forum.kirupa.com/t/storing-scores-online/329145 "2012-07-25T11:39:36Z")

</div>

Hi, I'm currently making a game for Android. It's about clicking buttons and gaining upgrades. If you close the app the current data (money and what upgrades you have purchased) gets stored in a SharedObject. Unfortuna…

---

## [Slideshow - browser display problem](https://forum.kirupa.com/t/slideshow-browser-display-problem/329144)

<div class="topic-metadata">

**Author:** [@windranger](https://forum.kirupa.com/u/windranger)\
**Replies:** 0\
**Last updated:** [July 25, 2012, 7:50am UTC](https://forum.kirupa.com/t/slideshow-browser-display-problem/329144 "2012-07-25T07:50:57Z")

</div>

Hi, I have a slideshow made with actionscript and XML. I works fine with: Internet Explorer - offline Internet Explorer - online Firefox - offline. However, it doesn't work with Firefox - ONline ! So I can't unders…

---

## [SoundChannel question](https://forum.kirupa.com/t/soundchannel-question/329143)

<div class="topic-metadata">

**Author:** [@Quiggz](https://forum.kirupa.com/u/Quiggz)\
**Replies:** 0\
**Last updated:** [July 25, 2012, 7:50am UTC](https://forum.kirupa.com/t/soundchannel-question/329143 "2012-07-25T07:50:21Z")

</div>

Hi, I'm currently making an upgrade game for Android. I've already implemented some upgrades and I thought music was a pretty sweet upgrade. \*\*The Idea: \*\*You buy multiple layers of music. For example, in the electr…

---

## [Which types of songs you are like to listen?](https://forum.kirupa.com/t/which-types-of-songs-you-are-like-to-listen/329141)

<div class="topic-metadata">

**Author:** [@annygoal](https://forum.kirupa.com/u/annygoal)\
**Replies:** 0\
**Last updated:** [July 25, 2012, 7:16am UTC](https://forum.kirupa.com/t/which-types-of-songs-you-are-like-to-listen/329141 "2012-07-25T07:16:39Z")

</div>

Which types of songs you are like to listen? \[TABLE="width: 378"\] \[TR\] \[TD="class: xl65, width: 378"\]\[Oil Expeller\](http://www.gobindexpeller.com/) \[/TD\] \[/TR\] \[/TABLE\]

---

## [Accessing package variables in the movie](https://forum.kirupa.com/t/accessing-package-variables-in-the-movie/329139)

<div class="topic-metadata">

**Author:** [@sterna](https://forum.kirupa.com/u/sterna)\
**Replies:** 0\
**Last updated:** [July 25, 2012, 6:13am UTC](https://forum.kirupa.com/t/accessing-package-variables-in-the-movie/329139 "2012-07-25T06:13:08Z")

</div>

I have a package name se2u in file soeasy2use.as in folder soeasy2use. How can I access the variables in package? Package: package se2u { import flash.display.Sprite; import flash.events.Event; public cla…

---

## [Access MovieClip instance on Stage within other class](https://forum.kirupa.com/t/access-movieclip-instance-on-stage-within-other-class/329138)

<div class="topic-metadata">

**Author:** [@QatiL](https://forum.kirupa.com/u/QatiL)\
**Replies:** 0\
**Last updated:** [July 25, 2012, 6:02am UTC](https://forum.kirupa.com/t/access-movieclip-instance-on-stage-within-other-class/329138 "2012-07-25T06:02:41Z")

</div>

Hi. i have movieclip instance on stage. Instance name qwe type of Ship. I want to access it within other class EnemyShip.as. i tried this. MovieClip(this.parent).getChildByName("qwe") . but got TypeError: Error #1…

---

## [What is the best way to do this drag and drop](https://forum.kirupa.com/t/what-is-the-best-way-to-do-this-drag-and-drop/329135)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [July 24, 2012, 7:57pm UTC](https://forum.kirupa.com/t/what-is-the-best-way-to-do-this-drag-and-drop/329135 "2012-07-24T19:57:06Z")

</div>

Hello, I am trying to create a drag/drop where when you drop the answer onto the question it senses the target and traces the name of the target. What am I doing wrong? import flash.display.MovieClip; import flash.e…

---

## [Flash slower in Chrome?](https://forum.kirupa.com/t/flash-slower-in-chrome/329134)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [July 24, 2012, 7:04pm UTC](https://forum.kirupa.com/t/flash-slower-in-chrome/329134 "2012-07-24T19:04:47Z")

</div>

I am making an app using as3. I am testing in differents browser, and looks like chrome is the one that is giving me most headache. Is it just me or anyone else is having the same experience? IE9 is flying! Mozilla is ok…

---

## [Mario Bros 3 - Assistance](https://forum.kirupa.com/t/mario-bros-3-assistance/329133)

<div class="topic-metadata">

**Author:** [@NightGrooves](https://forum.kirupa.com/u/NightGrooves)\
**Replies:** 0\
**Last updated:** [July 24, 2012, 3:01pm UTC](https://forum.kirupa.com/t/mario-bros-3-assistance/329133 "2012-07-24T15:01:12Z")

</div>

Hey everyone, I just started working with ActionScript 3 about two weeks ago, and I get some of it, but still have gaps with other things. I'm slowly grasping it bit by bit. I'm wondering if it's at all possible to kin…

---

## [Help with toggle function and checkboxes](https://forum.kirupa.com/t/help-with-toggle-function-and-checkboxes/329132)

<div class="topic-metadata">

**Author:** [@David\_G](https://forum.kirupa.com/u/David_G)\
**Replies:** 0\
**Last updated:** [July 24, 2012, 2:32pm UTC](https://forum.kirupa.com/t/help-with-toggle-function-and-checkboxes/329132 "2012-07-24T14:32:01Z")

</div>

Hi I don't suppose someone could script this for me as I haven't a clue? (see attached .fla) Basically it's going to be a presentation and there will be a map as a background image and the coloured text boxes relate …

---

## [Need some help with my htaccess file... pls help... i need it working for my AS3](https://forum.kirupa.com/t/need-some-help-with-my-htaccess-file-pls-help-i-need-it-working-for-my-as3/329130)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [July 24, 2012, 12:28pm UTC](https://forum.kirupa.com/t/need-some-help-with-my-htaccess-file-pls-help-i-need-it-working-for-my-as3/329130 "2012-07-24T12:28:49Z")

</div>

Here is my htaccess file: RewriteEngine On RewriteCond %{HTTP\_HOST} ^(.\*\\.)\*mydomain.com$ \[NC\] RewriteCond %{SERVER\_PORT} !^443$ RewriteRule ^(.\*)$ https://www.mydomain.com$1 \[R\] I would like to make ONLY a folder …

---

## [Simulate light ray hitting wall](https://forum.kirupa.com/t/simulate-light-ray-hitting-wall/329129)

<div class="topic-metadata">

**Author:** [@santanoa](https://forum.kirupa.com/u/santanoa)\
**Replies:** 0\
**Last updated:** [July 24, 2012, 10:18am UTC](https://forum.kirupa.com/t/simulate-light-ray-hitting-wall/329129 "2012-07-24T10:18:42Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]I'm trying to simulate a light ray (which you can assume is just a rotated rectangle) hitting a wall (another rectangle, also could be rotated). I've gotten the collision detection working, b…

---

## [Online video recording using webcam and Red5](https://forum.kirupa.com/t/online-video-recording-using-webcam-and-red5/329128)

<div class="topic-metadata">

**Author:** [@asoako](https://forum.kirupa.com/u/asoako)\
**Replies:** 0\
**Last updated:** [July 24, 2012, 9:14am UTC](https://forum.kirupa.com/t/online-video-recording-using-webcam-and-red5/329128 "2012-07-24T09:14:04Z")

</div>

Hi, Just wondering if any of you guys know and good tutorial for video recording. I'm trying to install red5 right now but with no avail. I'm getting javac errors. I just bough a media temple dv account with 512mb…

---

## [Error loading xml locally on Chrome browser](https://forum.kirupa.com/t/error-loading-xml-locally-on-chrome-browser/329127)

<div class="topic-metadata">

**Author:** [@nitinmukesh](https://forum.kirupa.com/u/nitinmukesh)\
**Replies:** 0\
**Last updated:** [July 24, 2012, 5:51am UTC](https://forum.kirupa.com/t/error-loading-xml-locally-on-chrome-browser/329127 "2012-07-24T05:51:05Z")

</div>

Hi frnds, I am working on a project which is xml based and is supposed to run locally and online. There are several xml files which have to be loaded page by page. All works fine if the content is run online or using…

---

## [How do spawn bullets at speeds](https://forum.kirupa.com/t/how-do-spawn-bullets-at-speeds/329126)

<div class="topic-metadata">

**Author:** [@BlindSide78](https://forum.kirupa.com/u/BlindSide78)\
**Replies:** 0\
**Last updated:** [July 23, 2012, 11:55pm UTC](https://forum.kirupa.com/t/how-do-spawn-bullets-at-speeds/329126 "2012-07-23T23:55:36Z")

</div>

\[COLOR=#C9BEBE\]\[FONT=Arial\]Hi guys\[/FONT\]\[/COLOR\] \[COLOR=#C9BEBE\]\[FONT=Arial\]I was just wondering if guys could help me with something. Im tring to make the bullet come out a barrel the same way a bullet comes out of a g…

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

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