# programming

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

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

**Page:** 1585

---

## [Enemies disappear randomly](https://forum.kirupa.com/t/enemies-disappear-randomly/235637)

<div class="topic-metadata">

**Author:** [@leetleet](https://forum.kirupa.com/u/leetleet)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 4:57pm UTC](https://forum.kirupa.com/t/enemies-disappear-randomly/235637 "2007-08-13T16:57:28Z")

</div>

One the first frame of 'enemyOne' movieclip, I have: var o = 0; var i = 0; var j = 0; function enemyOneShoot () { initObject = new Object(); initObject.\_x = \_x; initObject.\_y = \_y; var aim = Math.atan2(\_root.tank.…

---

## [Movieclip/button differences](https://forum.kirupa.com/t/movieclip-button-differences/235635)

<div class="topic-metadata">

**Author:** [@tokyoboy](https://forum.kirupa.com/u/tokyoboy)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 4:44pm UTC](https://forum.kirupa.com/t/movieclip-button-differences/235635 "2007-08-13T16:44:45Z")

</div>

hey all, I just finished utilizing the "Transitions between external swfs" tutorial in order to make a website. I also used the "Complex button Rollover/Rollout effects" to create the buttons on the website. However, t…

---

## [How to Autorun SWF not from a CD](https://forum.kirupa.com/t/how-to-autorun-swf-not-from-a-cd/235632)

<div class="topic-metadata">

**Author:** [@flashbeginner](https://forum.kirupa.com/u/flashbeginner)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 4:03pm UTC](https://forum.kirupa.com/t/how-to-autorun-swf-not-from-a-cd/235632 "2007-08-13T16:03:12Z")

</div>

Hey Everyone, I have a swf file that connects to a database. This swf file is going to launched from a server. The swf file will be played on LCD screen that will be a touch screen for users. Kinda like a kiosk. The …

---

## [\*\*\*\*is There Noone That Has An Answer?\*\*\*\*](https://forum.kirupa.com/t/is-there-noone-that-has-an-answer/235631)

<div class="topic-metadata">

**Author:** [@wahiche](https://forum.kirupa.com/u/wahiche)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 3:44pm UTC](https://forum.kirupa.com/t/is-there-noone-that-has-an-answer/235631 "2007-08-13T15:44:22Z")

</div>

22 Views and no answer. I am sure this is something that someone here knows about. Thanks. I went online and looked for some tutorials about this subject and found one but it does not seem to work for some reason. H…

---

## [PhP to Flash problem](https://forum.kirupa.com/t/php-to-flash-problem/235627)

<div class="topic-metadata">

**Author:** [@EvangelosRoxxor](https://forum.kirupa.com/u/EvangelosRoxxor)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 3:28pm UTC](https://forum.kirupa.com/t/php-to-flash-problem/235627 "2007-08-13T15:28:35Z")

</div>

I'm using loadVariables to run a php script off a server, which echo's back data into flash using 'echo &foo=bar' and a text box with variable name foo. I have the .fla and php hosted on a server with php installed, and…

---

## [Making a Quote, Need Advice](https://forum.kirupa.com/t/making-a-quote-need-advice/235618)

<div class="topic-metadata">

**Author:** [@alanmace](https://forum.kirupa.com/u/alanmace)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 2:26pm UTC](https://forum.kirupa.com/t/making-a-quote-need-advice/235618 "2007-08-13T14:26:05Z")

</div>

I have a project manager who wants me to quote on a project doing something I've never done, but which I know is doable. Basically, it involves creating an application to determine the kind of printer cartridge that a pr…

---

## [For statement returns error when it is decreasing](https://forum.kirupa.com/t/for-statement-returns-error-when-it-is-decreasing/235617)

<div class="topic-metadata">

**Author:** [@superpeppe](https://forum.kirupa.com/u/superpeppe)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 2:19pm UTC](https://forum.kirupa.com/t/for-statement-returns-error-when-it-is-decreasing/235617 "2007-08-13T14:19:15Z")

</div>

Hi Usually when you use the for statement you want the starting value to be 0, and the ending value to be larger than 0. But I need it to count down, so let's say we have the following code: package { import Arr…

---

## [Menu system - basics?](https://forum.kirupa.com/t/menu-system-basics/235614)

<div class="topic-metadata">

**Author:** [@Henxon](https://forum.kirupa.com/u/Henxon)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 1:50pm UTC](https://forum.kirupa.com/t/menu-system-basics/235614 "2007-08-13T13:50:52Z")

</div>

Hello How do you guys solve the menu system on your sites, now when frames are a "ugly" way of solving sites. I have been developing sites with .net 2.0 and their MasterPage-system is wonderful, u make a menu that is a…

---

## [Implementing Who's Online Code (ASP)](https://forum.kirupa.com/t/implementing-whos-online-code-asp/235611)

<div class="topic-metadata">

**Author:** [@webmulgor](https://forum.kirupa.com/u/webmulgor)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 1:13pm UTC](https://forum.kirupa.com/t/implementing-whos-online-code-asp/235611 "2007-08-13T13:13:57Z")

</div>

how 2 implement who's Online code in my website? My Website is Membership based. How Can i show the Names of Member (or say Member iD), those who are currently online. at present i am drowned in Code, which i got …

---

## [Problem with flash loading a frame](https://forum.kirupa.com/t/problem-with-flash-loading-a-frame/235610)

<div class="topic-metadata">

**Author:** [@fattyJ](https://forum.kirupa.com/u/fattyJ)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 1:09pm UTC](https://forum.kirupa.com/t/problem-with-flash-loading-a-frame/235610 "2007-08-13T13:09:28Z")

</div>

This is the same question ive seen asked everywhere and everyone answers it the same way and it works for them so its something im over looking but i cant for the life of me see it ive tried every variation on how if see…

---

## [Accordion sliding menu](https://forum.kirupa.com/t/accordion-sliding-menu/235609)

<div class="topic-metadata">

**Author:** [@michey](https://forum.kirupa.com/u/michey)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 12:39pm UTC](https://forum.kirupa.com/t/accordion-sliding-menu/235609 "2007-08-13T12:39:14Z")

</div>

Hi I've build a very simple horizontal accordion-like sliding Menu. It works except for the rollout after the release, then it slides back instead of staying in position. The problem is that I need a slide back after th…

---

## [Combination of "Slideshow" and "Gallery"?](https://forum.kirupa.com/t/combination-of-slideshow-and-gallery/235607)

<div class="topic-metadata">

**Author:** [@klubjohn](https://forum.kirupa.com/u/klubjohn)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 12:15pm UTC](https://forum.kirupa.com/t/combination-of-slideshow-and-gallery/235607 "2007-08-13T12:15:02Z")

</div>

Hi Kirupa and other helpsome guys around the world! I am wondering if it is possible to combine the 'XML gallery' with the 'XML slideshow'. Both represented on KIRUPA tutorials! I will make two sets of buttons: One s…

---

## [Checking if a symbol exists in the library](https://forum.kirupa.com/t/checking-if-a-symbol-exists-in-the-library/235604)

<div class="topic-metadata">

**Author:** [@NickZA](https://forum.kirupa.com/u/NickZA)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 11:21am UTC](https://forum.kirupa.com/t/checking-if-a-symbol-exists-in-the-library/235604 "2007-08-13T11:21:05Z")

</div>

Hi My situation is thus: I have an XML file with entries, each of which contains a handle (linkage ID) to the movie clip that represents that entry onstage. So I dynamically load these symbols in from the library acc…

---

## [Communication Encryption/Obfuscation](https://forum.kirupa.com/t/communication-encryption-obfuscation/235603)

<div class="topic-metadata">

**Author:** [@iceflyin](https://forum.kirupa.com/u/iceflyin)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 11:03am UTC](https://forum.kirupa.com/t/communication-encryption-obfuscation/235603 "2007-08-13T11:03:15Z")

</div>

I am trying to figure out a solution to add a tiny bit of security to a Flash chat. Does anyone know of any methods of Obfuscating or encrypting Flash to Gateway(amfPHP) messages? My current idea is this... User cl…

---

## [Datagrid does not update after loosing focus](https://forum.kirupa.com/t/datagrid-does-not-update-after-loosing-focus/235599)

<div class="topic-metadata">

**Author:** [@oaki](https://forum.kirupa.com/u/oaki)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 10:07am UTC](https://forum.kirupa.com/t/datagrid-does-not-update-after-loosing-focus/235599 "2007-08-13T10:07:15Z")

</div>

Hi, I've got a DataGrid component on the stage and I feed its content with a DataProvider. The grid's editable property is set to true. The problem i'm encountering is that if i edit the very last cell in the grid an…

---

## [FLV Playback Problems](https://forum.kirupa.com/t/flv-playback-problems/235592)

<div class="topic-metadata">

**Author:** [@Vincinity](https://forum.kirupa.com/u/Vincinity)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 8:47am UTC](https://forum.kirupa.com/t/flv-playback-problems/235592 "2007-08-13T08:47:52Z")

</div>

Hi guys. I am having trouble getting CS3 to properly play back an imported FLV. I have tried all of the different streaming methods as well as embedding the video (which is a road I would rather not follow), but there …

---

## [Easy validation + redirect](https://forum.kirupa.com/t/easy-validation-redirect/235591)

<div class="topic-metadata">

**Author:** [@Lillebo](https://forum.kirupa.com/u/Lillebo)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 8:44am UTC](https://forum.kirupa.com/t/easy-validation-redirect/235591 "2007-08-13T08:44:22Z")

</div>

Hey guys! I just wanted one simple script which checks if a dynamic text-field contains the word "magicword", and if it does, redirect the users browser to a URL of my choosing. I'm betting there is a insanely easy w…

---

## [\[AMFPHP\] can't pass flash array to php](https://forum.kirupa.com/t/amfphp-cant-pass-flash-array-to-php/235588)

<div class="topic-metadata">

**Author:** [@oaki](https://forum.kirupa.com/u/oaki)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 8:03am UTC](https://forum.kirupa.com/t/amfphp-cant-pass-flash-array-to-php/235588 "2007-08-13T08:03:41Z")

</div>

Hi, When I try to pass a flash array to a php method via AMFHP, it seems that AMFPHP can't connect to the script. But as soon as I define any other datatype, the scripts works perfectly fine.. Apparently php can't hand…

---

## [Need to call a functionname that is a combination of a variable & set text...help](https://forum.kirupa.com/t/need-to-call-a-functionname-that-is-a-combination-of-a-variable-set-text-help/235586)

<div class="topic-metadata">

**Author:** [@niklasinla](https://forum.kirupa.com/u/niklasinla)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 7:41am UTC](https://forum.kirupa.com/t/need-to-call-a-functionname-that-is-a-combination-of-a-variable-set-text-help/235586 "2007-08-13T07:41:19Z")

</div>

Hi there! I have a variable in the \_root called section. Now I want to call hemmaAnimation(); within a the global function (see below). So I set the section variable to hemma & tried these: \_global.sectionAnimation = f…

---

## [Theory question on textWidth property](https://forum.kirupa.com/t/theory-question-on-textwidth-property/235583)

<div class="topic-metadata">

**Author:** [@eudora](https://forum.kirupa.com/u/eudora)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 5:56am UTC](https://forum.kirupa.com/t/theory-question-on-textwidth-property/235583 "2007-08-13T05:56:48Z")

</div>

Removed... shld be posted in AS 2.0

---

## [Shared Library & Embedded Font - Error](https://forum.kirupa.com/t/shared-library-embedded-font-error/235579)

<div class="topic-metadata">

**Author:** [@Mage](https://forum.kirupa.com/u/Mage)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 4:24am UTC](https://forum.kirupa.com/t/shared-library-embedded-font-error/235579 "2007-08-13T04:24:11Z")

</div>

Hey everyone, can someone please help me with this? I have a movieclip coming from a shared library and some dynamic text that is embedded with the 'embed' button in flash so I could choose certain glyphs. For some r…

---

## [Advanced buttons linking](https://forum.kirupa.com/t/advanced-buttons-linking/235578)

<div class="topic-metadata">

**Author:** [@punstc](https://forum.kirupa.com/u/punstc)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 4:08am UTC](https://forum.kirupa.com/t/advanced-buttons-linking/235578 "2007-08-13T04:08:08Z")

</div>

I have made some advanced buttons and want to use then to navigate to a different frame in the site this is what have b1.onRelease = function() { this.gotoAndStop(10); } can anyone tell me why this isnt working? T…

---

## [Submitting an email address to Topica.com](https://forum.kirupa.com/t/submitting-an-email-address-to-topica-com/235575)

<div class="topic-metadata">

**Author:** [@Line](https://forum.kirupa.com/u/Line)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 2:22am UTC](https://forum.kirupa.com/t/submitting-an-email-address-to-topica-com/235575 "2007-08-13T02:22:38Z")

</div>

Submitting an email address to Topica.com Anyone use topica for their email newsletters with flash? They have a email form field with the form name F:31 When I put that variable to be loaded, I get a syntax error. …

---

## [Want to learn AS properly...where do I start?](https://forum.kirupa.com/t/want-to-learn-as-properly-where-do-i-start/235574)

<div class="topic-metadata">

**Author:** [@asiabackpacker](https://forum.kirupa.com/u/asiabackpacker)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 1:29am UTC](https://forum.kirupa.com/t/want-to-learn-as-properly-where-do-i-start/235574 "2007-08-13T01:29:38Z")

</div>

Hopefully you guys can offer me some advice. Here's my situation... I've been using Flash since the day it came out, and started using AS when it first appeared. I got pretty good at it back in the day, by just figurin…

---

## [MC Issue, Can Someone Advise Me](https://forum.kirupa.com/t/mc-issue-can-someone-advise-me/235573)

<div class="topic-metadata">

**Author:** [@rcaira](https://forum.kirupa.com/u/rcaira)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 1:17am UTC](https://forum.kirupa.com/t/mc-issue-can-someone-advise-me/235573 "2007-08-13T01:17:46Z")

</div>

Hi All, I am new to flash and I ran across a roadblock in my project. My Main Page is a Flash Page, which opens all other swf files into a Blank\_MC The problem I seem to have is when I try to open an additional file insi…

---

## [PAssing a variable into an MC created with attachMovie](https://forum.kirupa.com/t/passing-a-variable-into-an-mc-created-with-attachmovie/235570)

<div class="topic-metadata">

**Author:** [@mbuna](https://forum.kirupa.com/u/mbuna)\
**Replies:** 0\
**Last updated:** [August 13, 2007, 12:17am UTC](https://forum.kirupa.com/t/passing-a-variable-into-an-mc-created-with-attachmovie/235570 "2007-08-13T00:17:19Z")

</div>

I am creating movie clips with a for loop using attachMovie, I would like to pass a variable into the clip itself at the time of it's creation. It seems simple enough, but my little brain is imploding... So basically I…

---

## [Another try: Uninterrupted Rollover/Rollout?](https://forum.kirupa.com/t/another-try-uninterrupted-rollover-rollout/235568)

<div class="topic-metadata">

**Author:** [@jlafferty123](https://forum.kirupa.com/u/jlafferty123)\
**Replies:** 0\
**Last updated:** [August 12, 2007, 11:57pm UTC](https://forum.kirupa.com/t/another-try-uninterrupted-rollover-rollout/235568 "2007-08-12T23:57:25Z")

</div>

So... I've looked at both of these tutorials and I'm trying to combine their best elements: http://www.kirupa.com/developer/mx2004/button\_effect.htm http://www.kirupa.com/developer/flash5/advroll.htm What I would i…

---

## [Diagonal Movement With Tween](https://forum.kirupa.com/t/diagonal-movement-with-tween/235564)

<div class="topic-metadata">

**Author:** [@wes\_design](https://forum.kirupa.com/u/wes_design)\
**Replies:** 0\
**Last updated:** [August 12, 2007, 11:08pm UTC](https://forum.kirupa.com/t/diagonal-movement-with-tween/235564 "2007-08-12T23:08:07Z")

</div>

is it possible to do diagonal movement? with tweens? function tweenforward(beginy, endy,endx,beginx) { if((endy\>=900)&&(endx\>=500)){ // trace("oh my"); }else{ …

---

## [Showing/hiding data from MySQL database using PHP](https://forum.kirupa.com/t/showing-hiding-data-from-mysql-database-using-php/235563)

<div class="topic-metadata">

**Author:** [@iamali](https://forum.kirupa.com/u/iamali)\
**Replies:** 0\
**Last updated:** [August 12, 2007, 11:02pm UTC](https://forum.kirupa.com/t/showing-hiding-data-from-mysql-database-using-php/235563 "2007-08-12T23:02:17Z")

</div>

Hi all, I'm working on this 3D Flash photo gallery thingy - http://www.alisongreen.me.uk/majorproject/w4/ . I've got the images to load in to Flash from a MySQL database using PHP using the "filename" field in the databa…

---

## [CSS Link Problem](https://forum.kirupa.com/t/css-link-problem/235560)

<div class="topic-metadata">

**Author:** [@joso](https://forum.kirupa.com/u/joso)\
**Replies:** 0\
**Last updated:** [August 12, 2007, 10:02pm UTC](https://forum.kirupa.com/t/css-link-problem/235560 "2007-08-12T22:02:18Z")

</div>

Hi there, I have a problem with setting the style of the links on my site....basically ive set up the standard a:link, a:hover styles with the font colour being black, so all that works fine. The only thing is, my actu…

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

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