# programming

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

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

**Page:** 348

---

## [\<!--\[if lte IE\]\>](https://forum.kirupa.com/t/if-lte-ie/318204)

<div class="topic-metadata">

**Author:** [@phlegma](https://forum.kirupa.com/u/phlegma)\
**Replies:** 0\
**Last updated:** [January 13, 2011, 4:18am UTC](https://forum.kirupa.com/t/if-lte-ie/318204 "2011-01-13T04:18:18Z")

</div>

My website is showing \<!--\[if lte IE\]\> in the top left corner of IE, I know what it's for, but why is the text displaying? www.bigmapideas.com

---

## [Seperate Actions for Character Facing Direction](https://forum.kirupa.com/t/seperate-actions-for-character-facing-direction/318200)

<div class="topic-metadata">

**Author:** [@MLGlololol](https://forum.kirupa.com/u/MLGlololol)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 10:54pm UTC](https://forum.kirupa.com/t/seperate-actions-for-character-facing-direction/318200 "2011-01-12T22:54:42Z")

</div>

Okay, I'm new to forums, as a whole, so sorry if I do something 'wrong'... Anyway, for a school assignment, I want to have a one of my characters walk around the screen... with the watcher controlling him... and I want h…

---

## [Preloading Progress Bar](https://forum.kirupa.com/t/preloading-progress-bar/318199)

<div class="topic-metadata">

**Author:** [@mrdamon](https://forum.kirupa.com/u/mrdamon)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 10:04pm UTC](https://forum.kirupa.com/t/preloading-progress-bar/318199 "2011-01-12T22:04:47Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]Hello everyone.\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\]I've found a great tutorial using AS 2.0 for a preloader to load external movies.\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\] \[/FONT\]\[/C…

---

## [Moving one MC inside another MC](https://forum.kirupa.com/t/moving-one-mc-inside-another-mc/318198)

<div class="topic-metadata">

**Author:** [@scheda](https://forum.kirupa.com/u/scheda)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 9:11pm UTC](https://forum.kirupa.com/t/moving-one-mc-inside-another-mc/318198 "2011-01-12T21:11:06Z")

</div>

I'm working on my very first game (outside of tutorials) and it's going to be a tower defense style game... Instead of working with the usual grid format, I want a "free form" map where a user can place a tower anywher…

---

## [Calculating progress bar size](https://forum.kirupa.com/t/calculating-progress-bar-size/318193)

<div class="topic-metadata">

**Author:** [@outback](https://forum.kirupa.com/u/outback)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 7:36pm UTC](https://forum.kirupa.com/t/calculating-progress-bar-size/318193 "2011-01-12T19:36:59Z")

</div>

Hi guys, I'm having some problems trying to calculate the size of a progress bar. Here is the thing I have a movie with X scenes and I want the progress bar to fill up according to the porcentage of my timeline that …

---

## [NetConnection and FLV files](https://forum.kirupa.com/t/netconnection-and-flv-files/318192)

<div class="topic-metadata">

**Author:** [@sFoster83](https://forum.kirupa.com/u/sFoster83)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 6:37pm UTC](https://forum.kirupa.com/t/netconnection-and-flv-files/318192 "2011-01-12T18:37:30Z")

</div>

I'm been impressed by just how terrible the NetConnection docs are. Can someone point me in the right direction here? The NetConnection API: http://help.adobe.com/en\_US/FlashPlatform/reference/actionscript/3/flash/net/…

---

## [2 booleans](https://forum.kirupa.com/t/2-booleans/318191)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 6:26pm UTC](https://forum.kirupa.com/t/2-booleans/318191 "2011-01-12T18:26:33Z")

</div>

var run:Boolean; var jump:Boolean; if (run && jump){ // } is flash smart enough to flag the if statement as false based on the first parameter? or will it still process both booleans, even though it is known t…

---

## [AS3 Fade images in and out randomly](https://forum.kirupa.com/t/as3-fade-images-in-and-out-randomly/318189)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 5:00pm UTC](https://forum.kirupa.com/t/as3-fade-images-in-and-out-randomly/318189 "2011-01-12T17:00:54Z")

</div>

I'm currently looking at a tutorial that loads thumbnails in from XML. I'm deconstructing it to try and get used to AS3. Here is the bit I'm stuck on: function thumbLoaded(e:Event):void { var my\_thumb:Loader = L…

---

## [How to disable output panel while running app in background](https://forum.kirupa.com/t/how-to-disable-output-panel-while-running-app-in-background/318185)

<div class="topic-metadata">

**Author:** [@jaxz](https://forum.kirupa.com/u/jaxz)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 1:30pm UTC](https://forum.kirupa.com/t/how-to-disable-output-panel-while-running-app-in-background/318185 "2011-01-12T13:30:43Z")

</div>

How to disable output panel while running app in background Dear all, for debugging I use trace commands to keep track of what happens, but this is super annoying when trying to run the application in the background …

---

## [Problem with IF condition - Please help!](https://forum.kirupa.com/t/problem-with-if-condition-please-help/318184)

<div class="topic-metadata">

**Author:** [@Etherea](https://forum.kirupa.com/u/Etherea)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 1:21pm UTC](https://forum.kirupa.com/t/problem-with-if-condition-please-help/318184 "2011-01-12T13:21:07Z")

</div>

Hello again, you guys. Maybe I should have updated my other thread but as they are completely different questions I thought I'd start a new one. So I have a mouse-rotated knob controlling an animation inside a movie c…

---

## [Web Programming](https://forum.kirupa.com/t/web-programming/318183)

<div class="topic-metadata">

**Author:** [@hasanaman](https://forum.kirupa.com/u/hasanaman)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 12:53pm UTC](https://forum.kirupa.com/t/web-programming/318183 "2011-01-12T12:53:20Z")

</div>

Outsource Mastery is a company that’s helping companies, business’s as well as individuals cut costs on anything and everything. http://www.outsourcemastery.net :pope:

---

## [getInstanceByname](https://forum.kirupa.com/t/getinstancebyname/318182)

<div class="topic-metadata">

**Author:** [@daragh\_c](https://forum.kirupa.com/u/daragh_c)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 12:23pm UTC](https://forum.kirupa.com/t/getinstancebyname/318182 "2011-01-12T12:23:26Z")

</div>

Hi Guys. Im trying to make instance names for movie clips via a loop. Basically, every new instance of the movie clip should have an addEventlistener (mouseclick,someFunction) What I have is ; for (var i:Numbe…

---

## [Doing a dynamic background stripe](https://forum.kirupa.com/t/doing-a-dynamic-background-stripe/318181)

<div class="topic-metadata">

**Author:** [@rboyart](https://forum.kirupa.com/u/rboyart)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 12:01pm UTC](https://forum.kirupa.com/t/doing-a-dynamic-background-stripe/318181 "2011-01-12T12:01:46Z")

</div>

Hi ! i'm doing a dynamic background stripes effect like this : http://activeden.net/item/as3-stripe-generator-utility/full\_screen\_preview/109251 but i want, when resizing the swf window, to change the width and heigh…

---

## [Problem to set item's location in column and row](https://forum.kirupa.com/t/problem-to-set-items-location-in-column-and-row/318179)

<div class="topic-metadata">

**Author:** [@kymme](https://forum.kirupa.com/u/kymme)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 10:48am UTC](https://forum.kirupa.com/t/problem-to-set-items-location-in-column-and-row/318179 "2011-01-12T10:48:47Z")

</div>

Hi all, i would like to create a photo gallery, which contain 3 items per column, and the row is depend on the total items in an array. i try to explain clearly with icons: Let's say i have total 8 items in the array…

---

## [setInterval is not cleared](https://forum.kirupa.com/t/setinterval-is-not-cleared/318178)

<div class="topic-metadata">

**Author:** [@maxdido](https://forum.kirupa.com/u/maxdido)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 10:29am UTC](https://forum.kirupa.com/t/setinterval-is-not-cleared/318178 "2011-01-12T10:29:19Z")

</div>

hello, I have some trouble about a setInterval not being cleared. I made an index-intro.swf file that is being loaded into \_root.mccontent. This index-intro.swf has got the following code with a setInterval in function f…

---

## [Fluid layout not filling screen correctly](https://forum.kirupa.com/t/fluid-layout-not-filling-screen-correctly/318177)

<div class="topic-metadata">

**Author:** [@KJoe](https://forum.kirupa.com/u/KJoe)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 10:21am UTC](https://forum.kirupa.com/t/fluid-layout-not-filling-screen-correctly/318177 "2011-01-12T10:21:41Z")

</div>

I have found a great resource for a fluid flash layout but there is one glitch with the site in that when it loads the content is all pushed up into the top left hand corner, if you then click rescale the browser it then…

---

## [How can i stop a function in drawing ( painting ) app?](https://forum.kirupa.com/t/how-can-i-stop-a-function-in-drawing-painting-app/318174)

<div class="topic-metadata">

**Author:** [@sempase](https://forum.kirupa.com/u/sempase)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 9:56am UTC](https://forum.kirupa.com/t/how-can-i-stop-a-function-in-drawing-painting-app/318174 "2011-01-12T09:56:47Z")

</div>

hi everybody , i have a problem with functions, i'm creating a painting app in flash as3. i want to draw two different style a pen and rectangle. When i draw pen style in first frame there is no problem, but when i …

---

## [How to setHomePage in AS3?](https://forum.kirupa.com/t/how-to-sethomepage-in-as3/318171)

<div class="topic-metadata">

**Author:** [@EdwardKing](https://forum.kirupa.com/u/EdwardKing)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 8:11am UTC](https://forum.kirupa.com/t/how-to-sethomepage-in-as3/318171 "2011-01-12T08:11:18Z")

</div>

I try to call Javascript in AS3,I want to setHomePage --as3 code-- private function onMouseClick(event:MouseEvent):void{ ExternalInterface.call("fonk1"); } --html code-- \<LINK REL="stylesheet" HREF="/workshop/sa…

---

## [How do I resize a movieClip?](https://forum.kirupa.com/t/how-do-i-resize-a-movieclip/318167)

<div class="topic-metadata">

**Author:** [@Ashground](https://forum.kirupa.com/u/Ashground)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 6:16am UTC](https://forum.kirupa.com/t/how-do-i-resize-a-movieclip/318167 "2011-01-12T06:16:15Z")

</div>

I understand that this is something really, really basic, but for all my Googling I can't seem to find a clear answer. I have a movieClip with around 1500px of vertical content inside (a grid of images). But when I tra…

---

## [Creating Online Training Courses](https://forum.kirupa.com/t/creating-online-training-courses/318165)

<div class="topic-metadata">

**Author:** [@logger](https://forum.kirupa.com/u/logger)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 4:47am UTC](https://forum.kirupa.com/t/creating-online-training-courses/318165 "2011-01-12T04:47:46Z")

</div>

Hi Everybody, I'm working at a company specialising in online training (related to the building & construction industry mainly - but also things such as occuptional health and safety) and we're starting to put courses on…

---

## [Customer Application form](https://forum.kirupa.com/t/customer-application-form/318162)

<div class="topic-metadata">

**Author:** [@s6xspeed](https://forum.kirupa.com/u/s6xspeed)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 2:32am UTC](https://forum.kirupa.com/t/customer-application-form/318162 "2011-01-12T02:32:01Z")

</div>

Hi, I would like to get input on the best way to make this happen, i need to create an application form that has about 25 fields. When the user fills this out and hits submit, i would like all those fields to be either…

---

## [How to Access Dynamically Generated Textfield.text in a Class](https://forum.kirupa.com/t/how-to-access-dynamically-generated-textfield-text-in-a-class/318160)

<div class="topic-metadata">

**Author:** [@zik80](https://forum.kirupa.com/u/zik80)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 1:10am UTC](https://forum.kirupa.com/t/how-to-access-dynamically-generated-textfield-text-in-a-class/318160 "2011-01-12T01:10:59Z")

</div>

I am having trouble referencing dynamically generated textfield in a document class. I gives me the assigned name when traced, but generates an error when I refer to the name. Here are the documents: THE TextField Clas…

---

## [How can i clean Function or Interval (Tweener)](https://forum.kirupa.com/t/how-can-i-clean-function-or-interval-tweener/318156)

<div class="topic-metadata">

**Author:** [@esferaweb](https://forum.kirupa.com/u/esferaweb)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 9:50pm UTC](https://forum.kirupa.com/t/how-can-i-clean-function-or-interval-tweener/318156 "2011-01-11T21:50:26Z")

</div>

how can i make this replay button? i need to kill the "delays" at function. how can i make this? function arrocha() { Tweener.addTween(f1, { \_alpha: 0 }); Tweener.addTween(f1, { \_alpha: 100, time: 1 }); T…

---

## [mysql\_query doesn't perform its query](https://forum.kirupa.com/t/mysql-query-doesnt-perform-its-query/318154)

<div class="topic-metadata">

**Author:** [@Atroxe](https://forum.kirupa.com/u/Atroxe)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 9:27pm UTC](https://forum.kirupa.com/t/mysql-query-doesnt-perform-its-query/318154 "2011-01-11T21:27:08Z")

</div>

\*Hello there, I happen to have an annoying problem. I have a function, db\_create($table\_as\_string, $assoc\_array). db\_create simply takes the table-var and the assoc, and turns it into a most wonderful query, but when…

---

## [Loading xml file into text field](https://forum.kirupa.com/t/loading-xml-file-into-text-field/318152)

<div class="topic-metadata">

**Author:** [@art\_i\_choke](https://forum.kirupa.com/u/art_i_choke)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 9:17pm UTC](https://forum.kirupa.com/t/loading-xml-file-into-text-field/318152 "2011-01-11T21:17:17Z")

</div>

I am trying to load an xml file (just the content, not the tags) into a text field... I have tried every code I could find on the internet and nothing seems to work. If anyone would be kind enough to take a look at these…

---

## [I need help swf with vcam](https://forum.kirupa.com/t/i-need-help-swf-with-vcam/318151)

<div class="topic-metadata">

**Author:** [@XUXORTIZ](https://forum.kirupa.com/u/XUXORTIZ)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 9:10pm UTC](https://forum.kirupa.com/t/i-need-help-swf-with-vcam/318151 "2011-01-11T21:10:22Z")

</div>

Hello, good evening. I appeal to you, taking into account your ability to help those who want to make animations with Flash. The truth is that no one to turn to solve this problem which I now explain. I am using Flash CS…

---

## [Should I even bother removing weak referenced Event Listeners?](https://forum.kirupa.com/t/should-i-even-bother-removing-weak-referenced-event-listeners/318148)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 7:55pm UTC](https://forum.kirupa.com/t/should-i-even-bother-removing-weak-referenced-event-listeners/318148 "2011-01-11T19:55:04Z")

</div>

Title says it all, folks... I'm spending a lot of time in my kill functions ensuring that all of my listeners are removed... the bulk of them have weak referencing though... should I even bother?

---

## [Linking to ActionScript source files](https://forum.kirupa.com/t/linking-to-actionscript-source-files/318146)

<div class="topic-metadata">

**Author:** [@ofspider](https://forum.kirupa.com/u/ofspider)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 5:57pm UTC](https://forum.kirupa.com/t/linking-to-actionscript-source-files/318146 "2011-01-11T17:57:59Z")

</div>

Hello, I am new to actionscript 3 and using source files. That being said I have the unfortunate problem of trying to use a CMS to import swf files. These swf files currently access source files through the standard c…

---

## [Tween incorrect path](https://forum.kirupa.com/t/tween-incorrect-path/318144)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 3:43pm UTC](https://forum.kirupa.com/t/tween-incorrect-path/318144 "2011-01-11T15:43:58Z")

</div>

I have created a movie clip to travel a L path and this movie clip suppose to repeat the same path. But my final result is not as expected, instead it travels L first and then \_l. I want it to travel in L and repeat in L…

---

## [Main preloader not showing up in Chrome](https://forum.kirupa.com/t/main-preloader-not-showing-up-in-chrome/318143)

<div class="topic-metadata">

**Author:** [@Dulcinea](https://forum.kirupa.com/u/Dulcinea)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 3:34pm UTC](https://forum.kirupa.com/t/main-preloader-not-showing-up-in-chrome/318143 "2011-01-11T15:34:57Z")

</div>

This website's preloader (originaly made in AS1, and updated to AS2) shows up just fine in any browser expect for Chrome for windows. It works well in chrome for mac, and chromium for linux. Does anyone else has the same…

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

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