# programming

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

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

**Page:** 147

---

## [How to make an external SWF totally independent from the SWF that imports it](https://forum.kirupa.com/t/how-to-make-an-external-swf-totally-independent-from-the-swf-that-imports-it/329707)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [October 5, 2012, 10:20am UTC](https://forum.kirupa.com/t/how-to-make-an-external-swf-totally-independent-from-the-swf-that-imports-it/329707 "2012-10-05T10:20:24Z")

</div>

Hi, I am developing a series of videogames, and I am using a "multi-SWF" approach to keep parts as independent as possible. Multiple games are loading the same toolbar, that is made of 2 SWFs: an "agent" that manages the…

---

## [Pass variables to my swf from a url link](https://forum.kirupa.com/t/pass-variables-to-my-swf-from-a-url-link/329705)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [October 4, 2012, 11:54pm UTC](https://forum.kirupa.com/t/pass-variables-to-my-swf-from-a-url-link/329705 "2012-10-04T23:54:47Z")

</div>

Hello everyone, I was wondering if there is a way to pass variables to my swf from a simple url link, like: http://www.whatever.com/myswf.swf?bla=123&bla2=456 So on my swf i would get the values of bla and bla2. Kind r…

---

## [Microphone Class](https://forum.kirupa.com/t/microphone-class/329701)

<div class="topic-metadata">

**Author:** [@quest20](https://forum.kirupa.com/u/quest20)\
**Replies:** 0\
**Last updated:** [October 4, 2012, 2:09pm UTC](https://forum.kirupa.com/t/microphone-class/329701 "2012-10-04T14:09:20Z")

</div>

Hello All, I am quite new to ActionScript 3. In Flash i am working with the Microphone class. I have a couple of questions: Firstly, what is the difference microphone.getMicrophone and Microphone.getEnhancedMicrophone? S…

---

## ["Deleting" A mc](https://forum.kirupa.com/t/deleting-a-mc/329698)

<div class="topic-metadata">

**Author:** [@Tubutas](https://forum.kirupa.com/u/Tubutas)\
**Replies:** 0\
**Last updated:** [October 4, 2012, 12:55am UTC](https://forum.kirupa.com/t/deleting-a-mc/329698 "2012-10-04T00:55:45Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Is there a garbage collector in this language? Would parent.removeChild(this); (And removing all pointers to the movieclip) suffice for "deleting" a movieclip?\[/FONT\]\[/COLOR\]

---

## [Cannot play embedded sounds in FlashDevelop](https://forum.kirupa.com/t/cannot-play-embedded-sounds-in-flashdevelop/329697)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [October 3, 2012, 10:50pm UTC](https://forum.kirupa.com/t/cannot-play-embedded-sounds-in-flashdevelop/329697 "2012-10-03T22:50:00Z")

</div>

Hello everyone - I'm at my wit's end at this point... I am using FlashDevelop and am trying to either play an embedded sound clip or to load it and play it: both methods aren't working. Here is some of what I've tried: …

---

## [SWF Loader with variable loading?](https://forum.kirupa.com/t/swf-loader-with-variable-loading/329696)

<div class="topic-metadata">

**Author:** [@ngrinchenko](https://forum.kirupa.com/u/ngrinchenko)\
**Replies:** 0\
**Last updated:** [October 3, 2012, 7:56pm UTC](https://forum.kirupa.com/t/swf-loader-with-variable-loading/329696 "2012-10-03T19:56:27Z")

</div>

I have my flash website composed from different labeled sections. One section (A) has SWF loader inside which different SWF's can be loaded depending on what image is clicked from a thumbnail image scroller. Here is the…

---

## [Tutorial: Get the Value of CSS Properties As They Are Animating](https://forum.kirupa.com/t/tutorial-get-the-value-of-css-properties-as-they-are-animating/329692)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [October 3, 2012, 12:52am UTC](https://forum.kirupa.com/t/tutorial-get-the-value-of-css-properties-as-they-are-animating/329692 "2012-10-03T00:52:53Z")

</div>

Hi everyone, This is the hip and hoppity place to discuss all things related to the descriptively named Get the Value of CSS Properties As They Are Animating tutorial. Cheers, Kirupa \[skull\]

---

## [Exiting onclipevent](https://forum.kirupa.com/t/exiting-onclipevent/329691)

<div class="topic-metadata">

**Author:** [@zanek](https://forum.kirupa.com/u/zanek)\
**Replies:** 0\
**Last updated:** [October 2, 2012, 10:19pm UTC](https://forum.kirupa.com/t/exiting-onclipevent/329691 "2012-10-02T22:19:48Z")

</div>

Hi I was wondering how I could exit an onclipevent handler. I have a game where I want to make it so that you can run out of gas. But so far I am having problems, and the person who is teaching me flash told me that I …

---

## [Flash Guestbook Adding another Text field](https://forum.kirupa.com/t/flash-guestbook-adding-another-text-field/329688)

<div class="topic-metadata">

**Author:** [@Chris\_Lad](https://forum.kirupa.com/u/Chris_Lad)\
**Replies:** 0\
**Last updated:** [October 2, 2012, 7:57pm UTC](https://forum.kirupa.com/t/flash-guestbook-adding-another-text-field/329688 "2012-10-02T19:57:12Z")

</div>

I have found a guestbook and it works it has 2 input text fields "Name And Message" the XML sends the persons message and the message pops up for all to see, works perfectly! (uses small php to do this as well) What I …

---

## [Blurry text font when iframe contains Flash content](https://forum.kirupa.com/t/blurry-text-font-when-iframe-contains-flash-content/329687)

<div class="topic-metadata">

**Author:** [@Zenor](https://forum.kirupa.com/u/Zenor)\
**Replies:** 0\
**Last updated:** [October 2, 2012, 7:15pm UTC](https://forum.kirupa.com/t/blurry-text-font-when-iframe-contains-flash-content/329687 "2012-10-02T19:15:36Z")

</div>

Hey guys, I am having a hard time finding a solution to this. There seems to be a problem with iframes and flash conent. When my iframe contains a SWF file, the text inside the same iframe becomes blurry: \[image\] A…

---

## [urlLoader won't load my .json file. Error #2044: Unhandled ioError:. text=Error #2032](https://forum.kirupa.com/t/urlloader-wont-load-my-json-file-error-2044-unhandled-ioerror-text-error-2032/329684)

<div class="topic-metadata">

**Author:** [@Ragnoroct](https://forum.kirupa.com/u/Ragnoroct)\
**Replies:** 0\
**Last updated:** [October 2, 2012, 4:55am UTC](https://forum.kirupa.com/t/urlloader-wont-load-my-json-file-error-2044-unhandled-ioerror-text-error-2032/329684 "2012-10-02T04:55:38Z")

</div>

Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///C|/Users/Will/Documents/FlashClasses/com/zombies/tilesets.json at com.zombies.game.engine.map::MapHandler() at com.zombies.game.engine::Gam…

---

## [Non-Symbol Objects](https://forum.kirupa.com/t/non-symbol-objects/329683)

<div class="topic-metadata">

**Author:** [@Confusion567](https://forum.kirupa.com/u/Confusion567)\
**Replies:** 0\
**Last updated:** [October 1, 2012, 11:04pm UTC](https://forum.kirupa.com/t/non-symbol-objects/329683 "2012-10-01T23:04:02Z")

</div>

I'm writing a bingo/quiz game in Flash CS6 / Actionscript 2.0 (AS3 kicked my \*\*\* and I'm on a deadline =X) that needs to call randomly from a long list of questions (about 240). What I'm trying to do is create a Quest…

---

## [Auto move dependencies into project dir](https://forum.kirupa.com/t/auto-move-dependencies-into-project-dir/329681)

<div class="topic-metadata">

**Author:** [@magarik](https://forum.kirupa.com/u/magarik)\
**Replies:** 0\
**Last updated:** [October 1, 2012, 3:51pm UTC](https://forum.kirupa.com/t/auto-move-dependencies-into-project-dir/329681 "2012-10-01T15:51:08Z")

</div>

Hello, is there anywhere a tool that can automatically copy all external classes a project uses into the project src dir? I have a big project that uses a lot of external libraries. I need to send the source to a clien…

---

## [AS3: External html/swf to read a child swf with its xml](https://forum.kirupa.com/t/as3-external-html-swf-to-read-a-child-swf-with-its-xml/329680)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [October 1, 2012, 1:24pm UTC](https://forum.kirupa.com/t/as3-external-html-swf-to-read-a-child-swf-with-its-xml/329680 "2012-10-01T13:24:50Z")

</div>

Hello everybody, Please help... I am trying to load a swf which is reading a dynamic Xml file with a html file which resides outside of this entire folder( consisting swf).It results in loading of swf but xml is not rea…

---

## [\[AS2\] Percentage based random choice](https://forum.kirupa.com/t/as2-percentage-based-random-choice/329679)

<div class="topic-metadata">

**Author:** [@silverneo188](https://forum.kirupa.com/u/silverneo188)\
**Replies:** 0\
**Last updated:** [October 1, 2012, 11:22am UTC](https://forum.kirupa.com/t/as2-percentage-based-random-choice/329679 "2012-10-01T11:22:01Z")

</div>

Ok so lets say I have a multi-dimension array with this data \[ \["Attack 1", 60\], \["Attack 2", 20\], \["Attack 3", 15\], \["Attack 4", 5\] \] ok so the first part of the 2nd dimension array is the label for an attack frame …

---

## [How to make an external SWF totally independent from its father](https://forum.kirupa.com/t/how-to-make-an-external-swf-totally-independent-from-its-father/329677)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [October 1, 2012, 9:03am UTC](https://forum.kirupa.com/t/how-to-make-an-external-swf-totally-independent-from-its-father/329677 "2012-10-01T09:03:26Z")

</div>

Hi, I am developing a videogame, and I am using a "multi-SWF" approach to keep parts as independent as possible. Multiple games are loading the same toolbar, that is made of 2 SWFs: an "agent" that manages the communicat…

---

## [AS3 Adding child on collide with another object](https://forum.kirupa.com/t/as3-adding-child-on-collide-with-another-object/329676)

<div class="topic-metadata">

**Author:** [@teegiimonstuhh](https://forum.kirupa.com/u/teegiimonstuhh)\
**Replies:** 0\
**Last updated:** [October 1, 2012, 8:32am UTC](https://forum.kirupa.com/t/as3-adding-child-on-collide-with-another-object/329676 "2012-10-01T08:32:02Z")

</div>

Hello, I'm trying to add another instance of my GurlBall to the stage, whenever a gBall instance collides with a bBall instance. (Does that make sense?) I have a GurlBall, Ball, and a BallCollision actionscript file. …

---

## [\`Array.sortOn()\` does not work as the documentation says it should](https://forum.kirupa.com/t/array-sorton-does-not-work-as-the-documentation-says-it-should/329675)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [October 1, 2012, 4:46am UTC](https://forum.kirupa.com/t/array-sorton-does-not-work-as-the-documentation-says-it-should/329675 "2012-10-01T04:46:40Z")

</div>

Just a quick heads up for anyone curious, according to the ASDoc, this is how Array::sortOn() is supposed to work: If either of the elements being compared does not contain the field that is specified in the fieldName …

---

## [\[AS3\] Need help with collisions](https://forum.kirupa.com/t/as3-need-help-with-collisions/329674)

<div class="topic-metadata">

**Author:** [@teegiimonstuhh](https://forum.kirupa.com/u/teegiimonstuhh)\
**Replies:** 0\
**Last updated:** [October 1, 2012, 4:14am UTC](https://forum.kirupa.com/t/as3-need-help-with-collisions/329674 "2012-10-01T04:14:38Z")

</div>

Hello, I'm fairly hopeless at flash and I need help! I'm trying to create a virtual life simulation of some fish. They move randomly around the stage and when they collide I want something to happen. Like when the boy fi…

---

## [Drawing tools](https://forum.kirupa.com/t/drawing-tools/329673)

<div class="topic-metadata">

**Author:** [@Chiklad](https://forum.kirupa.com/u/Chiklad)\
**Replies:** 0\
**Last updated:** [September 30, 2012, 10:10pm UTC](https://forum.kirupa.com/t/drawing-tools/329673 "2012-09-30T22:10:01Z")

</div>

Hi guys? I'm trying to create drawing app for iOS. But i can't create Brush and Eraser tool. Hope you can help me.

---

## [Simple calculation for difference between two times](https://forum.kirupa.com/t/simple-calculation-for-difference-between-two-times/329672)

<div class="topic-metadata">

**Author:** [@turtleawkward](https://forum.kirupa.com/u/turtleawkward)\
**Replies:** 0\
**Last updated:** [September 30, 2012, 8:43pm UTC](https://forum.kirupa.com/t/simple-calculation-for-difference-between-two-times/329672 "2012-09-30T20:43:54Z")

</div>

Hey, I need help with a really simple calculation between two different times. Simple final time - intial time = difference between times. I'm just starting out and having some real teething issues in working things …

---

## [Not displaying external swf](https://forum.kirupa.com/t/not-displaying-external-swf/329671)

<div class="topic-metadata">

**Author:** [@DKaikster](https://forum.kirupa.com/u/DKaikster)\
**Replies:** 0\
**Last updated:** [September 30, 2012, 6:00pm UTC](https://forum.kirupa.com/t/not-displaying-external-swf/329671 "2012-09-30T18:00:27Z")

</div>

Hello. I need a wee bit of help here. Here's my issue: Let's assume the original file is named as original.swf and the external file is called external.swf. external.swf is written in AS2 whereas original.swf is writte…

---

## [SEO Training Chennai](https://forum.kirupa.com/t/seo-training-chennai/329666)

<div class="topic-metadata">

**Author:** [@crazyg00ze](https://forum.kirupa.com/u/crazyg00ze)\
**Replies:** 0\
**Last updated:** [September 30, 2012, 9:12am UTC](https://forum.kirupa.com/t/seo-training-chennai/329666 "2012-09-30T09:12:39Z")

</div>

Suzzy Logic now commits to website designing, web portal development, SEO works and other web related services. Website is must from start-up companies to well-established corporate. Other than search engine optimization…

---

## [.htaccess question](https://forum.kirupa.com/t/htaccess-question/329667)

<div class="topic-metadata">

**Author:** [@audrys](https://forum.kirupa.com/u/audrys)\
**Replies:** 0\
**Last updated:** [September 30, 2012, 12:36am UTC](https://forum.kirupa.com/t/htaccess-question/329667 "2012-09-30T00:36:51Z")

</div>

hi guys I was wondering if there is a way for me to accomplish this with just .htaccess file i want to redirect my website www.mywebsite.com/folder to www.mywebsite.com I am using joomla as main site however I also us…

---

## [Interface of a class that extends MovieClip](https://forum.kirupa.com/t/interface-of-a-class-that-extends-movieclip/329663)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [September 28, 2012, 10:29am UTC](https://forum.kirupa.com/t/interface-of-a-class-that-extends-movieclip/329663 "2012-09-28T10:29:06Z")

</div>

I am instancing an interface IJohn of a class John that extends MovieClip: I am receiving the errors that tells me that "addEventListener" is an unknown method, obviously. How can I fix this without putting all EventDisp…

---

## [CSS Sprite Menu - Getting the submenu dropdown to work correctly](https://forum.kirupa.com/t/css-sprite-menu-getting-the-submenu-dropdown-to-work-correctly/329658)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [September 28, 2012, 2:13am UTC](https://forum.kirupa.com/t/css-sprite-menu-getting-the-submenu-dropdown-to-work-correctly/329658 "2012-09-28T02:13:44Z")

</div>

I need to employ a dropdown menu with one of my navigation links ("Contact" menu link). And I'm having trouble getting the sub-navigation menu to work properly. So I could use some help from anyone familiar with CSS spri…

---

## [Loading multiple load functions?](https://forum.kirupa.com/t/loading-multiple-load-functions/329657)

<div class="topic-metadata">

**Author:** [@Eddie\_E](https://forum.kirupa.com/u/Eddie_E)\
**Replies:** 0\
**Last updated:** [September 28, 2012, 1:16am UTC](https://forum.kirupa.com/t/loading-multiple-load-functions/329657 "2012-09-28T01:16:08Z")

</div>

Hi I'm trying to load 2 external web pages into 1 index page... as shown below: \<script type="text/javascript"\> $(document).ready(function() { $('#loadExternalWebPage').load('web.html'); });…

---

## [SWF vs PNG image](https://forum.kirupa.com/t/swf-vs-png-image/329656)

<div class="topic-metadata">

**Author:** [@bnair](https://forum.kirupa.com/u/bnair)\
**Replies:** 0\
**Last updated:** [September 27, 2012, 9:45pm UTC](https://forum.kirupa.com/t/swf-vs-png-image/329656 "2012-09-27T21:45:07Z")

</div>

Folks, My flash application loaded png images using MovieLoader.loadClip. Some of those png images are now .svg and so in order for the application to render it, I am first getting them converted to swf. I have tried l…

---

## [loadMovie loading JPG disspears](https://forum.kirupa.com/t/loadmovie-loading-jpg-disspears/329655)

<div class="topic-metadata">

**Author:** [@onibox](https://forum.kirupa.com/u/onibox)\
**Replies:** 0\
**Last updated:** [September 27, 2012, 8:58pm UTC](https://forum.kirupa.com/t/loadmovie-loading-jpg-disspears/329655 "2012-09-27T20:58:03Z")

</div>

I have a gallery of 15 images and it's basically a slideshow controlled by left and right arrow, there is a movie clip with an instance name of "holder" and timeline has following layers/items: \[COLOR=#696969\]\*\*Lay…

---

## [Interesting grid problem to solve](https://forum.kirupa.com/t/interesting-grid-problem-to-solve/329654)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [September 27, 2012, 3:35pm UTC](https://forum.kirupa.com/t/interesting-grid-problem-to-solve/329654 "2012-09-27T15:35:35Z")

</div>

I've got an assignment for an interactive grid and I have a feeling it's pretty simple. I'm poking around at some solutions but I thought I'd post it here to see what you think. It has to do with the floor plan of a bi…

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

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