# programming

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

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

**Page:** 319

---

## [Asset Library Creator](https://forum.kirupa.com/t/asset-library-creator/319842)

<div class="topic-metadata">

**Author:** [@MysteryMeat](https://forum.kirupa.com/u/MysteryMeat)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 1:21pm UTC](https://forum.kirupa.com/t/asset-library-creator/319842 "2011-03-06T13:21:01Z")

</div>

Hello, Recently i was doing some playing around with the latest flash technologies (for use in games) and found that importing assets was difficult and/or time consuming. Long story short i created a command line ap…

---

## [TextLineMetrics and TopLeft X,Y of TextField, Label](https://forum.kirupa.com/t/textlinemetrics-and-topleft-x-y-of-textfield-label/319841)

<div class="topic-metadata">

**Author:** [@futurox](https://forum.kirupa.com/u/futurox)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 12:06pm UTC](https://forum.kirupa.com/t/textlinemetrics-and-topleft-x-y-of-textfield-label/319841 "2011-03-06T12:06:44Z")

</div>

The question is how to count space between the y-origin of the text and y-coordinates of the top of a letter? See below in the picture:

---

## [AS3 loading image from Array into empty movieclip](https://forum.kirupa.com/t/as3-loading-image-from-array-into-empty-movieclip/319840)

<div class="topic-metadata">

**Author:** [@WILWILWEL](https://forum.kirupa.com/u/WILWILWEL)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 11:48am UTC](https://forum.kirupa.com/t/as3-loading-image-from-array-into-empty-movieclip/319840 "2011-03-06T11:48:13Z")

</div>

I’m converting Kirupa tutorial for AS2/XML gallery to a AS3 image gallery that works with AMFPHP. I’m running into a output error:TypeError: Error #1010 After some searching I found out that the script says that there’…

---

## [How To Disable Key Listeners While Inputting Text?](https://forum.kirupa.com/t/how-to-disable-key-listeners-while-inputting-text/319838)

<div class="topic-metadata">

**Author:** [@Nejuf](https://forum.kirupa.com/u/Nejuf)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 10:21am UTC](https://forum.kirupa.com/t/how-to-disable-key-listeners-while-inputting-text/319838 "2011-03-06T10:21:38Z")

</div>

Hello, I have an input textfield and some keys listeners on the stage. When typing in the input textfield the key listeners of the stage and loaded swfs get triggered. I've tried different things with focus and stopP…

---

## [AS3 Android](https://forum.kirupa.com/t/as3-android/319837)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 5:14am UTC](https://forum.kirupa.com/t/as3-android/319837 "2011-03-06T05:14:48Z")

</div>

Here it is, I have a simple brick breaker game in progress, yet I am starting to pull hairs on the rest game / start over function. My class is here, and everything thing seems to be working except for the endGame() fun…

---

## [Get word from a dictionary within flash](https://forum.kirupa.com/t/get-word-from-a-dictionary-within-flash/319836)

<div class="topic-metadata">

**Author:** [@OMG](https://forum.kirupa.com/u/OMG)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 5:09am UTC](https://forum.kirupa.com/t/get-word-from-a-dictionary-within-flash/319836 "2011-03-06T05:09:16Z")

</div>

Is there a way for flash to get the nature of a word (noun, verb, adverb, etc.) from a dictionary somewhere? Thanks

---

## [Back, Then No Forward](https://forum.kirupa.com/t/back-then-no-forward/319834)

<div class="topic-metadata">

**Author:** [@FlashAj325](https://forum.kirupa.com/u/FlashAj325)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 4:10am UTC](https://forum.kirupa.com/t/back-then-no-forward/319834 "2011-03-06T04:10:50Z")

</div>

\[FONT=Courier New\]I have been working on a tutorial in Flash on the topic of Flash (:lol:) for two days, and I am just finishing up on a template. I have fixed five bugs, but I cannot think of how to fix this last one. I…

---

## [Calling This Code](https://forum.kirupa.com/t/calling-this-code/319833)

<div class="topic-metadata">

**Author:** [@megshea](https://forum.kirupa.com/u/megshea)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 4:09am UTC](https://forum.kirupa.com/t/calling-this-code/319833 "2011-03-06T04:09:43Z")

</div>

Hey Friends, I found what looks like some good code to move images when the mouse moves. With easing calculations and acceleration. But I'm not sure how to call it and what the fla structure needs to be. Could you tak…

---

## [Help Dynamic Content, please](https://forum.kirupa.com/t/help-dynamic-content-please/319832)

<div class="topic-metadata">

**Author:** [@daush](https://forum.kirupa.com/u/daush)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 1:35am UTC](https://forum.kirupa.com/t/help-dynamic-content-please/319832 "2011-03-06T01:35:38Z")

</div>

Hi guys, im totally new at AS3, and im trying to do a simple dynamic content flash. Im used to AS2, im not good at all, but i have tons of flash games/facebooks games with as2. but, i cant understand the logic for as3 …

---

## [Scroller Tutorial from AS2 to AS3](https://forum.kirupa.com/t/scroller-tutorial-from-as2-to-as3/319828)

<div class="topic-metadata">

**Author:** [@BritJ](https://forum.kirupa.com/u/BritJ)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 8:47pm UTC](https://forum.kirupa.com/t/scroller-tutorial-from-as2-to-as3/319828 "2011-03-05T20:47:52Z")

</div>

I've searched for almost a whole week to get this thing converted, and I'm pretty sure I'm an idiot who has had the answers in front of her the whole time. I found a great tutorial for a scrollbar that was exactly what…

---

## [Maximum Limit on displayed items?](https://forum.kirupa.com/t/maximum-limit-on-displayed-items/319827)

<div class="topic-metadata">

**Author:** [@AnnieCanoe](https://forum.kirupa.com/u/AnnieCanoe)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 8:39pm UTC](https://forum.kirupa.com/t/maximum-limit-on-displayed-items/319827 "2011-03-05T20:39:24Z")

</div>

I just noticed that the last thing I added won't show up, unless I add it earlier to the display list. But then the last thing in my display list no longer appears. Is there a maximum # of items that can be displayed?…

---

## [Help , Creating click handelers for lots of objects dynamicaly](https://forum.kirupa.com/t/help-creating-click-handelers-for-lots-of-objects-dynamicaly/319826)

<div class="topic-metadata">

**Author:** [@stupoty](https://forum.kirupa.com/u/stupoty)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 7:46pm UTC](https://forum.kirupa.com/t/help-creating-click-handelers-for-lots-of-objects-dynamicaly/319826 "2011-03-05T19:46:56Z")

</div>

Hello, I'm trying to figure somthing out, I need to add things to the stage and later they get removed, my first flash had a problem because when I removed things from the screen their click handeler didn't get removed…

---

## [Change Game Dimensions](https://forum.kirupa.com/t/change-game-dimensions/319825)

<div class="topic-metadata">

**Author:** [@lazer2](https://forum.kirupa.com/u/lazer2)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 7:41pm UTC](https://forum.kirupa.com/t/change-game-dimensions/319825 "2011-03-05T19:41:15Z")

</div>

Hello there guys, Sorry about this, but I'm not even sure if a solution to my problem is even possible. Basically I'm a flash game developer. I've developed a game in the dimensions 1280x1024. This has really shot me…

---

## [\[Help\] how to call a class that can return a value in number? \[urgent\]](https://forum.kirupa.com/t/help-how-to-call-a-class-that-can-return-a-value-in-number-urgent/319823)

<div class="topic-metadata">

**Author:** [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 5:01pm UTC](https://forum.kirupa.com/t/help-how-to-call-a-class-that-can-return-a-value-in-number-urgent/319823 "2011-03-05T17:01:43Z")

</div>

I know how to pass a value to a class that need to be called, but how to call a class that returns a value? can someone show me how to call it and how to write the class that returns a number?

---

## [\[urgent\] Need help on simple OOP \[HELP\]](https://forum.kirupa.com/t/urgent-need-help-on-simple-oop-help/319821)

<div class="topic-metadata">

**Author:** [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 4:35pm UTC](https://forum.kirupa.com/t/urgent-need-help-on-simple-oop-help/319821 "2011-03-05T16:35:42Z")

</div>

here's a part of my code var youtubeID:String="zUFrX2pY83Q"; var Movie1:YouTube=new YouTube(youtubeID); Movie1.x = 180; Movie1.y = -225; Gallery\_Bg.addChild(Movie1); how to put a "if" state…

---

## [Jump and Gravity](https://forum.kirupa.com/t/jump-and-gravity/319820)

<div class="topic-metadata">

**Author:** [@Teague01233](https://forum.kirupa.com/u/Teague01233)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 3:33pm UTC](https://forum.kirupa.com/t/jump-and-gravity/319820 "2011-03-05T15:33:30Z")

</div>

Hey there, I'm making a small platform game for a module in University and I'm banging my head against the wall all the time. I'm quite new to flash as3 which means the smallest of errors can take me hours of time to f…

---

## [Sadistic textfield writes text over previous update weirdness](https://forum.kirupa.com/t/sadistic-textfield-writes-text-over-previous-update-weirdness/319819)

<div class="topic-metadata">

**Author:** [@krafter](https://forum.kirupa.com/u/krafter)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 3:14pm UTC](https://forum.kirupa.com/t/sadistic-textfield-writes-text-over-previous-update-weirdness/319819 "2011-03-05T15:14:38Z")

</div>

Hello! Hehehe... I'm losing my mind over this problem... Hehehe.... I burned my eyes out looking for a solution, and I think there was only one guy on this forum who had similar bug like me, but he was told off that te…

---

## [Stuck on Bitmap loading](https://forum.kirupa.com/t/stuck-on-bitmap-loading/319818)

<div class="topic-metadata">

**Author:** [@abakiz](https://forum.kirupa.com/u/abakiz)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 1:44pm UTC](https://forum.kirupa.com/t/stuck-on-bitmap-loading/319818 "2011-03-05T13:44:35Z")

</div>

Basically what I'm trying to do is load a Bitmap from a URL Request. 2 problems really. the mLoader.width and height doesn't return anything When I input the loader manually, nothing comes up just some dots on the scr…

---

## [Preloader issues when loading an external .swf using Loader](https://forum.kirupa.com/t/preloader-issues-when-loading-an-external-swf-using-loader/319815)

<div class="topic-metadata">

**Author:** [@Nazgul128](https://forum.kirupa.com/u/Nazgul128)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 8:07am UTC](https://forum.kirupa.com/t/preloader-issues-when-loading-an-external-swf-using-loader/319815 "2011-03-05T08:07:32Z")

</div>

Hellos! I am making an "interface" which loads an external swf file onto ths stage and plays it from there. I have a preloader which is supposed to "colour" a logo while the flash loads(using a mask which is scaled to …

---

## [Display multiple images from folder](https://forum.kirupa.com/t/display-multiple-images-from-folder/319814)

<div class="topic-metadata">

**Author:** [@sinyi88](https://forum.kirupa.com/u/sinyi88)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 7:23am UTC](https://forum.kirupa.com/t/display-multiple-images-from-folder/319814 "2011-03-05T07:23:25Z")

</div>

I wish to display multiple images from a folder,but i just can display the last image of the folder although using looping.Can help me solve my problem? var myTextLoader:URLLoader = new URLLoader(); myTextLoader.addEv…

---

## [hitTestPoint in 3d](https://forum.kirupa.com/t/hittestpoint-in-3d/319810)

<div class="topic-metadata">

**Author:** [@phastings](https://forum.kirupa.com/u/phastings)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 3:53am UTC](https://forum.kirupa.com/t/hittestpoint-in-3d/319810 "2011-03-05T03:53:20Z")

</div>

I have a 3d projectile game I'm working on. I want to check if the projectile moving down the z axis hits wall on two sides. The walls are set up like this: leftWall = new wall(); leftWall.x = 10; leftWall.y = 360; l…

---

## [Really Hard Input Text Thing](https://forum.kirupa.com/t/really-hard-input-text-thing/319809)

<div class="topic-metadata">

**Author:** [@FlashAj325](https://forum.kirupa.com/u/FlashAj325)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 3:16am UTC](https://forum.kirupa.com/t/really-hard-input-text-thing/319809 "2011-03-05T03:16:30Z")

</div>

\[FONT=Courier New\]Before you get all, \*oh, this stuff sounds easy, so I can do it!, \*know that I have been working on this one topic for two hours straight. But please help if you can. (Mostly because nobody even looked …

---

## [Please help on button click to scenes](https://forum.kirupa.com/t/please-help-on-button-click-to-scenes/319808)

<div class="topic-metadata">

**Author:** [@msa969](https://forum.kirupa.com/u/msa969)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 3:07am UTC](https://forum.kirupa.com/t/please-help-on-button-click-to-scenes/319808 "2011-03-05T03:07:39Z")

</div>

I have created a new Flash file using A3. It has a menu system which all works, I have included trace code that outputs button pressed. So the next step is when the right button is clicked it takes them to the next scene…

---

## [DBpedia and SPARQL: Query with accent marks does not work](https://forum.kirupa.com/t/dbpedia-and-sparql-query-with-accent-marks-does-not-work/319807)

<div class="topic-metadata">

**Author:** [@OKAJ](https://forum.kirupa.com/u/OKAJ)\
**Replies:** 0\
**Last updated:** [March 5, 2011, 12:19am UTC](https://forum.kirupa.com/t/dbpedia-and-sparql-query-with-accent-marks-does-not-work/319807 "2011-03-05T00:19:37Z")

</div>

So I’ve tried a lot of different things and have been searching for a solution, but haven’t had any luck… My SPARQL query is PREFIX dbp: \<About: http://dbpedia.org/resource/; PREFIX dbpedia2: \<About: 0-; SELECT ?cu…

---

## [How to make an Online High-score?](https://forum.kirupa.com/t/how-to-make-an-online-high-score/319804)

<div class="topic-metadata">

**Author:** [@Arjin](https://forum.kirupa.com/u/Arjin)\
**Replies:** 0\
**Last updated:** [March 4, 2011, 9:23pm UTC](https://forum.kirupa.com/t/how-to-make-an-online-high-score/319804 "2011-03-04T21:23:04Z")

</div>

Hey everyone! I have a question concerning high-scores. So I'm running an internship at a museum right now and I have made a game that currently saves high-score data through a SharedObject. However, they would rather …

---

## [AMFPHP Design Question - Database Query Tool](https://forum.kirupa.com/t/amfphp-design-question-database-query-tool/319802)

<div class="topic-metadata">

**Author:** [@neuflex](https://forum.kirupa.com/u/neuflex)\
**Replies:** 0\
**Last updated:** [March 4, 2011, 7:36pm UTC](https://forum.kirupa.com/t/amfphp-design-question-database-query-tool/319802 "2011-03-04T19:36:58Z")

</div>

Hello All, just for fun I have been messing around with AMFPHP and I have hit a design problem and I was just wondering if anyone had any input? I have been using AMFPHP to make calls to a PHP script like so: - pu…

---

## [as3 remove movieclip from array and stage](https://forum.kirupa.com/t/as3-remove-movieclip-from-array-and-stage/319801)

<div class="topic-metadata">

**Author:** [@jitender](https://forum.kirupa.com/u/jitender)\
**Replies:** 0\
**Last updated:** [March 4, 2011, 6:08pm UTC](https://forum.kirupa.com/t/as3-remove-movieclip-from-array-and-stage/319801 "2011-03-04T18:08:58Z")

</div>

hey, i am trying to making a simple game, but face a problem. I want to remove MC form Array and stage. i create small box on stage. And store every box in boxArr:Array because i want to play with box later. when w…

---

## [Erratic behavior with direct selection and point manipulations?](https://forum.kirupa.com/t/erratic-behavior-with-direct-selection-and-point-manipulations/319798)

<div class="topic-metadata">

**Author:** [@Khan\_Silos](https://forum.kirupa.com/u/Khan_Silos)\
**Replies:** 0\
**Last updated:** [March 4, 2011, 4:39pm UTC](https://forum.kirupa.com/t/erratic-behavior-with-direct-selection-and-point-manipulations/319798 "2011-03-04T16:39:51Z")

</div>

Hello, I've noticed this issue for a long time now in at least CS3 and CS4 on multiple machines, so I know I'm not crazy which is what I thought at first... Basically, when manipulating anchor points on a path (moving,…

---

## [Help with highest depth in AS3](https://forum.kirupa.com/t/help-with-highest-depth-in-as3/319797)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [March 4, 2011, 3:56pm UTC](https://forum.kirupa.com/t/help-with-highest-depth-in-as3/319797 "2011-03-04T15:56:16Z")

</div>

I have been googling but none of the examples I am finding are actually moving this particular movie clip to the top. I have an AS3 created waterfall effect from here http://www.flashandmath.com/flashcs4/waterfall/in…

---

## [AS2 to AS3 translation](https://forum.kirupa.com/t/as2-to-as3-translation/319796)

<div class="topic-metadata">

**Author:** [@Azeez\_Abubakr](https://forum.kirupa.com/u/Azeez_Abubakr)\
**Replies:** 0\
**Last updated:** [March 4, 2011, 3:09pm UTC](https://forum.kirupa.com/t/as2-to-as3-translation/319796 "2011-03-04T15:09:25Z")

</div>

Hi all, Im kinda new to AS3... and im having some trouble with the "Sliding Menu" (http://www.kirupa.com/developer/flash8/slidingMenu.htm) tutorial on this site... I found that most of the problems occur due to its A…

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

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