# programming

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

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

**Page:** 140

---

## [\[AS3\]\[Box2d 2.02\] Staples Effect](https://forum.kirupa.com/t/as3-box2d-2-02-staples-effect/330088)

<div class="topic-metadata">

**Author:** [@kestor](https://forum.kirupa.com/u/kestor)\
**Replies:** 0\
**Last updated:** [November 28, 2012, 3:59pm UTC](https://forum.kirupa.com/t/as3-box2d-2-02-staples-effect/330088 "2012-11-28T15:59:25Z")

</div>

Hello there. How can one achieve staples effect between 2 bodies in box2d at a click of a mouse? So lets say i have 2 bodies on the stage and if they are close enough and i click the mouse, the bodies get connected like …

---

## [How do I make sound continue even if timeline stops?](https://forum.kirupa.com/t/how-do-i-make-sound-continue-even-if-timeline-stops/330086)

<div class="topic-metadata">

**Author:** [@Lazaros\_Raphael](https://forum.kirupa.com/u/Lazaros_Raphael)\
**Replies:** 0\
**Last updated:** [November 27, 2012, 11:38pm UTC](https://forum.kirupa.com/t/how-do-i-make-sound-continue-even-if-timeline-stops/330086 "2012-11-27T23:38:31Z")

</div>

Hello people, So I have this game I'm making that has different minigames. Each minigame takes only a frame since the game is made through actionscript. So at each frame, I use a stop() code. However, I have a backgro…

---

## [Trying to Get my mario game finished up](https://forum.kirupa.com/t/trying-to-get-my-mario-game-finished-up/330084)

<div class="topic-metadata">

**Author:** [@johnnymac0740](https://forum.kirupa.com/u/johnnymac0740)\
**Replies:** 0\
**Last updated:** [November 27, 2012, 7:05pm UTC](https://forum.kirupa.com/t/trying-to-get-my-mario-game-finished-up/330084 "2012-11-27T19:05:25Z")

</div>

\[FONT=arial\] Hey, I need help with edi ting my mario game. I'm not very familiar with a s2 but I used it for this p roject \[/FONT\]. I'm also having trouble uploading it because the size is too big so if …

---

## [Random Nunber without repeating](https://forum.kirupa.com/t/random-nunber-without-repeating/330081)

<div class="topic-metadata">

**Author:** [@hsiehson](https://forum.kirupa.com/u/hsiehson)\
**Replies:** 0\
**Last updated:** [November 27, 2012, 9:55am UTC](https://forum.kirupa.com/t/random-nunber-without-repeating/330081 "2012-11-27T09:55:38Z")

</div>

Hi all, Thanks for visiting my post. I am creating a learning swf which the person press a button that will generate a random question, with visual aids in associate to it (in my case, its a picture with sound). Becaus…

---

## [Tutorial: All About nth-of-type And nth-child!](https://forum.kirupa.com/t/tutorial-all-about-nth-of-type-and-nth-child/330080)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [November 27, 2012, 7:37am UTC](https://forum.kirupa.com/t/tutorial-all-about-nth-of-type-and-nth-child/330080 "2012-11-27T07:37:22Z")

</div>

\[COLOR=#333333\]Hi everyone,\[/COLOR\] \[COLOR=#333333\]This is the happening place to discuss all things related to the \[/COLOR\]\[All About nth-of-type And nth-child!\](http://www.kirupa.com/html5/all\_about\_nth-of-type\_and\_nth…

---

## [I want to use this animation but stage should be of same browser size?](https://forum.kirupa.com/t/i-want-to-use-this-animation-but-stage-should-be-of-same-browser-size/330079)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [November 26, 2012, 7:58pm UTC](https://forum.kirupa.com/t/i-want-to-use-this-animation-but-stage-should-be-of-same-browser-size/330079 "2012-11-26T19:58:25Z")

</div>

Hi, How can I use this animating clouds on my flash movie? When I am keeping the stage size same as browser size by auto resizing, my flash movie get shrink and expand continuously. http://www.amarasoftware.com/flash…

---

## [Good Flash Compatiable 3D Program?](https://forum.kirupa.com/t/good-flash-compatiable-3d-program/330078)

<div class="topic-metadata">

**Author:** [@reppinfreedom](https://forum.kirupa.com/u/reppinfreedom)\
**Replies:** 0\
**Last updated:** [November 26, 2012, 6:45pm UTC](https://forum.kirupa.com/t/good-flash-compatiable-3d-program/330078 "2012-11-26T18:45:36Z")

</div>

I'm looking for a good 3D program to play around with. I want to create sprite sheets with it. Starting with something simple like a bouncing modified sphere with expressions on it like the original Mario on N64... To …

---

## [Falling Snow for Flash CS4/AS3 - Stop Animation Without Freezing Snow](https://forum.kirupa.com/t/falling-snow-for-flash-cs4-as3-stop-animation-without-freezing-snow/330077)

<div class="topic-metadata">

**Author:** [@ajv615](https://forum.kirupa.com/u/ajv615)\
**Replies:** 0\
**Last updated:** [November 26, 2012, 5:43pm UTC](https://forum.kirupa.com/t/falling-snow-for-flash-cs4-as3-stop-animation-without-freezing-snow/330077 "2012-11-26T17:43:29Z")

</div>

How can I stop my whole animation without freezing the snow? I tried to put stop(); in the last frame and the snow freezes throughout the entire animation.

---

## [External XML file containing destination URL](https://forum.kirupa.com/t/external-xml-file-containing-destination-url/330076)

<div class="topic-metadata">

**Author:** [@honeywood](https://forum.kirupa.com/u/honeywood)\
**Replies:** 0\
**Last updated:** [November 26, 2012, 4:13pm UTC](https://forum.kirupa.com/t/external-xml-file-containing-destination-url/330076 "2012-11-26T16:13:27Z")

</div>

I am trying to find out how to A/S a button that calls an external XML file on the web for it's URL destination. This XML file which would contain the URL link could then be updated without needing to update the Flash…

---

## [Folder Structure save](https://forum.kirupa.com/t/folder-structure-save/330075)

<div class="topic-metadata">

**Author:** [@flashnve](https://forum.kirupa.com/u/flashnve)\
**Replies:** 0\
**Last updated:** [November 26, 2012, 3:05pm UTC](https://forum.kirupa.com/t/folder-structure-save/330075 "2012-11-26T15:05:23Z")

</div>

Hello All, I have been reading a tutorial in regards to creating a login form with mysql and php. In this tutorial it states i should open a new as.file and fla file. Save the as.file as main.as in a new folder called a…

---

## [AS3 slideshow performance-opinions](https://forum.kirupa.com/t/as3-slideshow-performance-opinions/330074)

<div class="topic-metadata">

**Author:** [@sageman01](https://forum.kirupa.com/u/sageman01)\
**Replies:** 0\
**Last updated:** [November 26, 2012, 2:42pm UTC](https://forum.kirupa.com/t/as3-slideshow-performance-opinions/330074 "2012-11-26T14:42:44Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]http://www.sageman01.allalla.com/test/praesentation/ (give it a sec to load, it is offline usage)\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=Arial\]Hello, I have create this slideshow by using GreenSoc…

---

## [Photo Gallery by kirupa - extended](https://forum.kirupa.com/t/photo-gallery-by-kirupa-extended/330068)

<div class="topic-metadata">

**Author:** [@mooimooi](https://forum.kirupa.com/u/mooimooi)\
**Replies:** 0\
**Last updated:** [November 25, 2012, 11:52pm UTC](https://forum.kirupa.com/t/photo-gallery-by-kirupa-extended/330068 "2012-11-25T23:52:04Z")

</div>

Hello, I created my gallery based on this tutorial: http://www.kirupa.com/developer/mx/photogallery.htm Everything works fine until I'm trying to load gallery swf into my master movie clip in different file. I hav…

---

## [AS3 project, performance questions-opinions](https://forum.kirupa.com/t/as3-project-performance-questions-opinions/330067)

<div class="topic-metadata">

**Author:** [@sageman01](https://forum.kirupa.com/u/sageman01)\
**Replies:** 0\
**Last updated:** [November 25, 2012, 11:29pm UTC](https://forum.kirupa.com/t/as3-project-performance-questions-opinions/330067 "2012-11-25T23:29:58Z")

</div>

http://www.sageman01.allalla.com/test/praesentation/ (give it a sec to load, it is for offline systems) Hello, I have create this slideshow in AS3 by using GreenSock tween classes (latest version https://www.greensock.…

---

## [Programming for Android - Button Clicks (Java)](https://forum.kirupa.com/t/programming-for-android-button-clicks-java/330065)

<div class="topic-metadata">

**Author:** [@SoupHead](https://forum.kirupa.com/u/SoupHead)\
**Replies:** 0\
**Last updated:** [November 25, 2012, 6:42pm UTC](https://forum.kirupa.com/t/programming-for-android-button-clicks-java/330065 "2012-11-25T18:42:00Z")

</div>

Hello, I am building a game and am currently setting up the UI right now. I placed image buttons where I want them and I have noticed that if I hold my finger somewhere on the screen (not on a button) and I press a but…

---

## [Help with Playing timeline in reverse](https://forum.kirupa.com/t/help-with-playing-timeline-in-reverse/330062)

<div class="topic-metadata">

**Author:** [@bradholz](https://forum.kirupa.com/u/bradholz)\
**Replies:** 0\
**Last updated:** [November 25, 2012, 6:09am UTC](https://forum.kirupa.com/t/help-with-playing-timeline-in-reverse/330062 "2012-11-25T06:09:07Z")

</div>

Hi if this has been posted before sorry for reposting it having problems trying to play the main timeline in reverse, I have a button on frame 5 and when its pressed want it to end back on frame 1 playing back through…

---

## [AS3 Day night simulator](https://forum.kirupa.com/t/as3-day-night-simulator/330060)

<div class="topic-metadata">

**Author:** [@Hvdstaal](https://forum.kirupa.com/u/Hvdstaal)\
**Replies:** 0\
**Last updated:** [November 24, 2012, 4:02pm UTC](https://forum.kirupa.com/t/as3-day-night-simulator/330060 "2012-11-24T16:02:14Z")

</div>

Hello all! So what i'm trying to create is a landscape with an actual time-based day and night background(sun, moon). This is what i have: night\_mc is a layer for the darkness of the night, set on multiply and the code c…

---

## [\[HELP\] Stopping a function after a set amount of time?](https://forum.kirupa.com/t/help-stopping-a-function-after-a-set-amount-of-time/330059)

<div class="topic-metadata">

**Author:** [@darknath](https://forum.kirupa.com/u/darknath)\
**Replies:** 0\
**Last updated:** [November 24, 2012, 3:49pm UTC](https://forum.kirupa.com/t/help-stopping-a-function-after-a-set-amount-of-time/330059 "2012-11-24T15:49:21Z")

</div>

Hi all, Just as a start off warning, i am really new to this, so there is a possibility of alot of stupid questions.. I have a platformer game which i want to run for XX amount of time, and after that it goes to a ga…

---

## [Most efficient way to dynamically create a maze](https://forum.kirupa.com/t/most-efficient-way-to-dynamically-create-a-maze/330058)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [November 24, 2012, 1:59pm UTC](https://forum.kirupa.com/t/most-efficient-way-to-dynamically-create-a-maze/330058 "2012-11-24T13:59:37Z")

</div>

I am creating a game, where a troll can run around in a maze to find a cheese cake!\* (fun fun fun!)\* So I was thinking about how I should make this maze, it's supposed to be 20x20 blocks. My first thought was to use a …

---

## [Next slide on keypress (AS2)](https://forum.kirupa.com/t/next-slide-on-keypress-as2/330056)

<div class="topic-metadata">

**Author:** [@Ordog](https://forum.kirupa.com/u/Ordog)\
**Replies:** 0\
**Last updated:** [November 24, 2012, 1:55pm UTC](https://forum.kirupa.com/t/next-slide-on-keypress-as2/330056 "2012-11-24T13:55:49Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Sorry posted in the wrong section, can someone delete for me please\[/FONT\]\[/COLOR\]

---

## [Isometric Depth Sorting](https://forum.kirupa.com/t/isometric-depth-sorting/330055)

<div class="topic-metadata">

**Author:** [@reppinfreedom](https://forum.kirupa.com/u/reppinfreedom)\
**Replies:** 0\
**Last updated:** [November 24, 2012, 1:04pm UTC](https://forum.kirupa.com/t/isometric-depth-sorting/330055 "2012-11-24T13:04:32Z")

</div>

I am curious if there is a more efficient way to do isometric depth sorting. Here is how I have done it... The avatar and the other in game npc's that move and all visible game objects are added to an array and in the …

---

## [Manipulating the Timer](https://forum.kirupa.com/t/manipulating-the-timer/330054)

<div class="topic-metadata">

**Author:** [@kazu123](https://forum.kirupa.com/u/kazu123)\
**Replies:** 0\
**Last updated:** [November 24, 2012, 8:56am UTC](https://forum.kirupa.com/t/manipulating-the-timer/330054 "2012-11-24T08:56:56Z")

</div>

Hi, I'm trying to manipulate the timer by using buttons which can add or subtract seconds. I can successfully update the myText1 with the updated value but I once the timer starts, the timer gets back to its original val…

---

## [jQuery re-attaching a div](https://forum.kirupa.com/t/jquery-re-attaching-a-div/330052)

<div class="topic-metadata">

**Author:** [@Neuhaus3000](https://forum.kirupa.com/u/Neuhaus3000)\
**Replies:** 0\
**Last updated:** [November 23, 2012, 7:32pm UTC](https://forum.kirupa.com/t/jquery-re-attaching-a-div/330052 "2012-11-23T19:32:02Z")

</div>

Hello all, I have detached a div and want to re-attach it by clicking on a button. Here's the code... $('#wrapper').detach(); $("#open\_menu").click(function(){ /\* Add something here to re-attach #wrapper \*/ }); A…

---

## [How can I select a state Button?](https://forum.kirupa.com/t/how-can-i-select-a-state-button/330050)

<div class="topic-metadata">

**Author:** [@Rennan\_Dos\_Reis](https://forum.kirupa.com/u/Rennan_Dos_Reis)\
**Replies:** 0\
**Last updated:** [November 23, 2012, 2:58pm UTC](https://forum.kirupa.com/t/how-can-i-select-a-state-button/330050 "2012-11-23T14:58:01Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Hi guys, one more time i need your help. \[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]I´m working in a project which have many buttons, with textfield inside of them. I need to change the t…

---

## [Jigsaw puzzle exact perfect and full overlap problem](https://forum.kirupa.com/t/jigsaw-puzzle-exact-perfect-and-full-overlap-problem/330048)

<div class="topic-metadata">

**Author:** [@hunsnowboarder](https://forum.kirupa.com/u/hunsnowboarder)\
**Replies:** 0\
**Last updated:** [November 23, 2012, 10:50am UTC](https://forum.kirupa.com/t/jigsaw-puzzle-exact-perfect-and-full-overlap-problem/330048 "2012-11-23T10:50:07Z")

</div>

Hi there Everybody! I am quite new to as3 but I am trying hard! \[smile\] My problem is the following. I am trying to make a jigsaw puzzle game. However when I shuffle the puzzle pieces I also add a random rotation to th…

---

## [1083: syntax error: unexpected package](https://forum.kirupa.com/t/1083-syntax-error-unexpected-package/330046)

<div class="topic-metadata">

**Author:** [@monomega](https://forum.kirupa.com/u/monomega)\
**Replies:** 0\
**Last updated:** [November 22, 2012, 5:33pm UTC](https://forum.kirupa.com/t/1083-syntax-error-unexpected-package/330046 "2012-11-22T17:33:27Z")

</div>

I'm new to actionscript, and got this error in my output: 1083: Syntax error: package is unexpected. I did search the forums here and found some people that said that the class is missing or that if it's meant to be on…

---

## [Player changes size after external SWF is just loaded (but not used)](https://forum.kirupa.com/t/player-changes-size-after-external-swf-is-just-loaded-but-not-used/330045)

<div class="topic-metadata">

**Author:** [@Flivor2012](https://forum.kirupa.com/u/Flivor2012)\
**Replies:** 0\
**Last updated:** [November 22, 2012, 3:49pm UTC](https://forum.kirupa.com/t/player-changes-size-after-external-swf-is-just-loaded-but-not-used/330045 "2012-11-22T15:49:38Z")

</div>

I have a flash player I am working on. The stage (and player) size are 640x979. At the bottom of the player I have a control-bar, with play-pause buttons etc. Here is an image of the player (http://s14.postimage.org/asb…

---

## [Flash Login Forms](https://forum.kirupa.com/t/flash-login-forms/330044)

<div class="topic-metadata">

**Author:** [@flashnve](https://forum.kirupa.com/u/flashnve)\
**Replies:** 0\
**Last updated:** [November 22, 2012, 2:21pm UTC](https://forum.kirupa.com/t/flash-login-forms/330044 "2012-11-22T14:21:38Z")

</div>

Is it possible to design a login form in Flash. And, export it as a swf file into a Wordpress website? If yes, i would prefer this alternative has i am unable to find any Wordpress login plugins that i like. Furthermore…

---

## [Publishing for Constrained Mode](https://forum.kirupa.com/t/publishing-for-constrained-mode/330041)

<div class="topic-metadata">

**Author:** [@reppinfreedom](https://forum.kirupa.com/u/reppinfreedom)\
**Replies:** 0\
**Last updated:** [November 22, 2012, 12:23am UTC](https://forum.kirupa.com/t/publishing-for-constrained-mode/330041 "2012-11-22T00:23:31Z")

</div>

Anyone know of a good guide to upgrading Flash CS6 for publishing to FP 11.4+? I always end up screwing up the XML files... Sigh... Why can't adobe just make a simple self installing download for each new swf version r…

---

## [Assigning Text to Field Nested in Button's MCs](https://forum.kirupa.com/t/assigning-text-to-field-nested-in-buttons-mcs/330040)

<div class="topic-metadata">

**Author:** [@xanderdavis](https://forum.kirupa.com/u/xanderdavis)\
**Replies:** 0\
**Last updated:** [November 21, 2012, 10:27pm UTC](https://forum.kirupa.com/t/assigning-text-to-field-nested-in-buttons-mcs/330040 "2012-11-21T22:27:24Z")

</div>

Hey, I've made an animated button in Flash CS6 / AS3. I want to use Button as the symbol type for all of the built-in behavior. I've created a text field that is nested within movie clips building the animation for eac…

---

## [AS3 XML List Attribute or XML push to Array Attribute Sort](https://forum.kirupa.com/t/as3-xml-list-attribute-or-xml-push-to-array-attribute-sort/330039)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [November 21, 2012, 8:30pm UTC](https://forum.kirupa.com/t/as3-xml-list-attribute-or-xml-push-to-array-attribute-sort/330039 "2012-11-21T20:30:36Z")

</div>

Hi All, I'm having a tough time with something. I have an XML file that I've loaded into my project. Just to keep things short, let's just say it looks like this: \<cars\> \<car make="Honda" year="2010"\> …

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

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