# programming

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

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

**Page:** 349

---

## [Loan Calculator](https://forum.kirupa.com/t/loan-calculator/318142)

<div class="topic-metadata">

**Author:** [@s6xspeed](https://forum.kirupa.com/u/s6xspeed)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 3:28pm UTC](https://forum.kirupa.com/t/loan-calculator/318142 "2011-01-11T15:28:19Z")

</div>

Hi all, i'm trying to create a loan calculator and i have things going but i get a NaN result when i hit the calculate button 3 textboxes: amount term interest total is displayed on (release) { var p:Number …

---

## [Problem with Calculation](https://forum.kirupa.com/t/problem-with-calculation/318140)

<div class="topic-metadata">

**Author:** [@masuoka101](https://forum.kirupa.com/u/masuoka101)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 3:16pm UTC](https://forum.kirupa.com/t/problem-with-calculation/318140 "2011-01-11T15:16:47Z")

</div>

Hey Sorry if this seems a silly or simple but i am quite new to flash I am trying to perform a simple calculation. However when ever i try to display in a dynamic text box i get NaN. \[INDENT\]lambdas = rk / lp; tes…

---

## [Wrapping a wrap panel](https://forum.kirupa.com/t/wrapping-a-wrap-panel/318139)

<div class="topic-metadata">

**Author:** [@BeoWolfe](https://forum.kirupa.com/u/BeoWolfe)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 1:59pm UTC](https://forum.kirupa.com/t/wrapping-a-wrap-panel/318139 "2011-01-11T13:59:51Z")

</div>

Is there any way to wrap a wrap panel? What I have is a page with two wrap panels placed inside a split grid. One wrap panel on top and on the other on the bottom. The top panel is dynamically filled. What I would li…

---

## [Loading Flash Variables using PHP](https://forum.kirupa.com/t/loading-flash-variables-using-php/318138)

<div class="topic-metadata">

**Author:** [@musicguy](https://forum.kirupa.com/u/musicguy)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 1:41pm UTC](https://forum.kirupa.com/t/loading-flash-variables-using-php/318138 "2011-01-11T13:41:33Z")

</div>

The flash php script I am using works fine with variables assigned directly from the script. Once I use php to gather the variables dynamically it does not work. Any help would be appreciated. Here is an example that…

---

## [How do I return values from external as3 file to main timeline](https://forum.kirupa.com/t/how-do-i-return-values-from-external-as3-file-to-main-timeline/318136)

<div class="topic-metadata">

**Author:** [@daragh\_c](https://forum.kirupa.com/u/daragh_c)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 12:40pm UTC](https://forum.kirupa.com/t/how-do-i-return-values-from-external-as3-file-to-main-timeline/318136 "2011-01-11T12:40:31Z")

</div>

Hi all. I have just started using external AS3 files to try wean myself off using code in the main time line. I am importing an XML file using an external as3 file, but can’t return the values to the main timeline …

---

## [Change the JPEG quality in Publish settings using AS3?](https://forum.kirupa.com/t/change-the-jpeg-quality-in-publish-settings-using-as3/318133)

<div class="topic-metadata">

**Author:** [@Tyg3r](https://forum.kirupa.com/u/Tyg3r)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 11:54am UTC](https://forum.kirupa.com/t/change-the-jpeg-quality-in-publish-settings-using-as3/318133 "2011-01-11T11:54:37Z")

</div>

Hi I'm working on some optimisation techniques to allow Flash for export my .swf in various file sizes. I need to export the same .swf in a high quality and a lower quality version; so I normally just alter the JPEG…

---

## [TUIO Release action](https://forum.kirupa.com/t/tuio-release-action/318132)

<div class="topic-metadata">

**Author:** [@abhin88](https://forum.kirupa.com/u/abhin88)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 11:28am UTC](https://forum.kirupa.com/t/tuio-release-action/318132 "2011-01-11T11:28:01Z")

</div>

Hi all, I am working on my first touch implementation. Since the control was simple, i did not import the entire TUIO library for the touch actions. I made the actions for the mouse\_click(touch) and tested it in the TU…

---

## [hitTestObject Problem](https://forum.kirupa.com/t/hittestobject-problem/318130)

<div class="topic-metadata">

**Author:** [@Zen08](https://forum.kirupa.com/u/Zen08)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 9:55am UTC](https://forum.kirupa.com/t/hittestobject-problem/318130 "2011-01-11T09:55:54Z")

</div>

Hi! I've been seeing a lot of tutorials about hitTestObject and so i tried my own version of it(using their codes but having a different kind of approach \[wink\]). Its a basic click and drag type of "game" wherein you…

---

## [Dynamic Scrolling News Ticker](https://forum.kirupa.com/t/dynamic-scrolling-news-ticker/318127)

<div class="topic-metadata">

**Author:** [@Deland02](https://forum.kirupa.com/u/Deland02)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 8:34am UTC](https://forum.kirupa.com/t/dynamic-scrolling-news-ticker/318127 "2011-01-11T08:34:19Z")

</div>

I've not used flash for a good few years and someone has asked me to make a news ticker or some kind of scrolling banner which can go on a wallboard in a call center. It will advertise the staff incentives each month. T…

---

## [Damsel in distress: Adding physics to a mouse-rotated object](https://forum.kirupa.com/t/damsel-in-distress-adding-physics-to-a-mouse-rotated-object/318121)

<div class="topic-metadata">

**Author:** [@Etherea](https://forum.kirupa.com/u/Etherea)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 3:39am UTC](https://forum.kirupa.com/t/damsel-in-distress-adding-physics-to-a-mouse-rotated-object/318121 "2011-01-11T03:39:49Z")

</div>

Hello, everybody! I'm new here and pretty much 'rediscovering' ActionScript and I wanted to know if any of you wonderful, talented guys out there (grins) could help me out with this bit of code that has been driving m…

---

## [Dynamic Content Loading (?) Issues](https://forum.kirupa.com/t/dynamic-content-loading-issues/318119)

<div class="topic-metadata">

**Author:** [@camgon](https://forum.kirupa.com/u/camgon)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 3:34am UTC](https://forum.kirupa.com/t/dynamic-content-loading-issues/318119 "2011-01-11T03:34:42Z")

</div>

I have dynamic flash content embedded into a Facebook fanpage. The flash file consists of an interactive environment where the mouse icon is substituted with a "flashlight" (i.e. spot of light), and the user "looks" arou…

---

## [setChildIndex making duplicate movieclips?](https://forum.kirupa.com/t/setchildindex-making-duplicate-movieclips/318114)

<div class="topic-metadata">

**Author:** [@acerbist](https://forum.kirupa.com/u/acerbist)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 1:52am UTC](https://forum.kirupa.com/t/setchildindex-making-duplicate-movieclips/318114 "2011-01-11T01:52:50Z")

</div>

Thank you ahead of time to anyone who reads this. I'm working on a flash site with a global navigation that has a drop down. I'm also loading in external swfs occasionally, and when I do, I need to bring the drop down …

---

## [URL encodig by navigateToURL()](https://forum.kirupa.com/t/url-encodig-by-navigatetourl/318110)

<div class="topic-metadata">

**Author:** [@SlowMo](https://forum.kirupa.com/u/SlowMo)\
**Replies:** 0\
**Last updated:** [January 11, 2011, 12:47am UTC](https://forum.kirupa.com/t/url-encodig-by-navigatetourl/318110 "2011-01-11T00:47:14Z")

</div>

I have a flash widget, hosted on a web page that attempts to navigate to a URL with some http request query parameters added to it. I'm finding however that the white space in a parameter value gets double encoded for …

---

## [Newbie in Actionscipt Game Design](https://forum.kirupa.com/t/newbie-in-actionscipt-game-design/318105)

<div class="topic-metadata">

**Author:** [@mmatz](https://forum.kirupa.com/u/mmatz)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 10:57pm UTC](https://forum.kirupa.com/t/newbie-in-actionscipt-game-design/318105 "2011-01-10T22:57:07Z")

</div>

I am in the initial stage of a computer game that involves the scape velocity concept.I am more in the cartoon side of the equation here,I admit.But at this hour I have all the graphics necessary for the game which brief…

---

## [Float is turned into a NaN within timerevent function?](https://forum.kirupa.com/t/float-is-turned-into-a-nan-within-timerevent-function/318104)

<div class="topic-metadata">

**Author:** [@cermunnos](https://forum.kirupa.com/u/cermunnos)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 10:39pm UTC](https://forum.kirupa.com/t/float-is-turned-into-a-nan-within-timerevent-function/318104 "2011-01-10T22:39:59Z")

</div>

\[link\]Hi, Hi im having some problems pushing the two vars below into a timerupdate function while trying to stop them turning into NANs. vx=2.3; vy=1.3; //they are declared private Im passing 2 floats(vx, vy) in…

---

## [Can anyone identify this IE7 bug? \[HTML / CSS\]](https://forum.kirupa.com/t/can-anyone-identify-this-ie7-bug-html-css/318103)

<div class="topic-metadata">

**Author:** [@richimgd](https://forum.kirupa.com/u/richimgd)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 10:21pm UTC](https://forum.kirupa.com/t/can-anyone-identify-this-ie7-bug-html-css/318103 "2011-01-10T22:21:16Z")

</div>

Hi everyone, I have recently been working on my webite and have noticed theres a bug in IE7 (I havent actually got round to sorting it for IE6 yet!!). Basically the list items when you click 'Browse by Media' or 'Brow…

---

## [Passing an associative array isn't working?](https://forum.kirupa.com/t/passing-an-associative-array-isnt-working/318102)

<div class="topic-metadata">

**Author:** [@Spantagonist](https://forum.kirupa.com/u/Spantagonist)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 9:37pm UTC](https://forum.kirupa.com/t/passing-an-associative-array-isnt-working/318102 "2011-01-10T21:37:38Z")

</div>

TheCanadian answered this perfectly, see below. Hey. The title is a little misleading since I figured a few things out. Please take a look at this code snippet and explain what's going on... Here's the relevant info…

---

## [Android/air2.5 creating lists?](https://forum.kirupa.com/t/android-air2-5-creating-lists/318101)

<div class="topic-metadata">

**Author:** [@aidanmack](https://forum.kirupa.com/u/aidanmack)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 9:26pm UTC](https://forum.kirupa.com/t/android-air2-5-creating-lists/318101 "2011-01-10T21:26:47Z")

</div>

Hi guys, Just starting to sink my teeth into android development using cs5 and air2.5 Adobe have done a fine job of this! really impressive. I want to use as much of the mobile platform that's available through air2.5 …

---

## [Add "Property or function" into "movieclip instance"](https://forum.kirupa.com/t/add-property-or-function-into-movieclip-instance/318100)

<div class="topic-metadata">

**Author:** [@idRuben](https://forum.kirupa.com/u/idRuben)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 9:24pm UTC](https://forum.kirupa.com/t/add-property-or-function-into-movieclip-instance/318100 "2011-01-10T21:24:05Z")

</div>

Hi everbody, i am new in flash, whould u please help me, How to add "Property or function" into "movieclip instance" ? Thank You

---

## [Controling sound of an external SWF](https://forum.kirupa.com/t/controling-sound-of-an-external-swf/318097)

<div class="topic-metadata">

**Author:** [@outback](https://forum.kirupa.com/u/outback)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 6:14pm UTC](https://forum.kirupa.com/t/controling-sound-of-an-external-swf/318097 "2011-01-10T18:14:19Z")

</div>

Hi All, I'm making an application and I can't seem to find a way to control my sound of an external SWF(SWF2) from the main one(SWF1). Here is the code I'm using to control the timeline of external SWF that is placed…

---

## [Help with XML loading](https://forum.kirupa.com/t/help-with-xml-loading/318096)

<div class="topic-metadata">

**Author:** [@elmoluz](https://forum.kirupa.com/u/elmoluz)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 4:37pm UTC](https://forum.kirupa.com/t/help-with-xml-loading/318096 "2011-01-10T16:37:26Z")

</div>

Hello..! Im having problems calling multiples swf's in which contains it's own XML file data from diferent folders. If anyone can give a little help it would be greatly appreciated. Thanks in advance..! CODE: var…

---

## [html5 multi src javascript](https://forum.kirupa.com/t/html5-multi-src-javascript/318093)

<div class="topic-metadata">

**Author:** [@simply](https://forum.kirupa.com/u/simply)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 3:46pm UTC](https://forum.kirupa.com/t/html5-multi-src-javascript/318093 "2011-01-10T15:46:06Z")

</div>

hi guys, im trying to get javascript choose a suitable src for the browser but i cant seem to get it to work. this is what i have. $(document).ready(function(){ $('#slideMenu img').click (function(){ var sourc…

---

## [Collage Creator](https://forum.kirupa.com/t/collage-creator/318092)

<div class="topic-metadata">

**Author:** [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 3:31pm UTC](https://forum.kirupa.com/t/collage-creator/318092 "2011-01-10T15:31:15Z")

</div>

All, Does anyone have a good flash script for free that will create a collage of pictures? Any ideas would be appreciated. Thanks in advance.

---

## [Noob query on Buttons](https://forum.kirupa.com/t/noob-query-on-buttons/318090)

<div class="topic-metadata">

**Author:** [@jaxz](https://forum.kirupa.com/u/jaxz)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 2:50pm UTC](https://forum.kirupa.com/t/noob-query-on-buttons/318090 "2011-01-10T14:50:26Z")

</div>

Noob query on Buttons Dear all, Here comes a very ”noob query” about Buttons. My need is to have a button that can toggle a parameter on/off like “mute”/ "unmute” – and I’d like that to be a button – and upon selection…

---

## [Can the child remove itself?](https://forum.kirupa.com/t/can-the-child-remove-itself/318089)

<div class="topic-metadata">

**Author:** [@newsteve](https://forum.kirupa.com/u/newsteve)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 1:07pm UTC](https://forum.kirupa.com/t/can-the-child-remove-itself/318089 "2011-01-10T13:07:36Z")

</div>

Main.swf creates a new instance of the SuperMan Class. I'm trying to get the SuperMan class to remove itself when you push a button that the class creates. I'm using: removeChild(this); However I am getting the err…

---

## [(Pre)Loader Help](https://forum.kirupa.com/t/pre-loader-help/318088)

<div class="topic-metadata">

**Author:** [@Orya](https://forum.kirupa.com/u/Orya)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 12:44pm UTC](https://forum.kirupa.com/t/pre-loader-help/318088 "2011-01-10T12:44:52Z")

</div>

Hi. So I created something in flash, and then added a custom preloader. That custom preloader used TLF-text though, which bombared me with error messages. I tried for some hours to get it to work well anyway, but to no a…

---

## [Preloader within Preloader Madness... (and question)](https://forum.kirupa.com/t/preloader-within-preloader-madness-and-question/318087)

<div class="topic-metadata">

**Author:** [@newsteve](https://forum.kirupa.com/u/newsteve)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 12:28pm UTC](https://forum.kirupa.com/t/preloader-within-preloader-madness-and-question/318087 "2011-01-10T12:28:15Z")

</div>

Hi, I have a main preloader that loads Main.swf. Within Main.swf the user can open up other sub swfs, but they all need a preloader too. I have this all working for one sub swf, but I don't want to make 17 sub swf …

---

## [Error XML](https://forum.kirupa.com/t/error-xml/318085)

<div class="topic-metadata">

**Author:** [@Asteroids](https://forum.kirupa.com/u/Asteroids)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 10:45am UTC](https://forum.kirupa.com/t/error-xml/318085 "2011-01-10T10:45:51Z")

</div>

now, my code it's problem when press ctrl + enter compier error show \[COLOR=red\]Scene 1, Layer 'Layer 1', Frame 1, Line 3 1046: Type was not found or was not a compile-time constant: Loader.\[/COLOR\] \[COLOR=red\]Scen…

---

## [sendAndLoad: set timeout?](https://forum.kirupa.com/t/sendandload-set-timeout/318084)

<div class="topic-metadata">

**Author:** [@yusnan](https://forum.kirupa.com/u/yusnan)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 10:32am UTC](https://forum.kirupa.com/t/sendandload-set-timeout/318084 "2011-01-10T10:32:50Z")

</div>

this is the code i wrote: stop(); var res:LoadVars=new LoadVars(); var cmd=new LoadVars(); res.onLoad= function(success:Boolean){ if(success){ var x:XML=new XML(unescape (res.toString())); …

---

## [Page tear effect \> NOT dynamic](https://forum.kirupa.com/t/page-tear-effect-not-dynamic/318083)

<div class="topic-metadata">

**Author:** [@Blowfish](https://forum.kirupa.com/u/Blowfish)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 8:53am UTC](https://forum.kirupa.com/t/page-tear-effect-not-dynamic/318083 "2011-01-10T08:53:55Z")

</div>

I have been looking for a while all over the net to get the answer to this question and i am hoping that i can get an answer here. I want to make a tear/rip/flip effect and i find alot of diffrent pageflip flash pages …

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

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