# programming

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

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

**Page:** 100

---

## [Reloading saved bitmap image from Shared Object in another Movieclip?](https://forum.kirupa.com/t/reloading-saved-bitmap-image-from-shared-object-in-another-movieclip/332307)

<div class="topic-metadata">

**Author:** [@AScriptWriter](https://forum.kirupa.com/u/AScriptWriter)\
**Replies:** 0\
**Last updated:** [April 11, 2014, 8:27pm UTC](https://forum.kirupa.com/t/reloading-saved-bitmap-image-from-shared-object-in-another-movieclip/332307 "2014-04-11T20:27:02Z")

</div>

Hi all, I've encountered a pretty frustrating issue and was hoping for some guidance. Basically, I'm taking a a screenshot of a section of the stage using a bitmap and a matrix which I then encode into a bytearray using …

---

## [Help With X & Y for Bullet](https://forum.kirupa.com/t/help-with-x-y-for-bullet/332305)

<div class="topic-metadata">

**Author:** [@Beacle](https://forum.kirupa.com/u/Beacle)\
**Replies:** 0\
**Last updated:** [April 11, 2014, 3:32am UTC](https://forum.kirupa.com/t/help-with-x-y-for-bullet/332305 "2014-04-11T03:32:52Z")

</div>

Hello There, Im in urgent help with getting a bullet to spawn where the gun is.. The gun is inside the char.. (ill skip all my other code..i just want to explain my problem) function onEnterFrame(){ if(Key.isDown(Ke…

---

## [Stop a Class instead of removeChild?](https://forum.kirupa.com/t/stop-a-class-instead-of-removechild/332303)

<div class="topic-metadata">

**Author:** [@tifany](https://forum.kirupa.com/u/tifany)\
**Replies:** 0\
**Last updated:** [April 10, 2014, 3:44am UTC](https://forum.kirupa.com/t/stop-a-class-instead-of-removechild/332303 "2014-04-10T03:44:29Z")

</div>

I have combined motion tweening and a programmed class animation in Flash. I want to stop the class when the rest of the animation stops at the last frame. I have stop(); on the last frame, but this only stops the tweene…

---

## [XML flash a.s. 2 table HELP](https://forum.kirupa.com/t/xml-flash-a-s-2-table-help/332302)

<div class="topic-metadata">

**Author:** [@Marco\_Forton](https://forum.kirupa.com/u/Marco_Forton)\
**Replies:** 0\
**Last updated:** [April 9, 2014, 9:49pm UTC](https://forum.kirupa.com/t/xml-flash-a-s-2-table-help/332302 "2014-04-09T21:49:43Z")

</div>

Hello i have recreated the xml data into flash succesfully as explained by this tutorial. http://www.kirupa.com/web/xml/examples/sortedgradeslist.htm now i wanted to have a button behavior or a link into one of the item …

---

## [Game SFX and music using classes](https://forum.kirupa.com/t/game-sfx-and-music-using-classes/332301)

<div class="topic-metadata">

**Author:** [@AScriptWriter](https://forum.kirupa.com/u/AScriptWriter)\
**Replies:** 0\
**Last updated:** [April 9, 2014, 4:58pm UTC](https://forum.kirupa.com/t/game-sfx-and-music-using-classes/332301 "2014-04-09T16:58:08Z")

</div>

Hi all, I am developing a flash game currently and was hoping you could please help me with some issues I am experiencing having. The game I’m making uses actionscript class files so no code is placed directly on the m…

---

## [How do I account for JavaScript's complete disrespect of "this"?](https://forum.kirupa.com/t/how-do-i-account-for-javascripts-complete-disrespect-of-this/332300)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [April 9, 2014, 6:44am UTC](https://forum.kirupa.com/t/how-do-i-account-for-javascripts-complete-disrespect-of-this/332300 "2014-04-09T06:44:15Z")

</div>

(Note, this is a rant in disguise, but I really would like a solution too) I run into this problem quite a bit. Perhaps I'm just too used to the predictability of AS3, but there is often no easy way to avoid JavaScript…

---

## [Track list](https://forum.kirupa.com/t/track-list/332297)

<div class="topic-metadata">

**Author:** [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Replies:** 0\
**Last updated:** [April 8, 2014, 11:39pm UTC](https://forum.kirupa.com/t/track-list/332297 "2014-04-08T23:39:10Z")

</div>

Hi guys \[smile\] OK ! I have designed a flash as3 mp3Player and all works great. \[ something like winamp \] 1# Is there a way that I can write an XML file to specify the directory & the number of mp3s in the specified d…

---

## [Action with html5 and forms](https://forum.kirupa.com/t/action-with-html5-and-forms/332289)

<div class="topic-metadata">

**Author:** [@canadian\_gal](https://forum.kirupa.com/u/canadian_gal)\
**Replies:** 0\
**Last updated:** [April 7, 2014, 12:49am UTC](https://forum.kirupa.com/t/action-with-html5-and-forms/332289 "2014-04-07T00:49:32Z")

</div>

What exactly does it mean when you see action="/" or action=" ". I understand what action does, but I don't understand what the double quotes with the / or what it means with a space. .

---

## [Converting Arrays to ints](https://forum.kirupa.com/t/converting-arrays-to-ints/332287)

<div class="topic-metadata">

**Author:** [@AK712](https://forum.kirupa.com/u/AK712)\
**Replies:** 0\
**Last updated:** [April 5, 2014, 7:37pm UTC](https://forum.kirupa.com/t/converting-arrays-to-ints/332287 "2014-04-05T19:37:08Z")

</div>

Hello, I am having a big problem with one of my programs. In this program, a user enters text into an input box in the form of "86;21;34;02;13", and, each of these is put into an array called mydata. Unfortunately, all…

---

## [\[FlashPro8/AS2\]Remove first line in dynamic-text.text](https://forum.kirupa.com/t/flashpro8-as2-remove-first-line-in-dynamic-text-text/332286)

<div class="topic-metadata">

**Author:** [@cupz](https://forum.kirupa.com/u/cupz)\
**Replies:** 0\
**Last updated:** [April 5, 2014, 5:25pm UTC](https://forum.kirupa.com/t/flashpro8-as2-remove-first-line-in-dynamic-text-text/332286 "2014-04-05T17:25:22Z")

</div>

Hello, I am new here. I think I'm going to stick around since it looks like the only place where people don't turn AS2 questions into "there is no reason not to use AS3" hatewalls. Shut up, as2 is a marvelous learning la…

---

## [Looking for Simple Client-Server Database Solution for AIR App](https://forum.kirupa.com/t/looking-for-simple-client-server-database-solution-for-air-app/332285)

<div class="topic-metadata">

**Author:** [@tartunian](https://forum.kirupa.com/u/tartunian)\
**Replies:** 0\
**Last updated:** [April 4, 2014, 8:58pm UTC](https://forum.kirupa.com/t/looking-for-simple-client-server-database-solution-for-air-app/332285 "2014-04-04T20:58:51Z")

</div>

Hey guys, I'm having a bit of trouble finding a web service or server based database that I can understand. I have never really ventured out past Actionscript or Java but I feel like my needs are pretty simple. All I n…

---

## [Increase number when another number increases](https://forum.kirupa.com/t/increase-number-when-another-number-increases/332284)

<div class="topic-metadata">

**Author:** [@JmacUSAF](https://forum.kirupa.com/u/JmacUSAF)\
**Replies:** 0\
**Last updated:** [April 4, 2014, 5:14pm UTC](https://forum.kirupa.com/t/increase-number-when-another-number-increases/332284 "2014-04-04T17:14:32Z")

</div>

This is probably really easy! I have a program where kids can record the laps they run. Depending on how many laps, their level may increase. Level 1 has laps 1,2,3,4,5,6,7,8....Level 2 has laps 10, 11, 12, 13, 14, 1…

---

## [Frame budgets with requestAnimationFrame](https://forum.kirupa.com/t/frame-budgets-with-requestanimationframe/332281)

<div class="topic-metadata">

**Author:** [@krilnon](https://forum.kirupa.com/u/krilnon)\
**Replies:** 0\
**Last updated:** [April 3, 2014, 5:22am UTC](https://forum.kirupa.com/t/frame-budgets-with-requestanimationframe/332281 "2014-04-03T05:22:14Z")

</div>

I have some code where I'm moving some objects with requestAnimationFrame. On my machine it so happens that the number of objects being moved makes the page render at 50 or so FPS with frequent temporary drops. If I ad…

---

## [Main.asc file](https://forum.kirupa.com/t/main-asc-file/332279)

<div class="topic-metadata">

**Author:** [@quest20](https://forum.kirupa.com/u/quest20)\
**Replies:** 0\
**Last updated:** [April 2, 2014, 1:18pm UTC](https://forum.kirupa.com/t/main-asc-file/332279 "2014-04-02T13:18:01Z")

</div>

Hi, Maybe I am just dumb to ask this question. I am using FMS. I am building a chat application. I have created two files one file is to bootstap peers. And, the second file I created is to distribute introductions acr…

---

## [Underline position and thickness](https://forum.kirupa.com/t/underline-position-and-thickness/332277)

<div class="topic-metadata">

**Author:** [@raghu\_thejus](https://forum.kirupa.com/u/raghu_thejus)\
**Replies:** 0\
**Last updated:** [April 1, 2014, 4:36pm UTC](https://forum.kirupa.com/t/underline-position-and-thickness/332277 "2014-04-01T16:36:42Z")

</div>

I have a input box where can apply underline for the selected text.When underline is applied using textformat the line is coming just near to text.If any descendent letters like 'g','q','p','j' or 'y' is present in text …

---

## [Zooming children of container](https://forum.kirupa.com/t/zooming-children-of-container/332276)

<div class="topic-metadata">

**Author:** [@mrpercival](https://forum.kirupa.com/u/mrpercival)\
**Replies:** 0\
**Last updated:** [April 1, 2014, 11:21am UTC](https://forum.kirupa.com/t/zooming-children-of-container/332276 "2014-04-01T11:21:58Z")

</div>

I have a container (containerA) and inside that is many child MCs. I am wanting to zoom the children so that the container still takes up the same space on the screen but is zoomed and I then need to pan around to see …

---

## [MovieClip Randon?](https://forum.kirupa.com/t/movieclip-randon/332275)

<div class="topic-metadata">

**Author:** [@Teycer](https://forum.kirupa.com/u/Teycer)\
**Replies:** 0\
**Last updated:** [April 1, 2014, 1:29am UTC](https://forum.kirupa.com/t/movieclip-randon/332275 "2014-04-01T01:29:56Z")

</div>

As I can show on flash movieclip Ramdon? I have 50 movie clip each have a value defined for me. I want to show flash movieclip 12, but not repeated. An example would be a game of cards each card is unique and can not …

---

## [Looking for help with a random number generation animation](https://forum.kirupa.com/t/looking-for-help-with-a-random-number-generation-animation/332274)

<div class="topic-metadata">

**Author:** [@Fernin](https://forum.kirupa.com/u/Fernin)\
**Replies:** 0\
**Last updated:** [March 31, 2014, 10:05pm UTC](https://forum.kirupa.com/t/looking-for-help-with-a-random-number-generation-animation/332274 "2014-03-31T22:05:44Z")

</div>

Hello, all! Newcomer to the forum here, trying to work out how to start on a new animation. A little over a year ago, I cobbled together a little program, an animation to spice up a random number generator to pick a r…

---

## [How do i make my rectangle turn around an object?](https://forum.kirupa.com/t/how-do-i-make-my-rectangle-turn-around-an-object/332273)

<div class="topic-metadata">

**Author:** [@MrCrostataH](https://forum.kirupa.com/u/MrCrostataH)\
**Replies:** 0\
**Last updated:** [March 31, 2014, 5:57pm UTC](https://forum.kirupa.com/t/how-do-i-make-my-rectangle-turn-around-an-object/332273 "2014-03-31T17:57:49Z")

</div>

I know how to move an object with keyboard but i have no idea how to make a rectangle be always a certain number of pixels near an object ( that can move with WASD ) and make it turn around that object with the beyboard.…

---

## [GraphicsBitmapFill created by Flash IDE has invalid BitmapData](https://forum.kirupa.com/t/graphicsbitmapfill-created-by-flash-ide-has-invalid-bitmapdata/332272)

<div class="topic-metadata">

**Author:** [@jrmcv](https://forum.kirupa.com/u/jrmcv)\
**Replies:** 0\
**Last updated:** [March 31, 2014, 3:04pm UTC](https://forum.kirupa.com/t/graphicsbitmapfill-created-by-flash-ide-has-invalid-bitmapdata/332272 "2014-03-31T15:04:59Z")

</div>

Hi, I am trying to access a bitmap object which has no linkage and has been added directly to the timeline in the Flash IDE. When I look through the children of the display object container I see flash has converted all…

---

## [Puzzling me :/](https://forum.kirupa.com/t/puzzling-me/332268)

<div class="topic-metadata">

**Author:** [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Replies:** 0\
**Last updated:** [March 29, 2014, 6:04am UTC](https://forum.kirupa.com/t/puzzling-me/332268 "2014-03-29T06:04:45Z")

</div>

function playSong(e:MouseEvent):void{ channel = snd.play(pos); songInfo.scrollingText.tf.text = (artist + " - " + songName).toUpperCase(); lineMetrics = songInfo.scrollingText.tf.getLineMetrics(0); startX = lineMetri…

---

## [AS3 and NetConnection problems](https://forum.kirupa.com/t/as3-and-netconnection-problems/332267)

<div class="topic-metadata">

**Author:** [@Edge](https://forum.kirupa.com/u/Edge)\
**Replies:** 0\
**Last updated:** [March 29, 2014, 4:26am UTC](https://forum.kirupa.com/t/as3-and-netconnection-problems/332267 "2014-03-29T04:26:37Z")

</div>

So, I have a NetConnection established and the SSAS calls a function of its client object. In said function, certain things need to happen based on the caller parameters where the results are only available upon event co…

---

## [Someone who is good with Math/Triq Plz Help](https://forum.kirupa.com/t/someone-who-is-good-with-math-triq-plz-help/332265)

<div class="topic-metadata">

**Author:** [@tartunian](https://forum.kirupa.com/u/tartunian)\
**Replies:** 0\
**Last updated:** [March 27, 2014, 11:33pm UTC](https://forum.kirupa.com/t/someone-who-is-good-with-math-triq-plz-help/332265 "2014-03-27T23:33:05Z")

</div>

Hey guys, Im just messing around with AS3 and math and right now I have a program that generates cosine waves BUT it is out of phase for some reason. package { import flash.display.MovieClip; import…

---

## [Which approach is best to create a responsive html page?](https://forum.kirupa.com/t/which-approach-is-best-to-create-a-responsive-html-page/332264)

<div class="topic-metadata">

**Author:** [@lakshkhamesra](https://forum.kirupa.com/u/lakshkhamesra)\
**Replies:** 0\
**Last updated:** [March 27, 2014, 5:36am UTC](https://forum.kirupa.com/t/which-approach-is-best-to-create-a-responsive-html-page/332264 "2014-03-27T05:36:21Z")

</div>

I have designed 3 versions of a web page - desktop, tablet and mobile. Content is same but layout is different. Which approach is best to convert the page to responsive html: a) Separate html files b) Separate CSS files c…

---

## [Require Text Input Before Continue & If Statement Malfunctions](https://forum.kirupa.com/t/require-text-input-before-continue-if-statement-malfunctions/332263)

<div class="topic-metadata">

**Author:** [@Jemro](https://forum.kirupa.com/u/Jemro)\
**Replies:** 0\
**Last updated:** [March 26, 2014, 5:54pm UTC](https://forum.kirupa.com/t/require-text-input-before-continue-if-statement-malfunctions/332263 "2014-03-26T17:54:23Z")

</div>

I am really working to get this project completed (it's an online cognitive psychology experiment), and I'm at the stage now of working out bugs and errors. So, I apologize in advance if I post a lot of questions. Here…

---

## [Cake creator](https://forum.kirupa.com/t/cake-creator/332262)

<div class="topic-metadata">

**Author:** [@kuchar2709](https://forum.kirupa.com/u/kuchar2709)\
**Replies:** 0\
**Last updated:** [March 26, 2014, 2:14pm UTC](https://forum.kirupa.com/t/cake-creator/332262 "2014-03-26T14:14:49Z")

</div>

Hi, I’m trying to create some kind of cake creator. So far it works like that: some cake ingredients are draged and droped on the surface of the cake. Everything goes well until I press finish(defined by me) button and …

---

## [Help needed using Supersized and Fancybox together. Potential jQuery conflict?](https://forum.kirupa.com/t/help-needed-using-supersized-and-fancybox-together-potential-jquery-conflict/332261)

<div class="topic-metadata">

**Author:** [@spindrift](https://forum.kirupa.com/u/spindrift)\
**Replies:** 0\
**Last updated:** [March 26, 2014, 9:52am UTC](https://forum.kirupa.com/t/help-needed-using-supersized-and-fancybox-together-potential-jquery-conflict/332261 "2014-03-26T09:52:48Z")

</div>

Hi guys, I'm creating a site that uses the Supersized background jQuery plugin which all works fine. However on the Gallery and Video sections I need to use the Fancybox jQuery plugin and the two don't seem to like w…

---

## [Getting direction of bullet based on angel of something](https://forum.kirupa.com/t/getting-direction-of-bullet-based-on-angel-of-something/332260)

<div class="topic-metadata">

**Author:** [@silverneo188](https://forum.kirupa.com/u/silverneo188)\
**Replies:** 0\
**Last updated:** [March 26, 2014, 9:15am UTC](https://forum.kirupa.com/t/getting-direction-of-bullet-based-on-angel-of-something/332260 "2014-03-26T09:15:55Z")

</div>

Thread title pretty much speaks for itself. I have a movieclip, which is a line, and it rotates with some actionscript this.\_rotation += 1; now I am wanting to get the xspeed and yspeed for the bullet based on it's…

---

## [Filtering Items in a List: ALL checkbox?](https://forum.kirupa.com/t/filtering-items-in-a-list-all-checkbox/332258)

<div class="topic-metadata">

**Author:** [@JanisL](https://forum.kirupa.com/u/JanisL)\
**Replies:** 0\
**Last updated:** [March 25, 2014, 1:40pm UTC](https://forum.kirupa.com/t/filtering-items-in-a-list-all-checkbox/332258 "2014-03-25T13:40:42Z")

</div>

Hi, I've used Kirupa's Filtering Items in a List tutorial and it worked just great for me... thanks so much for making it simple enough for a newbie with no JS experience (and still learning HTML) to use! My question …

---

## [Syncing Code With FrameRate](https://forum.kirupa.com/t/syncing-code-with-framerate/332257)

<div class="topic-metadata">

**Author:** [@tartunian](https://forum.kirupa.com/u/tartunian)\
**Replies:** 0\
**Last updated:** [March 25, 2014, 7:12am UTC](https://forum.kirupa.com/t/syncing-code-with-framerate/332257 "2014-03-25T07:12:16Z")

</div>

Hey guys, I'm having a problem with what I think might be a sync with framerate problem. package { import flash.display.MovieClip; import flash.events.Event; import flash.display.BitmapData; import flash.disp…

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

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