# flash

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

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

**Page:** 18

---

## [URLLoader: Can't handle ioError with no internet connection](https://forum.kirupa.com/t/urlloader-cant-handle-ioerror-with-no-internet-connection/332243)

<div class="topic-metadata">

**Author:** [@DoomGoober](https://forum.kirupa.com/u/DoomGoober)\
**Replies:** 0\
**Last updated:** [March 19, 2014, 9:22pm UTC](https://forum.kirupa.com/t/urlloader-cant-handle-ioerror-with-no-internet-connection/332243 "2014-03-19T21:22:40Z")

</div>

If I try to load a file with URLLoader and the internet connection is dead, I get a an Error #2044:Unhandled ioError:.text=Error #2032 message box (on a phone, the internet may die at any time.) Is there anyway I can cat…

---

## [Problem with a falling character](https://forum.kirupa.com/t/problem-with-a-falling-character/332242)

<div class="topic-metadata">

**Author:** [@bmmeyers33](https://forum.kirupa.com/u/bmmeyers33)\
**Replies:** 0\
**Last updated:** [March 18, 2014, 11:48pm UTC](https://forum.kirupa.com/t/problem-with-a-falling-character/332242 "2014-03-18T23:48:00Z")

</div>

Hi, I am making a game and for some reason, when my character lands, instead of stopping immediately when he hits the ground, he goes up and down 2 or 3 times (helps to slow the fps down low to see it). I can't for the …

---

## [Using an array to go to named frames](https://forum.kirupa.com/t/using-an-array-to-go-to-named-frames/332241)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [March 18, 2014, 9:46pm UTC](https://forum.kirupa.com/t/using-an-array-to-go-to-named-frames/332241 "2014-03-18T21:46:26Z")

</div>

I would like to use an array to send the playhead to named frames. The array is a list of dates, and frames and buttons are named in sync, e.g., button "mar12\_10\_btn" sends the playhead to frame "mar12\_10". This is the c…

---

## [How to animating LEVEL INDICATOR in a Vessel/Tank/Drum](https://forum.kirupa.com/t/how-to-animating-level-indicator-in-a-vessel-tank-drum/332238)

<div class="topic-metadata">

**Author:** [@sangjagoan](https://forum.kirupa.com/u/sangjagoan)\
**Replies:** 0\
**Last updated:** [March 18, 2014, 6:09am UTC](https://forum.kirupa.com/t/how-to-animating-level-indicator-in-a-vessel-tank-drum/332238 "2014-03-18T06:09:19Z")

</div>

Hi..Please help, I'm a beginner in Flash AS3. I want to simulate a LEVEL INDICATOR (mc\_Level) in a Vessel when opening Filling Valve (mc\_Valve). On the stage i've drawn in Layer 'Tool' frame 1: The Vessel, mcLevel and mc…

---

## [Detecting child of movieclip](https://forum.kirupa.com/t/detecting-child-of-movieclip/332237)

<div class="topic-metadata">

**Author:** [@mrpercival](https://forum.kirupa.com/u/mrpercival)\
**Replies:** 0\
**Last updated:** [March 17, 2014, 5:44pm UTC](https://forum.kirupa.com/t/detecting-child-of-movieclip/332237 "2014-03-17T17:44:52Z")

</div>

Hi, I have a parent (container) movieclip, which has under it a series of child movieclips (gameboard squares). I have set up a series of movieclips "tiles" outside of the parent, which will be drop&drop onto the par…

---

## [\[Help\] The Text not show in this code](https://forum.kirupa.com/t/help-the-text-not-show-in-this-code/332235)

<div class="topic-metadata">

**Author:** [@vietghost](https://forum.kirupa.com/u/vietghost)\
**Replies:** 0\
**Last updated:** [March 17, 2014, 4:34pm UTC](https://forum.kirupa.com/t/help-the-text-not-show-in-this-code/332235 "2014-03-17T16:34:48Z")

</div>

Someone know what wrong in this code, plz help me Thanks import fl.controls.DataGrid; import fl.controls.TextInput; import fl.controls.dataGridClasses.DataGridColumn; import fl.data.DataProvider; //\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [AS3 / AS2 -\> Multi-Directional of MovieClip via MouseClick](https://forum.kirupa.com/t/as3-as2-multi-directional-of-movieclip-via-mouseclick/332233)

<div class="topic-metadata">

**Author:** [@0ff\_my\_set](https://forum.kirupa.com/u/0ff_my_set)\
**Replies:** 0\
**Last updated:** [March 17, 2014, 2:54am UTC](https://forum.kirupa.com/t/as3-as2-multi-directional-of-movieclip-via-mouseclick/332233 "2014-03-17T02:54:18Z")

</div>

First off, I'm sorry if this title doesn't make sense, I just don't know what else to call what I'm looking for help with.. What I am needing help with is determining the direction to turn a MovieClip based on the mous…

---

## [Number1 = 8 Seconds Less Than Number2?](https://forum.kirupa.com/t/number1-8-seconds-less-than-number2/332231)

<div class="topic-metadata">

**Author:** [@chevron8669](https://forum.kirupa.com/u/chevron8669)\
**Replies:** 0\
**Last updated:** [March 16, 2014, 5:26am UTC](https://forum.kirupa.com/t/number1-8-seconds-less-than-number2/332231 "2014-03-16T05:26:53Z")

</div>

I have a count up timer that is a custom input one i made using arrays and number vars and what i am wanting to do is make it detect if seconds is 8 less then the users custom inputted seconds at the moment I have second…

---

## [Hide project package](https://forum.kirupa.com/t/hide-project-package/332223)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [March 11, 2014, 5:31pm UTC](https://forum.kirupa.com/t/hide-project-package/332223 "2014-03-11T17:31:30Z")

</div>

Hi, guys! I have been asked to create 2 parallel projects, A and B, sharing the same class structure in package xxx.com.xxx.gameslib. I'd like to exclude the duplication of the class structure, I should maintain both of …

---

## [How to tilt movieclip image with cursor in flash as2?](https://forum.kirupa.com/t/how-to-tilt-movieclip-image-with-cursor-in-flash-as2/332221)

<div class="topic-metadata">

**Author:** [@chetandeora](https://forum.kirupa.com/u/chetandeora)\
**Replies:** 0\
**Last updated:** [March 11, 2014, 7:48am UTC](https://forum.kirupa.com/t/how-to-tilt-movieclip-image-with-cursor-in-flash-as2/332221 "2014-03-11T07:48:16Z")

</div>

I'm using this script below, but it rotates movieclip images from one corner and I want to tilt movieclip images left & right with cursor.. just like that on this link - http://www.louisvuitton.eu/front/#/eng\_E1/Louis-…

---

## [as3 game code help](https://forum.kirupa.com/t/as3-game-code-help/332218)

<div class="topic-metadata">

**Author:** [@luckythelab](https://forum.kirupa.com/u/luckythelab)\
**Replies:** 0\
**Last updated:** [March 8, 2014, 11:00pm UTC](https://forum.kirupa.com/t/as3-game-code-help/332218 "2014-03-08T23:00:20Z")

</div>

var hitObstacle:Boolean=false; // keeps track if obstacle is hitvar health=20; health\_txt.text=health.toString();stage.addEventListener(KeyboardEvent.KEY\_DOWN, checkkeysdown);stage.addEventListener(KeyboardEvent.KEY\_UP,…

---

## [How to reduce the space between two lines?](https://forum.kirupa.com/t/how-to-reduce-the-space-between-two-lines/332217)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [March 6, 2014, 7:06pm UTC](https://forum.kirupa.com/t/how-to-reduce-the-space-between-two-lines/332217 "2014-03-06T19:06:07Z")

</div>

Hi, I am retrieving data from a external .xml file. But there is a lot of space between two lines. How can I reduce it? The attached file shows the space between sentences. The following is the xml code: \<?xml v…

---

## [Word Scramble](https://forum.kirupa.com/t/word-scramble/332216)

<div class="topic-metadata">

**Author:** [@cycle1500](https://forum.kirupa.com/u/cycle1500)\
**Replies:** 0\
**Last updated:** [March 6, 2014, 5:50pm UTC](https://forum.kirupa.com/t/word-scramble/332216 "2014-03-06T17:50:14Z")

</div>

I need to find a AS2 script to break down letters in a word then scramble them while leaving the first letter alone. Example: simple would be say spmiel I will use a Input box and say 5 Dynamic boxes. Thanks for the hel…

---

## [Change frame on TOUCH\_BEGIN and TOUCH\_END](https://forum.kirupa.com/t/change-frame-on-touch-begin-and-touch-end/332215)

<div class="topic-metadata">

**Author:** [@o111](https://forum.kirupa.com/u/o111)\
**Replies:** 0\
**Last updated:** [March 6, 2014, 4:59pm UTC](https://forum.kirupa.com/t/change-frame-on-touch-begin-and-touch-end/332215 "2014-03-06T16:59:21Z")

</div>

Hey \[smile\] I am working on a project for the iPhone and I'm having a touch-issue. Basically I have 3 frames and I want to move between them using touch. What I mean is, when you're at frame 1 and put your finger anywh…

---

## [Loading using timeline](https://forum.kirupa.com/t/loading-using-timeline/332212)

<div class="topic-metadata">

**Author:** [@TailBit](https://forum.kirupa.com/u/TailBit)\
**Replies:** 0\
**Last updated:** [March 6, 2014, 4:30am UTC](https://forum.kirupa.com/t/loading-using-timeline/332212 "2014-03-06T04:30:44Z")

</div>

(using FlashDevelop) I'm trying to get loading using timeline to work (pretty much like in the default "as3 with preloader") However, I'm just really confused on how it knows what to load on each frame, because most o…

---

## [AS3 Playing a movieclip on a keyframe then repeating on the next](https://forum.kirupa.com/t/as3-playing-a-movieclip-on-a-keyframe-then-repeating-on-the-next/332210)

<div class="topic-metadata">

**Author:** [@DeadManJoe](https://forum.kirupa.com/u/DeadManJoe)\
**Replies:** 0\
**Last updated:** [March 5, 2014, 2:34pm UTC](https://forum.kirupa.com/t/as3-playing-a-movieclip-on-a-keyframe-then-repeating-on-the-next/332210 "2014-03-05T14:34:43Z")

</div>

Hey there, so I created three seperate movieclips on my main timeline and each one is on a seperate keyframe. I want to put in code so that it will play the first movieclip on keyframe1, then move to keyframe 2 and play …

---

## [Adding MC's to stage and moving them around](https://forum.kirupa.com/t/adding-mcs-to-stage-and-moving-them-around/332209)

<div class="topic-metadata">

**Author:** [@o111](https://forum.kirupa.com/u/o111)\
**Replies:** 0\
**Last updated:** [March 4, 2014, 8:06pm UTC](https://forum.kirupa.com/t/adding-mcs-to-stage-and-moving-them-around/332209 "2014-03-04T20:06:37Z")

</div>

Hi there! I'm working on a project where I want to add several instances of a movieclip from the library to the stage and making them move around randomly within the stage boundaries. Preferably bouncing them around on…

---

## [Flash AS2 Stage Height not measuring properly](https://forum.kirupa.com/t/flash-as2-stage-height-not-measuring-properly/332207)

<div class="topic-metadata">

**Author:** [@kmarnob](https://forum.kirupa.com/u/kmarnob)\
**Replies:** 0\
**Last updated:** [March 4, 2014, 3:50am UTC](https://forum.kirupa.com/t/flash-as2-stage-height-not-measuring-properly/332207 "2014-03-04T03:50:07Z")

</div>

Hi there, I'm trying to calculate the stage height of a flash banner. The banner height is 250pixel however after writing \<trace(Stage.height);\> it returns 150. Is there any mistake with my code? Could you please help …

---

## [Final Step TG :)](https://forum.kirupa.com/t/final-step-tg/332205)

<div class="topic-metadata">

**Author:** [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Replies:** 0\
**Last updated:** [March 2, 2014, 9:25pm UTC](https://forum.kirupa.com/t/final-step-tg/332205 "2014-03-02T21:25:04Z")

</div>

I have got the PHP code to do the correct query on my SQL download\_counter table. \<?php error\_reporting(E\_ALL^E\_NOTICE); require('connect.php'); $body=""; $result = mysqli\_query("SELECT \* FROM download\_manager WH…

---

## [Gesture\_rotate help](https://forum.kirupa.com/t/gesture-rotate-help/332204)

<div class="topic-metadata">

**Author:** [@chevron8669](https://forum.kirupa.com/u/chevron8669)\
**Replies:** 0\
**Last updated:** [March 1, 2014, 1:14pm UTC](https://forum.kirupa.com/t/gesture-rotate-help/332204 "2014-03-01T13:14:19Z")

</div>

Hey guys, I am working on an IOS app and I have a dial on the screen that I want to limit its rotation to 180 degrees in both clockwise and anti clockwise, I have the following code which works for anti clockwise but whe…

---

## [Insert files to usb](https://forum.kirupa.com/t/insert-files-to-usb/332201)

<div class="topic-metadata">

**Author:** [@pm4698](https://forum.kirupa.com/u/pm4698)\
**Replies:** 0\
**Last updated:** [February 28, 2014, 11:15am UTC](https://forum.kirupa.com/t/insert-files-to-usb/332201 "2014-02-28T11:15:49Z")

</div>

Hello there, I am creating a flash presentation where people can see some company stuff. I will lock the usb in order not to be able to access the data. All i need is to add something in the usb drive, like Insert b…

---

## [onEnterFrame looping problem](https://forum.kirupa.com/t/onenterframe-looping-problem/332195)

<div class="topic-metadata">

**Author:** [@theicecube92](https://forum.kirupa.com/u/theicecube92)\
**Replies:** 0\
**Last updated:** [February 26, 2014, 10:53pm UTC](https://forum.kirupa.com/t/onenterframe-looping-problem/332195 "2014-02-26T22:53:16Z")

</div>

Hey guys, So I have this code below. function myfunction():Void { for (i = 0; i \< 100; i++) { \_root.attachMovie('platform','platform\_' + i,i,{\_x:275 + i \* 100, \_y:200}); } } myfunction(); \_root\['platform\_' + i\].on…

---

## [Flash sprite sheet generator](https://forum.kirupa.com/t/flash-sprite-sheet-generator/332191)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 0\
**Last updated:** [February 25, 2014, 2:33am UTC](https://forum.kirupa.com/t/flash-sprite-sheet-generator/332191 "2014-02-25T02:33:39Z")

</div>

:upset: I'm doing some starling tests (because I haven't really used it much before) and it seems Flash's sprite sheet generator does not account for empty pixels Texture packer does, and includes an offset value in…

---

## [Text field arrangement and attaching onRelease](https://forum.kirupa.com/t/text-field-arrangement-and-attaching-onrelease/332179)

<div class="topic-metadata">

**Author:** [@mrhartsclube](https://forum.kirupa.com/u/mrhartsclube)\
**Replies:** 0\
**Last updated:** [February 22, 2014, 3:57pm UTC](https://forum.kirupa.com/t/text-field-arrangement-and-attaching-onrelease/332179 "2014-02-22T15:57:47Z")

</div>

I written this code but its not working: on (release) { for (i = 1; i \<= 5; i++) { var container:MovieClip = this.createEmptyMovieClip(container\*, this.getNextHighestDepth()); var label:TextF…

---

## [Quick question about arrays](https://forum.kirupa.com/t/quick-question-about-arrays/332178)

<div class="topic-metadata">

**Author:** [@Katira](https://forum.kirupa.com/u/Katira)\
**Replies:** 0\
**Last updated:** [February 22, 2014, 3:26pm UTC](https://forum.kirupa.com/t/quick-question-about-arrays/332178 "2014-02-22T15:26:00Z")

</div>

I want to run a piece of code whenever a spesific object on stage hittests any object in an array, how can i do this? if (myObject.hitTestObject(myArray\[0\])) { // run code } This works and executes when my object hi…

---

## [AS3:: How to handle an issue with Resize Handler](https://forum.kirupa.com/t/as3-how-to-handle-an-issue-with-resize-handler/332176)

<div class="topic-metadata">

**Author:** [@tomeciu](https://forum.kirupa.com/u/tomeciu)\
**Replies:** 0\
**Last updated:** [February 22, 2014, 1:36pm UTC](https://forum.kirupa.com/t/as3-how-to-handle-an-issue-with-resize-handler/332176 "2014-02-22T13:36:03Z")

</div>

At the bottom i show my class DocObject code which responds for MovieClips location on the stage with help of the stage.addEventListener(Event.RESIZE,onResizeDoc); method. The problem is that when i publish the main.fla…

---

## [Why my code did not work?](https://forum.kirupa.com/t/why-my-code-did-not-work/332174)

<div class="topic-metadata">

**Author:** [@mrhartsclube](https://forum.kirupa.com/u/mrhartsclube)\
**Replies:** 0\
**Last updated:** [February 21, 2014, 11:38pm UTC](https://forum.kirupa.com/t/why-my-code-did-not-work/332174 "2014-02-21T23:38:24Z")

</div>

\[TABLE\] \[TR\] \[TD="class: votecell"\] \[/TD\] \[TD="class: postcell"\] I written this code but its not working: http://textuploader.com/1x29 I want to dynamically create some textfi…

---

## [Flash as2 Check my code for Load and Save game data please](https://forum.kirupa.com/t/flash-as2-check-my-code-for-load-and-save-game-data-please/332171)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [February 21, 2014, 12:40am UTC](https://forum.kirupa.com/t/flash-as2-check-my-code-for-load-and-save-game-data-please/332171 "2014-02-21T00:40:26Z")

</div>

Cannot get this to work to save my life. Trying to be able to save the game. Right now, the money saves, but not the rest of the data. Here is what is going on: Click the penny, $10 is added to your score, the penny disa…

---

## [AS3::: How to handle Error 1088: which occours by loading a swf file](https://forum.kirupa.com/t/as3-how-to-handle-error-1088-which-occours-by-loading-a-swf-file/332170)

<div class="topic-metadata">

**Author:** [@tomeciu](https://forum.kirupa.com/u/tomeciu)\
**Replies:** 0\
**Last updated:** [February 20, 2014, 5:03pm UTC](https://forum.kirupa.com/t/as3-how-to-handle-error-1088-which-occours-by-loading-a-swf-file/332170 "2014-02-20T17:03:33Z")

</div>

Hi! My project has such u construction: home.fla - main file where I created my Website layout and menus with submenus gallery.fla (where I have all needed Movie Clips)with three classes: 1 - Miniaturka which loads \*.img …

---

## [AS3:: How to aviod that unloadAndStop method, stops all my tweens?](https://forum.kirupa.com/t/as3-how-to-aviod-that-unloadandstop-method-stops-all-my-tweens/332167)

<div class="topic-metadata">

**Author:** [@tomeciu](https://forum.kirupa.com/u/tomeciu)\
**Replies:** 0\
**Last updated:** [February 20, 2014, 10:04am UTC](https://forum.kirupa.com/t/as3-how-to-aviod-that-unloadandstop-method-stops-all-my-tweens/332167 "2014-02-20T10:04:09Z")

</div>

I have such a code: var a:Array = new Array(s4\_1\_arch,btn\_back); var p:MovieClip = new MovieClip(); p = MovieClip(parent); var url:URLRequest; var myLoader:Loader = new Loader(); var loaded:Boo…

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

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