# programming

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

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

**Page:** 901

---

## [Noob with Image gallery](https://forum.kirupa.com/t/noob-with-image-gallery/283050)

<div class="topic-metadata">

**Author:** [@gawd1](https://forum.kirupa.com/u/gawd1)\
**Replies:** 0\
**Last updated:** [March 2, 2009, 4:05am UTC](https://forum.kirupa.com/t/noob-with-image-gallery/283050 "2009-03-02T04:05:13Z")

</div>

Hi there, Im a noob. I know many of you have heard my problem 1000 times. I did do a search. I have looked thru the tuts. Speaking of which, I know kirupa's tuts on image gallery were made with mx2004 and other ver…

---

## [Unique MC name?](https://forum.kirupa.com/t/unique-mc-name/283049)

<div class="topic-metadata">

**Author:** [@michdd](https://forum.kirupa.com/u/michdd)\
**Replies:** 0\
**Last updated:** [March 2, 2009, 3:47am UTC](https://forum.kirupa.com/t/unique-mc-name/283049 "2009-03-02T03:47:24Z")

</div>

I have some code like this: mapW = curMap\[0\].length; mapH = curMap.length; for (var yt:int = 0; yt \< mapH; yt++) { for (var xt:int = 0; xt \< mapW; xt++) { } } Instead of both of those for statements I have…

---

## [Setting Binary Value in PHP?](https://forum.kirupa.com/t/setting-binary-value-in-php/283047)

<div class="topic-metadata">

**Author:** [@Yeldarb](https://forum.kirupa.com/u/Yeldarb)\
**Replies:** 0\
**Last updated:** [March 2, 2009, 3:08am UTC](https://forum.kirupa.com/t/setting-binary-value-in-php/283047 "2009-03-02T03:08:06Z")

</div>

Is there a way to set a binary value in PHP similar to the way you can set a variable in Hex or Octal? Binary: $var = ??? Octal: $var = 0777777777777 Decimal: $var = -1 Hex: $var = 0xFFFFFF I was thinking 0b111111111…

---

## [Problem with 3 flv's on homepage](https://forum.kirupa.com/t/problem-with-3-flvs-on-homepage/283046)

<div class="topic-metadata">

**Author:** [@alexmel7](https://forum.kirupa.com/u/alexmel7)\
**Replies:** 0\
**Last updated:** [March 2, 2009, 2:47am UTC](https://forum.kirupa.com/t/problem-with-3-flvs-on-homepage/283046 "2009-03-02T02:47:56Z")

</div>

Hey, I have a site I'm working on (http://tstcareertech.org/) where I have three flv's on the the homepage (intro, programs, conclusion). I have buttons above the video player for each of these sections that, when presse…

---

## [XML Slideshow](https://forum.kirupa.com/t/xml-slideshow/283043)

<div class="topic-metadata">

**Author:** [@timdenty](https://forum.kirupa.com/u/timdenty)\
**Replies:** 0\
**Last updated:** [March 2, 2009, 1:28am UTC](https://forum.kirupa.com/t/xml-slideshow/283043 "2009-03-02T01:28:47Z")

</div>

Hi - I am currently using the great Kirupa xml slideshow tutorial, but am having issues as I have separated the slideshow images into different categories - ie. the xml will contain a number of client nodes, each with wi…

---

## [Div not centering?](https://forum.kirupa.com/t/div-not-centering/283042)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [March 2, 2009, 12:13am UTC](https://forum.kirupa.com/t/div-not-centering/283042 "2009-03-02T00:13:47Z")

</div>

How do I properly center the footer div on the bottom of this html file? http://benbart.com/pierson/ \<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitiona…

---

## [Why can't I access button from inside MC?](https://forum.kirupa.com/t/why-cant-i-access-button-from-inside-mc/283041)

<div class="topic-metadata">

**Author:** [@imadingo](https://forum.kirupa.com/u/imadingo)\
**Replies:** 0\
**Last updated:** [March 2, 2009, 12:12am UTC](https://forum.kirupa.com/t/why-cant-i-access-button-from-inside-mc/283041 "2009-03-02T00:12:54Z")

</div>

I am learning how to create menu systems for a game and have a few different "screens" (movieclips with buttons and such). I am getting Undefined Property errors when I try to access a button from the class file of a s…

---

## [Loading Web Pages in MovieClip?](https://forum.kirupa.com/t/loading-web-pages-in-movieclip/283040)

<div class="topic-metadata">

**Author:** [@PaulHolloway](https://forum.kirupa.com/u/PaulHolloway)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 11:37pm UTC](https://forum.kirupa.com/t/loading-web-pages-in-movieclip/283040 "2009-03-01T23:37:04Z")

</div>

Basically I have decided to make this webpage for a client on the left side is the navigation and when they click on some of the buttons, I would like for the MovieClip to load a website so every time a user clicks on th…

---

## [Checkbox to select email addresses](https://forum.kirupa.com/t/checkbox-to-select-email-addresses/283039)

<div class="topic-metadata">

**Author:** [@njfuller](https://forum.kirupa.com/u/njfuller)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 11:02pm UTC](https://forum.kirupa.com/t/checkbox-to-select-email-addresses/283039 "2009-03-01T23:02:50Z")

</div>

Hi all, Kirupa forums have rescued me in the past many many times, I'm hoping you guys can save me once again! I have a simple contact form on my website, using html form + php to send the info. I would like to make…

---

## [Problems with positioning a movie cip](https://forum.kirupa.com/t/problems-with-positioning-a-movie-cip/283036)

<div class="topic-metadata">

**Author:** [@DrMaxMad](https://forum.kirupa.com/u/DrMaxMad)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 9:34pm UTC](https://forum.kirupa.com/t/problems-with-positioning-a-movie-cip/283036 "2009-03-01T21:34:56Z")

</div>

HI there,,,, i am having some problem with positioning a movieclip on stage..here is the code stage.scaleMode = StageScaleMode.NO\_SCALE; disp\_txt.text = stage.stageWidth +" : "+ stage.stageHeight; clip\_mc.x = stag…

---

## [Text not doing what it is supposed to](https://forum.kirupa.com/t/text-not-doing-what-it-is-supposed-to/283033)

<div class="topic-metadata">

**Author:** [@flashjones](https://forum.kirupa.com/u/flashjones)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 8:54pm UTC](https://forum.kirupa.com/t/text-not-doing-what-it-is-supposed-to/283033 "2009-03-01T20:54:52Z")

</div>

Can anyone tell me why the text isn't lining up with the top of the image at the top of the page? I have the picture of the guy and girl at the top of the page vertically aligned to the top and the text right next to it …

---

## [The 'all' value and skipping tables](https://forum.kirupa.com/t/the-all-value-and-skipping-tables/283032)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 8:54pm UTC](https://forum.kirupa.com/t/the-all-value-and-skipping-tables/283032 "2009-03-01T20:54:15Z")

</div>

Okay, so I have a form (HERE) with 5 drop-down menus that grab information from the database based on the information chosen. I would like to know how to code the PHP so that if a user chooses the the value 'all' it pre…

---

## [I need the actionscript?](https://forum.kirupa.com/t/i-need-the-actionscript/283030)

<div class="topic-metadata">

**Author:** [@williams\_1903](https://forum.kirupa.com/u/williams_1903)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 8:19pm UTC](https://forum.kirupa.com/t/i-need-the-actionscript/283030 "2009-03-01T20:19:05Z")

</div>

I have created a delete button and have linked it to a text box along with another button that displays "1" in the text box when clicked. I need a button that will then delete this "1" out of the text box when clicked.

---

## [Slider stealing my arrow keys](https://forum.kirupa.com/t/slider-stealing-my-arrow-keys/283028)

<div class="topic-metadata">

**Author:** [@kevin416](https://forum.kirupa.com/u/kevin416)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 7:29pm UTC](https://forum.kirupa.com/t/slider-stealing-my-arrow-keys/283028 "2009-03-01T19:29:33Z")

</div>

Hello, I was hoping to use the slider component to control some parameters in a game. However, after clicking on the slider to adjust it, the arrow keys start controlling the slider and stop controlling the character i…

---

## [My atempt in loading external images](https://forum.kirupa.com/t/my-atempt-in-loading-external-images/283027)

<div class="topic-metadata">

**Author:** [@Angel\_Ice](https://forum.kirupa.com/u/Angel_Ice)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 7:21pm UTC](https://forum.kirupa.com/t/my-atempt-in-loading-external-images/283027 "2009-03-01T19:21:56Z")

</div>

Hi guys, I'm new on As and I'm doing some lessons. I'm loading 2 external images and than positioning them one near the other. Here is how I do this: var img1:URLRequest = new URLRequest("img/img1.jpg"); var loade…

---

## [Problem with PHP Mail Form](https://forum.kirupa.com/t/problem-with-php-mail-form/283025)

<div class="topic-metadata">

**Author:** [@harpo64](https://forum.kirupa.com/u/harpo64)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 7:11pm UTC](https://forum.kirupa.com/t/problem-with-php-mail-form/283025 "2009-03-01T19:11:10Z")

</div>

This has been driving me crazy for a week now. I've set up many forms using PHP to gather and send data, but I have one now that isn't working and I can't get it to work. I tried using the most basic tutorial here http:/…

---

## [How to make mouseover scroll buttons attached to textarea with external loaded text?](https://forum.kirupa.com/t/how-to-make-mouseover-scroll-buttons-attached-to-textarea-with-external-loaded-text/283023)

<div class="topic-metadata">

**Author:** [@design1](https://forum.kirupa.com/u/design1)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 7:04pm UTC](https://forum.kirupa.com/t/how-to-make-mouseover-scroll-buttons-attached-to-textarea-with-external-loaded-text/283023 "2009-03-01T19:04:20Z")

</div>

Hi, I am working in Flash CS3 and AS3, and I'm not good in scripting. I want to make a dynamic textarea with loaded text from an external textfile, and then I want custom made arrow buttons to start scrolling the load…

---

## [Undoubtedly Simple Fix Help Please](https://forum.kirupa.com/t/undoubtedly-simple-fix-help-please/283021)

<div class="topic-metadata">

**Author:** [@BansheeIndian](https://forum.kirupa.com/u/BansheeIndian)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 6:37pm UTC](https://forum.kirupa.com/t/undoubtedly-simple-fix-help-please/283021 "2009-03-01T18:37:33Z")

</div>

Hey guys I'm working on a 2D sidescrolling platform game for my programming class and I've pretty much just started, I've been working on the character movement, right now I've got left and right movement to work easy …

---

## [Flash CS3 file with AS 3.0 classes to Flash 8 file](https://forum.kirupa.com/t/flash-cs3-file-with-as-3-0-classes-to-flash-8-file/283020)

<div class="topic-metadata">

**Author:** [@spectator](https://forum.kirupa.com/u/spectator)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 4:43pm UTC](https://forum.kirupa.com/t/flash-cs3-file-with-as-3-0-classes-to-flash-8-file/283020 "2009-03-01T16:43:55Z")

</div>

I have file in CS3 which is working with classes. The problem is that I have to save it to lower version. I go to 'Save As' and choose Flash 8 document, but if i try to run the file it is not working. How can I save my C…

---

## [AS3 Basic Youtube load](https://forum.kirupa.com/t/as3-basic-youtube-load/283019)

<div class="topic-metadata">

**Author:** [@ventoline](https://forum.kirupa.com/u/ventoline)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 4:28pm UTC](https://forum.kirupa.com/t/as3-basic-youtube-load/283019 "2009-03-01T16:28:56Z")

</div>

Hi, I'm trying to load a youtube video (no wrapper or player), and i get the error: Erreur d'ouverture de l'URL 'http://www.youtube.com/v/fnqDFfJg-mU&hl=en&fs=1' Error #2044: Unhandled IOErrorEvent:. text=Error #2036:…

---

## [Have MovieClip Remove Itself](https://forum.kirupa.com/t/have-movieclip-remove-itself/283013)

<div class="topic-metadata">

**Author:** [@absameen](https://forum.kirupa.com/u/absameen)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 12:40pm UTC](https://forum.kirupa.com/t/have-movieclip-remove-itself/283013 "2009-03-01T12:40:56Z")

</div>

A MovieClip is added to the stage using addChild(myMovieClip) How can I remove it from the class itself? I tried stage.removeChild(this) and removeChild(this), both don't work.

---

## [Some questions about AS3](https://forum.kirupa.com/t/some-questions-about-as3/283011)

<div class="topic-metadata">

**Author:** [@Elementss](https://forum.kirupa.com/u/Elementss)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 12:14pm UTC](https://forum.kirupa.com/t/some-questions-about-as3/283011 "2009-03-01T12:14:36Z")

</div>

well i just started lerning the as3. . im taking my old as2 and trying to convert them to 3. . . ‎ doing preaty well. . .:-) ‎ what i wold like to know is whats the command for: saving a image.jpg while runing a film. …

---

## [Where do i start](https://forum.kirupa.com/t/where-do-i-start/283005)

<div class="topic-metadata">

**Author:** [@baddot](https://forum.kirupa.com/u/baddot)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 8:59am UTC](https://forum.kirupa.com/t/where-do-i-start/283005 "2009-03-01T08:59:13Z")

</div>

can anyone tell me where do i start from here ? http://virtualtour.richmond.edu/link/mapnewest4.html what do i have to do first what to start with

---

## [Sortting an Array by alphabet or number](https://forum.kirupa.com/t/sortting-an-array-by-alphabet-or-number/283002)

<div class="topic-metadata">

**Author:** [@chup](https://forum.kirupa.com/u/chup)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 7:27am UTC](https://forum.kirupa.com/t/sortting-an-array-by-alphabet-or-number/283002 "2009-03-01T07:27:42Z")

</div>

Sortting an Array by alphabet or number Hi all, say I have a list of array like this var SDArrayIndex = new Array(); var SDArrayName = new Array(); var SDArrayNum = new Array(); SDArrayIndex\[0\] = 1; SDArrayName\[0\] …

---

## [Movie Not Loading!](https://forum.kirupa.com/t/movie-not-loading/283001)

<div class="topic-metadata">

**Author:** [@huckwalton](https://forum.kirupa.com/u/huckwalton)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 6:15am UTC](https://forum.kirupa.com/t/movie-not-loading/283001 "2009-03-01T06:15:11Z")

</div>

Setup: I have an html page with an embedded flash object. The object is an "index.swf" with an empty movie clip on it. External swf's load onto the index swf via the empty movie clip when buttons are pushed. Problem: O…

---

## [Line Automatically Draws as Symbol?](https://forum.kirupa.com/t/line-automatically-draws-as-symbol/282997)

<div class="topic-metadata">

**Author:** [@YoungDreez](https://forum.kirupa.com/u/YoungDreez)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 4:57am UTC](https://forum.kirupa.com/t/line-automatically-draws-as-symbol/282997 "2009-03-01T04:57:22Z")

</div>

Hi, I'm having an issue with Flash CS4. I'm not sure what I toggled, but when I draw a line or shape it automatically converts it into a symbol. How do I disable this? It's very annoying to have to break apart each lin…

---

## [XML to multidimensional array](https://forum.kirupa.com/t/xml-to-multidimensional-array/282994)

<div class="topic-metadata">

**Author:** [@asthyanax](https://forum.kirupa.com/u/asthyanax)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 4:23am UTC](https://forum.kirupa.com/t/xml-to-multidimensional-array/282994 "2009-03-01T04:23:39Z")

</div>

Hi, I need a little help about a dynamic array from an xml file. I have an issue put dynamic number of nodes into an array and then populate another array. Don't know if i'm really clear so here's what I do so far. Here'…

---

## [Pretend Button](https://forum.kirupa.com/t/pretend-button/282992)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 3:28am UTC](https://forum.kirupa.com/t/pretend-button/282992 "2009-03-01T03:28:41Z")

</div>

I have a function that is called by a CLICK eventListener. I want to call the function as if the button was clicked, but it wasn't really clicked. var tempEvent:Object; tempEvent.target = printMC.getChildByNa…

---

## [Pop up code doesn't work anymore](https://forum.kirupa.com/t/pop-up-code-doesnt-work-anymore/282991)

<div class="topic-metadata">

**Author:** [@tseyigai](https://forum.kirupa.com/u/tseyigai)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 3:14am UTC](https://forum.kirupa.com/t/pop-up-code-doesnt-work-anymore/282991 "2009-03-01T03:14:51Z")

</div>

I have used a pop up window code several times before and now it doesn't seem to work. I've tried in several different movies now and when pressing the button it simply flashed the page and moves a little, but won't actu…

---

## [Using a function to set x position](https://forum.kirupa.com/t/using-a-function-to-set-x-position/282990)

<div class="topic-metadata">

**Author:** [@marilynn\_fowler](https://forum.kirupa.com/u/marilynn_fowler)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 2:54am UTC](https://forum.kirupa.com/t/using-a-function-to-set-x-position/282990 "2009-03-01T02:54:21Z")

</div>

I've declared a global variable called \[COLOR=DarkRed\]thumbSpace\[/COLOR\]. I have an \[COLOR=DarkRed\]xmlLoaded\[/COLOR\] function that loads in thumbnails from an xml file using a loop. I have an event listener call the \[COL…

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

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