# programming

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

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

**Page:** 198

---

## [A small AS3 library to help with event handling and layouts..and some other things](https://forum.kirupa.com/t/a-small-as3-library-to-help-with-event-handling-and-layouts-and-some-other-things/326864)

<div class="topic-metadata">

**Author:** [@bwhiting](https://forum.kirupa.com/u/bwhiting)\
**Replies:** 0\
**Last updated:** [January 17, 2012, 9:49am UTC](https://forum.kirupa.com/t/a-small-as3-library-to-help-with-event-handling-and-layouts-and-some-other-things/326864 "2012-01-17T09:49:12Z")

</div>

Summary: Includes function to help align display objects against each other and an event system to give you a bit more freedom and power whilst reducing how much you type.. Please try it out and let me know any feedbac…

---

## [LInking to particular movieclip from html file](https://forum.kirupa.com/t/linking-to-particular-movieclip-from-html-file/326862)

<div class="topic-metadata">

**Author:** [@Sowmya2012](https://forum.kirupa.com/u/Sowmya2012)\
**Replies:** 0\
**Last updated:** [January 17, 2012, 7:34am UTC](https://forum.kirupa.com/t/linking-to-particular-movieclip-from-html-file/326862 "2012-01-17T07:34:53Z")

</div>

I am using the flash which has welcome animation. inside the flash i have external links to html files. But when i want come back to home page(which is flash) from html page, I need my flash to start from home page not f…

---

## [Zoom specific Building in a DIGITAL MAP](https://forum.kirupa.com/t/zoom-specific-building-in-a-digital-map/326857)

<div class="topic-metadata">

**Author:** [@jeponkz](https://forum.kirupa.com/u/jeponkz)\
**Replies:** 0\
**Last updated:** [January 17, 2012, 2:30am UTC](https://forum.kirupa.com/t/zoom-specific-building-in-a-digital-map/326857 "2012-01-17T02:30:52Z")

</div>

Guys I need Your Help.. I have created a DIGITAL MAP but i have a problem. It goes like this, whenever you click the buildings in the MAP it will automatically "ZOOMS IN", it "ZOOMS IN" in that specific building that y…

---

## [Use same table on different html pages?](https://forum.kirupa.com/t/use-same-table-on-different-html-pages/326853)

<div class="topic-metadata">

**Author:** [@Zenor](https://forum.kirupa.com/u/Zenor)\
**Replies:** 0\
**Last updated:** [January 17, 2012, 12:25am UTC](https://forum.kirupa.com/t/use-same-table-on-different-html-pages/326853 "2012-01-17T00:25:13Z")

</div>

Hello everyone. I have few html pages which include the same table. Is it possible to create a class or template of that table, so if I make changes on one of the pages, I don't have to copy paste it over? So if the ta…

---

## [Finding an optimal steering configuration](https://forum.kirupa.com/t/finding-an-optimal-steering-configuration/326852)

<div class="topic-metadata">

**Author:** [@TOdorus](https://forum.kirupa.com/u/TOdorus)\
**Replies:** 0\
**Last updated:** [January 16, 2012, 10:28pm UTC](https://forum.kirupa.com/t/finding-an-optimal-steering-configuration/326852 "2012-01-16T22:28:58Z")

</div>

I'm working on a game in which the player can build it's own spaceship. The handling of the spaceship is determined by the shape of the ship and the positioning of the thrusters as the game adheres to 2D physics. Now I…

---

## [How to Play Youtube video in Flash AS2 file](https://forum.kirupa.com/t/how-to-play-youtube-video-in-flash-as2-file/326849)

<div class="topic-metadata">

**Author:** [@Michelle\_E](https://forum.kirupa.com/u/Michelle_E)\
**Replies:** 0\
**Last updated:** [January 16, 2012, 7:04pm UTC](https://forum.kirupa.com/t/how-to-play-youtube-video-in-flash-as2-file/326849 "2012-01-16T19:04:01Z")

</div>

I am trying to play a Youtube video in a Flash SWF. I have a button (video\_btn) and a black rectangle movie clip (480 x 365) named video\_mc. The AS2 I have for video\_btn is: video\_btn.onRelease=function(){ createEmpt…

---

## [Seek to end of netstream?](https://forum.kirupa.com/t/seek-to-end-of-netstream/326846)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [January 16, 2012, 12:34pm UTC](https://forum.kirupa.com/t/seek-to-end-of-netstream/326846 "2012-01-16T12:34:26Z")

</div>

Heyo I'm quite sure I haven't had this issue before. So maybe someone here can figure out what's up and why it happens. Problem: I'm playing a stream locally, but when I seek to the absolute end I get this error thrown…

---

## [Flash CS5 iOS Acceleration](https://forum.kirupa.com/t/flash-cs5-ios-acceleration/326844)

<div class="topic-metadata">

**Author:** [@Chiklad](https://forum.kirupa.com/u/Chiklad)\
**Replies:** 0\
**Last updated:** [January 16, 2012, 11:57am UTC](https://forum.kirupa.com/t/flash-cs5-ios-acceleration/326844 "2012-01-16T11:57:08Z")

</div>

hi all? i'm new to flash. And i wanted to create maze game with acceleration for iOS. But i don't know how to create boundary which is stoping AccelerationX, AccelerationY. Help ME??? here is code: import flash.sensors.…

---

## [Page scrolls up on javascript popup](https://forum.kirupa.com/t/page-scrolls-up-on-javascript-popup/326840)

<div class="topic-metadata">

**Author:** [@Zenor](https://forum.kirupa.com/u/Zenor)\
**Replies:** 0\
**Last updated:** [January 16, 2012, 12:11am UTC](https://forum.kirupa.com/t/page-scrolls-up-on-javascript-popup/326840 "2012-01-16T00:11:13Z")

</div>

Hello, so I have this code on my link, which opens a popup window. Problem is when the link is clicked the page(not the external) scrolls up automatically. Any way to fix this? \<a href="#" onclick="window.open('test.h…

---

## [Adobe CS5.5 Game Browser Problem](https://forum.kirupa.com/t/adobe-cs5-5-game-browser-problem/326838)

<div class="topic-metadata">

**Author:** [@Antsuperhack](https://forum.kirupa.com/u/Antsuperhack)\
**Replies:** 0\
**Last updated:** [January 15, 2012, 11:16pm UTC](https://forum.kirupa.com/t/adobe-cs5-5-game-browser-problem/326838 "2012-01-15T23:16:41Z")

</div>

Hey, I have created a bunch of games over the past few years and have been uploading them to my online portfolio. The problem is that one out of the 6-7 games on my portfolio will not load. It shows as a white box. …

---

## [Simple HitTest Not Working?](https://forum.kirupa.com/t/simple-hittest-not-working/326837)

<div class="topic-metadata">

**Author:** [@ChrisW182](https://forum.kirupa.com/u/ChrisW182)\
**Replies:** 0\
**Last updated:** [January 15, 2012, 9:59pm UTC](https://forum.kirupa.com/t/simple-hittest-not-working/326837 "2012-01-15T21:59:48Z")

</div>

Hi guys, i have attached an .fla file to show you what i am trying to achieve, i have a line (acting as a playhead) scrolling accross the screen, i am then wanting it to output to the window when it collides with each of…

---

## [Does AS2 change after Flash 8?](https://forum.kirupa.com/t/does-as2-change-after-flash-8/326836)

<div class="topic-metadata">

**Author:** [@John4213](https://forum.kirupa.com/u/John4213)\
**Replies:** 0\
**Last updated:** [January 15, 2012, 9:02pm UTC](https://forum.kirupa.com/t/does-as2-change-after-flash-8/326836 "2012-01-15T21:02:03Z")

</div>

Hi, just now I upgraded from using Flash 8 to Flash CS5.5 and I was wondering if there has been any changes to ActionScript 2 between Flash 8 and CS5, I don't think there are any changes to the actual scripting but more …

---

## [Drag and drop to any of targets](https://forum.kirupa.com/t/drag-and-drop-to-any-of-targets/326835)

<div class="topic-metadata">

**Author:** [@slunt32](https://forum.kirupa.com/u/slunt32)\
**Replies:** 0\
**Last updated:** [January 15, 2012, 7:24pm UTC](https://forum.kirupa.com/t/drag-and-drop-to-any-of-targets/326835 "2012-01-15T19:24:28Z")

</div>

Hi, I've created a quick drag and drop game using an old tutorial I found, it requires the user to place the correct object on the correct target area. E.g. star shape needs to be placed in the star shaped hole. I want…

---

## [Score not displaying?](https://forum.kirupa.com/t/score-not-displaying/326833)

<div class="topic-metadata">

**Author:** [@Macca26](https://forum.kirupa.com/u/Macca26)\
**Replies:** 0\
**Last updated:** [January 15, 2012, 4:41pm UTC](https://forum.kirupa.com/t/score-not-displaying/326833 "2012-01-15T16:41:44Z")

</div>

Hi again guys, Sorry to post another thread. I'm followings tutorials on displaying/updating score etc. But for some reason my scores and lives are not displaying? My score textfield is "score" and my lives textfield i…

---

## [How to save game scores on iPhone (AIR3)](https://forum.kirupa.com/t/how-to-save-game-scores-on-iphone-air3/326830)

<div class="topic-metadata">

**Author:** [@rei\_flash](https://forum.kirupa.com/u/rei_flash)\
**Replies:** 0\
**Last updated:** [January 15, 2012, 4:37am UTC](https://forum.kirupa.com/t/how-to-save-game-scores-on-iphone-air3/326830 "2012-01-15T04:37:31Z")

</div>

As titled. I am looking at the SharedObject class. Just wonder if I am at the right direction?

---

## [I am so lost... how do I make a simple game loop using delta time?](https://forum.kirupa.com/t/i-am-so-lost-how-do-i-make-a-simple-game-loop-using-delta-time/326828)

<div class="topic-metadata">

**Author:** [@IgiveUp](https://forum.kirupa.com/u/IgiveUp)\
**Replies:** 0\
**Last updated:** [January 15, 2012, 3:30am UTC](https://forum.kirupa.com/t/i-am-so-lost-how-do-i-make-a-simple-game-loop-using-delta-time/326828 "2012-01-15T03:30:40Z")

</div>

I have looked everywhere for an example or tutorial on a delta time game loop in AS3. I found many fixed time step examples but very little helpful information on delta time game loops and how it works. I have seen examp…

---

## [Event Handler](https://forum.kirupa.com/t/event-handler/326825)

<div class="topic-metadata">

**Author:** [@DSlish](https://forum.kirupa.com/u/DSlish)\
**Replies:** 0\
**Last updated:** [January 15, 2012, 2:20am UTC](https://forum.kirupa.com/t/event-handler/326825 "2012-01-15T02:20:30Z")

</div>

I added this code to make a movie clip (gFP) pop up when rolled over and shrink back when rolled off: gFP.addEventListener (MouseEvent.MOUSE\_OVER, goToGFPOver); private function goToGFPOver(e:MouseEvent):void { …

---

## [iPhone to iPad?](https://forum.kirupa.com/t/iphone-to-ipad/326824)

<div class="topic-metadata">

**Author:** [@rei\_flash](https://forum.kirupa.com/u/rei_flash)\
**Replies:** 0\
**Last updated:** [January 15, 2012, 1:59am UTC](https://forum.kirupa.com/t/iphone-to-ipad/326824 "2012-01-15T01:59:51Z")

</div>

I was just asked to make the iPhone app be compatible with iPad, how should I prepare the assets in?? Should I do everything for iPad size and scale things down for iPhone? otherwise things will blurry when put to iPa…

---

## [Help with pre-loader](https://forum.kirupa.com/t/help-with-pre-loader/326820)

<div class="topic-metadata">

**Author:** [@Macca26](https://forum.kirupa.com/u/Macca26)\
**Replies:** 0\
**Last updated:** [January 14, 2012, 8:30pm UTC](https://forum.kirupa.com/t/help-with-pre-loader/326820 "2012-01-14T20:30:22Z")

</div>

Hi Guys, I have a pre-loader swf that runs and then loads my game which is a seperate swf. (I followed a tutorial that told me to do it that way). Anyway when i load the swf file it just loads straight into the new swf…

---

## [Developing for facebook!](https://forum.kirupa.com/t/developing-for-facebook/326817)

<div class="topic-metadata">

**Author:** [@Macca26](https://forum.kirupa.com/u/Macca26)\
**Replies:** 0\
**Last updated:** [January 14, 2012, 1:31pm UTC](https://forum.kirupa.com/t/developing-for-facebook/326817 "2012-01-14T13:31:12Z")

</div>

Morning Everyone, I havn't been on here for a while so I'll start by saying Happy New Year to all \[smile\] I have started getting back into game dev again but I was just curious to know if anyone on here had develope…

---

## [Parsing XML Query](https://forum.kirupa.com/t/parsing-xml-query/326816)

<div class="topic-metadata">

**Author:** [@danhkent](https://forum.kirupa.com/u/danhkent)\
**Replies:** 0\
**Last updated:** [January 14, 2012, 11:45am UTC](https://forum.kirupa.com/t/parsing-xml-query/326816 "2012-01-14T11:45:16Z")

</div>

Hi guys, I've been following the tutorials, and I have to say they are fantastic! Only problem I've got is, an xml file I am trying to parse, using php, has a mixture of data in between tags, and data within tags. Fo…

---

## [Remove AllEventlisteners problem](https://forum.kirupa.com/t/remove-alleventlisteners-problem/326812)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [January 13, 2012, 11:55pm UTC](https://forum.kirupa.com/t/remove-alleventlisteners-problem/326812 "2012-01-13T23:55:15Z")

</div>

Hi there, I have recently started with flash and as3 (recently as in 3 days ago) and have run into a problem that I cannot solve. Was hoping someone can assist. The source file is located here: I am playing with this…

---

## [Controlling Movie Progression in flash cs5](https://forum.kirupa.com/t/controlling-movie-progression-in-flash-cs5/326810)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [January 13, 2012, 9:57pm UTC](https://forum.kirupa.com/t/controlling-movie-progression-in-flash-cs5/326810 "2012-01-13T21:57:23Z")

</div>

Hi, I am new to flash. I have a 2GB Mpeg 4 Movie , i want to set the speed of frame progression by Action script. Example: play 1 frame every X seconds,where X can be a value that i will change the movie is 1920x…

---

## [Sound Control - bug in mute action](https://forum.kirupa.com/t/sound-control-bug-in-mute-action/326809)

<div class="topic-metadata">

**Author:** [@stevie7](https://forum.kirupa.com/u/stevie7)\
**Replies:** 0\
**Last updated:** [January 13, 2012, 6:21pm UTC](https://forum.kirupa.com/t/sound-control-bug-in-mute-action/326809 "2012-01-13T18:21:09Z")

</div>

I am using the following code to mute sound in a flash file - basically turning the volume to 0 or 1. It works fine until I go to a different scene. Once I load a new scene the button no longer works. I know it will …

---

## [clickTag and clickTAG one file that can use both?](https://forum.kirupa.com/t/clicktag-and-clicktag-one-file-that-can-use-both/326808)

<div class="topic-metadata">

**Author:** [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Replies:** 0\
**Last updated:** [January 13, 2012, 3:16pm UTC](https://forum.kirupa.com/t/clicktag-and-clicktag-one-file-that-can-use-both/326808 "2012-01-13T15:16:47Z")

</div>

I have a client that serves thier banners we create for them 2 different ways, one using clickTAG the other using clickTag. Does anyone know if it's possible to have some sort of if statement that would be able to check …

---

## [Moving the camera view when the mouse button down is detected. HELP!](https://forum.kirupa.com/t/moving-the-camera-view-when-the-mouse-button-down-is-detected-help/326807)

<div class="topic-metadata">

**Author:** [@Matt7](https://forum.kirupa.com/u/Matt7)\
**Replies:** 0\
**Last updated:** [January 13, 2012, 3:01pm UTC](https://forum.kirupa.com/t/moving-the-camera-view-when-the-mouse-button-down-is-detected-help/326807 "2012-01-13T15:01:32Z")

</div>

I am quite new to actionscript 3.0 but i'm sure this should be so simple. The objective is to get the camera view to move when the mouse button is down. Here I have managed to get the camera view to move forward usin…

---

## [Checkbox array craziness](https://forum.kirupa.com/t/checkbox-array-craziness/326803)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [January 13, 2012, 4:34am UTC](https://forum.kirupa.com/t/checkbox-array-craziness/326803 "2012-01-13T04:34:26Z")

</div>

In my HTML code I have the following: \<label for="reference\_1" class="labelCheckbox"\> \<input tabindex="20" type="checkbox" name="reference\_1" id="refertype\[\]" class="inputCheckbox" value="Rose madder" /\> …

---

## [Insert](https://forum.kirupa.com/t/insert/326802)

<div class="topic-metadata">

**Author:** [@MrEmerald](https://forum.kirupa.com/u/MrEmerald)\
**Replies:** 0\
**Last updated:** [January 13, 2012, 2:25am UTC](https://forum.kirupa.com/t/insert/326802 "2012-01-13T02:25:38Z")

</div>

My script has a form that I can click submit and after it does all the calculations, it displays the output on the next page. I then give the choice to go back, or save the data into the database but when they click save…

---

## [Add objects using database](https://forum.kirupa.com/t/add-objects-using-database/326800)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [January 13, 2012, 12:32am UTC](https://forum.kirupa.com/t/add-objects-using-database/326800 "2012-01-13T00:32:21Z")

</div>

I basically want to add a circle btn with the same text as in a database. So in the data base I have Red, Blue, Car etc... So I want a circle btn that says red, a circle btn that says Blue, and so on... So basically I wa…

---

## [Static HTML based CMS vs Dynamic CMS](https://forum.kirupa.com/t/static-html-based-cms-vs-dynamic-cms/326796)

<div class="topic-metadata">

**Author:** [@dima777](https://forum.kirupa.com/u/dima777)\
**Replies:** 0\
**Last updated:** [January 12, 2012, 9:17pm UTC](https://forum.kirupa.com/t/static-html-based-cms-vs-dynamic-cms/326796 "2012-01-12T21:17:42Z")

</div>

Hello!) I was wondering if there are CMS systems which allow to generate and manage the content in the static HTML messages. I have not seen one but I have been wondering if the following website is managed with such a s…

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

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