# programming

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

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

**Page:** 133

---

## [Insert a SWF gallery into an FLA website!](https://forum.kirupa.com/t/insert-a-swf-gallery-into-an-fla-website/330489)

<div class="topic-metadata">

**Author:** [@Aris\_Miras](https://forum.kirupa.com/u/Aris_Miras)\
**Replies:** 0\
**Last updated:** [January 29, 2013, 12:58am UTC](https://forum.kirupa.com/t/insert-a-swf-gallery-into-an-fla-website/330489 "2013-01-29T00:58:03Z")

</div>

Hey guys! I ahve this nice Flashw ebsite that I created. I found a cool gallery on the Internet, edited it, reworked it abit(in a new FLA, not the old website one) and now I want to import it into my website. How can…

---

## [Sound stream won't play](https://forum.kirupa.com/t/sound-stream-wont-play/330488)

<div class="topic-metadata">

**Author:** [@straris](https://forum.kirupa.com/u/straris)\
**Replies:** 0\
**Last updated:** [January 29, 2013, 12:34am UTC](https://forum.kirupa.com/t/sound-stream-wont-play/330488 "2013-01-29T00:34:21Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]i am creating an online radio but i am having a weird problem, the code works for 5 times! after that the play button won't function!\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=Arial\]I am not sure if …

---

## [HTML5 Animation](https://forum.kirupa.com/t/html5-animation/330487)

<div class="topic-metadata">

**Author:** [@slunt32](https://forum.kirupa.com/u/slunt32)\
**Replies:** 0\
**Last updated:** [January 28, 2013, 10:03pm UTC](https://forum.kirupa.com/t/html5-animation/330487 "2013-01-28T22:03:59Z")

</div>

Hi, I am currently trying to get an animation I made in After Effects working using HTML5, I'm using sprite sheets and with easeljs, but performance seems terrible. It needs to work on iPad. The dimensions of the web…

---

## [AS3 and Database: Simple Communication](https://forum.kirupa.com/t/as3-and-database-simple-communication/330485)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [January 28, 2013, 9:09pm UTC](https://forum.kirupa.com/t/as3-and-database-simple-communication/330485 "2013-01-28T21:09:45Z")

</div>

\[COLOR=#333333\]\[FONT=lucida grande\]I have a 3d drag drop interface in flash and as3. When I click a "done" a list of strings (the instance names ) of everything on the canvas is generated. All of this is in flash and I w…

---

## [Stopping a Tween](https://forum.kirupa.com/t/stopping-a-tween/330482)

<div class="topic-metadata">

**Author:** [@Rudolfus](https://forum.kirupa.com/u/Rudolfus)\
**Replies:** 0\
**Last updated:** [January 28, 2013, 12:09pm UTC](https://forum.kirupa.com/t/stopping-a-tween/330482 "2013-01-28T12:09:39Z")

</div>

Sup Dawgs Noob here. I'm currently working on a Whack-The-Mole kind of game with paper documents flying in and out of the screen and the player having to stamp the pieces before they exit the screen. Here's what I…

---

## [AS2 registration and login form unresolved](https://forum.kirupa.com/t/as2-registration-and-login-form-unresolved/330479)

<div class="topic-metadata">

**Author:** [@bracelett](https://forum.kirupa.com/u/bracelett)\
**Replies:** 0\
**Last updated:** [January 28, 2013, 7:57am UTC](https://forum.kirupa.com/t/as2-registration-and-login-form-unresolved/330479 "2013-01-28T07:57:25Z")

</div>

Still I'm strugling fixing my as2 script to integrate to my "register.php" and "login.php" stop(); logged = new LoadVars(); registered = new LoadVars(); //error messages err = new Array(); err\[0\] = "Login Failed."; …

---

## [Flash CS6 to Android 4.1 (Jellybean)](https://forum.kirupa.com/t/flash-cs6-to-android-4-1-jellybean/330473)

<div class="topic-metadata">

**Author:** [@blackjersey](https://forum.kirupa.com/u/blackjersey)\
**Replies:** 0\
**Last updated:** [January 27, 2013, 4:54am UTC](https://forum.kirupa.com/t/flash-cs6-to-android-4-1-jellybean/330473 "2013-01-27T04:54:43Z")

</div>

Hello, The fact that Adobe pulled Flash from mobile, will creating content from Flash CS6 to publish in Android (APK) still work on the mobile device? Since Android Jellybean does not fully support Flash anymore I'm wo…

---

## [Convert SWF into jpeg/png](https://forum.kirupa.com/t/convert-swf-into-jpeg-png/330472)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [January 26, 2013, 8:32pm UTC](https://forum.kirupa.com/t/convert-swf-into-jpeg-png/330472 "2013-01-26T20:32:35Z")

</div>

Hello there! I have thousands of millions of swf-files that I would like to convert to jpeg \*\*or \*\*png-format. The swf's are containing just an vectorized image, nothing more. If anyone know any nice tool for this I woul…

---

## [\[Need help\] How to store data on server](https://forum.kirupa.com/t/need-help-how-to-store-data-on-server/330471)

<div class="topic-metadata">

**Author:** [@gcttirth](https://forum.kirupa.com/u/gcttirth)\
**Replies:** 0\
**Last updated:** [January 26, 2013, 1:13pm UTC](https://forum.kirupa.com/t/need-help-how-to-store-data-on-server/330471 "2013-01-26T13:13:41Z")

</div>

Hello! First of all, we are novice learners and would like to thank Kirupa for all the resources, help and tutorials they have provided. I and my friends have been developing a project and would like to know how we c…

---

## [Loading 2 MovieClips into Empty Frame](https://forum.kirupa.com/t/loading-2-movieclips-into-empty-frame/330470)

<div class="topic-metadata">

**Author:** [@Patsail1](https://forum.kirupa.com/u/Patsail1)\
**Replies:** 0\
**Last updated:** [January 26, 2013, 10:41am UTC](https://forum.kirupa.com/t/loading-2-movieclips-into-empty-frame/330470 "2013-01-26T10:41:51Z")

</div>

I am trying to create an Empty movieClip that holds two movies. (To eventually hold a 3rd Clip) The 'Scrolling Background' (created in 1 frame) being the lowest level & 'Scroll Around' (created in 3 frames) at the next …

---

## [How to center my footer?](https://forum.kirupa.com/t/how-to-center-my-footer/330469)

<div class="topic-metadata">

**Author:** [@VillaRava](https://forum.kirupa.com/u/VillaRava)\
**Replies:** 0\
**Last updated:** [January 26, 2013, 10:38am UTC](https://forum.kirupa.com/t/how-to-center-my-footer/330469 "2013-01-26T10:38:36Z")

</div>

This certainly shouldn't be a problem but here I am. The attached file shows the basics for a website with a header and footer and a centered swf. Everything works apart from footer2 (marked as blue). footer2 is supposed…

---

## [GESTURE\_SWIPE with StageWebView](https://forum.kirupa.com/t/gesture-swipe-with-stagewebview/330468)

<div class="topic-metadata">

**Author:** [@bradholz](https://forum.kirupa.com/u/bradholz)\
**Replies:** 0\
**Last updated:** [January 26, 2013, 1:19am UTC](https://forum.kirupa.com/t/gesture-swipe-with-stagewebview/330468 "2013-01-26T01:19:31Z")

</div>

i have my SWIPE GESTURE on my scene 1 and i have my WebView inside of a movieclip. Is there a way to remove the webview from the stage when i use the SWIPE GESTURE Multitouch.inputMode = MultitouchInputMode.GESTURE;st…

---

## [Can A variable change be detected?](https://forum.kirupa.com/t/can-a-variable-change-be-detected/330464)

<div class="topic-metadata">

**Author:** [@FJW](https://forum.kirupa.com/u/FJW)\
**Replies:** 0\
**Last updated:** [January 25, 2013, 1:29pm UTC](https://forum.kirupa.com/t/can-a-variable-change-be-detected/330464 "2013-01-25T13:29:42Z")

</div>

Hi once again I have one of my usual switch statements that perhaps shows my age:-) The code snippet shows 2 key presses that set oldText to a String. What I am looking for is to detect the text change from "Forward" to…

---

## [MouseEvent Listener to Shape?](https://forum.kirupa.com/t/mouseevent-listener-to-shape/330463)

<div class="topic-metadata">

**Author:** [@Vincentas](https://forum.kirupa.com/u/Vincentas)\
**Replies:** 0\
**Last updated:** [January 25, 2013, 1:24pm UTC](https://forum.kirupa.com/t/mouseevent-listener-to-shape/330463 "2013-01-25T13:24:47Z")

</div>

Hey. This is a pretty straightforward question.. is it possible to add a MouseEvent listener to a shape? I've been trying and for some reason it's not working. I'm not sure if I'm doing something wrong, or if you j…

---

## [Smudge and Erase Image using Flash and AS3](https://forum.kirupa.com/t/smudge-and-erase-image-using-flash-and-as3/330460)

<div class="topic-metadata">

**Author:** [@amit\_r007](https://forum.kirupa.com/u/amit_r007)\
**Replies:** 0\
**Last updated:** [January 25, 2013, 7:41am UTC](https://forum.kirupa.com/t/smudge-and-erase-image-using-flash-and-as3/330460 "2013-01-25T07:41:44Z")

</div>

Hi, I am developing an app where in I have to smudge and erase a portion of the image which is loaded on stage. The logic I am using is adding two Images on stage one above the other. I am able to smudge the image w…

---

## [onRelease vs for loop](https://forum.kirupa.com/t/onrelease-vs-for-loop/330453)

<div class="topic-metadata">

**Author:** [@JohnCar](https://forum.kirupa.com/u/JohnCar)\
**Replies:** 0\
**Last updated:** [January 24, 2013, 8:33am UTC](https://forum.kirupa.com/t/onrelease-vs-for-loop/330453 "2013-01-24T08:33:50Z")

</div>

hi. I need to get the x, y.I can not convert AS2 to AS3. AS2: for (x = 0; x \< 5; x++){ for (y = 0; y \< 5; y++){ var tile = mc.attachMovie("Tile", "Tile" + depth, depth++); tile.\_x = spacing \* (x …

---

## [MOUSE\_OUT listener fires continually](https://forum.kirupa.com/t/mouse-out-listener-fires-continually/330450)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [January 23, 2013, 10:21pm UTC](https://forum.kirupa.com/t/mouse-out-listener-fires-continually/330450 "2013-01-23T22:21:08Z")

</div>

I have a sprite (circle) that I wish to drag, and when I mouse over it a custom cursor appears. var circle = new Circle(); addChild(circle); circle.x = circle.y = 150; var customCursor = new OpenHandCursor(); addChild…

---

## [Create List of Objects as3](https://forum.kirupa.com/t/create-list-of-objects-as3/330449)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [January 23, 2013, 8:43pm UTC](https://forum.kirupa.com/t/create-list-of-objects-as3/330449 "2013-01-23T20:43:45Z")

</div>

I have three circles: a red, a blue, and a green. Each one is draggable. There is a yellow box, this is the canvas per se. And a "DONE" button. What I'm trying to do is when the "DONE" button is clicked a list is complie…

---

## [OOP and Getter problem...again](https://forum.kirupa.com/t/oop-and-getter-problem-again/330448)

<div class="topic-metadata">

**Author:** [@FJW](https://forum.kirupa.com/u/FJW)\
**Replies:** 0\
**Last updated:** [January 23, 2013, 2:25pm UTC](https://forum.kirupa.com/t/oop-and-getter-problem-again/330448 "2013-01-23T14:25:35Z")

</div>

Hi once again I thought I understood Getter and Setter but it seems not well enough. I need a class from where I can access a variable to any other class. The code bits show 3 classes Xfer,Kraft and Menu. Kraft sends th…

---

## [Looking for a way to import a block of code?](https://forum.kirupa.com/t/looking-for-a-way-to-import-a-block-of-code/330447)

<div class="topic-metadata">

**Author:** [@Vincentas](https://forum.kirupa.com/u/Vincentas)\
**Replies:** 0\
**Last updated:** [January 23, 2013, 1:42pm UTC](https://forum.kirupa.com/t/looking-for-a-way-to-import-a-block-of-code/330447 "2013-01-23T13:42:26Z")

</div>

Hi there, I have a group of navigational links at the bottom of all my web pages and whenever I create a new page I have to go through all pages and add the new page to the list of links. Is there a way to have …

---

## [AS2 Sounds play once while repeating the animation clip](https://forum.kirupa.com/t/as2-sounds-play-once-while-repeating-the-animation-clip/330445)

<div class="topic-metadata">

**Author:** [@bracelett](https://forum.kirupa.com/u/bracelett)\
**Replies:** 0\
**Last updated:** [January 23, 2013, 7:51am UTC](https://forum.kirupa.com/t/as2-sounds-play-once-while-repeating-the-animation-clip/330445 "2013-01-23T07:51:45Z")

</div>

I want my sound play only once, I make 3 buttons which the enter, repeat intro and obcourse the play and stop button on the other side.On the 1 and 2nd frame on my timeline i put the preloader so the animation start in f…

---

## [Flash Changes your document size](https://forum.kirupa.com/t/flash-changes-your-document-size/330442)

<div class="topic-metadata">

**Author:** [@FlashUserNull](https://forum.kirupa.com/u/FlashUserNull)\
**Replies:** 0\
**Last updated:** [January 22, 2013, 5:34pm UTC](https://forum.kirupa.com/t/flash-changes-your-document-size/330442 "2013-01-22T17:34:47Z")

</div>

Is anyone aware that in the attempt to get rid of the context menu in flash (the bar up top that says file, view, control, help) by using: import flash.ui.ContextMenu; stage.showDefaultContextMenu = false; it adds 1…

---

## [Please help on (root) - variable](https://forum.kirupa.com/t/please-help-on-root-variable/330441)

<div class="topic-metadata">

**Author:** [@eggblade](https://forum.kirupa.com/u/eggblade)\
**Replies:** 0\
**Last updated:** [January 22, 2013, 3:50pm UTC](https://forum.kirupa.com/t/please-help-on-root-variable/330441 "2013-01-22T15:50:51Z")

</div>

Can I call a function (variable) with a deep nested button? var sushi:Number = 1; and then from a deep deep nested button within some movie clips : button.addEventListener(MouseEvent.CLICK, sushiset); function s…

---

## [IE 8 background problem](https://forum.kirupa.com/t/ie-8-background-problem/330440)

<div class="topic-metadata">

**Author:** [@Vincentas](https://forum.kirupa.com/u/Vincentas)\
**Replies:** 0\
**Last updated:** [January 22, 2013, 12:22pm UTC](https://forum.kirupa.com/t/ie-8-background-problem/330440 "2013-01-22T12:22:23Z")

</div>

\[COLOR=#282828\]\[FONT=helvetica\]Hi there, \[/FONT\]\[/COLOR\] \[COLOR=#282828\]\[FONT=helvetica\]Got a problem, not sure what is to blame!\[/FONT\]\[/COLOR\] \[COLOR=#282828\]\[FONT=helvetica\]Basically, hand-coding a local news site, …

---

## [Tutorial: Looping a CSS Transition](https://forum.kirupa.com/t/tutorial-looping-a-css-transition/330439)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [January 22, 2013, 2:12am UTC](https://forum.kirupa.com/t/tutorial-looping-a-css-transition/330439 "2013-01-22T02:12:39Z")

</div>

\[COLOR=#333333\]Hi everyone,\[/COLOR\] \[COLOR=#333333\]This is the happening place to discuss the Looping a CSS Transition\[/COLOR\]\[COLOR=#333333\] tutorial.\[/COLOR\] \[COLOR=#333333\]Cheers,\[/COLOR\] \[COLOR=#333333\]Kirupa \[/COL…

---

## [Close and minimise to game](https://forum.kirupa.com/t/close-and-minimise-to-game/330438)

<div class="topic-metadata">

**Author:** [@catcat31](https://forum.kirupa.com/u/catcat31)\
**Replies:** 0\
**Last updated:** [January 21, 2013, 9:44pm UTC](https://forum.kirupa.com/t/close-and-minimise-to-game/330438 "2013-01-21T21:44:32Z")

</div>

How do I add a close and minimise to this matching game please?

---

## [Removing this effect](https://forum.kirupa.com/t/removing-this-effect/330437)

<div class="topic-metadata">

**Author:** [@Casey\_Kloss](https://forum.kirupa.com/u/Casey_Kloss)\
**Replies:** 0\
**Last updated:** [January 21, 2013, 4:33pm UTC](https://forum.kirupa.com/t/removing-this-effect/330437 "2013-01-21T16:33:32Z")

</div>

http://www.kirupa.com/developer/mx/snow2.htm So, I incorporated the effect shown in this tutorial into a project thing I'm working on. It's working fine but I've noticed that it plays on all of my frames. I only want i…

---

## [Download latest flash compiler](https://forum.kirupa.com/t/download-latest-flash-compiler/330436)

<div class="topic-metadata">

**Author:** [@Vincentas](https://forum.kirupa.com/u/Vincentas)\
**Replies:** 0\
**Last updated:** [January 21, 2013, 1:02pm UTC](https://forum.kirupa.com/t/download-latest-flash-compiler/330436 "2013-01-21T13:02:26Z")

</div>

Hi there, I am using Flash CS6 for flash player 11.2, but I want to use the Worker feature which is released in flash player 11.4 and abobe only. So right now whenever I import a flash.system. Worker, I get a compil…

---

## [AS3 Variable not defined Reference error 1065](https://forum.kirupa.com/t/as3-variable-not-defined-reference-error-1065/330432)

<div class="topic-metadata">

**Author:** [@mohsinre](https://forum.kirupa.com/u/mohsinre)\
**Replies:** 0\
**Last updated:** [January 21, 2013, 9:19am UTC](https://forum.kirupa.com/t/as3-variable-not-defined-reference-error-1065/330432 "2013-01-21T09:19:08Z")

</div>

I keep getting this error for every single symbol that I have in the library that is linked to actionscript... I have searched everywhere for this and cannot find a solution that works for me! I have everything set up ex…

---

## [How to set bring level of dynamic text to top layer](https://forum.kirupa.com/t/how-to-set-bring-level-of-dynamic-text-to-top-layer/330430)

<div class="topic-metadata">

**Author:** [@CadMonkey](https://forum.kirupa.com/u/CadMonkey)\
**Replies:** 0\
**Last updated:** [January 20, 2013, 6:30pm UTC](https://forum.kirupa.com/t/how-to-set-bring-level-of-dynamic-text-to-top-layer/330430 "2013-01-20T18:30:14Z")

</div>

Hi I hope someone can help me, as I'm not a coder. I am trying to modify a random image gallery template in AS2. Basically the gallery is just the image with some scrolling thumbs on the right side. I moved a text field…

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

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