# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=3

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

**Page:** 4

---

## [As3 button problem](https://forum.kirupa.com/t/as3-button-problem/634802)

<div class="topic-metadata">

**Author:** [@cagatay68](https://forum.kirupa.com/u/cagatay68)\
**Replies:** 0\
**Last updated:** [June 19, 2016, 7:19pm UTC](https://forum.kirupa.com/t/as3-button-problem/634802 "2016-06-19T19:19:55Z")

</div>

On my project I put a button on the frame2 that leads to frame50 where there is a movieclip on this frame.It works very well up to this point but when I closed the clip and go back to frame2 my project is not going forwa…

---

## [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 …

---

## [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)

---

## [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(); …

---

## [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…

---

## [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…

---

## [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…

---

## [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…

---

## [$100 to you or charity/candidate of your choice! Desperate! Need to update AS2 to AS3 or otherwise play/pause Swiffy](https://forum.kirupa.com/t/100-to-you-or-charity-candidate-of-your-choice-desperate-need-to-update-as2-to-as3-or-otherwise-play-pause-swiffy/634617)

<div class="topic-metadata">

**Author:** [@nicole555](https://forum.kirupa.com/u/nicole555)\
**Replies:** 4\
**Last updated:** [May 15, 2016, 9:22pm UTC](https://forum.kirupa.com/t/100-to-you-or-charity-candidate-of-your-choice-desperate-need-to-update-as2-to-as3-or-otherwise-play-pause-swiffy/634617 "2016-05-15T21:22:28Z")

</div>

I'm creating animations in Flash and using Google Swiffy to convert them to HTML5 animations. I controlled them with Actionsript 2 method below but now they need it as AS3 and I just can't get it to work. I don't know …

---

## [Resizing textfield in UI](https://forum.kirupa.com/t/resizing-textfield-in-ui/634601)

<div class="topic-metadata">

**Author:** [@McLucky](https://forum.kirupa.com/u/McLucky)\
**Replies:** 7\
**Last updated:** [May 9, 2016, 7:01pm UTC](https://forum.kirupa.com/t/resizing-textfield-in-ui/634601 "2016-05-09T19:01:06Z")

</div>

Hi all, I just cannot figure this out :frowning: I would like different textfields to be of the same size (height and width) Preferably making the layout on screen, not in code. However, here’s my problem: If I enter …

---

## [Actionscript 3 help? Animating Symbol Movement](https://forum.kirupa.com/t/actionscript-3-help-animating-symbol-movement/634302)

<div class="topic-metadata">

**Author:** [@StudioNoire](https://forum.kirupa.com/u/StudioNoire)\
**Replies:** 1\
**Last updated:** [May 9, 2016, 6:59am UTC](https://forum.kirupa.com/t/actionscript-3-help-animating-symbol-movement/634302 "2016-05-09T06:59:49Z")

</div>

Very new to AS3 and wondering if someone can help me with a small amount of code. I currently have a movie clip that I wish to move ONLY vertically to 4 different positions depending on the button clicked. I've got so…

---

## [Dynamic name in loop to search XML](https://forum.kirupa.com/t/dynamic-name-in-loop-to-search-xml/634585)

<div class="topic-metadata">

**Author:** [@McLucky](https://forum.kirupa.com/u/McLucky)\
**Replies:** 4\
**Last updated:** [May 6, 2016, 8:23am UTC](https://forum.kirupa.com/t/dynamic-name-in-loop-to-search-xml/634585 "2016-05-06T08:23:36Z")

</div>

Hi all, I'm kinda stuck on this. I have a loop that counts how many xml nodes contain data. One xml node looks like this: \<Article\> \<ArtNr\>7553130\</ArtNr\> \<Descr\>INDE IDCL75BH\</Descr\> \<C01\_dim\>70x90x70\</C01…

---

## [Flash as2 chat, with sockets.](https://forum.kirupa.com/t/flash-as2-chat-with-sockets/634568)

<div class="topic-metadata">

**Author:** [@Ryan\_Farrell](https://forum.kirupa.com/u/Ryan_Farrell)\
**Replies:** 0\
**Last updated:** [May 2, 2016, 8:23am UTC](https://forum.kirupa.com/t/flash-as2-chat-with-sockets/634568 "2016-05-02T08:23:51Z")

</div>

Hello I followed a tutorial here but I can't get the socket.bat to work. I think it may be due to the version of php I am running. I am posting my current code. hopefully someone can show me what Im doing wrong. source …

---

## [from AS1,2 to AS3 undefined method/property action frame](https://forum.kirupa.com/t/from-as1-2-to-as3-undefined-method-property-action-frame/634551)

<div class="topic-metadata">

**Author:** [@thegodfather](https://forum.kirupa.com/u/thegodfather)\
**Replies:** 1\
**Last updated:** [April 28, 2016, 1:46pm UTC](https://forum.kirupa.com/t/from-as1-2-to-as3-undefined-method-property-action-frame/634551 "2016-04-28T13:46:52Z")

</div>

need to convert the AS1 to AS3 it seems easy but it’s not… please help. errors frame 1\> Scene 1, Layer ‘Action Layer’, Frame 1, Line 1, Column 1 1120: Access of undefined property url. Scene 1, Layer ‘Action Layer…

---

## [Actionscript 3 slide image animation problem](https://forum.kirupa.com/t/actionscript-3-slide-image-animation-problem/634455)

<div class="topic-metadata">

**Author:** [@kaykor](https://forum.kirupa.com/u/kaykor)\
**Replies:** 3\
**Last updated:** [April 11, 2016, 11:30am UTC](https://forum.kirupa.com/t/actionscript-3-slide-image-animation-problem/634455 "2016-04-11T11:30:46Z")

</div>

Hi guys, I'm a new on Action script 3.0. I would like ask about slide image show animation. The slide show is a part of one big site. And following scripts are main code of slide show that somebody already made that…

---

## [Scrolling Background in AS2 to AS3 HELP!!](https://forum.kirupa.com/t/scrolling-background-in-as2-to-as3-help/634393)

<div class="topic-metadata">

**Author:** [@StudioNoire](https://forum.kirupa.com/u/StudioNoire)\
**Replies:** 2\
**Last updated:** [April 1, 2016, 11:15pm UTC](https://forum.kirupa.com/t/scrolling-background-in-as2-to-as3-help/634393 "2016-04-01T23:15:15Z")

</div>

Getting back in the game here - used to use AS2 for a lot of my websites and stuff - and want to get back into it, however, having issues getting used to AS3 - for example, I used this code to create neat scrolling backg…

---

## [Sorting Objects in an Array via one of their property.](https://forum.kirupa.com/t/sorting-objects-in-an-array-via-one-of-their-property/634395)

<div class="topic-metadata">

**Author:** [@Donald\_Brisson](https://forum.kirupa.com/u/Donald_Brisson)\
**Replies:** 2\
**Last updated:** [March 26, 2016, 6:10pm UTC](https://forum.kirupa.com/t/sorting-objects-in-an-array-via-one-of-their-property/634395 "2016-03-26T18:10:46Z")

</div>

Hello everyone, I have an Array which holds Items (extends Object Class). These Items have a property called itemName. Is it possible to sort the array by that object's property? I've tried both the sort() & sortOn…

---

## [Change text formats with an array](https://forum.kirupa.com/t/change-text-formats-with-an-array/634372)

<div class="topic-metadata">

**Author:** [@James\_Parker](https://forum.kirupa.com/u/James_Parker)\
**Replies:** 0\
**Last updated:** [March 21, 2016, 8:00pm UTC](https://forum.kirupa.com/t/change-text-formats-with-an-array/634372 "2016-03-21T20:00:54Z")

</div>

I want to assign one of three text formats to an array entry. Currently I am able to change the text in the text box, but not the color. import flash.events.Event; \> \> stop(); \> nav\_mc.next\_btn.addEventLi…

---

## [A Tip When Using Math.random in AS3](https://forum.kirupa.com/t/a-tip-when-using-math-random-in-as3/634359)

<div class="topic-metadata">

**Author:** [@Twisted4000](https://forum.kirupa.com/u/Twisted4000)\
**Replies:** 11\
**Last updated:** [March 21, 2016, 8:46am UTC](https://forum.kirupa.com/t/a-tip-when-using-math-random-in-as3/634359 "2016-03-21T08:46:57Z")

</div>

So I found out something interesting when using Math.random in AS3: when you use Math.round, which is basically the best, most unbiased way to try to get whole numbers, the minimum and maximum outcomes will actually have…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=2)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=4)
