# programming

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

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

**Page:** 385

---

## [Need Code For ZoomIn/ZoomOut Effect](https://forum.kirupa.com/t/need-code-for-zoomin-zoomout-effect/315853)

<div class="topic-metadata">

**Author:** [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 6:06pm UTC](https://forum.kirupa.com/t/need-code-for-zoomin-zoomout-effect/315853 "2010-11-05T18:06:32Z")

</div>

Dear Friends, I need a small help from you guys... I want to do a simple thing in Flash CS3, but some how i am unable to do it. Actually my requirement was....OnRollOver of a Button I want to slightly zoom it and OnR…

---

## [Telling MCs in separate classes what to do](https://forum.kirupa.com/t/telling-mcs-in-separate-classes-what-to-do/315852)

<div class="topic-metadata">

**Author:** [@CallClass](https://forum.kirupa.com/u/CallClass)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 6:01pm UTC](https://forum.kirupa.com/t/telling-mcs-in-separate-classes-what-to-do/315852 "2010-11-05T18:01:10Z")

</div>

There is a bad gap in my knowledge with Event Dispatch and Event architecture, and this problem proves it. I've been getting nowhere on this problem for two days, so I think it's time to ask for help. I've posted everyth…

---

## [addEventListener already there](https://forum.kirupa.com/t/addeventlistener-already-there/315851)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 5:34pm UTC](https://forum.kirupa.com/t/addeventlistener-already-there/315851 "2010-11-05T17:34:19Z")

</div>

not that you would want to do this, but if you add the same event Listener which is already active, does it ignore it, or are you adding more bloat? or say you go to remove an event Listener which was never added in th…

---

## [Select is undefined from php and mysql](https://forum.kirupa.com/t/select-is-undefined-from-php-and-mysql/315849)

<div class="topic-metadata">

**Author:** [@sleazyfish](https://forum.kirupa.com/u/sleazyfish)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 4:26pm UTC](https://forum.kirupa.com/t/select-is-undefined-from-php-and-mysql/315849 "2010-11-05T16:26:27Z")

</div>

I'm trying to create a button (view\_btn) that will load the selected item in a dataGrid - like an inbox that show the whole message once selected and view\_btn is pressed. The basic info is in one table(A) and the full …

---

## [(mysql to flash)need major help](https://forum.kirupa.com/t/mysql-to-flash-need-major-help/315848)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 4:19pm UTC](https://forum.kirupa.com/t/mysql-to-flash-need-major-help/315848 "2010-11-05T16:19:23Z")

</div>

HI NEED MAJOR HELP. I'm trying to make a game where u answer questions about the various countries of the Europpean Union .I have a 500+ question database, with 20 questions for each of the 27 countries of the Europpean …

---

## [Detect if the mouse is outside the flash window](https://forum.kirupa.com/t/detect-if-the-mouse-is-outside-the-flash-window/315847)

<div class="topic-metadata">

**Author:** [@SticksStones](https://forum.kirupa.com/u/SticksStones)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 4:05pm UTC](https://forum.kirupa.com/t/detect-if-the-mouse-is-outside-the-flash-window/315847 "2010-11-05T16:05:37Z")

</div>

I have a background which scroll's when the mouse is at the edge of the flash window - RTS style. If the mouse cursor goes outside the window I want it to stop scrolling, but flash reads the cursor position as the last p…

---

## [Stack Overflow / recursion](https://forum.kirupa.com/t/stack-overflow-recursion/315846)

<div class="topic-metadata">

**Author:** [@laira1](https://forum.kirupa.com/u/laira1)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 4:03pm UTC](https://forum.kirupa.com/t/stack-overflow-recursion/315846 "2010-11-05T16:03:13Z")

</div>

I've been following a tutorial that gave me the following two functions for a randomized question from an XML list: var questions:Array=new Array(); var answers:Array=new Array(); var totalAmountWon:Number = 0; var am…

---

## [Another question about my whack-a-turkey game](https://forum.kirupa.com/t/another-question-about-my-whack-a-turkey-game/315844)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 3:49pm UTC](https://forum.kirupa.com/t/another-question-about-my-whack-a-turkey-game/315844 "2010-11-05T15:49:09Z")

</div>

For those of you that helped me earlier, I say thank you! However, I would like to add something to this game. Rather than just whacking turkeys the whole time, I've created an Indian that I'd like to appear randomly, …

---

## [Flash 8 website...mind of its own](https://forum.kirupa.com/t/flash-8-website-mind-of-its-own/315843)

<div class="topic-metadata">

**Author:** [@zodiacc](https://forum.kirupa.com/u/zodiacc)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 3:38pm UTC](https://forum.kirupa.com/t/flash-8-website-mind-of-its-own/315843 "2010-11-05T15:38:06Z")

</div>

Hi Guys, I have a website that I am working on at the minute. Its my first one using flash. I have designed the full website in flash 8, for some reason when I test the movie it gets a mind of its own and plays the whole…

---

## [Need Help with a Continuous Counter](https://forum.kirupa.com/t/need-help-with-a-continuous-counter/315840)

<div class="topic-metadata">

**Author:** [@Jazzer30](https://forum.kirupa.com/u/Jazzer30)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 1:08pm UTC](https://forum.kirupa.com/t/need-help-with-a-continuous-counter/315840 "2010-11-05T13:08:06Z")

</div>

Hi, I'm looking to create a continuous counter and I'm having some trouble with the syntax of the formula. Basically I have a "Start Date & Time" and a "Start Number" I also Have a PHP scrip that will bring in the "Curre…

---

## [Transparency on a SWFobject](https://forum.kirupa.com/t/transparency-on-a-swfobject/315837)

<div class="topic-metadata">

**Author:** [@dean0674](https://forum.kirupa.com/u/dean0674)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 10:53am UTC](https://forum.kirupa.com/t/transparency-on-a-swfobject/315837 "2010-11-05T10:53:04Z")

</div>

Hi There I am wandering if anyone could help. I have a flash SWFObject on a pafge and i want to make the background transparent so that the base HTML background shows through. This is my code: var so = new SWFObject…

---

## [Actionscript - problem for me, piece of cake for you!](https://forum.kirupa.com/t/actionscript-problem-for-me-piece-of-cake-for-you/315836)

<div class="topic-metadata">

**Author:** [@kinfa323](https://forum.kirupa.com/u/kinfa323)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 10:43am UTC](https://forum.kirupa.com/t/actionscript-problem-for-me-piece-of-cake-for-you/315836 "2010-11-05T10:43:04Z")

</div>

I have an object, letter C, I need actionscript that does: When someone push up or down arrow on keybord I would like to increase and decrease transparency for 10% from 0-100, and in dinamic text window show percentag…

---

## [Cross domain sendAndLoad via cross domain script](https://forum.kirupa.com/t/cross-domain-sendandload-via-cross-domain-script/315834)

<div class="topic-metadata">

**Author:** [@Lexlutha](https://forum.kirupa.com/u/Lexlutha)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 9:45am UTC](https://forum.kirupa.com/t/cross-domain-sendandload-via-cross-domain-script/315834 "2010-11-05T09:45:53Z")

</div>

My swf works fine when previewed locally but because of flash cross domain issues (link below) doesn’t work live. http://kb2.adobe.com/cps/142/tn\_14213.html#main\_main\_policy I’ve used a 'crossbrowser.php’ file to .lo…

---

## [How to backup your mobile SMS and contacts?(windows mobile &iphone)](https://forum.kirupa.com/t/how-to-backup-your-mobile-sms-and-contacts-windows-mobile-iphone/315829)

<div class="topic-metadata">

**Author:** [@softwiki2010](https://forum.kirupa.com/u/softwiki2010)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 8:40am UTC](https://forum.kirupa.com/t/how-to-backup-your-mobile-sms-and-contacts-windows-mobile-iphone/315829 "2010-11-05T08:40:18Z")

</div>

It is commom that we get a lot of SMS and most of them are so important.Do you find it is not easy that we save so many contacts in our mobile phone?SIM or memory card has its limited storage capacity and our SMS&contact…

---

## [How to Convert DVD and Video to Your iphone 4,iphone 4 to computer](https://forum.kirupa.com/t/how-to-convert-dvd-and-video-to-your-iphone-4-iphone-4-to-computer/315828)

<div class="topic-metadata">

**Author:** [@softwiki2010](https://forum.kirupa.com/u/softwiki2010)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 8:39am UTC](https://forum.kirupa.com/t/how-to-convert-dvd-and-video-to-your-iphone-4-iphone-4-to-computer/315828 "2010-11-05T08:39:15Z")

</div>

The iPhone 4 is really a corker of a handset, if you've got a 4th-generation iPhone ("iPhone 4"), one of the things you probably want to do is put favourite DVD and videos on it to enjoy everywhere and everytime. Thanks …

---

## [New line in dynamic text box](https://forum.kirupa.com/t/new-line-in-dynamic-text-box/315824)

<div class="topic-metadata">

**Author:** [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 2:13am UTC](https://forum.kirupa.com/t/new-line-in-dynamic-text-box/315824 "2010-11-05T02:13:18Z")

</div>

All, I have the following code: function loadXML(loaded) { if (loaded) { \_root.myMemories = xmlData.firstChild.childNodes; \_root.myMemoriesTotal = myMemories.length; for(i=0;i\<\_root.myMemoriesTotal;i++){ \_root.name = …

---

## [General Subjective Flash Questions](https://forum.kirupa.com/t/general-subjective-flash-questions/315823)

<div class="topic-metadata">

**Author:** [@RiskiBiznas](https://forum.kirupa.com/u/RiskiBiznas)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 1:23am UTC](https://forum.kirupa.com/t/general-subjective-flash-questions/315823 "2010-11-05T01:23:01Z")

</div>

What are the biggest problems and limitations to using the Flash timeline? Are some things(eg animations) where it's better to tackle with actionscript? Are there some things that the timeline does better?

---

## [Need help With platform game](https://forum.kirupa.com/t/need-help-with-platform-game/315821)

<div class="topic-metadata">

**Author:** [@Garb](https://forum.kirupa.com/u/Garb)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 1:09am UTC](https://forum.kirupa.com/t/need-help-with-platform-game/315821 "2010-11-05T01:09:11Z")

</div>

hi, im working on a shooting game in flash 8, and i am having some troubles. I want to make it so when the mouse is one side of the screen "player" flips and looks at it, and when its on the other, it flips and looks at …

---

## [Which access is faster? Dictionary or switch-case?](https://forum.kirupa.com/t/which-access-is-faster-dictionary-or-switch-case/315820)

<div class="topic-metadata">

**Author:** [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 12:31am UTC](https://forum.kirupa.com/t/which-access-is-faster-dictionary-or-switch-case/315820 "2010-11-05T00:31:47Z")

</div>

function getFruitBySwitch(fruitId : String):int { switch(fruitId ) { case "Apple" : return 1; case "Orange" : return 2; case "Grape" : return 3; case "Peach" : return 4; default : return 0; } } co…

---

## [\[AS2/CS3\]call function only once in an onEnterFrame](https://forum.kirupa.com/t/as2-cs3-call-function-only-once-in-an-onenterframe/315818)

<div class="topic-metadata">

**Author:** [@BadBoyMcCoy](https://forum.kirupa.com/u/BadBoyMcCoy)\
**Replies:** 0\
**Last updated:** [November 4, 2010, 11:34pm UTC](https://forum.kirupa.com/t/as2-cs3-call-function-only-once-in-an-onenterframe/315818 "2010-11-04T23:34:31Z")

</div>

OK I've been trying to work this out for a while and I think I'm going to have to ask for help. function ghostGoUpDown(currentGhost) { //do stuff } benet.onEnterFrame = function() { //do stuff if(maze\_mc.…

---

## [Colorize MovieClip with bitmap](https://forum.kirupa.com/t/colorize-movieclip-with-bitmap/315817)

<div class="topic-metadata">

**Author:** [@spectator](https://forum.kirupa.com/u/spectator)\
**Replies:** 0\
**Last updated:** [November 4, 2010, 11:06pm UTC](https://forum.kirupa.com/t/colorize-movieclip-with-bitmap/315817 "2010-11-04T23:06:20Z")

</div>

Hello :). Which is the best way to colorize MovieClip using Bitmap? var element:\* = event.target; var myBitmapData:BitmapData = new BitmapData(100, 72); myBitmapData.draw(element) backGroundSprite.graphics…

---

## [Flash Builder 4 Flash Professional Project Destination Path](https://forum.kirupa.com/t/flash-builder-4-flash-professional-project-destination-path/315815)

<div class="topic-metadata">

**Author:** [@forumSteve](https://forum.kirupa.com/u/forumSteve)\
**Replies:** 0\
**Last updated:** [November 4, 2010, 8:46pm UTC](https://forum.kirupa.com/t/flash-builder-4-flash-professional-project-destination-path/315815 "2010-11-04T20:46:22Z")

</div>

I recently converted groups of assets from a Flash Builder 4 Actionscript project over to individual Flash Builder 4 Flash Professional projects. (Compile time often exceeds 5 minutes in Flash CS5, so I really need to fi…

---

## [Editing after bones are made](https://forum.kirupa.com/t/editing-after-bones-are-made/315813)

<div class="topic-metadata">

**Author:** [@RevTyler](https://forum.kirupa.com/u/RevTyler)\
**Replies:** 0\
**Last updated:** [November 4, 2010, 7:48pm UTC](https://forum.kirupa.com/t/editing-after-bones-are-made/315813 "2010-11-04T19:48:48Z")

</div>

Hey, I'm doing a project for CS4. I've got a wolf walk-cycle I made and I'm trying to cut corners to make it a dog by re-colouring it brown. Is there a way to do this without getting rid of the bones and having to re…

---

## [away3d subdividing faces](https://forum.kirupa.com/t/away3d-subdividing-faces/315812)

<div class="topic-metadata">

**Author:** [@tugboat](https://forum.kirupa.com/u/tugboat)\
**Replies:** 0\
**Last updated:** [November 4, 2010, 7:19pm UTC](https://forum.kirupa.com/t/away3d-subdividing-faces/315812 "2010-11-04T19:19:12Z")

</div>

Hello, I have an away3d issue that is totally stumping me. I have a sphere that is made of triangles. It is super easy to subdivide each of those triangles into four smaller, equilateral triangles because there is a…

---

## [Flash not picking up flashvars](https://forum.kirupa.com/t/flash-not-picking-up-flashvars/315810)

<div class="topic-metadata">

**Author:** [@nhilez](https://forum.kirupa.com/u/nhilez)\
**Replies:** 0\
**Last updated:** [November 4, 2010, 6:05pm UTC](https://forum.kirupa.com/t/flash-not-picking-up-flashvars/315810 "2010-11-04T18:05:34Z")

</div>

I have a movie that loads content from an XML file. The path to the file is passed in using flashvars. I am using SWFObject to embed the Flash in a web page. I have a routine that checks for an XML attribute from flashva…

---

## [Help with sloppy script](https://forum.kirupa.com/t/help-with-sloppy-script/315809)

<div class="topic-metadata">

**Author:** [@aspect\_eleven](https://forum.kirupa.com/u/aspect_eleven)\
**Replies:** 0\
**Last updated:** [November 4, 2010, 5:58pm UTC](https://forum.kirupa.com/t/help-with-sloppy-script/315809 "2010-11-04T17:58:16Z")

</div>

Hello all! This is my first time using AS3 and it is a bit confusing. I am making a Flash portfolio for a college class. I am trying to make it when I click on a button, it will load an external .swf. When I click on …

---

## [hitTestPoint question](https://forum.kirupa.com/t/hittestpoint-question/315808)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 0\
**Last updated:** [November 4, 2010, 5:50pm UTC](https://forum.kirupa.com/t/hittestpoint-question/315808 "2010-11-04T17:50:26Z")

</div>

if(container\_mc.hitTestPoint(character.x,character.y,true)){ } when i add additional movieClips to container\_mc, all items do hittest with character as expected, however the performance take a little drop. Can anyone …

---

## [Puzzling! Code works on FLA but not in Class Package!](https://forum.kirupa.com/t/puzzling-code-works-on-fla-but-not-in-class-package/315807)

<div class="topic-metadata">

**Author:** [@yankleber](https://forum.kirupa.com/u/yankleber)\
**Replies:** 0\
**Last updated:** [November 4, 2010, 4:43pm UTC](https://forum.kirupa.com/t/puzzling-code-works-on-fla-but-not-in-class-package/315807 "2010-11-04T16:43:41Z")

</div>

Hi, This is really puzzling me! I have this simple code in FLA: var myclass:Class = getDefinitionByName("clsGirlWalking") as Class; var mcPerson:MovieClip = new myclass(); addChild(mcPerson); OK, so it DOES work, t…

---

## [Interrupted Tweens](https://forum.kirupa.com/t/interrupted-tweens/315805)

<div class="topic-metadata">

**Author:** [@laira1](https://forum.kirupa.com/u/laira1)\
**Replies:** 0\
**Last updated:** [November 4, 2010, 3:56pm UTC](https://forum.kirupa.com/t/interrupted-tweens/315805 "2010-11-04T15:56:41Z")

</div>

I'm writing a Think Fast program to teach myself Actionscript, and running into a problem. I've written a function to get 3 bars to tween in, one after the other. This is working well, except due to the nature of a think…

---

## [Local Connection](https://forum.kirupa.com/t/local-connection/315804)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [November 4, 2010, 3:45pm UTC](https://forum.kirupa.com/t/local-connection/315804 "2010-11-04T15:45:05Z")

</div>

I am trying to load a different swf movie into my many swf movies on a single html page. I have a controller swf .. which has an array of paths for these movies which are jumbled up upon the load of the html page. I …

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

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