# programming

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

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

**Page:** 1979

---

## [CountDown Timer help](https://forum.kirupa.com/t/countdown-timer-help/206411)

<div class="topic-metadata">

**Author:** [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 11:23pm UTC](https://forum.kirupa.com/t/countdown-timer-help/206411 "2006-11-07T23:23:30Z")

</div>

hey all, what i'm trying to do but forgot how lol...is have a very very simple countdown where the dynamic text field is set at 60 and then 1 is taken away each second...till it gets to 0 then something happens... an…

---

## [Not your average Flash question...up for the challenge?](https://forum.kirupa.com/t/not-your-average-flash-question-up-for-the-challenge/206410)

<div class="topic-metadata">

**Author:** [@apodixis](https://forum.kirupa.com/u/apodixis)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 11:19pm UTC](https://forum.kirupa.com/t/not-your-average-flash-question-up-for-the-challenge/206410 "2006-11-07T23:19:22Z")

</div>

ok, so this may not prove to be the "challenge" you were hoping for, but i figured with a headline like that who could resist? here's the situation... a client has come to us with a powerpoint presentation that they…

---

## [Changing the depth of a flash file in html](https://forum.kirupa.com/t/changing-the-depth-of-a-flash-file-in-html/206408)

<div class="topic-metadata">

**Author:** [@nymyth](https://forum.kirupa.com/u/nymyth)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 10:13pm UTC](https://forum.kirupa.com/t/changing-the-depth-of-a-flash-file-in-html/206408 "2006-11-07T22:13:34Z")

</div>

I have a javascript menu in my html document, which has sub levels. When I rollover my menu, the sublevels show up UNDER my flash file, not over it.....anyone know how to fix this?? Cheers

---

## [MC kill](https://forum.kirupa.com/t/mc-kill/206407)

<div class="topic-metadata">

**Author:** [@james182](https://forum.kirupa.com/u/james182)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 9:51pm UTC](https://forum.kirupa.com/t/mc-kill/206407 "2006-11-07T21:51:20Z")

</div>

How do i get this to work inside the Movie Clip? Attached is my .FLA and my .swf (this has it working outside the MC)

---

## [\[Flash 8\] need help with variables](https://forum.kirupa.com/t/flash-8-need-help-with-variables/206406)

<div class="topic-metadata">

**Author:** [@shakazulubro](https://forum.kirupa.com/u/shakazulubro)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 9:47pm UTC](https://forum.kirupa.com/t/flash-8-need-help-with-variables/206406 "2006-11-07T21:47:58Z")

</div>

As Ive stated in probably every thread ive created I still consider myself a beginner because I dont know all the little syntax quirks yet, so bare with me. question 1: Is it possible to assign a single variable to a gro…

---

## [HELP dynamically loading LOTS of XML files at one time](https://forum.kirupa.com/t/help-dynamically-loading-lots-of-xml-files-at-one-time/206403)

<div class="topic-metadata">

**Author:** [@ironchefmoto](https://forum.kirupa.com/u/ironchefmoto)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 9:12pm UTC](https://forum.kirupa.com/t/help-dynamically-loading-lots-of-xml-files-at-one-time/206403 "2006-11-07T21:12:46Z")

</div>

A vendor has offered a data stream for elections coverage that is driving me nuts. It's a county-by-county data stream for a given state's races. Each race has upwards of 250 XML files -- depending on the state -- one…

---

## [movieClip listener problem](https://forum.kirupa.com/t/movieclip-listener-problem/206401)

<div class="topic-metadata">

**Author:** [@Navarone](https://forum.kirupa.com/u/Navarone)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 9:08pm UTC](https://forum.kirupa.com/t/movieclip-listener-problem/206401 "2006-11-07T21:08:25Z")

</div>

I have tried to follow the example in the flash help files but my movieClip listener doesn't seem to be working. What am I not doing correctly? var container:MovieClip = obj\_mc.createEmptyMovieClip("container", 999); …

---

## [Playing Sounds using ActionScript](https://forum.kirupa.com/t/playing-sounds-using-actionscript/206397)

<div class="topic-metadata">

**Author:** [@Lobo\_](https://forum.kirupa.com/u/Lobo_)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 8:55pm UTC](https://forum.kirupa.com/t/playing-sounds-using-actionscript/206397 "2006-11-07T20:55:22Z")

</div>

Hi, I found this tutorial (http://www.kirupa.com/developer/actionscript/sound.htm) and is great but I want to play an intro 1 time and after the intro music is over play my loop. How can I achive this? on (release) …

---

## [Multiple Photo galleries in 1 swf](https://forum.kirupa.com/t/multiple-photo-galleries-in-1-swf/206394)

<div class="topic-metadata">

**Author:** [@jaredcheeda](https://forum.kirupa.com/u/jaredcheeda)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 8:14pm UTC](https://forum.kirupa.com/t/multiple-photo-galleries-in-1-swf/206394 "2006-11-07T20:14:14Z")

</div>

k, so this problem arises from trying to use whats in this tutorial http://www.kirupa.com/developer/mx/photogallery.htm multiple times as different scenes in a swf. I set up a main scene to pick which photo gallery to go…

---

## [SWF Load play to end Unload - Load next SWF](https://forum.kirupa.com/t/swf-load-play-to-end-unload-load-next-swf/206393)

<div class="topic-metadata">

**Author:** [@charles\_i](https://forum.kirupa.com/u/charles_i)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 8:02pm UTC](https://forum.kirupa.com/t/swf-load-play-to-end-unload-load-next-swf/206393 "2006-11-07T20:02:10Z")

</div>

Hello, I'm new to this forum and joined because I have spent several hours researching this basic question but either I find info that is too old (eg. Flash 5) or too complex for what I want to do. In Flash 8, using …

---

## [Tween object target?](https://forum.kirupa.com/t/tween-object-target/206388)

<div class="topic-metadata">

**Author:** [@Anogar](https://forum.kirupa.com/u/Anogar)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 6:52pm UTC](https://forum.kirupa.com/t/tween-object-target/206388 "2006-11-07T18:52:21Z")

</div>

Is there a way to return the target of a Tween object from within the object? myTween.onMotionFinished = function (){ trace (this.target) } That's obviously not the way you do it, but that's what I want it to be... …

---

## [Collision detection using classes](https://forum.kirupa.com/t/collision-detection-using-classes/206386)

<div class="topic-metadata">

**Author:** [@chuckylefrek](https://forum.kirupa.com/u/chuckylefrek)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 6:33pm UTC](https://forum.kirupa.com/t/collision-detection-using-classes/206386 "2006-11-07T18:33:20Z")

</div>

Just trying to do a collision detection between 2 instances There is a ball movie clip created with a class called Ball.as And a player movie clip created with a class called Player.as The player movie clip has a neste…

---

## [Stopping external movie whitout buttons. Help!](https://forum.kirupa.com/t/stopping-external-movie-whitout-buttons-help/206383)

<div class="topic-metadata">

**Author:** [@mx\_guest2004](https://forum.kirupa.com/u/mx_guest2004)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 6:03pm UTC](https://forum.kirupa.com/t/stopping-external-movie-whitout-buttons-help/206383 "2006-11-07T18:03:22Z")

</div>

Hi, I have a main movie with a container movieclip. I load an external movie "Ext1.swf" into this movie clip. It works. I want to control the container (stop and play). It works with buttons, but I want to make two funct…

---

## [Tile game issue](https://forum.kirupa.com/t/tile-game-issue/206381)

<div class="topic-metadata">

**Author:** [@bababouy](https://forum.kirupa.com/u/bababouy)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 5:59pm UTC](https://forum.kirupa.com/t/tile-game-issue/206381 "2006-11-07T17:59:11Z")

</div>

I'm using a script based on Mahesh Kokadwar's "puzzle" game. I'm trying to modify it's controls to keyboard activated rather than onPress. To simplify, I'm having trouble getting just the arrow keys to work rather than j…

---

## [Flash 8 Sliding Menu](https://forum.kirupa.com/t/flash-8-sliding-menu/206377)

<div class="topic-metadata">

**Author:** [@xg2119](https://forum.kirupa.com/u/xg2119)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 5:34pm UTC](https://forum.kirupa.com/t/flash-8-sliding-menu/206377 "2006-11-07T17:34:06Z")

</div>

Where do I need to add my content for it to appear in the contentHold movie clip? I tried testing it with a text block in the contentHold clip and the content clip with no success. Is it a nesting issue? I am new to wo…

---

## [POM's sliding menu in its own swf](https://forum.kirupa.com/t/poms-sliding-menu-in-its-own-swf/206376)

<div class="topic-metadata">

**Author:** [@lousy\_coder](https://forum.kirupa.com/u/lousy_coder)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 5:26pm UTC](https://forum.kirupa.com/t/poms-sliding-menu-in-its-own-swf/206376 "2006-11-07T17:26:43Z")

</div>

I have two sliding menus in the same movie, and they interfere with one another if they're movie clips. So for the second one, it is in a swf and I'm using loadMovie to play it. That works fine, but there are mcs inside …

---

## [\[f8\] Removing event handlers from movie clips](https://forum.kirupa.com/t/f8-removing-event-handlers-from-movie-clips/206374)

<div class="topic-metadata">

**Author:** [@AcidFire](https://forum.kirupa.com/u/AcidFire)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 4:58pm UTC](https://forum.kirupa.com/t/f8-removing-event-handlers-from-movie-clips/206374 "2006-11-07T16:58:21Z")

</div>

function checkButton(buttonHit:MovieClip) { if (buttonActive == true) { buttonHit.onPress = function() { this.originalX = this.\_x; this.originalY = this.\_y; moveit = new T…

---

## [hitTest only the content of movieclip and not from 0,0 to \_width, \_height!?](https://forum.kirupa.com/t/hittest-only-the-content-of-movieclip-and-not-from-0-0-to--width--height/206373)

<div class="topic-metadata">

**Author:** [@johnnyboy](https://forum.kirupa.com/u/johnnyboy)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 4:56pm UTC](https://forum.kirupa.com/t/hittest-only-the-content-of-movieclip-and-not-from-0-0-to--width--height/206373 "2006-11-07T16:56:14Z")

</div>

\[FONT=Verdana\] \[COLOR=black\]\[COLOR=black\]\[FONT=Verdana\]Hey guys\[/FONT\]\[/COLOR\]\[/COLOR\] \[/FONT\] \[FONT=Verdana\] \[COLOR=black\]\[COLOR=black\]\[FONT=Verdana\] \[/FONT\]\[/COLOR\]\[/COLOR\] \[/FONT\] \[FONT=Verdana\] \[COLOR=bl…

---

## [Open Full Screen video player](https://forum.kirupa.com/t/open-full-screen-video-player/206372)

<div class="topic-metadata">

**Author:** [@Luisinho](https://forum.kirupa.com/u/Luisinho)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 4:47pm UTC](https://forum.kirupa.com/t/open-full-screen-video-player/206372 "2006-11-07T16:47:58Z")

</div>

It's been a while trying to find info about this but cannot find the right solution...I have a flash movie running in one screen an need to open (through a mouse click) a mpeg2 file in full screen (either with vlc player…

---

## [getText problem](https://forum.kirupa.com/t/gettext-problem/206371)

<div class="topic-metadata">

**Author:** [@silverneo188](https://forum.kirupa.com/u/silverneo188)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 4:45pm UTC](https://forum.kirupa.com/t/gettext-problem/206371 "2006-11-07T16:45:59Z")

</div>

I have a problem... I'm making a game and I have the first frame my first level then the second frame the shop, I need it to remember what my score was from my 1st frame, and place it in the same text box in the second. …

---

## [Image colorchange while mouseover on color swatches](https://forum.kirupa.com/t/image-colorchange-while-mouseover-on-color-swatches/206365)

<div class="topic-metadata">

**Author:** [@senthilkmari](https://forum.kirupa.com/u/senthilkmari)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 3:31pm UTC](https://forum.kirupa.com/t/image-colorchange-while-mouseover-on-color-swatches/206365 "2006-11-07T15:31:24Z")

</div>

Hi All, I need a head start to do a project, where I have to dynamically get the color swatches for each products and when the user hovers the mouse over the swatches I need to show the product per the swatch color. Ri…

---

## [Noob - need help with Hover caption](https://forum.kirupa.com/t/noob-need-help-with-hover-caption/206364)

<div class="topic-metadata">

**Author:** [@warden0503](https://forum.kirupa.com/u/warden0503)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 3:23pm UTC](https://forum.kirupa.com/t/noob-need-help-with-hover-caption/206364 "2006-11-07T15:23:58Z")

</div>

Hello, This is my first site, so please take it easy on me. I am trying to get the hover captions to work http://www.kirupa.com/developer/mx2004/hover\_captions.htm Issues --hover captions only work after hitting a…

---

## [Displaying time in a datagrid](https://forum.kirupa.com/t/displaying-time-in-a-datagrid/206363)

<div class="topic-metadata">

**Author:** [@feilhk](https://forum.kirupa.com/u/feilhk)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 3:13pm UTC](https://forum.kirupa.com/t/displaying-time-in-a-datagrid/206363 "2006-11-07T15:13:39Z")

</div>

my datagrid has 3 column, (name , checkbox, Time) When the checkbox is selected, the current time will be dispalyed in the field of Time Here are my as code //student\_xml.trigger(); import mx.controls.DataGrid; va…

---

## [Please help. Finding the \_x and\_y's in a tween class](https://forum.kirupa.com/t/please-help-finding-the--x-and-ys-in-a-tween-class/206362)

<div class="topic-metadata">

**Author:** [@p\_ziity](https://forum.kirupa.com/u/p_ziity)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 3:09pm UTC](https://forum.kirupa.com/t/please-help-finding-the--x-and-ys-in-a-tween-class/206362 "2006-11-07T15:09:39Z")

</div>

So here is my script. As you can see I have tween class starting point at 900. Is there any way to make it begin the tween where ever my MC's current \_x and \_y are?on (release) { import mx.transitions.easing.\*; i…

---

## [External SWF Preloading?](https://forum.kirupa.com/t/external-swf-preloading/206359)

<div class="topic-metadata">

**Author:** [@iwjp](https://forum.kirupa.com/u/iwjp)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 2:43pm UTC](https://forum.kirupa.com/t/external-swf-preloading/206359 "2006-11-07T14:43:58Z")

</div>

Does the preloader before a page with external swfs load them before going to the next frame? If the answer is no, is there anyway to guarantee that they all load before playing synchronosly? Thanks in advance!

---

## [Random change font of text box](https://forum.kirupa.com/t/random-change-font-of-text-box/206357)

<div class="topic-metadata">

**Author:** [@coop](https://forum.kirupa.com/u/coop)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 2:31pm UTC](https://forum.kirupa.com/t/random-change-font-of-text-box/206357 "2006-11-07T14:31:54Z")

</div>

Hi all, I have code for a typewriter type effect where the text is added one letter at a time, this is fine but I wanted the font used to be random from a list of fonts. The fonts in font\_arr i have placed in the libra…

---

## [PHP/MySQL Duplicate entry '0' for key 1](https://forum.kirupa.com/t/php-mysql-duplicate-entry-0-for-key-1/206353)

<div class="topic-metadata">

**Author:** [@Neolumi](https://forum.kirupa.com/u/Neolumi)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 2:07pm UTC](https://forum.kirupa.com/t/php-mysql-duplicate-entry-0-for-key-1/206353 "2006-11-07T14:07:18Z")

</div>

hey people, I'm at wits end with this sql stuff. I'm trying to write a script for editing a products information. Though I keep getting errors with the sql, on odd moments it actually screws up the table itself and then …

---

## [Spawning and Controlling Multiple Enimies](https://forum.kirupa.com/t/spawning-and-controlling-multiple-enimies/206349)

<div class="topic-metadata">

**Author:** [@DangerousDan](https://forum.kirupa.com/u/DangerousDan)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 1:38pm UTC](https://forum.kirupa.com/t/spawning-and-controlling-multiple-enimies/206349 "2006-11-07T13:38:56Z")

</div>

I want to be able to spawn little alien ships and have them fly down the screen, then I want to see if they either a) hit a laser b) hit my ship or c) go below the bottom of the screen. For some reason I can't get more…

---

## [I need e-cards php scrpit without database](https://forum.kirupa.com/t/i-need-e-cards-php-scrpit-without-database/206348)

<div class="topic-metadata">

**Author:** [@naagoo](https://forum.kirupa.com/u/naagoo)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 1:31pm UTC](https://forum.kirupa.com/t/i-need-e-cards-php-scrpit-without-database/206348 "2006-11-07T13:31:12Z")

</div>

hi evrybody.. this is naagoo im new to scripting. anyone help for e-cards script. I need e-cards php scrpit without database. Anybody hve plz send to me. Plz write how to install tht script. thanks naagoo naagoo@gm…

---

## [Linking to a url via a Flash Projector](https://forum.kirupa.com/t/linking-to-a-url-via-a-flash-projector/206344)

<div class="topic-metadata">

**Author:** [@jay\_church](https://forum.kirupa.com/u/jay_church)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 12:49pm UTC](https://forum.kirupa.com/t/linking-to-a-url-via-a-flash-projector/206344 "2006-11-07T12:49:59Z")

</div>

Can anybody help? I have created a CD presentation that runs a Flash Projector file. Within the file I have links that need to open particular pages of a live website. How do I create those links to work within the…

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

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