# programming

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

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

**Page:** 182

---

## [AS2 Flash Sounds MUTE on page navigate HTML](https://forum.kirupa.com/t/as2-flash-sounds-mute-on-page-navigate-html/327733)

<div class="topic-metadata">

**Author:** [@frostydesire](https://forum.kirupa.com/u/frostydesire)\
**Replies:** 0\
**Last updated:** [March 24, 2012, 11:51am UTC](https://forum.kirupa.com/t/as2-flash-sounds-mute-on-page-navigate-html/327733 "2012-03-24T11:51:48Z")

</div>

Hi, I have just done couple of banners for Dettol with BG sound, now the client wants the sound to be stopped when he navigates away to a different web page The issue is \[LIST\] \[\*\]Mouse-over the banner and press alt-t…

---

## [Switch Language](https://forum.kirupa.com/t/switch-language/327732)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [March 24, 2012, 2:12am UTC](https://forum.kirupa.com/t/switch-language/327732 "2012-03-24T02:12:33Z")

</div>

Hello, I'm trying to make a flash as3 application for my project tour guide. I'm planning to put different languages but I don't know how all the texts in all application will translate to specific language. English te…

---

## [hitTestObject Error.... pleas help](https://forum.kirupa.com/t/hittestobject-error-pleas-help/327730)

<div class="topic-metadata">

**Author:** [@JaymsWisdom](https://forum.kirupa.com/u/JaymsWisdom)\
**Replies:** 0\
**Last updated:** [March 23, 2012, 8:56pm UTC](https://forum.kirupa.com/t/hittestobject-error-pleas-help/327730 "2012-03-23T20:56:08Z")

</div>

Hi all..... I have 4 hours to work out why my code has stopped working and I really need your help. I've been getting this Error and I can't seem to be rid of it. I have trawled the internet for answers (including this s…

---

## [Call Javascript From Flash - Help Please](https://forum.kirupa.com/t/call-javascript-from-flash-help-please/327729)

<div class="topic-metadata">

**Author:** [@Reinhardt](https://forum.kirupa.com/u/Reinhardt)\
**Replies:** 0\
**Last updated:** [March 23, 2012, 12:53pm UTC](https://forum.kirupa.com/t/call-javascript-from-flash-help-please/327729 "2012-03-23T12:53:02Z")

</div>

Hi People, Ok I have no clue on how to do this, so hopefully someone will be able to save the day? Included is an example to look at for those willing to help. I have just extracted the relevant sections from the ori…

---

## [FPS Slowing Over Time](https://forum.kirupa.com/t/fps-slowing-over-time/327728)

<div class="topic-metadata">

**Author:** [@Erigrath](https://forum.kirupa.com/u/Erigrath)\
**Replies:** 0\
**Last updated:** [March 23, 2012, 12:16pm UTC](https://forum.kirupa.com/t/fps-slowing-over-time/327728 "2012-03-23T12:16:14Z")

</div>

After noticing a gradual increase in lag in a game I'm writing, I started a brand new project and wrote this simple counter to test if it would slow down eventually as well. Unfortunately, once the count reaches about 20…

---

## [How do you call this feature?](https://forum.kirupa.com/t/how-do-you-call-this-feature/327727)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [March 23, 2012, 10:41am UTC](https://forum.kirupa.com/t/how-do-you-call-this-feature/327727 "2012-03-23T10:41:30Z")

</div>

Hi everybody! I have just casually found an AS3 feature that I didn't know: I have instanced a Class A, that instances a Class B from an external SWF, that instances a class C from another external SWF: all instances…

---

## [Cleaning things up (Code)](https://forum.kirupa.com/t/cleaning-things-up-code/327723)

<div class="topic-metadata">

**Author:** [@macboyCanada](https://forum.kirupa.com/u/macboyCanada)\
**Replies:** 0\
**Last updated:** [March 23, 2012, 3:53am UTC](https://forum.kirupa.com/t/cleaning-things-up-code/327723 "2012-03-23T03:53:33Z")

</div>

Okay, go easy on me here I'll try to keep the question simple. If, in object-attached ActionScripting I'm writing the same if statements over and over (and over) for each subsequent clickable item can I just package th…

---

## [Update a single cell in a Flash data grid component](https://forum.kirupa.com/t/update-a-single-cell-in-a-flash-data-grid-component/327721)

<div class="topic-metadata">

**Author:** [@Jeffrey\_Gilbert](https://forum.kirupa.com/u/Jeffrey_Gilbert)\
**Replies:** 0\
**Last updated:** [March 22, 2012, 6:46pm UTC](https://forum.kirupa.com/t/update-a-single-cell-in-a-flash-data-grid-component/327721 "2012-03-22T18:46:30Z")

</div>

Hi, I've been working with the flash data grid component, and I want to update just one cell in the data grid without updating the entire dataset. I haven't found anyway to do this and the object inheritance makes it r…

---

## [How to animate 2 different elements on hover?](https://forum.kirupa.com/t/how-to-animate-2-different-elements-on-hover/327719)

<div class="topic-metadata">

**Author:** [@azukizero](https://forum.kirupa.com/u/azukizero)\
**Replies:** 0\
**Last updated:** [March 22, 2012, 5:08pm UTC](https://forum.kirupa.com/t/how-to-animate-2-different-elements-on-hover/327719 "2012-03-22T17:08:51Z")

</div>

Hi all, I've created a nav with 3 elements, each animating on hover. I'd like to also animate a logo when any one of the nav elements is hovered. The logo and nav are siblings of the same parent div. Basically, it'…

---

## [mp3 finish\> redirect to page](https://forum.kirupa.com/t/mp3-finish-redirect-to-page/327718)

<div class="topic-metadata">

**Author:** [@kpit](https://forum.kirupa.com/u/kpit)\
**Replies:** 0\
**Last updated:** [March 22, 2012, 3:43pm UTC](https://forum.kirupa.com/t/mp3-finish-redirect-to-page/327718 "2012-03-22T15:43:40Z")

</div>

In the body, the flashplayer autoplays the mp3(Trip\_01-01-100000BC.mp3) but there is no redirection to page 'a.html'. Any idea:q: Thanks!:p: \<script type="text/javascript" \> function function1() { …

---

## [Portable Photoshop cs3 in one link](https://forum.kirupa.com/t/portable-photoshop-cs3-in-one-link/327717)

<div class="topic-metadata">

**Author:** [@star\_tamer\_1980](https://forum.kirupa.com/u/star_tamer_1980)\
**Replies:** 0\
**Last updated:** [March 22, 2012, 12:55pm UTC](https://forum.kirupa.com/t/portable-photoshop-cs3-in-one-link/327717 "2012-03-22T12:55:48Z")

</div>

hi every body I Brought to you today copy of Portable Photoshop cs3 does not need to install On a single link only 56 MB ... Isn't surprise??? Free .. From hotfile http://4d84fc30.linkbucks.com Free .. From depositfile…

---

## [CS3 - problem with audio waveform using ByteArray and graphics (flash 5.5)](https://forum.kirupa.com/t/cs3-problem-with-audio-waveform-using-bytearray-and-graphics-flash-5-5/327715)

<div class="topic-metadata">

**Author:** [@zongonet](https://forum.kirupa.com/u/zongonet)\
**Replies:** 0\
**Last updated:** [March 22, 2012, 12:17pm UTC](https://forum.kirupa.com/t/cs3-problem-with-audio-waveform-using-bytearray-and-graphics-flash-5-5/327715 "2012-03-22T12:17:52Z")

</div>

Hi everybody! I'm really stuck in this issue... And I'd like to find out your help! I found on Adobe site this code to create the waveform in realtime of what is captured by the microphone. And it works really great. --…

---

## [\[AS3\]Randomly do something without repeat](https://forum.kirupa.com/t/as3-randomly-do-something-without-repeat/327714)

<div class="topic-metadata">

**Author:** [@pizza0502](https://forum.kirupa.com/u/pizza0502)\
**Replies:** 0\
**Last updated:** [March 22, 2012, 10:57am UTC](https://forum.kirupa.com/t/as3-randomly-do-something-without-repeat/327714 "2012-03-22T10:57:09Z")

</div>

Hi, I've 3 movieclip on stage which is mc1,mc2,mc3 at first they are alpha=0 What I want is when i click on revealBtn, 1 of them will show up as alpha=1. But with my code below, sometimes I need to click about 5 ti…

---

## [Pillage the Village (Drag and drop game?)](https://forum.kirupa.com/t/pillage-the-village-drag-and-drop-game/327712)

<div class="topic-metadata">

**Author:** [@Citachi](https://forum.kirupa.com/u/Citachi)\
**Replies:** 0\
**Last updated:** [March 22, 2012, 3:26am UTC](https://forum.kirupa.com/t/pillage-the-village-drag-and-drop-game/327712 "2012-03-22T03:26:44Z")

</div>

I was wondering if anyone knew how to break down the coding for this game step by step. It is predominately a drag and drop game, but what I want to know how to do is, how do I drag a movie clip and be able to throw it…

---

## [How to add stroke to a sprite?](https://forum.kirupa.com/t/how-to-add-stroke-to-a-sprite/327710)

<div class="topic-metadata">

**Author:** [@GeekTweak\_0](https://forum.kirupa.com/u/GeekTweak_0)\
**Replies:** 0\
**Last updated:** [March 21, 2012, 11:23pm UTC](https://forum.kirupa.com/t/how-to-add-stroke-to-a-sprite/327710 "2012-03-21T23:23:36Z")

</div>

I have a series of previously created rectangles, all with a lineStyle(stoke), but later, when in the program, i highlight them via colorTranform with MOUSE\_OVER, and and return the color back to its previous state with …

---

## [Remove Children](https://forum.kirupa.com/t/remove-children/327709)

<div class="topic-metadata">

**Author:** [@littlea5h](https://forum.kirupa.com/u/littlea5h)\
**Replies:** 0\
**Last updated:** [March 21, 2012, 8:44pm UTC](https://forum.kirupa.com/t/remove-children/327709 "2012-03-21T20:44:28Z")

</div>

So i have a calculator and converter on two different scenes. I have two arrays which i stored for my number and operator buttons. I am using a button function to switch between scenes and would like to remove the childr…

---

## [Why does flash hate my gems object?](https://forum.kirupa.com/t/why-does-flash-hate-my-gems-object/327708)

<div class="topic-metadata">

**Author:** [@300happy](https://forum.kirupa.com/u/300happy)\
**Replies:** 0\
**Last updated:** [March 21, 2012, 7:40pm UTC](https://forum.kirupa.com/t/why-does-flash-hate-my-gems-object/327708 "2012-03-21T19:40:47Z")

</div>

I'm working on getting some objects to spawn in what will eventually be a game, while simultaneously trying to grasp how to properly do the OOP and external as files methods that AS3 and Flash 5 do. Talk about jumping i…

---

## [Multiple instances](https://forum.kirupa.com/t/multiple-instances/327706)

<div class="topic-metadata">

**Author:** [@StaaaC](https://forum.kirupa.com/u/StaaaC)\
**Replies:** 0\
**Last updated:** [March 21, 2012, 3:35pm UTC](https://forum.kirupa.com/t/multiple-instances/327706 "2012-03-21T15:35:55Z")

</div>

Hey guys, I was wondering if anyone can help me out. I need to create a button the can add multiple instances of the same object when clicked. Does anyone know anything about this I've been looking all morning. Thank…

---

## [Structure of DIVs/Layout](https://forum.kirupa.com/t/structure-of-divs-layout/327698)

<div class="topic-metadata">

**Author:** [@FlashFish](https://forum.kirupa.com/u/FlashFish)\
**Replies:** 0\
**Last updated:** [March 21, 2012, 10:11am UTC](https://forum.kirupa.com/t/structure-of-divs-layout/327698 "2012-03-21T10:11:48Z")

</div>

Hello again. I am concerned I have not set up my site correctly and that I've misunderstood how divs and floats work. Please remove the Xs from the URL. www.medXiadispXlays.tv On first glance this looks as I wanted i…

---

## [tabEnabled issues](https://forum.kirupa.com/t/tabenabled-issues/327695)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [March 21, 2012, 1:01am UTC](https://forum.kirupa.com/t/tabenabled-issues/327695 "2012-03-21T01:01:16Z")

</div>

I'm working on my first fully 508 compliant Flash items. Does tabEnabled not play well with MouseEvent.CLICK? When I remove the MouseEvent.CLICK handlers and set buttonMode to false, AND set tabEnabled to false, the b…

---

## [Interactive scale/transform](https://forum.kirupa.com/t/interactive-scale-transform/327694)

<div class="topic-metadata">

**Author:** [@StaaaC](https://forum.kirupa.com/u/StaaaC)\
**Replies:** 0\
**Last updated:** [March 20, 2012, 11:20pm UTC](https://forum.kirupa.com/t/interactive-scale-transform/327694 "2012-03-20T23:20:53Z")

</div>

Hey guys, I was wondering if anyone can help me. I'm creating a moodboard application where the user can dynamically load an image onto the stage by pressing a thumb of the image in a menu item. I have most of that wor…

---

## [AS3 display object problem using parent](https://forum.kirupa.com/t/as3-display-object-problem-using-parent/327693)

<div class="topic-metadata">

**Author:** [@wrzdzn](https://forum.kirupa.com/u/wrzdzn)\
**Replies:** 0\
**Last updated:** [March 20, 2012, 11:01pm UTC](https://forum.kirupa.com/t/as3-display-object-problem-using-parent/327693 "2012-03-20T23:01:12Z")

</div>

\*\*ERROR:1119: Access of possibly undefined property contact\_mc through a reference with static type flash.display:DisplayObjectContainer. \*\* I am trying to figure out why I get a 1119 display object error when I use: \*\*…

---

## [ActionScript Feedback Please](https://forum.kirupa.com/t/actionscript-feedback-please/327691)

<div class="topic-metadata">

**Author:** [@Randomishlying](https://forum.kirupa.com/u/Randomishlying)\
**Replies:** 0\
**Last updated:** [March 20, 2012, 7:01pm UTC](https://forum.kirupa.com/t/actionscript-feedback-please/327691 "2012-03-20T19:01:41Z")

</div>

So I've been working on/off with AS3 for the last couple months. I've recently felt comfortable enough to use some code that was given to me and use it to build a flight newsfeed swf (please refer to the attached file)…

---

## [Seeking advice on displaying XML data across combo box and text field](https://forum.kirupa.com/t/seeking-advice-on-displaying-xml-data-across-combo-box-and-text-field/327689)

<div class="topic-metadata">

**Author:** [@CPT\_Crazy](https://forum.kirupa.com/u/CPT_Crazy)\
**Replies:** 0\
**Last updated:** [March 20, 2012, 5:11pm UTC](https://forum.kirupa.com/t/seeking-advice-on-displaying-xml-data-across-combo-box-and-text-field/327689 "2012-03-20T17:11:28Z")

</div>

Hey guys Im a bit of a novice with flash and have become stuck while trying to achieve what should be a simple task. I am trying to read in XML data and display the lables in a combo box and then display the corresp…

---

## [Help with some logic I'm stuck with](https://forum.kirupa.com/t/help-with-some-logic-im-stuck-with/327688)

<div class="topic-metadata">

**Author:** [@Blueguy](https://forum.kirupa.com/u/Blueguy)\
**Replies:** 0\
**Last updated:** [March 20, 2012, 3:09pm UTC](https://forum.kirupa.com/t/help-with-some-logic-im-stuck-with/327688 "2012-03-20T15:09:31Z")

</div>

Hi guys, I've got these classes and I'm trying to adapt them for something I'm trying to do, but there a couple of things I'm struggling with, if someone could take a look at the code and give me a hand or sug…

---

## [Handling Multiple Classes](https://forum.kirupa.com/t/handling-multiple-classes/327685)

<div class="topic-metadata">

**Author:** [@12abhi12](https://forum.kirupa.com/u/12abhi12)\
**Replies:** 0\
**Last updated:** [March 20, 2012, 10:36am UTC](https://forum.kirupa.com/t/handling-multiple-classes/327685 "2012-03-20T10:36:16Z")

</div>

Its been a while I am learning as3. I have followed tutorials on classes and there is no doubt that I can make a class and work on it. But the problem is that I can't grasp the concept of using multiple classes altogethe…

---

## [Publish for mobile](https://forum.kirupa.com/t/publish-for-mobile/327684)

<div class="topic-metadata">

**Author:** [@12abhi12](https://forum.kirupa.com/u/12abhi12)\
**Replies:** 0\
**Last updated:** [March 20, 2012, 9:49am UTC](https://forum.kirupa.com/t/publish-for-mobile/327684 "2012-03-20T09:49:54Z")

</div>

I have a mobile that can open swf files. I made an swf file and sent to my mobile. However the file is displaying a blank white page there. I tried publishing air, it didn't work either. What should i do?

---

## [Tutorial: Introduction to HTML](https://forum.kirupa.com/t/tutorial-introduction-to-html/327681)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [March 20, 2012, 5:38am UTC](https://forum.kirupa.com/t/tutorial-introduction-to-html/327681 "2012-03-20T05:38:25Z")

</div>

\[COLOR=#333333\]\[FONT=Segoe UI\]Hi everyone,\[/FONT\]\[/COLOR\] \[COLOR=#333333\]\[FONT=Segoe UI\]This is the happening place to discuss all things related to the Introduction to HTML\[/FONT\]\[/COLOR\]\[COLOR=#333333\]\[FONT=Segoe UI\] t…

---

## [How to convert this JQuery button click to an onload instead?](https://forum.kirupa.com/t/how-to-convert-this-jquery-button-click-to-an-onload-instead/327680)

<div class="topic-metadata">

**Author:** [@orionstar](https://forum.kirupa.com/u/orionstar)\
**Replies:** 0\
**Last updated:** [March 20, 2012, 4:00am UTC](https://forum.kirupa.com/t/how-to-convert-this-jquery-button-click-to-an-onload-instead/327680 "2012-03-20T04:00:16Z")

</div>

I'd like to have this slide function just work right after the page loads. Right now it's a click button function. How do I do this please? I'm not a coder. Thanks in advance. \<script type="text/javascript"\> $(docu…

---

## [\[AS2\] Keeping Player above ground problem](https://forum.kirupa.com/t/as2-keeping-player-above-ground-problem/327678)

<div class="topic-metadata">

**Author:** [@silverneo188](https://forum.kirupa.com/u/silverneo188)\
**Replies:** 0\
**Last updated:** [March 19, 2012, 11:17pm UTC](https://forum.kirupa.com/t/as2-keeping-player-above-ground-problem/327678 "2012-03-19T23:17:10Z")

</div>

Ok so I programming a character to when they press the UP key they jump and then gravity takes place. The only problem I have is whenever I force the player above the ground the gravity keeps taking place so the player j…

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

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