# programming

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

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

**Page:** 472

---

## [Right way to enable/disable in a for loop](https://forum.kirupa.com/t/right-way-to-enable-disable-in-a-for-loop/310704)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 6:37am UTC](https://forum.kirupa.com/t/right-way-to-enable-disable-in-a-for-loop/310704 "2010-06-17T06:37:55Z")

</div>

Hi guys, I d'like to have your opinion about the best and effective way to enable/disable properties on a list of MC buttons. Let's say I got a menu of 5 MC links and I click on one of them. I want to disable the mou…

---

## [A way to count number of people logging in?](https://forum.kirupa.com/t/a-way-to-count-number-of-people-logging-in/310703)

<div class="topic-metadata">

**Author:** [@Dienknight](https://forum.kirupa.com/u/Dienknight)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 6:31am UTC](https://forum.kirupa.com/t/a-way-to-count-number-of-people-logging-in/310703 "2010-06-17T06:31:24Z")

</div>

I've thought about storing the info into mysql, but just realized that if people close the explorer instead of logging out, it still stays the same. Is there a way around this? Thanks.

---

## [Flash client Java server variables](https://forum.kirupa.com/t/flash-client-java-server-variables/310702)

<div class="topic-metadata">

**Author:** [@Janno](https://forum.kirupa.com/u/Janno)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 6:19am UTC](https://forum.kirupa.com/t/flash-client-java-server-variables/310702 "2010-06-17T06:19:07Z")

</div>

Hello. I'm currently working with flash socket connection to java server. I got basic server working and everythings working fine and soon I'm going to start making game. Just one problem, what is the best way to sen…

---

## [Adobe Flash Platform Summit 2010](https://forum.kirupa.com/t/adobe-flash-platform-summit-2010/310701)

<div class="topic-metadata">

**Author:** [@shankarjain2010](https://forum.kirupa.com/u/shankarjain2010)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 5:34am UTC](https://forum.kirupa.com/t/adobe-flash-platform-summit-2010/310701 "2010-06-17T05:34:42Z")

</div>

Plug In to the Web at India's Largest Adobe Conference Bangalore, June 17, 2010: Adobe Flash Platform Summit, India's largest Adobe conference, recognizes the blurring dynamic of the designer/developer workflow, and fe…

---

## [Overriding X-Cart Styles](https://forum.kirupa.com/t/overriding-x-cart-styles/310700)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 4:09am UTC](https://forum.kirupa.com/t/overriding-x-cart-styles/310700 "2010-06-17T04:09:18Z")

</div>

I am working on a widget for a client that needs to sit on one of his webpages - his website is run on the x-cart system (of which I am not very familiar), and I have found that his template styles are overriding the sty…

---

## [Mp3bugs,duplicating sound](https://forum.kirupa.com/t/mp3bugs-duplicating-sound/310699)

<div class="topic-metadata">

**Author:** [@zhe](https://forum.kirupa.com/u/zhe)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 3:42am UTC](https://forum.kirupa.com/t/mp3bugs-duplicating-sound/310699 "2010-06-17T03:42:51Z")

</div>

Hei, i've got problem with unload my child.swf, I eksternally loaded and I controlled from main time... the bugs are: 1. If I wanna go to another swf file, i still can hear the sound... 2. if I click the button wich lin…

---

## [AS2 - oddity in xml](https://forum.kirupa.com/t/as2-oddity-in-xml/310697)

<div class="topic-metadata">

**Author:** [@bakescake](https://forum.kirupa.com/u/bakescake)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 2:18am UTC](https://forum.kirupa.com/t/as2-oddity-in-xml/310697 "2010-06-17T02:18:10Z")

</div>

Using a script for an mp3 player. Desktop testing, movie shows 'undefined' message. I use the original xml file and all is well. I replace one of the defined urls in the original xml with one of my own - undefined shows …

---

## [Extra space after certain characters](https://forum.kirupa.com/t/extra-space-after-certain-characters/310693)

<div class="topic-metadata">

**Author:** [@PCTim](https://forum.kirupa.com/u/PCTim)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 11:36pm UTC](https://forum.kirupa.com/t/extra-space-after-certain-characters/310693 "2010-06-16T23:36:11Z")

</div>

I am currently maintaing a multi-linual app. It uses LoadVars.sendAndLoad() to populate dynamic fields with text appropriate to the user's current language. It works fine, except in a few cases. Certain Cyrillic characte…

---

## [Flash MX Help Needed: Confused](https://forum.kirupa.com/t/flash-mx-help-needed-confused/310691)

<div class="topic-metadata">

**Author:** [@SoupHead](https://forum.kirupa.com/u/SoupHead)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 7:55pm UTC](https://forum.kirupa.com/t/flash-mx-help-needed-confused/310691 "2010-06-16T19:55:32Z")

</div>

Okay, so basically I was creating a game. Within this game, the player has a sword and can swing it. I added the frames to the movie Clip and named the frames for easier programming. I don't want the player to be able to…

---

## [General Flash Security: Validating events online](https://forum.kirupa.com/t/general-flash-security-validating-events-online/310688)

<div class="topic-metadata">

**Author:** [@ls\_ac](https://forum.kirupa.com/u/ls_ac)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 6:14pm UTC](https://forum.kirupa.com/t/general-flash-security-validating-events-online/310688 "2010-06-16T18:14:23Z")

</div>

Given the nearly plain-text nature of Flash, from a security standpoint, we must assume that your SWF can be decompiled into human readable format. That said, how can we ensure the validity of any online calls? For …

---

## [HTTP Verb Error Message](https://forum.kirupa.com/t/http-verb-error-message/310687)

<div class="topic-metadata">

**Author:** [@greygoose41](https://forum.kirupa.com/u/greygoose41)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 4:13pm UTC](https://forum.kirupa.com/t/http-verb-error-message/310687 "2010-06-16T16:13:03Z")

</div>

Created simple e-mail input form using your tutorial. Form looks fine on server and accepts input. After clicking submit button, HTTP Verb error message appears. Have not linked new contact page having the form or mailer…

---

## [Advise Flash Game!](https://forum.kirupa.com/t/advise-flash-game/310685)

<div class="topic-metadata">

**Author:** [@Rosario](https://forum.kirupa.com/u/Rosario)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 3:01pm UTC](https://forum.kirupa.com/t/advise-flash-game/310685 "2010-06-16T15:01:03Z")

</div>

I love Bloons! Very interesting game! But I have passed it twice already ( Please advise some interesting game! may be from Bloons creator or similar to it. Thanks

---

## [SWF security](https://forum.kirupa.com/t/swf-security/310684)

<div class="topic-metadata">

**Author:** [@Rosario](https://forum.kirupa.com/u/Rosario)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 2:51pm UTC](https://forum.kirupa.com/t/swf-security/310684 "2010-06-16T14:51:45Z")

</div>

Hello everyone! Just want to share with your some tutorials which I have found on squidoo recently! They will help you to keep swf and actionscript code protected. How to protect SWFs from Decompilers How to protect…

---

## [DataGrid Header text align](https://forum.kirupa.com/t/datagrid-header-text-align/310683)

<div class="topic-metadata">

**Author:** [@h3d0](https://forum.kirupa.com/u/h3d0)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 2:28pm UTC](https://forum.kirupa.com/t/datagrid-header-text-align/310683 "2010-06-16T14:28:45Z")

</div>

Hi. I want to align text in the header of DataGrid. I've googled the problem and found some solutions: 1) Using custom HeaderRenderer package controls { import fl.controls.dataGridClasses.HeaderRenderer; i…

---

## [Scribe program](https://forum.kirupa.com/t/scribe-program/310675)

<div class="topic-metadata">

**Author:** [@abhin88](https://forum.kirupa.com/u/abhin88)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 10:46am UTC](https://forum.kirupa.com/t/scribe-program/310675 "2010-06-16T10:46:10Z")

</div>

I have written a scribe program. But its not functioning accordingly. i want it to work in such a way , when a user scribbles something on the screen, the image shd be visible for a stipulated amount of time and then it …

---

## [CheckBoxes move when scrolled](https://forum.kirupa.com/t/checkboxes-move-when-scrolled/310673)

<div class="topic-metadata">

**Author:** [@Mike\_Timmins](https://forum.kirupa.com/u/Mike_Timmins)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 8:52am UTC](https://forum.kirupa.com/t/checkboxes-move-when-scrolled/310673 "2010-06-16T08:52:43Z")

</div>

I have created a DataGrid from a script complete with CheckBoxes, currently with 125 rows, the problem is that when you scroll up or down the checkboxes that are 'checked' seem to stay in the 'viewport' and consequently …

---

## [Help regarding Online Teaching Module](https://forum.kirupa.com/t/help-regarding-online-teaching-module/310671)

<div class="topic-metadata">

**Author:** [@javediq\_143](https://forum.kirupa.com/u/javediq_143)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 7:31am UTC](https://forum.kirupa.com/t/help-regarding-online-teaching-module/310671 "2010-06-16T07:31:41Z")

</div>

Hi All, I've got a new project to do but this time its something which I'm not able to think about :(. I've never ever done this before in my past experience. I'm required to develop a software/website (in any langua…

---

## [OnEnterframe Problem](https://forum.kirupa.com/t/onenterframe-problem/310670)

<div class="topic-metadata">

**Author:** [@experts585](https://forum.kirupa.com/u/experts585)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 7:24am UTC](https://forum.kirupa.com/t/onenterframe-problem/310670 "2010-06-16T07:24:13Z")

</div>

hi i post below plz plz reply me On my Post my problem is my mc cant stop after hitting the mc how to stop mc after hitting I used this code to stop this Mc and its work But the mc hit only one time 2nd time its does…

---

## [Create a custom CSS style in Flash Builder](https://forum.kirupa.com/t/create-a-custom-css-style-in-flash-builder/310666)

<div class="topic-metadata">

**Author:** [@JaxNa](https://forum.kirupa.com/u/JaxNa)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 6:24am UTC](https://forum.kirupa.com/t/create-a-custom-css-style-in-flash-builder/310666 "2010-06-16T06:24:16Z")

</div>

Hi. \[LIST=1\] \[\*\] Return to Flash Builder. \[\*\] In Design mode, select the Label control that reads Company Vehicle Request Form. \[\*\] In Properties view, click the\[COLOR=#ff0000\] Convert to CSS\[/…

---

## [Flash Player 10.1 debug version?](https://forum.kirupa.com/t/flash-player-10-1-debug-version/310665)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 6:13am UTC](https://forum.kirupa.com/t/flash-player-10-1-debug-version/310665 "2010-06-16T06:13:21Z")

</div>

Anybody know how i can download it? Cant find a link Ta d2 :puzzled:

---

## [Flash IDE not communicating properly with PHP](https://forum.kirupa.com/t/flash-ide-not-communicating-properly-with-php/310664)

<div class="topic-metadata">

**Author:** [@stardog](https://forum.kirupa.com/u/stardog)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 5:47am UTC](https://forum.kirupa.com/t/flash-ide-not-communicating-properly-with-php/310664 "2010-06-16T05:47:36Z")

</div>

I have a rather strange problem. Well, at least I think it's strange. I'm making a Flash program that reads a mysql database query in a PHP file. When I compile and publish my flash movie and put it in my xampp/htdoc…

---

## [Creating a shape from a randomly drawn line](https://forum.kirupa.com/t/creating-a-shape-from-a-randomly-drawn-line/310661)

<div class="topic-metadata">

**Author:** [@Flutillie](https://forum.kirupa.com/u/Flutillie)\
**Replies:** 0\
**Last updated:** [June 16, 2010, 2:14am UTC](https://forum.kirupa.com/t/creating-a-shape-from-a-randomly-drawn-line/310661 "2010-06-16T02:14:21Z")

</div>

I have a line randomly being drawn and moved across the stage. Here is the code: import flash.display.Sprite; var xValue:Number = 0; var yValue:Number = 150; //sprite in which the line will be created var edgeH…

---

## [SWF vs HTML Scrollbar](https://forum.kirupa.com/t/swf-vs-html-scrollbar/310658)

<div class="topic-metadata">

**Author:** [@anthony\_z](https://forum.kirupa.com/u/anthony_z)\
**Replies:** 0\
**Last updated:** [June 15, 2010, 11:32pm UTC](https://forum.kirupa.com/t/swf-vs-html-scrollbar/310658 "2010-06-15T23:32:22Z")

</div>

Hey everyone, My question is partially AS2 only, it is mainly HTML, but I’m guessing mostly a Flash developer would come across with this issue. I have an AS2 .swf file called “sample.swf” This “sample.swf” conta…

---

## [Social Networking tabs in Flash possible?](https://forum.kirupa.com/t/social-networking-tabs-in-flash-possible/310657)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [June 15, 2010, 10:24pm UTC](https://forum.kirupa.com/t/social-networking-tabs-in-flash-possible/310657 "2010-06-15T22:24:43Z")

</div>

You know how you always see Twitter and Facebook buttons on peoples websites? If they click a button, it spits out a link which will appear in their FB or Twitter messages. Wondering if anything like this is possible in …

---

## [Event Tracking Google Analytics w/ AS2](https://forum.kirupa.com/t/event-tracking-google-analytics-w-as2/310656)

<div class="topic-metadata">

**Author:** [@lletdownl](https://forum.kirupa.com/u/lletdownl)\
**Replies:** 0\
**Last updated:** [June 15, 2010, 10:23pm UTC](https://forum.kirupa.com/t/event-tracking-google-analytics-w-as2/310656 "2010-06-15T22:23:35Z")

</div>

Hi All... Curious if there is anyone here that has been able to get Google Analytics Event tracking to work within a flash file written in AS2. It suggest a code like this on (release) { // Track with no action getU…

---

## [AIR vs EXE?](https://forum.kirupa.com/t/air-vs-exe/310654)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [June 15, 2010, 9:26pm UTC](https://forum.kirupa.com/t/air-vs-exe/310654 "2010-06-15T21:26:54Z")

</div>

What are the benefits of using Adobe AIR for desktop apps, rather than publishing your app as an EXE?

---

## [MC drag and drop partially out of stage](https://forum.kirupa.com/t/mc-drag-and-drop-partially-out-of-stage/310650)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [June 15, 2010, 8:32pm UTC](https://forum.kirupa.com/t/mc-drag-and-drop-partially-out-of-stage/310650 "2010-06-15T20:32:56Z")

</div>

Hi! I'm facing difficulties trying to drag and drop dynamic MC when their registration point go out of the stage. I'm using Tweener easing, and when this happens I get errors coming from Tweener and also from the stage…

---

## [Unit Pathing In Groups](https://forum.kirupa.com/t/unit-pathing-in-groups/310649)

<div class="topic-metadata">

**Author:** [@Pokenerd](https://forum.kirupa.com/u/Pokenerd)\
**Replies:** 0\
**Last updated:** [June 15, 2010, 7:37pm UTC](https://forum.kirupa.com/t/unit-pathing-in-groups/310649 "2010-06-15T19:37:09Z")

</div>

Hi Guys, I have been beating my head against the wall for a while trying to solve this, but have had no luck. I am creating a top down zombie shooter, however even though my opponents are zombies, they are just a BIT…

---

## [Dealing with IE7 while keeping my layout nice](https://forum.kirupa.com/t/dealing-with-ie7-while-keeping-my-layout-nice/310648)

<div class="topic-metadata">

**Author:** [@alliea](https://forum.kirupa.com/u/alliea)\
**Replies:** 0\
**Last updated:** [June 15, 2010, 7:25pm UTC](https://forum.kirupa.com/t/dealing-with-ie7-while-keeping-my-layout-nice/310648 "2010-06-15T19:25:39Z")

</div>

I'm in the later stages of working on a website, and I previewed it today for the first time in IE7. It's... kinda messed up in a lot of areas. I built it in DW CS4, previewing it in Firefox and IE8. I have knowledge …

---

## [Closing MySQL connection?](https://forum.kirupa.com/t/closing-mysql-connection/310641)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [June 15, 2010, 4:04pm UTC](https://forum.kirupa.com/t/closing-mysql-connection/310641 "2010-06-15T16:04:02Z")

</div>

Hi there, I am new to PHP and have a little question. I know how to close a MySQL connection if I open that connection within the very PHP file from which I am trying to close it. Consider my main PHP file called MAI…

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

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