# programming

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

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

**Page:** 1739

---

## [\[help\] Option Box select](https://forum.kirupa.com/t/help-option-box-select/224544)

<div class="topic-metadata">

**Author:** [@cjj](https://forum.kirupa.com/u/cjj)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 7:29am UTC](https://forum.kirupa.com/t/help-option-box-select/224544 "2007-05-03T07:29:18Z")

</div>

I am not very familiar with JavaScript and I'm not sure if what I need uses JS. But let me ask anyway. \[image\] I have a form with "option boxes" and next to each option box I have an image. When you click on a specifi…

---

## [mp3 duration](https://forum.kirupa.com/t/mp3-duration/224543)

<div class="topic-metadata">

**Author:** [@bulletz](https://forum.kirupa.com/u/bulletz)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 7:20am UTC](https://forum.kirupa.com/t/mp3-duration/224543 "2007-05-03T07:20:15Z")

</div>

hello: i'm trying to create an mp3 player... buttons are created dynamically by loading xml file. i can only get the duration of the mp3 after i "loaded" it. how can i display the duration of each song without loading …

---

## [Multiple paragraphs and HTML text in AS3.0](https://forum.kirupa.com/t/multiple-paragraphs-and-html-text-in-as3-0/224542)

<div class="topic-metadata">

**Author:** [@dthought](https://forum.kirupa.com/u/dthought)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 6:51am UTC](https://forum.kirupa.com/t/multiple-paragraphs-and-html-text-in-as3-0/224542 "2007-05-03T06:51:45Z")

</div>

Hi everyone, 'Tis my first post here on Kirupa. I've been coding in Flash since Flash 4's pre-ActionScript language, and whilst I pretty much had AS1.0 down pat and half-paid attention to AS2.0 where possible, AS3.0 is…

---

## [Little C Help?](https://forum.kirupa.com/t/little-c-help/224540)

<div class="topic-metadata">

**Author:** [@hybrid101](https://forum.kirupa.com/u/hybrid101)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 6:14am UTC](https://forum.kirupa.com/t/little-c-help/224540 "2007-05-03T06:14:05Z")

</div>

eh, we got some questions for the comp camp, and we have no idea how o solve some of em. we got 6 questions, two hours, and can’t get any to work yet! HELP GUYS! \[FONT=Arial\]Problem 1. Friday the 13th\[/FONT\] \[FONT=Ari…

---

## [\#container border](https://forum.kirupa.com/t/container-border/224536)

<div class="topic-metadata">

**Author:** [@Flashback10](https://forum.kirupa.com/u/Flashback10)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 4:30am UTC](https://forum.kirupa.com/t/container-border/224536 "2007-05-03T04:30:01Z")

</div>

Hi everyone, I am working on a site where I want a 1px border around my entire container div (or wrapper as some call it). So this border will outline my entire layout. The good news is that I got this to work fine i…

---

## [Can I loop a specific section of music in Flash after the music intro plays?](https://forum.kirupa.com/t/can-i-loop-a-specific-section-of-music-in-flash-after-the-music-intro-plays/224535)

<div class="topic-metadata">

**Author:** [@aswhitehead](https://forum.kirupa.com/u/aswhitehead)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 4:01am UTC](https://forum.kirupa.com/t/can-i-loop-a-specific-section-of-music-in-flash-after-the-music-intro-plays/224535 "2007-05-03T04:01:59Z")

</div>

Hi! My question involves looping audio in flash. I already know how to make a section of audio in an audio-editing program that loops and make it loop continuosly in Flash. What I would like to do now is take an audio…

---

## [HTML text in dynamically created text fields?](https://forum.kirupa.com/t/html-text-in-dynamically-created-text-fields/224534)

<div class="topic-metadata">

**Author:** [@designcliche](https://forum.kirupa.com/u/designcliche)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 3:36am UTC](https://forum.kirupa.com/t/html-text-in-dynamically-created-text-fields/224534 "2007-05-03T03:36:43Z")

</div>

Hi, I am creating a series of text fields to display data from an xml file. eventClips\*.createTextField("url\_txt",9,0,0,250,30); eventClips\*.url\_txt.htmlText = "\<a href=\\""+child.attributes.url+"\\"\>\</a\>"; I can't ge…

---

## [How do i capture the left, right, up, down keys?](https://forum.kirupa.com/t/how-do-i-capture-the-left-right-up-down-keys/224533)

<div class="topic-metadata">

**Author:** [@eudora](https://forum.kirupa.com/u/eudora)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 3:20am UTC](https://forum.kirupa.com/t/how-do-i-capture-the-left-right-up-down-keys/224533 "2007-05-03T03:20:08Z")

</div>

Using the example and help in the Flash, I trace the KEY\_DOWN state... trace("Key Pressed: " + String.fromCharCode(event.charCode) + " (key code: " + event.keyCode + " character code: " + event.charCo…

---

## [I need help with setting up a live flash quiz for a competition...please help](https://forum.kirupa.com/t/i-need-help-with-setting-up-a-live-flash-quiz-for-a-competition-please-help/224529)

<div class="topic-metadata">

**Author:** [@jayz91](https://forum.kirupa.com/u/jayz91)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 2:15am UTC](https://forum.kirupa.com/t/i-need-help-with-setting-up-a-live-flash-quiz-for-a-competition-please-help/224529 "2007-05-03T02:15:56Z")

</div>

Hi, I have to set up a quiz for a competition that is organised by my school. There are various other schools participating in the quiz. As such, I need to set up a system whereby each team can log in, answer each ques…

---

## [Finding the x,y of an object on screen](https://forum.kirupa.com/t/finding-the-x-y-of-an-object-on-screen/224528)

<div class="topic-metadata">

**Author:** [@eudora](https://forum.kirupa.com/u/eudora)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 2:15am UTC](https://forum.kirupa.com/t/finding-the-x-y-of-an-object-on-screen/224528 "2007-05-03T02:15:31Z")

</div>

The current .x and .y is local to its parent, I tried to work my way back by adding this.parent.x to its this.x to find the global .x and .y But this seems to be not working... anyone can help me a bit on this? I need …

---

## [AS3 - Unable to load local XML file due to security error](https://forum.kirupa.com/t/as3-unable-to-load-local-xml-file-due-to-security-error/224527)

<div class="topic-metadata">

**Author:** [@ajax](https://forum.kirupa.com/u/ajax)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 2:08am UTC](https://forum.kirupa.com/t/as3-unable-to-load-local-xml-file-due-to-security-error/224527 "2007-05-03T02:08:31Z")

</div>

Hi, I am trying to create a simple SWF in AS3 that will read some data from a local (i.e. on my machine) XML file but when I try to load the file using a URLLoader object and a URLRequest object, a security error is th…

---

## [Movieclip question](https://forum.kirupa.com/t/movieclip-question/224525)

<div class="topic-metadata">

**Author:** [@cturner](https://forum.kirupa.com/u/cturner)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 1:32am UTC](https://forum.kirupa.com/t/movieclip-question/224525 "2007-05-03T01:32:33Z")

</div>

I am wondering if there is a way to divide a movieclip image into different squares, then fade each square so another image appears using actionscript? I want the squares to dissolve starting from the bottom of the stage…

---

## [Help changing color for multiple objects](https://forum.kirupa.com/t/help-changing-color-for-multiple-objects/224523)

<div class="topic-metadata">

**Author:** [@Diddle](https://forum.kirupa.com/u/Diddle)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 1:02am UTC](https://forum.kirupa.com/t/help-changing-color-for-multiple-objects/224523 "2007-05-03T01:02:33Z")

</div>

I'm coding up a website using Flash and I want to be able to change the site background as well as the button items color all at once via actionscript. All the buttons are created with instances of the same base item (…

---

## [PHP Dynamic Object Variables?](https://forum.kirupa.com/t/php-dynamic-object-variables/224522)

<div class="topic-metadata">

**Author:** [@kBisk](https://forum.kirupa.com/u/kBisk)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 12:58am UTC](https://forum.kirupa.com/t/php-dynamic-object-variables/224522 "2007-05-03T00:58:55Z")

</div>

ok if I have two php objects, how do I dynamically set a variable from one to the other? for example: class managerA\_object { var $myVariable; //i'm using php 4, so no private function set(){ $manage…

---

## [Sidescroller Game Testing](https://forum.kirupa.com/t/sidescroller-game-testing/224520)

<div class="topic-metadata">

**Author:** [@LordArkain](https://forum.kirupa.com/u/LordArkain)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 12:48am UTC](https://forum.kirupa.com/t/sidescroller-game-testing/224520 "2007-05-03T00:48:35Z")

</div>

Howdy all!!! I'v been watching cowboy movies too much today. :sigh: Anyways, I have been working on a sidescroller engine and thanks to the help on jumping from this sites platform tutorial, and also thanks to a few of …

---

## [Flash8 AS2-special characters wont load from php](https://forum.kirupa.com/t/flash8-as2-special-characters-wont-load-from-php/224519)

<div class="topic-metadata">

**Author:** [@ericisshort](https://forum.kirupa.com/u/ericisshort)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 12:44am UTC](https://forum.kirupa.com/t/flash8-as2-special-characters-wont-load-from-php/224519 "2007-05-03T00:44:53Z")

</div>

I'm working on a site in which I have actionscript loading a blog from a php file. It doesnt seem to want to show the ñ or other characters with accents, even though I have embedded those characters in the dynamic text f…

---

## [Complete PHP Noob! Please help with PHP Comment Script!](https://forum.kirupa.com/t/complete-php-noob-please-help-with-php-comment-script/224517)

<div class="topic-metadata">

**Author:** [@laterales](https://forum.kirupa.com/u/laterales)\
**Replies:** 0\
**Last updated:** [May 3, 2007, 12:18am UTC](https://forum.kirupa.com/t/complete-php-noob-please-help-with-php-comment-script/224517 "2007-05-03T00:18:05Z")

</div>

Hi Everyone :} I am a complete PHP newbie and I am trying to follow the tutorial here on how to set up a comment form. I have put together the following PHP for the mailer.php: \<?php if(isset($\_POST\['submit'\])) { …

---

## [Output mySQL data as XML with PHP tutorial](https://forum.kirupa.com/t/output-mysql-data-as-xml-with-php-tutorial/224516)

<div class="topic-metadata">

**Author:** [@guyswebdesigns](https://forum.kirupa.com/u/guyswebdesigns)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 11:59pm UTC](https://forum.kirupa.com/t/output-mysql-data-as-xml-with-php-tutorial/224516 "2007-05-02T23:59:05Z")

</div>

I am getting a parse error on line 20: $resultID = mysql\_query($query, $linkID) or die("Data not found."); echo $resultID\['id'\]; $xml\_output = "\<?xml version=\\"1.0\\"?\> "; $xml\_output .= "\<entries\> "; for($x = 0…

---

## [Reading Part of File](https://forum.kirupa.com/t/reading-part-of-file/224514)

<div class="topic-metadata">

**Author:** [@pod\_clock](https://forum.kirupa.com/u/pod_clock)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 11:13pm UTC](https://forum.kirupa.com/t/reading-part-of-file/224514 "2007-05-02T23:13:42Z")

</div>

I'm reading all of the files in a directory via file\_get\_contents() and concantenating them into a master file. My script works fine, but now I'd like to skip the first two lines of each file. I don't think I can use the…

---

## [XML not displayin in Mac](https://forum.kirupa.com/t/xml-not-displayin-in-mac/224513)

<div class="topic-metadata">

**Author:** [@alpharaven](https://forum.kirupa.com/u/alpharaven)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 11:09pm UTC](https://forum.kirupa.com/t/xml-not-displayin-in-mac/224513 "2007-05-02T23:09:26Z")

</div>

Is there a reason why an xml file would not display in certain Macs. Please follow this link and view the gallery section and thats where the problem apparently in happening. I have not see this problem but some people t…

---

## [Flash Right Click Function](https://forum.kirupa.com/t/flash-right-click-function/224509)

<div class="topic-metadata">

**Author:** [@NickStar3D](https://forum.kirupa.com/u/NickStar3D)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 10:12pm UTC](https://forum.kirupa.com/t/flash-right-click-function/224509 "2007-05-02T22:12:21Z")

</div>

I have been browsing a website today http://www.hellocolor.com And i noticed when you right click theres an option to e-mail the admin, How is that done by any chance? \[image\] Thanks \[smile\]

---

## [What is this? PDF or HTML?](https://forum.kirupa.com/t/what-is-this-pdf-or-html/224505)

<div class="topic-metadata">

**Author:** [@Wingman21](https://forum.kirupa.com/u/Wingman21)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 9:49pm UTC](https://forum.kirupa.com/t/what-is-this-pdf-or-html/224505 "2007-05-02T21:49:43Z")

</div>

Can anyone tell me how this was done? http://static.scribd.com/docs/3uru4j7mjrcc2.swf A Flash player that opens a PDF or HTML? Converts? Help! Thanks!

---

## [Please Help, i've only got 2 days before this is due](https://forum.kirupa.com/t/please-help-ive-only-got-2-days-before-this-is-due/224491)

<div class="topic-metadata">

**Author:** [@evanimal](https://forum.kirupa.com/u/evanimal)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 8:07pm UTC](https://forum.kirupa.com/t/please-help-ive-only-got-2-days-before-this-is-due/224491 "2007-05-02T20:07:10Z")

</div>

Hey everyone. So I'm down to the very last revision of a site I'm designing, and they want to change the infinite menu to use left and right buttons that you rollover to make the menu scroll left and right, rather than w…

---

## [Xpath issue?](https://forum.kirupa.com/t/xpath-issue/224487)

<div class="topic-metadata">

**Author:** [@magjac](https://forum.kirupa.com/u/magjac)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 7:10pm UTC](https://forum.kirupa.com/t/xpath-issue/224487 "2007-05-02T19:10:04Z")

</div>

I have this problem where my .swf is working fine on one host but doesnt work at another. The problem is that it doesnt want to show the variable txt. And the only thing i can think of is that the Xpath databinding doesn…

---

## [F8P: loading on-screen points into an array with a loop?](https://forum.kirupa.com/t/f8p-loading-on-screen-points-into-an-array-with-a-loop/224486)

<div class="topic-metadata">

**Author:** [@Aesir](https://forum.kirupa.com/u/Aesir)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 6:29pm UTC](https://forum.kirupa.com/t/f8p-loading-on-screen-points-into-an-array-with-a-loop/224486 "2007-05-02T18:29:45Z")

</div>

\[COLOR=gray\]I want to make an array that holds objects, each object containing an x- and y-value representing the location of each mc on screen. The mcs will not move. How do I reference each mc using a variable with a l…

---

## [Best Flash 8 Resources](https://forum.kirupa.com/t/best-flash-8-resources/224484)

<div class="topic-metadata">

**Author:** [@Zaiah](https://forum.kirupa.com/u/Zaiah)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 6:24pm UTC](https://forum.kirupa.com/t/best-flash-8-resources/224484 "2007-05-02T18:24:14Z")

</div>

Hi Group, I'm a newbie, been using Flash 8, or going through the tutorials part time for about 6 months. I have the book that came with the software and a few other books and about 100 different tutorials that I downlo…

---

## [Issue with Drop Down menus](https://forum.kirupa.com/t/issue-with-drop-down-menus/224482)

<div class="topic-metadata">

**Author:** [@KGerken](https://forum.kirupa.com/u/KGerken)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 6:14pm UTC](https://forum.kirupa.com/t/issue-with-drop-down-menus/224482 "2007-05-02T18:14:57Z")

</div>

Hello, I just used your great tutorial on building drop down menus in Flash to implement on my new site. But I've run into a glitch that I can't figure out and was hoping you could help. The rollOver's work randomly on…

---

## [Creating menu for my game](https://forum.kirupa.com/t/creating-menu-for-my-game/224481)

<div class="topic-metadata">

**Author:** [@Mohammd\_Safir](https://forum.kirupa.com/u/Mohammd_Safir)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 6:14pm UTC](https://forum.kirupa.com/t/creating-menu-for-my-game/224481 "2007-05-02T18:14:21Z")

</div>

hai i am new this forum... I am i need of alot of help i have created a ball breaker game, which i want to create a menu for and a have difficulity setting for the game on the menu page but i am unable to figure how to…

---

## [Array not working... what's wrong?](https://forum.kirupa.com/t/array-not-working-whats-wrong/224479)

<div class="topic-metadata">

**Author:** [@Qgeis](https://forum.kirupa.com/u/Qgeis)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 6:06pm UTC](https://forum.kirupa.com/t/array-not-working-whats-wrong/224479 "2007-05-02T18:06:30Z")

</div>

var adC:Array = new Array(); adC\[0\]\[0\] = "XYZ"; trace(adC\[0\]\[0\]); traces \[COLOR=Blue\]undefined\[/COLOR\] Strange, what's wrong?

---

## [No more Escape key short cuts for AS3?](https://forum.kirupa.com/t/no-more-escape-key-short-cuts-for-as3/224478)

<div class="topic-metadata">

**Author:** [@joshchernoff](https://forum.kirupa.com/u/joshchernoff)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 6:06pm UTC](https://forum.kirupa.com/t/no-more-escape-key-short-cuts-for-as3/224478 "2007-05-02T18:06:14Z")

</div>

why, or am I missing somthing?

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

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