# programming

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

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

**Page:** 1851

---

## [PhotoGallery question](https://forum.kirupa.com/t/photogallery-question/216709)

<div class="topic-metadata">

**Author:** [@osp](https://forum.kirupa.com/u/osp)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 9:43pm UTC](https://forum.kirupa.com/t/photogallery-question/216709 "2007-02-19T21:43:43Z")

</div>

Hello. I am using this (http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm) tutorial to make a photo gallery type of presentation; but I have about 500 pictures to put in and I dont want to have to put the…

---

## [Using Singleton Design Pattern](https://forum.kirupa.com/t/using-singleton-design-pattern/216707)

<div class="topic-metadata">

**Author:** [@cki](https://forum.kirupa.com/u/cki)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 8:50pm UTC](https://forum.kirupa.com/t/using-singleton-design-pattern/216707 "2007-02-19T20:50:47Z")

</div>

Hi, a little foggy on passing variables to the Constructor from a Singleton instance. Could someone enlighten? From timeline: var c:Calculator = Calculator.getInstance(5,20,30); Need to pass these to the constr…

---

## [XML Nested Loop - Access the Loop later... but how?](https://forum.kirupa.com/t/xml-nested-loop-access-the-loop-later-but-how/216704)

<div class="topic-metadata">

**Author:** [@YoungNastyMan](https://forum.kirupa.com/u/YoungNastyMan)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 8:31pm UTC](https://forum.kirupa.com/t/xml-nested-loop-access-the-loop-later-but-how/216704 "2007-02-19T20:31:40Z")

</div>

Hello all. I need help desperately, I'm very novice with this kinda stuff. Basically, I have data organized by date in an XML file. I'm trying to make a website application that will allow the user to click on a date (in…

---

## [\[AS3\] send event to child?](https://forum.kirupa.com/t/as3-send-event-to-child/216699)

<div class="topic-metadata">

**Author:** [@quhaha](https://forum.kirupa.com/u/quhaha)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 7:46pm UTC](https://forum.kirupa.com/t/as3-send-event-to-child/216699 "2007-02-19T19:46:15Z")

</div>

Is it possible to send a custom event to a child? testcase: package { import flash.display.Sprite; import flash.events.MouseEvent; public class AS3Test extends Sprite { public var a:A; public function AS…

---

## [Flash PHP Email Form](https://forum.kirupa.com/t/flash-php-email-form/216698)

<div class="topic-metadata">

**Author:** [@IntC](https://forum.kirupa.com/u/IntC)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 7:32pm UTC](https://forum.kirupa.com/t/flash-php-email-form/216698 "2007-02-19T19:32:44Z")

</div>

Hi! I followed this tutorial http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm to make a php e-mail form. I got it all working in a php supporting server. NOW i want to load this form from that server to…

---

## [AS 2.0 class issue](https://forum.kirupa.com/t/as-2-0-class-issue/216694)

<div class="topic-metadata">

**Author:** [@bobbywilson](https://forum.kirupa.com/u/bobbywilson)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 7:15pm UTC](https://forum.kirupa.com/t/as-2-0-class-issue/216694 "2007-02-19T19:15:50Z")

</div>

I have two classes, one of them is a Game class which draws a map, and I have a character class which places a character and allows the character to move. My problem is that I need to get information from the map to tel…

---

## [How to make a flash banner link](https://forum.kirupa.com/t/how-to-make-a-flash-banner-link/216692)

<div class="topic-metadata">

**Author:** [@yunlongzhu](https://forum.kirupa.com/u/yunlongzhu)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 7:12pm UTC](https://forum.kirupa.com/t/how-to-make-a-flash-banner-link/216692 "2007-02-19T19:12:00Z")

</div>

Hi, I'm a new guy in flash MX 2004 field and I just made few banners on my new site(will publish soon). But the banners doesn't make link when I click on them. (Banner's function works) I tried to create a symbol (bu…

---

## [Need some help with "or" statement](https://forum.kirupa.com/t/need-some-help-with-or-statement/216690)

<div class="topic-metadata">

**Author:** [@Zhet](https://forum.kirupa.com/u/Zhet)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 7:06pm UTC](https://forum.kirupa.com/t/need-some-help-with-or-statement/216690 "2007-02-19T19:06:21Z")

</div>

How to make something like this work? (Flash 8) on (press) { startDrag(\_target); } on (release) { stopDrag(); if (this.\_droptarget == "/mytarget1" or "/mytarget2") { \_root.vopr.text = "yes!"; } else {\_root.vopr.t…

---

## [Need help with some navigation action script](https://forum.kirupa.com/t/need-help-with-some-navigation-action-script/216687)

<div class="topic-metadata">

**Author:** [@Mr\_Denny](https://forum.kirupa.com/u/Mr_Denny)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 6:49pm UTC](https://forum.kirupa.com/t/need-help-with-some-navigation-action-script/216687 "2007-02-19T18:49:24Z")

</div>

Hey guys, i'm wondering if you help me out a bit. \[smile\] I'm currently making a flash portfolio that is to be uploaded as my own personal website. Anyway, because i haven't touched Flash in quite a bit some basic acti…

---

## [Calling a Sepcific Frame Using loadMovieNum();](https://forum.kirupa.com/t/calling-a-sepcific-frame-using-loadmovienum/216683)

<div class="topic-metadata">

**Author:** [@ageshi](https://forum.kirupa.com/u/ageshi)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 6:16pm UTC](https://forum.kirupa.com/t/calling-a-sepcific-frame-using-loadmovienum/216683 "2007-02-19T18:16:34Z")

</div>

Hope everyone here is having a great day, I have come across an issue which is mainly due to complex structuring of the project that I'm working on. I was wondering if anyone knows a way to call a specific frame of an…

---

## [Multiple Thumbnail Strips](https://forum.kirupa.com/t/multiple-thumbnail-strips/216681)

<div class="topic-metadata">

**Author:** [@SteveSS](https://forum.kirupa.com/u/SteveSS)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 5:47pm UTC](https://forum.kirupa.com/t/multiple-thumbnail-strips/216681 "2007-02-19T17:47:33Z")

</div>

Hi All, Appologies for the long post. Wanted to make sure I covered everything. \[smile\] To give you an understanding of my experience with web dev: Flash - Just learning, PHP - Advanced, HTML - Intermediate, SQL - Ad…

---

## [Days Countdown w/ xml](https://forum.kirupa.com/t/days-countdown-w-xml/216680)

<div class="topic-metadata">

**Author:** [@faubus42](https://forum.kirupa.com/u/faubus42)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 5:46pm UTC](https://forum.kirupa.com/t/days-countdown-w-xml/216680 "2007-02-19T17:46:56Z")

</div>

Hi all I found this code in this forum for a countdown to days: \[COLOR=#000000\]\*\*var\*\*\[/COLOR\] end\_date = \[COLOR=#000000\]\*\*new\*\*\[/COLOR\] \[COLOR=#0000FF\]Date\[/COLOR\]\[COLOR=#000000\](\[/COLOR\]\[COLOR=#000080\]2007\[/COLOR\], …

---

## [GetURL bug in IE7](https://forum.kirupa.com/t/geturl-bug-in-ie7/216679)

<div class="topic-metadata">

**Author:** [@wjaspers](https://forum.kirupa.com/u/wjaspers)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 5:42pm UTC](https://forum.kirupa.com/t/geturl-bug-in-ie7/216679 "2007-02-19T17:42:03Z")

</div>

If you're using internet explorer 7, with tabbed browsing, and you click on a link in a local flash movie or projector (not embeded in a webpage), IE7 will open one window the first time, and multiple windows for each su…

---

## [Shut Down](https://forum.kirupa.com/t/shut-down/216675)

<div class="topic-metadata">

**Author:** [@rajesh84](https://forum.kirupa.com/u/rajesh84)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 4:50pm UTC](https://forum.kirupa.com/t/shut-down/216675 "2007-02-19T16:50:23Z")

</div>

Hi Friends, There Is Any Way To Shut Dowm The System Using Flash(Actionscript Or Other Method). ie,When We Click A Button The System Will Shut Down Or Restarted.

---

## [XML Slideshow: How to make Previous/Next buttons disappear at first/last image?](https://forum.kirupa.com/t/xml-slideshow-how-to-make-previous-next-buttons-disappear-at-first-last-image/216673)

<div class="topic-metadata">

**Author:** [@TenaciousMC](https://forum.kirupa.com/u/TenaciousMC)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 4:44pm UTC](https://forum.kirupa.com/t/xml-slideshow-how-to-make-previous-next-buttons-disappear-at-first-last-image/216673 "2007-02-19T16:44:01Z")

</div>

Hello, Just wanted to say that this is a great tutorial. However, I'm wondering if there's a way to make the Previous button not show up when you're on the first image and the Next button not show up when you're on the…

---

## [Flash drop down into a HTML page](https://forum.kirupa.com/t/flash-drop-down-into-a-html-page/216672)

<div class="topic-metadata">

**Author:** [@benny\_hill](https://forum.kirupa.com/u/benny_hill)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 4:40pm UTC](https://forum.kirupa.com/t/flash-drop-down-into-a-html-page/216672 "2007-02-19T16:40:47Z")

</div>

i am making a horizontal drop down menu in flash for an HTML page. When I import the flash into the HTML page (using dreamweaver) the flash menu blocks the content underneath the menu. If i make the stage the height of …

---

## [FPS question?](https://forum.kirupa.com/t/fps-question/216668)

<div class="topic-metadata">

**Author:** [@BoonDock](https://forum.kirupa.com/u/BoonDock)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 4:08pm UTC](https://forum.kirupa.com/t/fps-question/216668 "2007-02-19T16:08:40Z")

</div>

What is the maximum frame rate you can play a .swf in IE, FF, Opera etc.? Or is there one? If there isn't one - then how do you play a .swf in a browser at the appropriate frame rate? Is there a line in the \<object\> tag …

---

## [Excellent Resource](https://forum.kirupa.com/t/excellent-resource/216666)

<div class="topic-metadata">

**Author:** [@KevinCarleo](https://forum.kirupa.com/u/KevinCarleo)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 4:00pm UTC](https://forum.kirupa.com/t/excellent-resource/216666 "2007-02-19T16:00:12Z")

</div>

Hey Guys, I am not sure what you might be using, but when it comes to "Dial-Up" or slow connection simulation software, here is my answer: http://dallaway.com/sloppy/index.html You can use it to check the affect a …

---

## [Metronome](https://forum.kirupa.com/t/metronome/216665)

<div class="topic-metadata">

**Author:** [@RobLooman](https://forum.kirupa.com/u/RobLooman)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 3:42pm UTC](https://forum.kirupa.com/t/metronome/216665 "2007-02-19T15:42:47Z")

</div>

Hello, As part of a 'musical-learning tool' I am building I am hoping to include a metronome. However, being completely new to Flash I really have no idea where to start. I've outlined the proposal (/problem) in as muc…

---

## [Just a litle help](https://forum.kirupa.com/t/just-a-litle-help/216664)

<div class="topic-metadata">

**Author:** [@ken65](https://forum.kirupa.com/u/ken65)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 3:41pm UTC](https://forum.kirupa.com/t/just-a-litle-help/216664 "2007-02-19T15:41:59Z")

</div>

Hello I'm new to flash but I do know some html I have a template and I would like to know what is the code used for sending an email the get url is not working I get an error. can someone help me with this. I think that …

---

## [Generate XML playlist for flash using PHP or ASP.NET](https://forum.kirupa.com/t/generate-xml-playlist-for-flash-using-php-or-asp-net/216662)

<div class="topic-metadata">

**Author:** [@Toiletfreak](https://forum.kirupa.com/u/Toiletfreak)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 3:26pm UTC](https://forum.kirupa.com/t/generate-xml-playlist-for-flash-using-php-or-asp-net/216662 "2007-02-19T15:26:22Z")

</div>

Hi there, I have created a flash mp3 player which will probably be a tutorial in the future. Everything's fine, BTW how do I generate a temporary XML playlist using PHP or ASP.NET, load it using loadXML(), from the li…

---

## [XML2Object Problem](https://forum.kirupa.com/t/xml2object-problem/216661)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 3:02pm UTC](https://forum.kirupa.com/t/xml2object-problem/216661 "2007-02-19T15:02:23Z")

</div>

Hey everyone, I am trying to use this http://www.sephiroth.it/file\_detail.php?pageNum\_comments=10&id=129 library for a project I am using, but I am having a lot of problems. I want to obviously take data in XML format …

---

## [Funny lineTo bug](https://forum.kirupa.com/t/funny-lineto-bug/216659)

<div class="topic-metadata">

**Author:** [@Macsy](https://forum.kirupa.com/u/Macsy)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 2:59pm UTC](https://forum.kirupa.com/t/funny-lineto-bug/216659 "2007-02-19T14:59:50Z")

</div>

Download the attached file and test it. Wait a few seconds, maybe 10-20 sec, and then se the a bug appear. It looks nice, but why? I was just playing around with lineTo and then i saw this... What do you think ?

---

## [\[AS3\] using regular expressions for parsing strings](https://forum.kirupa.com/t/as3-using-regular-expressions-for-parsing-strings/216656)

<div class="topic-metadata">

**Author:** [@superjohn](https://forum.kirupa.com/u/superjohn)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 1:39pm UTC](https://forum.kirupa.com/t/as3-using-regular-expressions-for-parsing-strings/216656 "2007-02-19T13:39:46Z")

</div>

Hi there, i am experimenting with parsing textfiles into different formats, and found the regular expressions in AS3 which should do the job. The problem is, i dont understand how it works.. :puzzled: Could anyone help m…

---

## [The Carousel (Lee Brimelow)](https://forum.kirupa.com/t/the-carousel-lee-brimelow/216654)

<div class="topic-metadata">

**Author:** [@ChromeDemon](https://forum.kirupa.com/u/ChromeDemon)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 1:02pm UTC](https://forum.kirupa.com/t/the-carousel-lee-brimelow/216654 "2007-02-19T13:02:35Z")

</div>

Any1 knows if this is possible in Flash 6 (MX) ??? regards ChromeD

---

## [Problems with flickering of components](https://forum.kirupa.com/t/problems-with-flickering-of-components/216653)

<div class="topic-metadata">

**Author:** [@petay\_pan](https://forum.kirupa.com/u/petay_pan)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 12:58pm UTC](https://forum.kirupa.com/t/problems-with-flickering-of-components/216653 "2007-02-19T12:58:13Z")

</div>

Hi everyone, On a site I have finished it has been reported by someone that they have experienced flickering. The only way i have managed to get this to happen is if you rapidly clicked on the different links in the si…

---

## [Format text from a form](https://forum.kirupa.com/t/format-text-from-a-form/216648)

<div class="topic-metadata">

**Author:** [@Ceejeeb](https://forum.kirupa.com/u/Ceejeeb)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 11:42am UTC](https://forum.kirupa.com/t/format-text-from-a-form/216648 "2007-02-19T11:42:02Z")

</div>

I have a form on my site so people can post comments. At the moment the message box is a text area and its is just stored as text in th database. I need to be able to keep the formatting that they use in their message (e…

---

## [Help playing flvs sequently](https://forum.kirupa.com/t/help-playing-flvs-sequently/216647)

<div class="topic-metadata">

**Author:** [@tom\_s](https://forum.kirupa.com/u/tom_s)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 11:25am UTC](https://forum.kirupa.com/t/help-playing-flvs-sequently/216647 "2007-02-19T11:25:07Z")

</div>

Hello everybody, I have AS that plays my flvs videos from xml list var xml:XML = new XML(); xml.ignoreWhite = true; var flvs:Array = new Array(); xml.onLoad = function() { var videos:Array = this.firstChild.child…

---

## [PHP and HTML Contact box: how much for it](https://forum.kirupa.com/t/php-and-html-contact-box-how-much-for-it/216645)

<div class="topic-metadata">

**Author:** [@london11](https://forum.kirupa.com/u/london11)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 10:12am UTC](https://forum.kirupa.com/t/php-and-html-contact-box-how-much-for-it/216645 "2007-02-19T10:12:30Z")

</div>

Hi there I would like some one to help me with a contact box for my website. when you submit an email that i not filed i want it to give an errror message to go back and fill in the blank filed. once submited i want it…

---

## [\[C\] printf/scanf in loop problem](https://forum.kirupa.com/t/c-printf-scanf-in-loop-problem/216643)

<div class="topic-metadata">

**Author:** [@johnlouis](https://forum.kirupa.com/u/johnlouis)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 9:03am UTC](https://forum.kirupa.com/t/c-printf-scanf-in-loop-problem/216643 "2007-02-19T09:03:26Z")

</div>

\#include \<stdio.h\> int a,b; int add(a,b){ int sum = a+b; return(sum); } int sub(a,b){ int diff = a-b; return(diff); } int mult(a,b){ int prod = a\*b; return(prod); } int div(a,b){ int quot = a…

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

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