# programming

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

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

**Page:** 737

---

## [Simple Script Question](https://forum.kirupa.com/t/simple-script-question/293670)

<div class="topic-metadata">

**Author:** [@Gmoney34](https://forum.kirupa.com/u/Gmoney34)\
**Replies:** 0\
**Last updated:** [August 1, 2009, 6:37am UTC](https://forum.kirupa.com/t/simple-script-question/293670 "2009-08-01T06:37:55Z")

</div>

I downloaded the example for the following site: \[COLOR=#336699\]http://www.webzo.org/tutorials/flash...-slideshow.php\[/COLOR\] It allows you dow add images to the .xml file and then it show the images in a flash. Basicall…

---

## [Positioning Of Two Side-By-Side Text Elements](https://forum.kirupa.com/t/positioning-of-two-side-by-side-text-elements/293669)

<div class="topic-metadata">

**Author:** [@understudy](https://forum.kirupa.com/u/understudy)\
**Replies:** 0\
**Last updated:** [August 1, 2009, 5:38am UTC](https://forum.kirupa.com/t/positioning-of-two-side-by-side-text-elements/293669 "2009-08-01T05:38:20Z")

</div>

Hello all, I'm almost certain this is a simple problem, but I can't seem to find the obvious solution. Here is the page visually: http://www.bradhenderson.com/smith/ I have large text as a logo next to a small hor…

---

## [Placing items dynamically](https://forum.kirupa.com/t/placing-items-dynamically/293668)

<div class="topic-metadata">

**Author:** [@alpharaven](https://forum.kirupa.com/u/alpharaven)\
**Replies:** 0\
**Last updated:** [August 1, 2009, 5:28am UTC](https://forum.kirupa.com/t/placing-items-dynamically/293668 "2009-08-01T05:28:42Z")

</div>

I have a submenu that is being populated from an XML file. The problem that I am having is that some of the text is shorter than the rest therefore the buttons are over lapping one another or being placed far away from t…

---

## [Greybox/external interface call as3](https://forum.kirupa.com/t/greybox-external-interface-call-as3/293667)

<div class="topic-metadata">

**Author:** [@Ro\_Gee](https://forum.kirupa.com/u/Ro_Gee)\
**Replies:** 0\
**Last updated:** [August 1, 2009, 3:34am UTC](https://forum.kirupa.com/t/greybox-external-interface-call-as3/293667 "2009-08-01T03:34:50Z")

</div>

Hi Everyone, I am trying to open a greybox window from my flash movie. I am not getting a syntax error, but the window will not open when I click the button, either. Here is my actionScript 3 code: ActionScript Cod…

---

## [AS3 class to access external XML... help](https://forum.kirupa.com/t/as3-class-to-access-external-xml-help/293666)

<div class="topic-metadata">

**Author:** [@noverflow](https://forum.kirupa.com/u/noverflow)\
**Replies:** 0\
**Last updated:** [August 1, 2009, 2:54am UTC](https://forum.kirupa.com/t/as3-class-to-access-external-xml-help/293666 "2009-08-01T02:54:31Z")

</div>

So I have a class that reads from an external XML file, and it works great. (uses URLRequest and complete event listener) I have functions in it to read certain parts of the file. Im trying to create a new instance o…

---

## [Pulling information from DB store in array](https://forum.kirupa.com/t/pulling-information-from-db-store-in-array/293665)

<div class="topic-metadata">

**Author:** [@waverider303](https://forum.kirupa.com/u/waverider303)\
**Replies:** 0\
**Last updated:** [August 1, 2009, 2:28am UTC](https://forum.kirupa.com/t/pulling-information-from-db-store-in-array/293665 "2009-08-01T02:28:50Z")

</div>

I need some help. I am putting together a portfolio site. I have a database full of information include image paths, client id's, categories and sub categories. What I am trying to do is have a page that when you view a …

---

## [New to AS3, does this class look correct?](https://forum.kirupa.com/t/new-to-as3-does-this-class-look-correct/293661)

<div class="topic-metadata">

**Author:** [@anakadote](https://forum.kirupa.com/u/anakadote)\
**Replies:** 0\
**Last updated:** [August 1, 2009, 12:59am UTC](https://forum.kirupa.com/t/new-to-as3-does-this-class-look-correct/293661 "2009-08-01T00:59:41Z")

</div>

I hope this isn't faux pas, but I'm making the transition from AS2 to AS3 and was wondering if I'm on the right track with this class. One question in particular I have is, I'm storing a reference (I think it's just a re…

---

## [Flash video issues, youtube issues](https://forum.kirupa.com/t/flash-video-issues-youtube-issues/293658)

<div class="topic-metadata">

**Author:** [@samsoner](https://forum.kirupa.com/u/samsoner)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 10:03pm UTC](https://forum.kirupa.com/t/flash-video-issues-youtube-issues/293658 "2009-07-31T22:03:07Z")

</div>

I'll look to see if there is a tutorial for this, but my question is: How do you integrate a Flash website with a video on your server OR a video that is externally linked on youtube? The idea is to create something …

---

## [computeSpectrum on Sound class?](https://forum.kirupa.com/t/computespectrum-on-sound-class/293654)

<div class="topic-metadata">

**Author:** [@cesig](https://forum.kirupa.com/u/cesig)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 9:14pm UTC](https://forum.kirupa.com/t/computespectrum-on-sound-class/293654 "2009-07-31T21:14:24Z")

</div>

I'm trying to do some beat detection on a sound, but I want other sounds playing at the same time, and I don't want those to be included in the beat detection. Is there anything like SoundMixer.computeSpectrum for indiv…

---

## [Fade out sound clip without a button](https://forum.kirupa.com/t/fade-out-sound-clip-without-a-button/293653)

<div class="topic-metadata">

**Author:** [@lorelei](https://forum.kirupa.com/u/lorelei)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 9:00pm UTC](https://forum.kirupa.com/t/fade-out-sound-clip-without-a-button/293653 "2009-07-31T21:00:22Z")

</div>

Hey, I have an animation with some sound attached to it from the library. I want to fade out the sound when the animation ends.. How do I do this? My code for starting the sound is: var music:Sound = new Sound(); mu…

---

## [How to change to new HTML page on Submit](https://forum.kirupa.com/t/how-to-change-to-new-html-page-on-submit/293652)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 8:55pm UTC](https://forum.kirupa.com/t/how-to-change-to-new-html-page-on-submit/293652 "2009-07-31T20:55:44Z")

</div>

I have a form with these properties: \<form action="php/registration.php" target="\_blank" enctype="multipart/form-data" method="post" name="EventRegistration" id="EventRegistration" onsubmit="return Verify(this);"\> \<i…

---

## [startDrag & bounds problem](https://forum.kirupa.com/t/startdrag-bounds-problem/293650)

<div class="topic-metadata">

**Author:** [@regbolD](https://forum.kirupa.com/u/regbolD)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 8:23pm UTC](https://forum.kirupa.com/t/startdrag-bounds-problem/293650 "2009-07-31T20:23:36Z")

</div>

I have some movieClips on stage which are draggable and I \*\*dont \*\*want them to be draggable outside of a visible stage area. Problem is these movieClips are inside a sprite which is pannable and then for whatever reason…

---

## [Fall of solid ground?](https://forum.kirupa.com/t/fall-of-solid-ground/293642)

<div class="topic-metadata">

**Author:** [@santiagorook](https://forum.kirupa.com/u/santiagorook)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 7:03pm UTC](https://forum.kirupa.com/t/fall-of-solid-ground/293642 "2009-07-31T19:03:04Z")

</div>

Flv download -http://www.mediafire.com/?li4z3ezwmz0 Ok I am just learning action script and I am making a small halo game just to practice. In the first few moments of my game I noticed that when my character jumped, w…

---

## [PaperVision3D ViewportLayer problem](https://forum.kirupa.com/t/papervision3d-viewportlayer-problem/293639)

<div class="topic-metadata">

**Author:** [@pedro\_paulo](https://forum.kirupa.com/u/pedro_paulo)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 5:51pm UTC](https://forum.kirupa.com/t/papervision3d-viewportlayer-problem/293639 "2009-07-31T17:51:52Z")

</div>

Hi, everyone! I´m trying to separte two DisplayObjects 3D into ViewporLaers and controlling their "levels" on rendering. So I have two ViewportLayers: 1 - cardsHolder; and 2 - floorLayer. But floor layer is always ab…

---

## [\[Flash8/AS2\] Help Needed Regarding For Loops and Buttons](https://forum.kirupa.com/t/flash8-as2-help-needed-regarding-for-loops-and-buttons/293633)

<div class="topic-metadata">

**Author:** [@jimbobian](https://forum.kirupa.com/u/jimbobian)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 4:44pm UTC](https://forum.kirupa.com/t/flash8-as2-help-needed-regarding-for-loops-and-buttons/293633 "2009-07-31T16:44:15Z")

</div>

I have this code: for (z=0; z\<maxItems; z++) { \_root\["item\_"+z\].onRelease = function() { for (g=0; g\<maxItems; g++) { if (g != z) { \_root\["item\_"+g\].\_visible = false; …

---

## [How to past array via post request](https://forum.kirupa.com/t/how-to-past-array-via-post-request/293631)

<div class="topic-metadata">

**Author:** [@nighteagle](https://forum.kirupa.com/u/nighteagle)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 3:53pm UTC](https://forum.kirupa.com/t/how-to-past-array-via-post-request/293631 "2009-07-31T15:53:14Z")

</div>

When i crate flash mail list I past the variables via an object variables.name = formName; variables.mail = formMail; etc. but now I need to past an array and have no idea how to make this. Could someone help :huge…

---

## [What should this tell me?](https://forum.kirupa.com/t/what-should-this-tell-me/293630)

<div class="topic-metadata">

**Author:** [@dmennenoh](https://forum.kirupa.com/u/dmennenoh)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 3:08pm UTC](https://forum.kirupa.com/t/what-should-this-tell-me/293630 "2009-07-31T15:08:36Z")

</div>

I am getting an error and can't quite figure out what is going on - I have a player - Morris that uses an enter frame listener to move with the mouse. When I call remove - the listener is removed, stopping loop from bein…

---

## [Still seeking advice](https://forum.kirupa.com/t/still-seeking-advice/293628)

<div class="topic-metadata">

**Author:** [@alextrevino](https://forum.kirupa.com/u/alextrevino)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 2:36pm UTC](https://forum.kirupa.com/t/still-seeking-advice/293628 "2009-07-31T14:36:43Z")

</div>

In performing some further research into the matter I realized that I was trying to write a file that didn't exist. Here is the new code that works great, but I still need some assistance in appending the written file. I…

---

## [Array Troubles](https://forum.kirupa.com/t/array-troubles/293627)

<div class="topic-metadata">

**Author:** [@Signy](https://forum.kirupa.com/u/Signy)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 2:27pm UTC](https://forum.kirupa.com/t/array-troubles/293627 "2009-07-31T14:27:31Z")

</div>

Hi all, I'll start by posting my code then explain what I want it to achieve. var chosenIngredient :String; var maxPreviewIngredients :Number; var previewIngredients :Array = \[\]; var ingredien…

---

## [Seeking Assistance](https://forum.kirupa.com/t/seeking-assistance/293624)

<div class="topic-metadata">

**Author:** [@alextrevino](https://forum.kirupa.com/u/alextrevino)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 1:07pm UTC](https://forum.kirupa.com/t/seeking-assistance/293624 "2009-07-31T13:07:52Z")

</div>

I am currently trying to develop a program which will perform an HTTP GET to our inventory hosted on a third party vendor. I am capable of getting into the database and have a response coming back. When I run the program…

---

## [UI ScrollBar Component](https://forum.kirupa.com/t/ui-scrollbar-component/293622)

<div class="topic-metadata">

**Author:** [@steresa](https://forum.kirupa.com/u/steresa)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 12:07pm UTC](https://forum.kirupa.com/t/ui-scrollbar-component/293622 "2009-07-31T12:07:58Z")

</div>

I have a dynamic text box on the stage with some text in it. The dynamic text box has an instance name of myText. I also have the UIScrollBar component on the stage. How do I get the scrollbar component to link up to the…

---

## [FLV publishing problems](https://forum.kirupa.com/t/flv-publishing-problems/293616)

<div class="topic-metadata">

**Author:** [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 9:59am UTC](https://forum.kirupa.com/t/flv-publishing-problems/293616 "2009-07-31T09:59:05Z")

</div>

Hi, I am doing a brief with requires FLV in the movie, I have successfully done this but when I test my movie from the server it does not link to the FLV file. I have checked the linkage and seems ok...is there any oth…

---

## [Scrolling Text behavior](https://forum.kirupa.com/t/scrolling-text-behavior/293613)

<div class="topic-metadata">

**Author:** [@General\_Tso](https://forum.kirupa.com/u/General_Tso)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 9:16am UTC](https://forum.kirupa.com/t/scrolling-text-behavior/293613 "2009-07-31T09:16:53Z")

</div>

I am trying to make a scrolling text box and bar similar to snickelfritz’s. His file can be found in his post here: I downloaded it, and it works. So for now, I simply copied his code exactly except I removed the condi…

---

## [Strikethrough property for a Sprite](https://forum.kirupa.com/t/strikethrough-property-for-a-sprite/293611)

<div class="topic-metadata">

**Author:** [@noobie123](https://forum.kirupa.com/u/noobie123)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 9:08am UTC](https://forum.kirupa.com/t/strikethrough-property-for-a-sprite/293611 "2009-07-31T09:08:14Z")

</div>

Is there an easy way in AS3 to strike-through a Sprite object. Since I want to do this on an array of squares, I was wondering if its possible to do this by simply setting a property. This would be much easier than drawi…

---

## [Multiple SWF load problem](https://forum.kirupa.com/t/multiple-swf-load-problem/293608)

<div class="topic-metadata">

**Author:** [@worthyashes](https://forum.kirupa.com/u/worthyashes)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 8:28am UTC](https://forum.kirupa.com/t/multiple-swf-load-problem/293608 "2009-07-31T08:28:24Z")

</div>

Hi, I've got a wierd one here. Basically I'm loading a bunch of SWFs at the same time. I'm using a custom class to do the loading. Most of the time they all load OK, however occasionally one or two will be unloaded (I …

---

## [Link XML (When using a sort sort list)?](https://forum.kirupa.com/t/link-xml-when-using-a-sort-sort-list/293605)

<div class="topic-metadata">

**Author:** [@Matt\_Blank](https://forum.kirupa.com/u/Matt_Blank)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 7:25am UTC](https://forum.kirupa.com/t/link-xml-when-using-a-sort-sort-list/293605 "2009-07-31T07:25:18Z")

</div>

Hi, I'm trying to use this script: http://www.kirupa.com/web/xml/examples/sortedgradeslist.htm It does what I want with regards to sorting, but what I would like is each 'student' to be a clickable link to somewher…

---

## [3d WallPapers](https://forum.kirupa.com/t/3d-wallpapers/293601)

<div class="topic-metadata">

**Author:** [@uzma](https://forum.kirupa.com/u/uzma)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 6:47am UTC](https://forum.kirupa.com/t/3d-wallpapers/293601 "2009-07-31T06:47:53Z")

</div>

3D ART Wallpapers for computer. New 3D ART WALLPAPERS for desktop. 3d WallPapers

---

## [onLINE](https://forum.kirupa.com/t/online/293600)

<div class="topic-metadata">

**Author:** [@ron\_ron](https://forum.kirupa.com/u/ron_ron)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 6:20am UTC](https://forum.kirupa.com/t/online/293600 "2009-07-31T06:20:00Z")

</div>

I'm working on an online editing website. I'm wondering how to receive the image after the user edit it (change colours, add text) in to my email (as a PDF, JPEG, PNG,...??)? Is there a way apply an actionscript to a b…

---

## [Duplicating Mask and Setting it for Another Movie Clip at runtime](https://forum.kirupa.com/t/duplicating-mask-and-setting-it-for-another-movie-clip-at-runtime/293599)

<div class="topic-metadata">

**Author:** [@Neeraj](https://forum.kirupa.com/u/Neeraj)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 6:03am UTC](https://forum.kirupa.com/t/duplicating-mask-and-setting-it-for-another-movie-clip-at-runtime/293599 "2009-07-31T06:03:05Z")

</div>

got that solved.

---

## [Avoid stutter when scroll map](https://forum.kirupa.com/t/avoid-stutter-when-scroll-map/293598)

<div class="topic-metadata">

**Author:** [@tiru](https://forum.kirupa.com/u/tiru)\
**Replies:** 0\
**Last updated:** [July 31, 2009, 6:00am UTC](https://forum.kirupa.com/t/avoid-stutter-when-scroll-map/293598 "2009-07-31T06:00:11Z")

</div>

Hi iam using following code to scroll map. when scrolling horizontal or vertical, it scrolls perfect without any jerk(stutter) but when scroll diagnol this stutter happens. function scrollMap(){ var p = {x:0, y:0}; …

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

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