# programming

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

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

**Page:** 194

---

## [Can\`t stop addEventListener Event.ENTER\_FRAME](https://forum.kirupa.com/t/can-t-stop-addeventlistener-event-enter-frame/327101)

<div class="topic-metadata">

**Author:** [@crdr\_11](https://forum.kirupa.com/u/crdr_11)\
**Replies:** 0\
**Last updated:** [February 6, 2012, 8:52am UTC](https://forum.kirupa.com/t/can-t-stop-addeventlistener-event-enter-frame/327101 "2012-02-06T08:52:40Z")

</div>

Hi, I am a newbie in ActionScript 3.0. I want to make flash application that will zoom in object when on mouse over and write same text on the screen and zoom out object a clear text when the mouse is roll out. I have …

---

## [How to alter array without causing problems](https://forum.kirupa.com/t/how-to-alter-array-without-causing-problems/327097)

<div class="topic-metadata">

**Author:** [@Kappa](https://forum.kirupa.com/u/Kappa)\
**Replies:** 0\
**Last updated:** [February 6, 2012, 6:18am UTC](https://forum.kirupa.com/t/how-to-alter-array-without-causing-problems/327097 "2012-02-06T06:18:35Z")

</div>

I'm trying to work on a presentation/slideshow, where I will have to insert and remove pages quite often. I had the idea that I could just change the array by setting it from each movie clip (each movieclip is a slide or…

---

## [HTML5 - Adding audio in the animation](https://forum.kirupa.com/t/html5-adding-audio-in-the-animation/327096)

<div class="topic-metadata">

**Author:** [@Susanta\_Muduli](https://forum.kirupa.com/u/Susanta_Muduli)\
**Replies:** 0\
**Last updated:** [February 6, 2012, 6:15am UTC](https://forum.kirupa.com/t/html5-adding-audio-in-the-animation/327096 "2012-02-06T06:15:45Z")

</div>

Hi, I have created an animation in Html5 by using Adobe Edge in which i am running a product demo. The animation part is running nicely and it worked very well for the product. Now I got a new requirement to add voice-…

---

## [Who Can Help Me!](https://forum.kirupa.com/t/who-can-help-me/327095)

<div class="topic-metadata">

**Author:** [@ka\_hendri](https://forum.kirupa.com/u/ka_hendri)\
**Replies:** 0\
**Last updated:** [February 6, 2012, 4:50am UTC](https://forum.kirupa.com/t/who-can-help-me/327095 "2012-02-06T04:50:51Z")

</div>

How to ave game data with AS2

---

## [Calculating a Running Total](https://forum.kirupa.com/t/calculating-a-running-total/327093)

<div class="topic-metadata">

**Author:** [@Snowz](https://forum.kirupa.com/u/Snowz)\
**Replies:** 0\
**Last updated:** [February 5, 2012, 7:50pm UTC](https://forum.kirupa.com/t/calculating-a-running-total/327093 "2012-02-05T19:50:05Z")

</div>

I have some buttons that you press and it makes different types of toppings appear on a burger, but I'd like there to be a cost attributed to each topping and a running total showing the cost in the bottom right corner. …

---

## [Full screen image (Loading bar)](https://forum.kirupa.com/t/full-screen-image-loading-bar/327090)

<div class="topic-metadata">

**Author:** [@WeThePeople](https://forum.kirupa.com/u/WeThePeople)\
**Replies:** 0\
**Last updated:** [February 5, 2012, 8:12am UTC](https://forum.kirupa.com/t/full-screen-image-loading-bar/327090 "2012-02-05T08:12:58Z")

</div>

Hello guys I'm new here and sorry for dummy question and bad english. So I have made full screen image,but I don't know how to create my custom loader linked with my this code. This is my first OOP coding so it's not to …

---

## [Using wrapper div vs styling the html element](https://forum.kirupa.com/t/using-wrapper-div-vs-styling-the-html-element/327088)

<div class="topic-metadata">

**Author:** [@flashgroove](https://forum.kirupa.com/u/flashgroove)\
**Replies:** 0\
**Last updated:** [February 5, 2012, 4:05am UTC](https://forum.kirupa.com/t/using-wrapper-div-vs-styling-the-html-element/327088 "2012-02-05T04:05:48Z")

</div>

I have a question regarding what is a better practice when it is needed to have the site a specific width, like 900px. Is it better to use a wrapper div tag, make the wrapper 900px and style the body tag or make the bo…

---

## [Do stuff after SWF is closed](https://forum.kirupa.com/t/do-stuff-after-swf-is-closed/327087)

<div class="topic-metadata">

**Author:** [@Palladian1881](https://forum.kirupa.com/u/Palladian1881)\
**Replies:** 0\
**Last updated:** [February 5, 2012, 12:33am UTC](https://forum.kirupa.com/t/do-stuff-after-swf-is-closed/327087 "2012-02-05T00:33:42Z")

</div>

Hi all, I'm writing a Flash game for a class that is supposed to test elementary kids' math skills. After each activity is completed, Flash sends the results to our database (e.g., that 8/10 math problems were answered …

---

## [How to Protect SWF files From a Decompiler at website?](https://forum.kirupa.com/t/how-to-protect-swf-files-from-a-decompiler-at-website/327086)

<div class="topic-metadata">

**Author:** [@Yasser\_Ahmed](https://forum.kirupa.com/u/Yasser_Ahmed)\
**Replies:** 0\
**Last updated:** [February 4, 2012, 10:05pm UTC](https://forum.kirupa.com/t/how-to-protect-swf-files-from-a-decompiler-at-website/327086 "2012-02-04T22:05:45Z")

</div>

please help me for this problem because i have an important swf file and i want to make full protection to prevent any one from downloading or saving the content in any way.

---

## [Flash - AS3: Correct/Standard use for filling the user screen in your index.html](https://forum.kirupa.com/t/flash-as3-correct-standard-use-for-filling-the-user-screen-in-your-index-html/327085)

<div class="topic-metadata">

**Author:** [@penmig](https://forum.kirupa.com/u/penmig)\
**Replies:** 0\
**Last updated:** [February 4, 2012, 9:15pm UTC](https://forum.kirupa.com/t/flash-as3-correct-standard-use-for-filling-the-user-screen-in-your-index-html/327085 "2012-02-04T21:15:38Z")

</div>

I've read many solutions on the board about displaying correctly your Flash emmbed site in way to fit the browser screen of your visitors. I've tryied also many suggestions, and I can't get it right. I need to have m…

---

## [Will this code work to replace alternate content with a SWF?](https://forum.kirupa.com/t/will-this-code-work-to-replace-alternate-content-with-a-swf/327082)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [February 4, 2012, 1:30pm UTC](https://forum.kirupa.com/t/will-this-code-work-to-replace-alternate-content-with-a-swf/327082 "2012-02-04T13:30:19Z")

</div>

Hello, I am trying to show alternate content to the user if they don't have Flash player. Will this work? The HTML code. \<script type="text/javascript"\> loadSwfToDiv("c2/data/sld10.swf", "c2",600,500) \</script\> …

---

## [\[Source File inside\] How can I make an object hover once it hits the ground?](https://forum.kirupa.com/t/source-file-inside-how-can-i-make-an-object-hover-once-it-hits-the-ground/327081)

<div class="topic-metadata">

**Author:** [@Pessimistic](https://forum.kirupa.com/u/Pessimistic)\
**Replies:** 0\
**Last updated:** [February 4, 2012, 1:29pm UTC](https://forum.kirupa.com/t/source-file-inside-how-can-i-make-an-object-hover-once-it-hits-the-ground/327081 "2012-02-04T13:29:51Z")

</div>

Hey all, I'm trying to make an object (the orange ball) hover, or come to a halt (as in ease in tweening) once it hits the ground (the white rectangle). When in contact with the ground, it currently bounces: yv-=4; …

---

## [Tracking Viewer In Flash Template Made in AS 2](https://forum.kirupa.com/t/tracking-viewer-in-flash-template-made-in-as-2/327079)

<div class="topic-metadata">

**Author:** [@worthless](https://forum.kirupa.com/u/worthless)\
**Replies:** 0\
**Last updated:** [February 4, 2012, 12:57pm UTC](https://forum.kirupa.com/t/tracking-viewer-in-flash-template-made-in-as-2/327079 "2012-02-04T12:57:37Z")

</div>

Is it possible to track how many people visited my flash website made in AS2. If so what is the method and how can I implement it? Please advice. Thanks.

---

## [Storing MANY images in effeciently](https://forum.kirupa.com/t/storing-many-images-in-effeciently/327074)

<div class="topic-metadata">

**Author:** [@FlashCS5Novice](https://forum.kirupa.com/u/FlashCS5Novice)\
**Replies:** 0\
**Last updated:** [February 4, 2012, 2:25am UTC](https://forum.kirupa.com/t/storing-many-images-in-effeciently/327074 "2012-02-04T02:25:26Z")

</div>

EDIT: Probably should have noticed the terribly worded title I gave this. just ignore "in" \[smile\] I hope this fits here! In a project I am working on, I will have hundreds- no, thousands- of small (32x32 pixels) ima…

---

## [Set and then reset x boundaries](https://forum.kirupa.com/t/set-and-then-reset-x-boundaries/327071)

<div class="topic-metadata">

**Author:** [@jewelsmac6](https://forum.kirupa.com/u/jewelsmac6)\
**Replies:** 0\
**Last updated:** [February 3, 2012, 9:17pm UTC](https://forum.kirupa.com/t/set-and-then-reset-x-boundaries/327071 "2012-02-03T21:17:31Z")

</div>

Hello all! I have been working with some code back and forth but am pretty much stuck now! I have four movie clips of different colored cars - two on the left side off the stage, and two on the right side off the stage. …

---

## [RTL (Right to left Language) in ActionScript 2?](https://forum.kirupa.com/t/rtl-right-to-left-language-in-actionscript-2/327070)

<div class="topic-metadata">

**Author:** [@leeto](https://forum.kirupa.com/u/leeto)\
**Replies:** 0\
**Last updated:** [February 3, 2012, 7:39pm UTC](https://forum.kirupa.com/t/rtl-right-to-left-language-in-actionscript-2/327070 "2012-02-03T19:39:21Z")

</div>

I'm building a multilingual project in Flash using AS2 (workplace requirements), and I am currently targeting Flash Player 10. The data is being loaded externally from XML files to populate Dynamic textfields, and so bec…

---

## [Tweening the canvas position while keeping it's mask position](https://forum.kirupa.com/t/tweening-the-canvas-position-while-keeping-its-mask-position/327067)

<div class="topic-metadata">

**Author:** [@zeeto](https://forum.kirupa.com/u/zeeto)\
**Replies:** 0\
**Last updated:** [February 3, 2012, 4:08pm UTC](https://forum.kirupa.com/t/tweening-the-canvas-position-while-keeping-its-mask-position/327067 "2012-02-03T16:08:01Z")

</div>

Hi guys, I have simple image gallery, where images are placed one next to another and the mask is revealing only one of them. Now I want to tween position of the images, but when I do that the mask is "traveling" alon…

---

## [AIR APP \> Sony Andriod Tablet](https://forum.kirupa.com/t/air-app-sony-andriod-tablet/327066)

<div class="topic-metadata">

**Author:** [@colouredFunk](https://forum.kirupa.com/u/colouredFunk)\
**Replies:** 0\
**Last updated:** [February 3, 2012, 2:44pm UTC](https://forum.kirupa.com/t/air-app-sony-andriod-tablet/327066 "2012-02-03T14:44:32Z")

</div>

Hello, I'm trying deploy a test Air app (Authored Flash CS5.5 IDE) onto a Sony Andriod Tablet. Running Andriod 3.1. I'm not having much luck. My only way of connecting to the tablet is through an SD Card. I've tried …

---

## [How to get a MovieClip from TileList?](https://forum.kirupa.com/t/how-to-get-a-movieclip-from-tilelist/327064)

<div class="topic-metadata">

**Author:** [@divertoso](https://forum.kirupa.com/u/divertoso)\
**Replies:** 0\
**Last updated:** [February 3, 2012, 2:01pm UTC](https://forum.kirupa.com/t/how-to-get-a-movieclip-from-tilelist/327064 "2012-02-03T14:01:08Z")

</div>

Hi I have a TileList witch all my movieclips from library, i wold like to click in item and this item appear on my stage. myTileList.addEventListener(MouseEvent.MOUSE\_DOWN,clicouItemLista); function clicouItemLista…

---

## [Loading random vídeos (mp4) from folder](https://forum.kirupa.com/t/loading-random-videos-mp4-from-folder/327063)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [February 3, 2012, 1:40pm UTC](https://forum.kirupa.com/t/loading-random-videos-mp4-from-folder/327063 "2012-02-03T13:40:33Z")

</div>

Hello The client needs to be able to upload new vídeos to a folder, and the flash should load a video randomly. Is it possible to make the flash to read the folder and load a random vídeo, without having to change the …

---

## [How would these DisplayObjects be garbage collected?](https://forum.kirupa.com/t/how-would-these-displayobjects-be-garbage-collected/327062)

<div class="topic-metadata">

**Author:** [@AS3\_Gringo](https://forum.kirupa.com/u/AS3_Gringo)\
**Replies:** 0\
**Last updated:** [February 3, 2012, 7:54am UTC](https://forum.kirupa.com/t/how-would-these-displayobjects-be-garbage-collected/327062 "2012-02-03T07:54:37Z")

</div>

Let say there is a Class A, it has a timer which updates its x position periodically. So all the instance of Class A will update their own x position. There is another Class B which extends Class A and overrides the func…

---

## [Tutorial: Creating a Vertical CSS Menu](https://forum.kirupa.com/t/tutorial-creating-a-vertical-css-menu/327058)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [February 3, 2012, 7:13am UTC](https://forum.kirupa.com/t/tutorial-creating-a-vertical-css-menu/327058 "2012-02-03T07:13:06Z")

</div>

\[COLOR=#333333\]\[FONT=Segoe UI\]Hi everyone,\[/FONT\]\[/COLOR\] \[COLOR=#333333\]\[FONT=Segoe UI\]This is the place to discuss anything regarding the Creating a Vertical CSS Menu\[/FONT\]\[/COLOR\]\[COLOR=#333333\]\[FONT=Segoe UI\] tutori…

---

## [AS3 Socket Urgent](https://forum.kirupa.com/t/as3-socket-urgent/327056)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [February 3, 2012, 2:40am UTC](https://forum.kirupa.com/t/as3-socket-urgent/327056 "2012-02-03T02:40:25Z")

</div>

Hi I have to read 2 different array of from c++ server using AS3 client. And write 2 different array of bytes to the server. How should I do it? I have established a socket connection. Thanks

---

## [Not exporting](https://forum.kirupa.com/t/not-exporting/327054)

<div class="topic-metadata">

**Author:** [@anakin88](https://forum.kirupa.com/u/anakin88)\
**Replies:** 0\
**Last updated:** [February 2, 2012, 10:49pm UTC](https://forum.kirupa.com/t/not-exporting/327054 "2012-02-02T22:49:43Z")

</div>

Hi. Me and my buddy is having a huge problem. It seems like we have hit a limit in how many assets (movieclips/sounds etc) that we can have in our library. We can export at the moment, but if we put in another cutsce…

---

## [How to randomize a button play?](https://forum.kirupa.com/t/how-to-randomize-a-button-play/327053)

<div class="topic-metadata">

**Author:** [@wittleM3](https://forum.kirupa.com/u/wittleM3)\
**Replies:** 0\
**Last updated:** [February 2, 2012, 10:25pm UTC](https://forum.kirupa.com/t/how-to-randomize-a-button-play/327053 "2012-02-02T22:25:58Z")

</div>

Hello all, I am new to flash and seem to be stuck with this problem. Any guidance would be extremely appreciated. 1 button. 3 animations (red, green, blue) on different layers at different frames (80, 100, 115) in …

---

## [As3 and Database Urgent!](https://forum.kirupa.com/t/as3-and-database-urgent/327052)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [February 2, 2012, 10:08pm UTC](https://forum.kirupa.com/t/as3-and-database-urgent/327052 "2012-02-02T22:08:29Z")

</div>

This is urgent because i need it by saturday. How would I add a object to a "canvas" inside of flash, and whatever is in the this area will populate a database table. So basically there will be movie clips in the area an…

---

## [Question .. Need help](https://forum.kirupa.com/t/question-need-help/327049)

<div class="topic-metadata">

**Author:** [@daggeras008](https://forum.kirupa.com/u/daggeras008)\
**Replies:** 0\
**Last updated:** [February 2, 2012, 4:46pm UTC](https://forum.kirupa.com/t/question-need-help/327049 "2012-02-02T16:46:49Z")

</div>

Can someone explain to me how I can put a rectangular border arround the swf like in this site ? So the edges of the swf cant be seen http://www.thelawyer.gr/ Plzzz

---

## [AS3 SharedObject - last frame](https://forum.kirupa.com/t/as3-sharedobject-last-frame/327047)

<div class="topic-metadata">

**Author:** [@bee89](https://forum.kirupa.com/u/bee89)\
**Replies:** 0\
**Last updated:** [February 2, 2012, 2:34pm UTC](https://forum.kirupa.com/t/as3-sharedobject-last-frame/327047 "2012-02-02T14:34:16Z")

</div>

Hi, Im trying to use the SharedObject to allow the user to return back to where they previously were in the game if they click away.. I've used the following code however It just seems to stick to the next frame. i.e…

---

## [Game performs smoothly in IDE but sloppy in the browser](https://forum.kirupa.com/t/game-performs-smoothly-in-ide-but-sloppy-in-the-browser/327045)

<div class="topic-metadata">

**Author:** [@Asvarox](https://forum.kirupa.com/u/Asvarox)\
**Replies:** 0\
**Last updated:** [February 2, 2012, 1:35pm UTC](https://forum.kirupa.com/t/game-performs-smoothly-in-ide-but-sloppy-in-the-browser/327045 "2012-02-02T13:35:50Z")

</div>

I am currently making for fun a racing game. When it started to get in shape, I decided to try it in a browser. Now, when using CTRL+Enter or running the swf file, it was all working really smoothly. But when I ran it …

---

## [Unknown child calling father](https://forum.kirupa.com/t/unknown-child-calling-father/327042)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [February 2, 2012, 10:12am UTC](https://forum.kirupa.com/t/unknown-child-calling-father/327042 "2012-02-02T10:12:37Z")

</div>

Hi, I have an absurd problem here: I have class A and a child instance of class B: B calls a function of parent class A, and if I try to simply trace B from here (from inside the function in A) I get a null! If I pas…

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

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