# programming

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

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

**Page:** 328

---

## [Photo gallery - scene within scene?](https://forum.kirupa.com/t/photo-gallery-scene-within-scene/319339)

<div class="topic-metadata">

**Author:** [@doingmybest](https://forum.kirupa.com/u/doingmybest)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 12:25am UTC](https://forum.kirupa.com/t/photo-gallery-scene-within-scene/319339 "2011-02-17T00:25:33Z")

</div>

I have very recently started using Flash CS3 and it is likely my question is simple - apologies if it has been raised before. After building the basic shape of a photography business website in Flash, I am now trying t…

---

## [Help with array sorting](https://forum.kirupa.com/t/help-with-array-sorting/319338)

<div class="topic-metadata">

**Author:** [@kill\_robot\_kill](https://forum.kirupa.com/u/kill_robot_kill)\
**Replies:** 0\
**Last updated:** [February 16, 2011, 11:00pm UTC](https://forum.kirupa.com/t/help-with-array-sorting/319338 "2011-02-16T23:00:43Z")

</div>

I am creating a brainstorming program (see attachment). A user starts with a main idea (middle dot) and can add new ideas and then sub-ideas to the chart. The user often will add them in no particular order, but when the…

---

## [Works but won't display?](https://forum.kirupa.com/t/works-but-wont-display/319337)

<div class="topic-metadata">

**Author:** [@Engale](https://forum.kirupa.com/u/Engale)\
**Replies:** 0\
**Last updated:** [February 16, 2011, 10:02pm UTC](https://forum.kirupa.com/t/works-but-wont-display/319337 "2011-02-16T22:02:59Z")

</div>

I'm having an odd issue with a swf I'm trying to create with as3. The swf file, when I test it in the flash enviroment, is working just fine, also when I open the swf file using a program like winamp it is also working…

---

## [Flash 8 - deeplinking - swfAddress](https://forum.kirupa.com/t/flash-8-deeplinking-swfaddress/319334)

<div class="topic-metadata">

**Author:** [@eFrankd](https://forum.kirupa.com/u/eFrankd)\
**Replies:** 0\
**Last updated:** [February 16, 2011, 8:49pm UTC](https://forum.kirupa.com/t/flash-8-deeplinking-swfaddress/319334 "2011-02-16T20:49:53Z")

</div>

I was busy with this code wich works fine. function traceMyPage(id) { SWFAddress.onChange = function() { var addr = SWFAddress.getValue(); switch (addr) { case ‘/’ : var…

---

## [Loading SWFs into same Loader and Removed from Stage](https://forum.kirupa.com/t/loading-swfs-into-same-loader-and-removed-from-stage/319333)

<div class="topic-metadata">

**Author:** [@matrixm5](https://forum.kirupa.com/u/matrixm5)\
**Replies:** 0\
**Last updated:** [February 16, 2011, 4:38pm UTC](https://forum.kirupa.com/t/loading-swfs-into-same-loader-and-removed-from-stage/319333 "2011-02-16T16:38:41Z")

</div>

I was told that if you load a new SWF into a loader that has an existing SWF that the second SWF will replace the object(the first SWF) in the loader and in the display list. Does this mean that the first SWF is remove…

---

## [Vertical Panning](https://forum.kirupa.com/t/vertical-panning/319332)

<div class="topic-metadata">

**Author:** [@bladeswim83](https://forum.kirupa.com/u/bladeswim83)\
**Replies:** 0\
**Last updated:** [February 16, 2011, 4:02pm UTC](https://forum.kirupa.com/t/vertical-panning/319332 "2011-02-16T16:02:10Z")

</div>

Hello, I've done the horizontal image panning tutorial on here and I was wondering what I need to change to make it vertical. Someone on here posted some code but it is in AS3 and I need it in AS2. Here is the code fr…

---

## [Decipher error location](https://forum.kirupa.com/t/decipher-error-location/319331)

<div class="topic-metadata">

**Author:** [@mcclean](https://forum.kirupa.com/u/mcclean)\
**Replies:** 0\
**Last updated:** [February 16, 2011, 4:01pm UTC](https://forum.kirupa.com/t/decipher-error-location/319331 "2011-02-16T16:01:47Z")

</div>

I'm struggling to find out where my error is located. TypeError: Error #1010: A term is undefined and has no properties. at Main/textContent()\[/Users/user/Desktop/sources/flash/Main.as:472\] at main1\_cs3REV8\_fla…

---

## [Sound Loop doesnt stop sometimes](https://forum.kirupa.com/t/sound-loop-doesnt-stop-sometimes/319329)

<div class="topic-metadata">

**Author:** [@starsoccer10921](https://forum.kirupa.com/u/starsoccer10921)\
**Replies:** 0\
**Last updated:** [February 16, 2011, 2:57pm UTC](https://forum.kirupa.com/t/sound-loop-doesnt-stop-sometimes/319329 "2011-02-16T14:57:03Z")

</div>

Help me with this Sound loop is acting wired. It stop sound sometimes and sometimes it doesnt var soundReqTele:URLRequest = new URLRequest(“sounds/telephone\_ring.mp3”); var soundTele:Sound = new Sound(); var control…

---

## [Deciphering "XMLList querying syntax"](https://forum.kirupa.com/t/deciphering-xmllist-querying-syntax/319326)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [February 16, 2011, 12:48pm UTC](https://forum.kirupa.com/t/deciphering-xmllist-querying-syntax/319326 "2011-02-16T12:48:40Z")

</div>

Could someone help clarify what that "querying" end part of this XMLList is doing? I'm actually still quite new to using XML (I have been trying to avoid it) var data:Array = \[\]; data = data.concat(parse(\_xml.factory.…

---

## [AS3 ProgressBar](https://forum.kirupa.com/t/as3-progressbar/319325)

<div class="topic-metadata">

**Author:** [@Joepiooo](https://forum.kirupa.com/u/Joepiooo)\
**Replies:** 0\
**Last updated:** [February 16, 2011, 11:59am UTC](https://forum.kirupa.com/t/as3-progressbar/319325 "2011-02-16T11:59:48Z")

</div>

Hi guys, I want to make a progressbar. I got a blanc bar and I want to let a red bar grow (from left to right). I got this code so far: var StartDatum:Date = new Date(2011, 01, 16, 12, 38, 15, 0); var EindDatum:Da…

---

## [Sound still persist after unload?](https://forum.kirupa.com/t/sound-still-persist-after-unload/319322)

<div class="topic-metadata">

**Author:** [@bobohob](https://forum.kirupa.com/u/bobohob)\
**Replies:** 0\
**Last updated:** [February 16, 2011, 10:36am UTC](https://forum.kirupa.com/t/sound-still-persist-after-unload/319322 "2011-02-16T10:36:08Z")

</div>

I have unloaded the external swf that contains sound. but the sound still persist, how do I get rid of this sound? please help, I'm pulling my hair here. I've tried: - \_loader.unloadAndStop(); - flash.media.SoundMixe…

---

## [Why do my SWF files contain my source code?](https://forum.kirupa.com/t/why-do-my-swf-files-contain-my-source-code/319321)

<div class="topic-metadata">

**Author:** [@shedokan](https://forum.kirupa.com/u/shedokan)\
**Replies:** 0\
**Last updated:** [February 16, 2011, 10:22am UTC](https://forum.kirupa.com/t/why-do-my-swf-files-contain-my-source-code/319321 "2011-02-16T10:22:40Z")

</div>

Hi, I have been developing AS2 and AS3 games and such and only the last week I found out that my SWF files contain all of my source code with ALL of my variable names. And not only that I found out that adding a single s…

---

## [Converting some AS2 while loop to AS3](https://forum.kirupa.com/t/converting-some-as2-while-loop-to-as3/319316)

<div class="topic-metadata">

**Author:** [@Eddie\_E](https://forum.kirupa.com/u/Eddie_E)\
**Replies:** 0\
**Last updated:** [February 16, 2011, 4:45am UTC](https://forum.kirupa.com/t/converting-some-as2-while-loop-to-as3/319316 "2011-02-16T04:45:23Z")

</div>

Hi I have a while loop I use that shuffles my array in AS2, I have to convert all my code to AS3 which seems to have an issue with the following: var randomArray = shuffle(orderArray); function shuffle(toShuffle) { …

---

## [PHP + mySQL table joins, lookups, and parsing. Oh My!](https://forum.kirupa.com/t/php-mysql-table-joins-lookups-and-parsing-oh-my/319309)

<div class="topic-metadata">

**Author:** [@edward\_ford](https://forum.kirupa.com/u/edward_ford)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 10:23pm UTC](https://forum.kirupa.com/t/php-mysql-table-joins-lookups-and-parsing-oh-my/319309 "2011-02-15T22:23:04Z")

</div>

Hello all! First time poster, long time troller. I feel like this little project I'm working on is taking me from the minors into the pros. Or at least the semi-pros. I have a table (res\_table) that is about 200 colu…

---

## [Best way to stop swf from being stolen from HD](https://forum.kirupa.com/t/best-way-to-stop-swf-from-being-stolen-from-hd/319307)

<div class="topic-metadata">

**Author:** [@FGMUK](https://forum.kirupa.com/u/FGMUK)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 10:11pm UTC](https://forum.kirupa.com/t/best-way-to-stop-swf-from-being-stolen-from-hd/319307 "2011-02-15T22:11:46Z")

</div>

Hi, I'm thinking of setting up a website, which will run a service where people will need to upload .swfs (which then be displayed on the site). I want some kind of basic security on people just taking the swf from their…

---

## [Trouble with IE8](https://forum.kirupa.com/t/trouble-with-ie8/319304)

<div class="topic-metadata">

**Author:** [@Smoochface](https://forum.kirupa.com/u/Smoochface)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 8:44pm UTC](https://forum.kirupa.com/t/trouble-with-ie8/319304 "2011-02-15T20:44:01Z")

</div>

www.agileinsights.com/tdfiles some, not all of my IE8 users are getting locked up on this flash app. They are reporting that the skip link on the intro movie doesn't work. I cant recreate this bug on my setup, do you…

---

## [New and hungry for learning but page is not showing](https://forum.kirupa.com/t/new-and-hungry-for-learning-but-page-is-not-showing/319300)

<div class="topic-metadata">

**Author:** [@chaguito](https://forum.kirupa.com/u/chaguito)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 7:29pm UTC](https://forum.kirupa.com/t/new-and-hungry-for-learning-but-page-is-not-showing/319300 "2011-02-15T19:29:12Z")

</div>

Like the title said ,,,, i am new with flash finally my mother spend the money and i am trying to learn and this is my first forum so here we go ,,,, i started a new page but the dimensions are 1200 X 700 but when i p…

---

## [Do Adobe AIR apps make registry entries?](https://forum.kirupa.com/t/do-adobe-air-apps-make-registry-entries/319298)

<div class="topic-metadata">

**Author:** [@Smoochface](https://forum.kirupa.com/u/Smoochface)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 6:35pm UTC](https://forum.kirupa.com/t/do-adobe-air-apps-make-registry-entries/319298 "2011-02-15T18:35:29Z")

</div>

And if they do does the uninstall remove them? Sorry I am such a noob!

---

## [Passing variables from asp.net to flash](https://forum.kirupa.com/t/passing-variables-from-asp-net-to-flash/319297)

<div class="topic-metadata">

**Author:** [@jarinthemood](https://forum.kirupa.com/u/jarinthemood)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 6:16pm UTC](https://forum.kirupa.com/t/passing-variables-from-asp-net-to-flash/319297 "2011-02-15T18:16:36Z")

</div>

Hi, I am new to .net and I am trying to pass variables from an aspx page to flash but I have absolutely no idea how to do it. I have seen many post about this but I can't figure out how to do it myself. I have a variabl…

---

## [Need help sending variables to php](https://forum.kirupa.com/t/need-help-sending-variables-to-php/319295)

<div class="topic-metadata">

**Author:** [@jdweb](https://forum.kirupa.com/u/jdweb)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 4:03pm UTC](https://forum.kirupa.com/t/need-help-sending-variables-to-php/319295 "2011-02-15T16:03:47Z")

</div>

I desperately need help sending variables from AS3 to PHP. I have been searching and trying for days to work it out but nothing seems to work. I have a swf which will be used for quotes, each part asks things like size, …

---

## [Resampling sound in AS3](https://forum.kirupa.com/t/resampling-sound-in-as3/319293)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 3:41pm UTC](https://forum.kirupa.com/t/resampling-sound-in-as3/319293 "2011-02-15T15:41:54Z")

</div>

Specifically using sound.extract and SampleDataEvent. Forgive any nubby questions, I don't have much experience working with sound in a technical sense, OR working with byte arrays/binary data. I have to resample eng…

---

## [Displaying time , according to time line](https://forum.kirupa.com/t/displaying-time-according-to-time-line/319292)

<div class="topic-metadata">

**Author:** [@revo999](https://forum.kirupa.com/u/revo999)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 3:37pm UTC](https://forum.kirupa.com/t/displaying-time-according-to-time-line/319292 "2011-02-15T15:37:59Z")

</div>

Hello I have a time line of 1441 frames my frameRate is 24 fps so it takes 1 minute exactly to complete the timeline animation I want to Display the Remaining time as file starts I need formula to place in ENTER\_FR…

---

## [Open new page and triggerJS function](https://forum.kirupa.com/t/open-new-page-and-triggerjs-function/319291)

<div class="topic-metadata">

**Author:** [@Steveed](https://forum.kirupa.com/u/Steveed)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 3:30pm UTC](https://forum.kirupa.com/t/open-new-page-and-triggerjs-function/319291 "2011-02-15T15:30:20Z")

</div>

Hi I have a link on a page that I use to direct the browser to another page no problem. However it is not just a URL link but also you could say a named anchor link since I want this particular link to open the relavent…

---

## [Paypal button urgent help needed](https://forum.kirupa.com/t/paypal-button-urgent-help-needed/319290)

<div class="topic-metadata">

**Author:** [@trnghosh](https://forum.kirupa.com/u/trnghosh)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 3:25pm UTC](https://forum.kirupa.com/t/paypal-button-urgent-help-needed/319290 "2011-02-15T15:25:57Z")

</div>

I have a paypal button it works fine. This is for selling one product. Now I want to add one Shipping charge ( $3.00 ) for each item. How can I do this? One more thing Is it possible to calculate the tax according to the…

---

## [Wasd not working](https://forum.kirupa.com/t/wasd-not-working/319289)

<div class="topic-metadata">

**Author:** [@NuclearTeddies](https://forum.kirupa.com/u/NuclearTeddies)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 3:22pm UTC](https://forum.kirupa.com/t/wasd-not-working/319289 "2011-02-15T15:22:28Z")

</div>

Hello guys, I have a very strange problem and i can't get it fixed. I'm trying to let my ship move with WASD. I've got it to work with the arrow keys, no problem. It seems to be the problem that my event isn't triggere…

---

## [My Flash app doesnt appear in chrome until you resize the window?](https://forum.kirupa.com/t/my-flash-app-doesnt-appear-in-chrome-until-you-resize-the-window/319287)

<div class="topic-metadata">

**Author:** [@Smoochface](https://forum.kirupa.com/u/Smoochface)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 3:14pm UTC](https://forum.kirupa.com/t/my-flash-app-doesnt-appear-in-chrome-until-you-resize-the-window/319287 "2011-02-15T15:14:36Z")

</div>

http://www.agileinsights.com/tdfiles/ at some point during the development of this app it stopped appearing immediately in chrome, I need to resize the window to get it to appear, then then everything works fine. This…

---

## [Why can't 3D Rotation animation doesn't work on other PCs?](https://forum.kirupa.com/t/why-cant-3d-rotation-animation-doesnt-work-on-other-pcs/319286)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 2:40pm UTC](https://forum.kirupa.com/t/why-cant-3d-rotation-animation-doesnt-work-on-other-pcs/319286 "2011-02-15T14:40:19Z")

</div>

Hi, I have created a Buttons Menu and then using Flash CS4 AS3 3D Rotation Tool Just added tilting effect using manual tweening and added the following code: ButtonPanelTilt\_mc.addEventListener(MouseEvent.ROLL\_OVER,…

---

## [Formula for a curve using "graphics.curveTo"](https://forum.kirupa.com/t/formula-for-a-curve-using-graphics-curveto/319284)

<div class="topic-metadata">

**Author:** [@aidanmack](https://forum.kirupa.com/u/aidanmack)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 1:53pm UTC](https://forum.kirupa.com/t/formula-for-a-curve-using-graphics-curveto/319284 "2011-02-15T13:53:28Z")

</div>

Hi guys, I'm using... "mc.graphics.moveTo" and... mc.graphics.curveTo ....to draw out some dynamic lines. What I want it do is always create the curve in the middle of the line and at an equal distance away from th…

---

## [\[cs3as2\] calling functions of loaded mcs inexplicably not working](https://forum.kirupa.com/t/cs3as2-calling-functions-of-loaded-mcs-inexplicably-not-working/319282)

<div class="topic-metadata">

**Author:** [@kid\_lofi](https://forum.kirupa.com/u/kid_lofi)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 10:21am UTC](https://forum.kirupa.com/t/cs3as2-calling-functions-of-loaded-mcs-inexplicably-not-working/319282 "2011-02-15T10:21:34Z")

</div>

So, i’ve got this movie clip. I’ve loaded a swf called “page1.swf” into a holder called “page1MC”. This child movie DID have a button in it called “page1\_buttonA” in it when I made it, but I can’t get it to do anything …

---

## [AlivePDF printing without server side](https://forum.kirupa.com/t/alivepdf-printing-without-server-side/319281)

<div class="topic-metadata">

**Author:** [@nitinmukesh](https://forum.kirupa.com/u/nitinmukesh)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 9:51am UTC](https://forum.kirupa.com/t/alivepdf-printing-without-server-side/319281 "2011-02-15T09:51:38Z")

</div>

Hi, I am using AlivePDF to generate/save pdf on local machine which is working fine. var savePDF:PDF; var bytes:ByteArray; var f:FileReference = new FileReference(); savePDF = new PDF (Orientation.PORTRAIT, Unit.P…

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

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