# programming

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

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

**Page:** 70

---

## [Packaging AS3 app for iOS](https://forum.kirupa.com/t/packaging-as3-app-for-ios/634791)

<div class="topic-metadata">

**Author:** [@qahung](https://forum.kirupa.com/u/qahung)\
**Replies:** 0\
**Last updated:** [June 16, 2016, 11:37pm UTC](https://forum.kirupa.com/t/packaging-as3-app-for-ios/634791 "2016-06-16T23:37:53Z")

</div>

I have been using adt to package Air apps for iOS for over a year now without issue, then all of a sudden whenever I try to run it now I just get this: Exception in thread "main" java.lang.AbstractMethodError: org.apa…

---

## [changing the TIMER delay for each object added to stage](https://forum.kirupa.com/t/changing-the-timer-delay-for-each-object-added-to-stage/634765)

<div class="topic-metadata">

**Author:** [@Tzvika\_Frenkel](https://forum.kirupa.com/u/Tzvika_Frenkel)\
**Replies:** 0\
**Last updated:** [June 14, 2016, 10:01am UTC](https://forum.kirupa.com/t/changing-the-timer-delay-for-each-object-added-to-stage/634765 "2016-06-14T10:01:34Z")

</div>

I am building a game in which I added enemies to the stage (using loop in the Main as file). now i'm trying to make each enemy change state and move to the second frame (gotoAndStop(2)) after random delay time and I ca…

---

## [problem: ENTER\_FRAME event works only on one object](https://forum.kirupa.com/t/problem-enter-frame-event-works-only-on-one-object/634756)

<div class="topic-metadata">

**Author:** [@Tzvika\_Frenkel](https://forum.kirupa.com/u/Tzvika_Frenkel)\
**Replies:** 3\
**Last updated:** [June 14, 2016, 1:03am UTC](https://forum.kirupa.com/t/problem-enter-frame-event-works-only-on-one-object/634756 "2016-06-14T01:03:37Z")

</div>

Hi, i'm trying to make the circles i have in my game move around, each one in different direction, but the ENTER\_FRAME works only on one circle... can you help me understand why the loop doesn't work properly and only …

---

## [kirupa.com - Random Movement (Motion) in Flash MX](https://forum.kirupa.com/t/kirupa-com-random-movement-motion-in-flash-mx/643261)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 13, 2016, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-random-movement-motion-in-flash-mx/643261 "2016-06-13T07:00:00Z")

</div>

Random Movement in Flash MX code by suprabeener :: tutorial by kirupa chinnathambi A common observation users made on this site when migrating from Flash 5 to Flash MX is that some of the animations that wo…

---

## [as2 and c++ socket communication](https://forum.kirupa.com/t/as2-and-c-socket-communication/634746)

<div class="topic-metadata">

**Author:** [@Serifaz](https://forum.kirupa.com/u/Serifaz)\
**Replies:** 1\
**Last updated:** [June 13, 2016, 6:38am UTC](https://forum.kirupa.com/t/as2-and-c-socket-communication/634746 "2016-06-13T06:38:46Z")

</div>

I made a simple c++ console application that communicates with a database. I want to make a flash application to communicate with the console that will in turn grab information from the database and send it back to flash…

---

## [how to draw lines in runtime and fill empty space between them?](https://forum.kirupa.com/t/how-to-draw-lines-in-runtime-and-fill-empty-space-between-them/634754)

<div class="topic-metadata">

**Author:** [@javadsavary](https://forum.kirupa.com/u/javadsavary)\
**Replies:** 0\
**Last updated:** [June 12, 2016, 7:13am UTC](https://forum.kirupa.com/t/how-to-draw-lines-in-runtime-and-fill-empty-space-between-them/634754 "2016-06-12T07:13:13Z")

</div>

hello in runtime i can draw meny Crossover lines. how can i detect the space between them and fill with different color with as3? i want to select color and click in any closed space to fill it.(like drawing in flash)

---

## [kirupa.com - Silverlight Tutorial: Dependency Properties in Silverlight: 
Page 2](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-dependency-properties-in-silverlight-page-2/643251)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 11, 2016, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-dependency-properties-in-silverlight-page-2/643251 "2016-06-11T07:00:00Z")

</div>

by kirupa | 25 February 2009 In the previous page, you received a brief introduction to dependency properties. We ended by starting our deconstruction of the various things that make up a dependency property, m…

---

## [how to update flash player for readGraphicsData() method](https://forum.kirupa.com/t/how-to-update-flash-player-for-readgraphicsdata-method/634739)

<div class="topic-metadata">

**Author:** [@javadsavary](https://forum.kirupa.com/u/javadsavary)\
**Replies:** 2\
**Last updated:** [June 10, 2016, 6:33am UTC](https://forum.kirupa.com/t/how-to-update-flash-player-for-readgraphicsdata-method/634739 "2016-06-10T06:33:27Z")

</div>

i used readGraphicsData() method but i got this error: Error #1069: Property readGraphicsData not found on flash.display.Graphics and there is no default value. i used flash cs6 version 12.0.2.529 and flash player 11.4…

---

## [how to convert movieClip graphics to string](https://forum.kirupa.com/t/how-to-convert-movieclip-graphics-to-string/634735)

<div class="topic-metadata">

**Author:** [@javadsavary](https://forum.kirupa.com/u/javadsavary)\
**Replies:** 2\
**Last updated:** [June 8, 2016, 7:09am UTC](https://forum.kirupa.com/t/how-to-convert-movieclip-graphics-to-string/634735 "2016-06-08T07:09:53Z")

</div>

hi i draw many movieClip at runtime with as3 and i want to save the movieclips graphics as string or xml data. how can i do that? i use toString() method of graphics but i get an error var s:MovieClip=new MovieClip(); …

---

## [dbase file](https://forum.kirupa.com/t/dbase-file/634669)

<div class="topic-metadata">

**Author:** [@parascythe](https://forum.kirupa.com/u/parascythe)\
**Replies:** 1\
**Last updated:** [June 7, 2016, 6:29pm UTC](https://forum.kirupa.com/t/dbase-file/634669 "2016-06-07T18:29:59Z")

</div>

I rarely use a database, but I worked for a couple of days ago with a base in dBase PLUS 10, during working process happened some strange crashes and almost all of the data disappeared right before my eyes, I tried to re…

---

## [problem with getBounds as3](https://forum.kirupa.com/t/problem-with-getbounds-as3/634713)

<div class="topic-metadata">

**Author:** [@javadsavary](https://forum.kirupa.com/u/javadsavary)\
**Replies:** 1\
**Last updated:** [June 3, 2016, 12:20pm UTC](https://forum.kirupa.com/t/problem-with-getbounds-as3/634713 "2016-06-03T12:20:20Z")

</div>

hello (sorry for my bad english) i draw 5 sections of circle and put them in movieClip and then rotate them to create circle and i want to draw a rect around this circle but getBounds width and height not correct my code…

---

## [kirupa.com - Data Binding to CLR Objects - Page 7](https://forum.kirupa.com/t/kirupa-com-data-binding-to-clr-objects-page-7/643045)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 1, 2016, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-data-binding-to-clr-objects-page-7/643045 "2016-06-01T07:00:00Z")

</div>

by kirupa | 27 July 2007 In the previous page, you wrapped up this tutorial. In this page, let's take a look back at why you did some of the things you did. This is a companion discussion topic for the ori…

---

## [kirupa.com - Silverlight Tutorial: Creating an Animation in Silverlight 2 - Page 3](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-creating-an-animation-in-silverlight-2-page-3/643044)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 1, 2016, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-creating-an-animation-in-silverlight-2-page-3/643044 "2016-06-01T07:00:00Z")

</div>

by kirupa | 2 November 2008 In the previous page, you created the animation and everything seems to work well...inside Blend. In this page, I'll show you how to actually get your animation to play inside you…

---

## [Insert string into textfield at cursor position](https://forum.kirupa.com/t/insert-string-into-textfield-at-cursor-position/634690)

<div class="topic-metadata">

**Author:** [@McLucky](https://forum.kirupa.com/u/McLucky)\
**Replies:** 4\
**Last updated:** [May 30, 2016, 6:14am UTC](https://forum.kirupa.com/t/insert-string-into-textfield-at-cursor-position/634690 "2016-05-30T06:14:55Z")

</div>

Hi, What I'm trying to do is: Inserting a text (string) into a textfield by pasting. User puts the cursor at a position User clicks the 'Paste" button A string then has to be inserted at the cursor position, keepin…

---

## [kirupa.com - Using a Web Service, Page 6](https://forum.kirupa.com/t/kirupa-com-using-a-web-service-page-6/643036)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 31, 2016, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-using-a-web-service-page-6/643036 "2016-05-31T07:00:00Z")

</div>

by kirupa | 11 August 2006In the previous page we started our explanation of what the code is all about. In this page we will finish what we started and tie up some l…

---

## [kirupa.com - Creating Killer Animations in Code, Page 5](https://forum.kirupa.com/t/kirupa-com-creating-killer-animations-in-code-page-5/642989)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 27, 2016, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-creating-killer-animations-in-code-page-5/642989 "2016-05-27T07:00:00Z")

</div>

by kirupa | 17 October 2009 In the previous page, I briefly explained how the code works before diving into the code itself. In this page, let's finish explaining the code and wrap any loose ends up. This …

---

## [Could somebody help,JavaScript code is not executing ?](https://forum.kirupa.com/t/could-somebody-help-javascript-code-is-not-executing/634676)

<div class="topic-metadata">

**Author:** [@Swati1](https://forum.kirupa.com/u/Swati1)\
**Replies:** 4\
**Last updated:** [May 26, 2016, 4:30am UTC](https://forum.kirupa.com/t/could-somebody-help-javascript-code-is-not-executing/634676 "2016-05-26T04:30:02Z")

</div>

This is an HTML 5 code,and I am using visual studio code . Though ,HTML part is giving output but there is no change in header after applying JavaScript code to it. I don't seem to understand the problem. Pls help. \<!…

---

## [Photoshop jsx to cut up mosaic colored layer to separate layers.](https://forum.kirupa.com/t/photoshop-jsx-to-cut-up-mosaic-colored-layer-to-separate-layers/634660)

<div class="topic-metadata">

**Author:** [@linusj](https://forum.kirupa.com/u/linusj)\
**Replies:** 3\
**Last updated:** [May 23, 2016, 8:09am UTC](https://forum.kirupa.com/t/photoshop-jsx-to-cut-up-mosaic-colored-layer-to-separate-layers/634660 "2016-05-23T08:09:44Z")

</div>

I have a rendered 3d image(many), with clear cut-up color-fields in a single layer, and want to cut up this single layer to multiple single layers for each color. I want to parse the histogram, and get the main colors, …

---

## [kirupa.com - Silverlight Tutorial: Resizing the Deep Zoom Composer 
Template](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-resizing-the-deep-zoom-composer-template/642953)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 23, 2016, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-resizing-the-deep-zoom-composer-template/642953 "2016-05-23T07:00:00Z")

</div>

by kirupa | 11 October 2008 When you export a Silverlight project from Deep Zoom Composer, the size of your output is fixed at 800 by 600: This is a companion discussion topic for the original entry at ht…

---

## [kirupa.com - Silverlight Tutorial: Dependency Property Generator](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-dependency-property-generator/642955)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 23, 2016, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-dependency-property-generator/642955 "2016-05-23T07:00:00Z")

</div>

by kirupa | 29 March 2009 This site has a fair number of articles on dependency properties, but at the end of the day, they are still really hard to write. Remembering the syntax and making sure the C# equivale…

---

## [AS2 crossdomain policy (need help).](https://forum.kirupa.com/t/as2-crossdomain-policy-need-help/634577)

<div class="topic-metadata">

**Author:** [@Ryan\_Farrell](https://forum.kirupa.com/u/Ryan_Farrell)\
**Replies:** 8\
**Last updated:** [May 22, 2016, 11:34pm UTC](https://forum.kirupa.com/t/as2-crossdomain-policy-need-help/634577 "2016-05-22T23:34:54Z")

</div>

Hello I have a simple login system made in flash as2. I need to be able to access a php file across the internet through sendAndLoad("my domain") I can do this if the files are in the same directory I know. But I need th…

---

## [For loop behaving badly ?](https://forum.kirupa.com/t/for-loop-behaving-badly/634657)

<div class="topic-metadata">

**Author:** [@McLucky](https://forum.kirupa.com/u/McLucky)\
**Replies:** 2\
**Last updated:** [May 22, 2016, 9:48am UTC](https://forum.kirupa.com/t/for-loop-behaving-badly/634657 "2016-05-22T09:48:27Z")

</div>

Hi all, I'm programming an interface that prints labels for shipment. Let me explain what should happen: Client orders: - less than 5 items \>\>\> a label is printed for each item - more than 5 items \>\>\> ONE label is pr…

---

## [Datagrid refreshing after HTTPService update](https://forum.kirupa.com/t/datagrid-refreshing-after-httpservice-update/634647)

<div class="topic-metadata">

**Author:** [@Olav\_Ata](https://forum.kirupa.com/u/Olav_Ata)\
**Replies:** 4\
**Last updated:** [May 21, 2016, 2:17pm UTC](https://forum.kirupa.com/t/datagrid-refreshing-after-httpservice-update/634647 "2016-05-21T14:17:44Z")

</div>

Hey guys, For my school project I developed Flex app. There is datagrid component, binded to a data provider as \<mx:DataGrid id="dgTextContent" x="9" y="4" width="651" height="176" dataProvider="{getRecord.lastResult.…

---

## [Need help on using If condition to shorten the long code in AS3.](https://forum.kirupa.com/t/need-help-on-using-if-condition-to-shorten-the-long-code-in-as3/634656)

<div class="topic-metadata">

**Author:** [@FLearner](https://forum.kirupa.com/u/FLearner)\
**Replies:** 0\
**Last updated:** [May 21, 2016, 1:14pm UTC](https://forum.kirupa.com/t/need-help-on-using-if-condition-to-shorten-the-long-code-in-as3/634656 "2016-05-21T13:14:39Z")

</div>

Hi, I have the following long and repetitive AS3 code just for 3 buttons and I need to add more buttons. Since it is not the right way, I seek help from experts to help me in using If condition to shorten the code. sto…

---

## [kirupa.com - Using Effects in Blend and C#](https://forum.kirupa.com/t/kirupa-com-using-effects-in-blend-and-c/642928)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 21, 2016, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-using-effects-in-blend-and-c/642928 "2016-05-21T07:00:00Z")

</div>

by kirupa | 19 August 2009 One of the new features introduced in Silverlight 3 is support for what are known as Effects (also known as pixel shaders or shader effects) that you have in WPF. In a nutshell, sh…

---

## [Trying to streamline if/then function](https://forum.kirupa.com/t/trying-to-streamline-if-then-function/634648)

<div class="topic-metadata">

**Author:** [@svenghoulieil](https://forum.kirupa.com/u/svenghoulieil)\
**Replies:** 3\
**Last updated:** [May 21, 2016, 1:28am UTC](https://forum.kirupa.com/t/trying-to-streamline-if-then-function/634648 "2016-05-21T01:28:04Z")

</div>

I am creating a word search game and am using this conditional statement to determine if the letter has been selected, then add or subtract a value dependent on that. I wrote the following function that works, but seems …

---

## [Need help for improving android performance ... Please Help](https://forum.kirupa.com/t/need-help-for-improving-android-performance-please-help/634633)

<div class="topic-metadata">

**Author:** [@moslem-shariat](https://forum.kirupa.com/u/moslem-shariat)\
**Replies:** 5\
**Last updated:** [May 20, 2016, 11:29am UTC](https://forum.kirupa.com/t/need-help-for-improving-android-performance-please-help/634633 "2016-05-20T11:29:33Z")

</div>

Hello guys We are developing an application for both android and ios It's kind of big and has complicated coding and lots of Images , Loaders , etc ... in ios it's almost ok , but in android its crappy slow !!! I mean…

---

## [Platforming - Within a .fla](https://forum.kirupa.com/t/platforming-within-a-fla/634641)

<div class="topic-metadata">

**Author:** [@Multi](https://forum.kirupa.com/u/Multi)\
**Replies:** 0\
**Last updated:** [May 18, 2016, 11:43am UTC](https://forum.kirupa.com/t/platforming-within-a-fla/634641 "2016-05-18T11:43:55Z")

</div>

Hello, Does anyone have any information regarding tutorials or just a brief outline of what is needed when making a platformer style game within Actionscript 3? The caveat is that I'd much rather keep all code within a…

---

## [swf#2 accessing SOL data entered in swf#1](https://forum.kirupa.com/t/swf-2-accessing-sol-data-entered-in-swf-1/634628)

<div class="topic-metadata">

**Author:** [@bhnh](https://forum.kirupa.com/u/bhnh)\
**Replies:** 2\
**Last updated:** [May 17, 2016, 2:29pm UTC](https://forum.kirupa.com/t/swf-2-accessing-sol-data-entered-in-swf-1/634628 "2016-05-17T14:29:28Z")

</div>

OK, so I have two swf files. SWF#1 creates a local Shared Object and enters data. Code for SWF#1: var msg:String; var sol:SharedObject = SharedObject.getLocal("SOLtest"); function saveData():void{ msg …

---

## [Predicting a path through moving objects](https://forum.kirupa.com/t/predicting-a-path-through-moving-objects/634615)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 2\
**Last updated:** [May 16, 2016, 6:42am UTC](https://forum.kirupa.com/t/predicting-a-path-through-moving-objects/634615 "2016-05-16T06:42:54Z")

</div>

Hello, For fun I've reproduced the classic game Asteroids. It's going well so far. I am to the point where a flying saucer can relatively accurately hit the ship if it's traveling on a constant heading. Now I need to…

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

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