# programming

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

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

**Page:** 908

---

## [Unfinished anti-whaling game needs enthusiastic coder](https://forum.kirupa.com/t/unfinished-anti-whaling-game-needs-enthusiastic-coder/282594)

<div class="topic-metadata">

**Author:** [@evynco](https://forum.kirupa.com/u/evynco)\
**Replies:** 0\
**Last updated:** [February 24, 2009, 1:18am UTC](https://forum.kirupa.com/t/unfinished-anti-whaling-game-needs-enthusiastic-coder/282594 "2009-02-24T01:18:57Z")

</div>

Hi, I hope it's ok to post this here ? Some time ago I made a modest flash game based on the Sea Shepherd Conservation Society's efforts to impede the Japanese Whaling fleet. My circumstances changed and I no longe…

---

## [PHP form Mailer](https://forum.kirupa.com/t/php-form-mailer/282593)

<div class="topic-metadata">

**Author:** [@h2ofun](https://forum.kirupa.com/u/h2ofun)\
**Replies:** 0\
**Last updated:** [February 24, 2009, 1:04am UTC](https://forum.kirupa.com/t/php-form-mailer/282593 "2009-02-24T01:04:43Z")

</div>

Okay, I have spent half the day trying to figure this out. I use the code from http://www.kirupa.com/web/form\_mailer.htm I now have \<?PHP $to = "h2ofun@h2ofun.net"; $subject = "VHSVideoConversions Request"; $headers…

---

## [Call to function issue](https://forum.kirupa.com/t/call-to-function-issue/282592)

<div class="topic-metadata">

**Author:** [@jasonlijw](https://forum.kirupa.com/u/jasonlijw)\
**Replies:** 0\
**Last updated:** [February 24, 2009, 12:14am UTC](https://forum.kirupa.com/t/call-to-function-issue/282592 "2009-02-24T00:14:11Z")

</div>

Hey folks, I need to call the function onClick before or after the eventListener is enabled. I tried just using onClick(); but I get error 1136: Incorrect number if arguments. The eventListener is inside a for loop i…

---

## [Simple problem, can this be done?](https://forum.kirupa.com/t/simple-problem-can-this-be-done/282591)

<div class="topic-metadata">

**Author:** [@michdd](https://forum.kirupa.com/u/michdd)\
**Replies:** 0\
**Last updated:** [February 24, 2009, 12:07am UTC](https://forum.kirupa.com/t/simple-problem-can-this-be-done/282591 "2009-02-24T00:07:13Z")

</div>

I have bitmaps in the library that are labeled like.. hair\_1\_6 where 1 would be the hairStyleId and 6 would be the hairColorId. Previously I had a switch() to change the bitmap used for hairColorId. But it would be easie…

---

## [Sending Object Properties](https://forum.kirupa.com/t/sending-object-properties/282590)

<div class="topic-metadata">

**Author:** [@ibsen](https://forum.kirupa.com/u/ibsen)\
**Replies:** 0\
**Last updated:** [February 24, 2009, 12:03am UTC](https://forum.kirupa.com/t/sending-object-properties/282590 "2009-02-24T00:03:42Z")

</div>

I'm working on a project that has to pass variables to (and later read them from) a URL encoded text file. getURL("process.cgi", "", "POST"); This has worked until now, dumping all of \_level0's variables into the doc…

---

## [Actionscript 3.0 Classpath Location (Eg: fl Folder)?](https://forum.kirupa.com/t/actionscript-3-0-classpath-location-eg-fl-folder/282588)

<div class="topic-metadata">

**Author:** [@Nineteen](https://forum.kirupa.com/u/Nineteen)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 11:39pm UTC](https://forum.kirupa.com/t/actionscript-3-0-classpath-location-eg-fl-folder/282588 "2009-02-23T23:39:20Z")

</div>

Hi, I am trying to use Flex Builder 3 to write my Actionscript 3.0 Code however whenever I try to Eg: import fl.transitions.Tween; it does not recognize the fl folder let alone the Tween Class to import. Where is the…

---

## [Creating an animated list from XML in AS3](https://forum.kirupa.com/t/creating-an-animated-list-from-xml-in-as3/282587)

<div class="topic-metadata">

**Author:** [@londonstudios](https://forum.kirupa.com/u/londonstudios)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 11:34pm UTC](https://forum.kirupa.com/t/creating-an-animated-list-from-xml-in-as3/282587 "2009-02-23T23:34:26Z")

</div>

I am a relative newbie with AS3. I have a client who has an event that they would like to list their sponsors for each year. Each year their list change. I would like to figure out a way to create that list using XML and…

---

## [Sound performance](https://forum.kirupa.com/t/sound-performance/282586)

<div class="topic-metadata">

**Author:** [@justkevin](https://forum.kirupa.com/u/justkevin)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 11:26pm UTC](https://forum.kirupa.com/t/sound-performance/282586 "2009-02-23T23:26:42Z")

</div>

While profiling the game I'm working on, I was surprised to discover that a very large chunk of my app's performance cost comes from sound. After some tests, it seems that starting a single new sound playing takes more …

---

## [\[Flash8\]Help needed: communication between movieClips](https://forum.kirupa.com/t/flash8-help-needed-communication-between-movieclips/282585)

<div class="topic-metadata">

**Author:** [@dina\_orla](https://forum.kirupa.com/u/dina_orla)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 11:17pm UTC](https://forum.kirupa.com/t/flash8-help-needed-communication-between-movieclips/282585 "2009-02-23T23:17:58Z")

</div>

Hallo to everyone, As it seems i am stuck in sth really not that difficult obviously but i can't figure it out. I am quite new in Flash and ActionScript 2.0. So here is my problem: I want to make a site with text and p…

---

## [EventListener listen for Object in Different Class](https://forum.kirupa.com/t/eventlistener-listen-for-object-in-different-class/282584)

<div class="topic-metadata">

**Author:** [@ThaJock](https://forum.kirupa.com/u/ThaJock)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 11:13pm UTC](https://forum.kirupa.com/t/eventlistener-listen-for-object-in-different-class/282584 "2009-02-23T23:13:28Z")

</div>

I'm having problems with creating a class that holds all the code for my event & listeners that listens for objects that are in a different class. package { import flash.display.\*; import flash.events.\*; pub…

---

## [Calling a function within xml!](https://forum.kirupa.com/t/calling-a-function-within-xml/282583)

<div class="topic-metadata">

**Author:** [@creativemindz](https://forum.kirupa.com/u/creativemindz)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 11:08pm UTC](https://forum.kirupa.com/t/calling-a-function-within-xml/282583 "2009-02-23T23:08:13Z")

</div>

Hello guys, I'm haveing a bit of a problem to find a accurate source of how to call a simple as function from within my xml document. I did it before but it's been so long, that I have done it. Any ideas would be gr…

---

## [Sending Flash Form Data to Excel File?](https://forum.kirupa.com/t/sending-flash-form-data-to-excel-file/282582)

<div class="topic-metadata">

**Author:** [@nathanwf](https://forum.kirupa.com/u/nathanwf)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 10:06pm UTC](https://forum.kirupa.com/t/sending-flash-form-data-to-excel-file/282582 "2009-02-23T22:06:28Z")

</div>

Note \*\*\* This will not be running online. This will be running from a CD locally. So no PHP. The flash file will be turned into a projector file(exe) from flash. Clients will be filling out a survey that will need to b…

---

## [Best Way to Load SWF onClick - Help!](https://forum.kirupa.com/t/best-way-to-load-swf-onclick-help/282581)

<div class="topic-metadata">

**Author:** [@dmossjr](https://forum.kirupa.com/u/dmossjr)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 9:53pm UTC](https://forum.kirupa.com/t/best-way-to-load-swf-onclick-help/282581 "2009-02-23T21:53:49Z")

</div>

Hi all - Does anyone have a suggestion on how to load a flash movie on an onclick event? I tried a toggle code with hidden layers, but it loads and starts playing the flash movie before the event. Here's basically w…

---

## [Running Air app from Flex](https://forum.kirupa.com/t/running-air-app-from-flex/282579)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 9:25pm UTC](https://forum.kirupa.com/t/running-air-app-from-flex/282579 "2009-02-23T21:25:15Z")

</div>

\[color="gray"\]I'm not sure this is the right place to ask my question, but Flex is basically a library that interfaces with Flash, so this forum will do.\[/color\] I have Flex Builder 3 and can sucessfully run Flex apps …

---

## [How to make this kind of animation?](https://forum.kirupa.com/t/how-to-make-this-kind-of-animation/282578)

<div class="topic-metadata">

**Author:** [@DaJackal](https://forum.kirupa.com/u/DaJackal)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 9:16pm UTC](https://forum.kirupa.com/t/how-to-make-this-kind-of-animation/282578 "2009-02-23T21:16:48Z")

</div>

Hi! I see a very nice animation at http://www.orizont-srl.ro/home.html. Please take a look there and if you can, tell me a tutorial or something how to make that sketching, because I liked it very much and I want to le…

---

## [Ideas for Summer Camp Flash Banner Ad](https://forum.kirupa.com/t/ideas-for-summer-camp-flash-banner-ad/282575)

<div class="topic-metadata">

**Author:** [@kevint](https://forum.kirupa.com/u/kevint)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 8:50pm UTC](https://forum.kirupa.com/t/ideas-for-summer-camp-flash-banner-ad/282575 "2009-02-23T20:50:15Z")

</div>

I'm at a dead end right now trying to come up with a flash banner ad (728 x 90) for education summer camps. just looking for ideas. if you want to share something via swf/fla, would complain either. thanks. kt

---

## [Trim transparent pixles](https://forum.kirupa.com/t/trim-transparent-pixles/282570)

<div class="topic-metadata">

**Author:** [@pardoner](https://forum.kirupa.com/u/pardoner)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 8:19pm UTC](https://forum.kirupa.com/t/trim-transparent-pixles/282570 "2009-02-23T20:19:54Z")

</div>

Is there a way to trim a bitmap so that the width and height are not effected by transparent pixels?

---

## [Lemmings Style Flash Game](https://forum.kirupa.com/t/lemmings-style-flash-game/282568)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 8:09pm UTC](https://forum.kirupa.com/t/lemmings-style-flash-game/282568 "2009-02-23T20:09:35Z")

</div>

moved to another thread :S

---

## [Loading external swf: 1009 Error](https://forum.kirupa.com/t/loading-external-swf-1009-error/282567)

<div class="topic-metadata">

**Author:** [@rd4k1](https://forum.kirupa.com/u/rd4k1)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 8:05pm UTC](https://forum.kirupa.com/t/loading-external-swf-1009-error/282567 "2009-02-23T20:05:39Z")

</div>

Having a problem here. I can load external swf files, but once I started on one the pages I end up with the 1009 error. They work fine on their own and the placebo page still loads inside the main REALLY need to ge…

---

## [Children Change Event](https://forum.kirupa.com/t/children-change-event/282564)

<div class="topic-metadata">

**Author:** [@snozbunny](https://forum.kirupa.com/u/snozbunny)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 7:16pm UTC](https://forum.kirupa.com/t/children-change-event/282564 "2009-02-23T19:16:05Z")

</div>

Hi guys, I'm building a center stage object and I wanted to know if there's any way to add a event listener that checks if the children have changed in size... package com.centerstage { import flash.display.Stag…

---

## [Call function in parent movie clip](https://forum.kirupa.com/t/call-function-in-parent-movie-clip/282563)

<div class="topic-metadata">

**Author:** [@AdrianHam](https://forum.kirupa.com/u/AdrianHam)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 6:57pm UTC](https://forum.kirupa.com/t/call-function-in-parent-movie-clip/282563 "2009-02-23T18:57:49Z")

</div>

Dear all, I am new to AS 3.0 and would very much appreciate some advice. I have a child movie clip attached to the parent via the flash interface. The child is running a timer via code on its (the child's) timeline. …

---

## [External Navigation and OOP giving me huge problems](https://forum.kirupa.com/t/external-navigation-and-oop-giving-me-huge-problems/282558)

<div class="topic-metadata">

**Author:** [@joegardner](https://forum.kirupa.com/u/joegardner)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 5:29pm UTC](https://forum.kirupa.com/t/external-navigation-and-oop-giving-me-huge-problems/282558 "2009-02-23T17:29:20Z")

</div>

Hi everyone, I am new to AS3 and OOP and have been trying to learn from a combination of books and videos though I keep running into brick walls. Basically I am trying to create a simple game as part of my Universit…

---

## [External swf loading as transparent](https://forum.kirupa.com/t/external-swf-loading-as-transparent/282557)

<div class="topic-metadata">

**Author:** [@canfrica](https://forum.kirupa.com/u/canfrica)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 5:29pm UTC](https://forum.kirupa.com/t/external-swf-loading-as-transparent/282557 "2009-02-23T17:29:03Z")

</div>

I have a swf called scene0 which loads a swf called scene1 when a button is clicked. Scene1 just has some static text on it. My problem is that I can see scene0 through scene1, where what I want is for scene1 to cover sc…

---

## [MouseEvent.ROLL\_OVER crashing browser](https://forum.kirupa.com/t/mouseevent-roll-over-crashing-browser/282554)

<div class="topic-metadata">

**Author:** [@mpelland](https://forum.kirupa.com/u/mpelland)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 5:08pm UTC](https://forum.kirupa.com/t/mouseevent-roll-over-crashing-browser/282554 "2009-02-23T17:08:41Z")

</div>

Hey I have a movie set up in AS3. it is working with a swf that has a video loaded, a bunch of other external swfs. it all runs smoothly until half way through all of the rollover states just kill the browser. there …

---

## [Get method name?](https://forum.kirupa.com/t/get-method-name/282549)

<div class="topic-metadata">

**Author:** [@justkevin](https://forum.kirupa.com/u/justkevin)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 4:49pm UTC](https://forum.kirupa.com/t/get-method-name/282549 "2009-02-23T16:49:21Z")

</div>

Is it possible to get the name of the current method at runtime, as you can get the classname? I'm guessing not, but thought I'd see if someone knew a way. (I'm profiling my app and have created a simple profiler clas…

---

## [Tween (nudging a mc)](https://forum.kirupa.com/t/tween-nudging-a-mc/282544)

<div class="topic-metadata">

**Author:** [@RussianBeer](https://forum.kirupa.com/u/RussianBeer)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 4:05pm UTC](https://forum.kirupa.com/t/tween-nudging-a-mc/282544 "2009-02-23T16:05:43Z")

</div>

Hi guys, my question is fairly straight forward- I have a very long MC, and when a user moves the cursur to the bottom of the screen (or over a button) I want the mc to roll up (the effect of scrolling with the cursor …

---

## [Drag and rotate problem](https://forum.kirupa.com/t/drag-and-rotate-problem/282542)

<div class="topic-metadata">

**Author:** [@izikon](https://forum.kirupa.com/u/izikon)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 3:54pm UTC](https://forum.kirupa.com/t/drag-and-rotate-problem/282542 "2009-02-23T15:54:55Z")

</div>

I have this swf that written in AS2 http://www.knowingames.com/test\_ik\_06.swf if (stage.mouseX == \_lastMouseX && stage.mouseY == \_lastMouseY) { return; } var dX:Number = stage.mouseX - \_myClip.x; var dY:N…

---

## [Liquid/particles/path , Little Help please :)](https://forum.kirupa.com/t/liquid-particles-path-little-help-please/282539)

<div class="topic-metadata">

**Author:** [@aBnest](https://forum.kirupa.com/u/aBnest)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 3:08pm UTC](https://forum.kirupa.com/t/liquid-particles-path-little-help-please/282539 "2009-02-23T15:08:08Z")

</div>

I'm trying to do something like in the attachment. Any clues on how to approach this, or maybe some already build engines ? :alien2: Tnx

---

## [From fl.transition.Tween to Tweener](https://forum.kirupa.com/t/from-fl-transition-tween-to-tweener/282533)

<div class="topic-metadata">

**Author:** [@Beebs](https://forum.kirupa.com/u/Beebs)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 1:48pm UTC](https://forum.kirupa.com/t/from-fl-transition-tween-to-tweener/282533 "2009-02-23T13:48:26Z")

</div>

How to convert from native Adobe tween engine below to Tweener? Tween(obj:Object, prop:String, func:Function, begin:Number, finish:Number, duration:Number, useSeconds:Boolean = false) I am confused because I read i…

---

## [Strange error ComboBox component](https://forum.kirupa.com/t/strange-error-combobox-component/282532)

<div class="topic-metadata">

**Author:** [@codetale](https://forum.kirupa.com/u/codetale)\
**Replies:** 0\
**Last updated:** [February 23, 2009, 1:12pm UTC](https://forum.kirupa.com/t/strange-error-combobox-component/282532 "2009-02-23T13:12:29Z")

</div>

i use fl.control.ComboBox mycombobox.visible = false; and it throw me a strange error, TypeError: Error #1034: Type Coercion failed: cannot convert fl.events::ComponentEvent@1b469d81 to CustomEvents.CosEvent. at fla…

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

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