# flash

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

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

**Page:** 43

---

## [How to rotate MC continuously and stop it?](https://forum.kirupa.com/t/how-to-rotate-mc-continuously-and-stop-it/330424)

<div class="topic-metadata">

**Author:** [@eggblade](https://forum.kirupa.com/u/eggblade)\
**Replies:** 0\
**Last updated:** [January 19, 2013, 11:00am UTC](https://forum.kirupa.com/t/how-to-rotate-mc-continuously-and-stop-it/330424 "2013-01-19T11:00:16Z")

</div>

How can I rotate an MC continuously and stop it using a button? MC.rotation += 1; I tried using the code above but it won't rotate it continuously. Then I tried searching the web,what I get is : MC.addEventListe…

---

## [Move Bitmap Horizontally Without Redrawing Every Step](https://forum.kirupa.com/t/move-bitmap-horizontally-without-redrawing-every-step/330423)

<div class="topic-metadata">

**Author:** [@pittsburghjoe](https://forum.kirupa.com/u/pittsburghjoe)\
**Replies:** 0\
**Last updated:** [January 18, 2013, 2:54pm UTC](https://forum.kirupa.com/t/move-bitmap-horizontally-without-redrawing-every-step/330423 "2013-01-18T14:54:39Z")

</div>

What's the best way to move an image across without making flash redraw every tiny movement? I'm getting choppy/lag with the simplest of animation you can think of ..600x400 project with an image of that size moving from…

---

## [Access to parent class variables](https://forum.kirupa.com/t/access-to-parent-class-variables/330422)

<div class="topic-metadata">

**Author:** [@Vito\_Lipari](https://forum.kirupa.com/u/Vito_Lipari)\
**Replies:** 0\
**Last updated:** [January 18, 2013, 1:44am UTC](https://forum.kirupa.com/t/access-to-parent-class-variables/330422 "2013-01-18T01:44:43Z")

</div>

\[COLOR=#333333\]\[FONT=Verdana\]Hi.\[/FONT\]\[/COLOR\] \[COLOR=#333333\]\[FONT=Verdana\]I have this situation:\[/FONT\]\[/COLOR\] \[COLOR=#333333\]\[FONT=Verdana\] public class BBB extends MovieClip{ var id : String; public functio…

---

## [Hiddenly preload multiple SWF files?](https://forum.kirupa.com/t/hiddenly-preload-multiple-swf-files/330419)

<div class="topic-metadata">

**Author:** [@Neuromance](https://forum.kirupa.com/u/Neuromance)\
**Replies:** 0\
**Last updated:** [January 17, 2013, 5:21pm UTC](https://forum.kirupa.com/t/hiddenly-preload-multiple-swf-files/330419 "2013-01-17T17:21:22Z")

</div>

First of all, I want to clarify I'm a newbie with flash. I have started looking into it very recently, and I'm still a big noob in the subject, so PLEASE if you want to answer my question, use easy/understandeable instru…

---

## [Uploading and embedding fonts during runtime](https://forum.kirupa.com/t/uploading-and-embedding-fonts-during-runtime/330418)

<div class="topic-metadata">

**Author:** [@AlexLucas](https://forum.kirupa.com/u/AlexLucas)\
**Replies:** 0\
**Last updated:** [January 17, 2013, 10:23am UTC](https://forum.kirupa.com/t/uploading-and-embedding-fonts-during-runtime/330418 "2013-01-17T10:23:07Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Good day.\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]I'm stuck with the following issue:\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]I have multiple fonts embedded into my application, but i…

---

## [Checking parent class or type](https://forum.kirupa.com/t/checking-parent-class-or-type/330416)

<div class="topic-metadata">

**Author:** [@Roman\_Ivanickij](https://forum.kirupa.com/u/Roman_Ivanickij)\
**Replies:** 0\
**Last updated:** [January 17, 2013, 8:32am UTC](https://forum.kirupa.com/t/checking-parent-class-or-type/330416 "2013-01-17T08:32:02Z")

</div>

Hello I got a situation, where in my class i need to check parent class. I am trying that code inside class MenuItem public function addItem(item:MenuItem):void { if (item.parent is MenuItem) {code} //…

---

## [Resetting state in a keyframe?](https://forum.kirupa.com/t/resetting-state-in-a-keyframe/330415)

<div class="topic-metadata">

**Author:** [@eggblade](https://forum.kirupa.com/u/eggblade)\
**Replies:** 0\
**Last updated:** [January 17, 2013, 7:33am UTC](https://forum.kirupa.com/t/resetting-state-in-a-keyframe/330415 "2013-01-17T07:33:41Z")

</div>

In a keyframe that I created,there are multiple MCs, each one of them contains many frames. So when I clicked on them individually ,they changed frames. Is it possible to make a "reset button" so that the MCs back to t…

---

## [AS3 Character start posistion reset](https://forum.kirupa.com/t/as3-character-start-posistion-reset/330414)

<div class="topic-metadata">

**Author:** [@cluin14](https://forum.kirupa.com/u/cluin14)\
**Replies:** 0\
**Last updated:** [January 17, 2013, 4:08am UTC](https://forum.kirupa.com/t/as3-character-start-posistion-reset/330414 "2013-01-17T04:08:22Z")

</div>

Hey there, so I'm working on an AS3 side scrolling game where essentially you have to get your character from point "A" to "B" then it jumps to a new frame to do it again just a different layout and enemies. The trouble …

---

## [Flash Registration Form with php and mysql integration using AS2](https://forum.kirupa.com/t/flash-registration-form-with-php-and-mysql-integration-using-as2/330412)

<div class="topic-metadata">

**Author:** [@bracelett](https://forum.kirupa.com/u/bracelett)\
**Replies:** 0\
**Last updated:** [January 17, 2013, 12:45am UTC](https://forum.kirupa.com/t/flash-registration-form-with-php-and-mysql-integration-using-as2/330412 "2013-01-17T00:45:05Z")

</div>

I created registration form layout in flash composed of first name, middle name, last name, date joined, last login date,country, state, city , email address(validation), password, comments section and uploading photos …

---

## [Falling objects Easing Effects in AS2](https://forum.kirupa.com/t/falling-objects-easing-effects-in-as2/330411)

<div class="topic-metadata">

**Author:** [@bracelett](https://forum.kirupa.com/u/bracelett)\
**Replies:** 0\
**Last updated:** [January 16, 2013, 5:25pm UTC](https://forum.kirupa.com/t/falling-objects-easing-effects-in-as2/330411 "2013-01-16T17:25:22Z")

</div>

How can I put to the object when it touches and press it will fall down with easing out effects in AS2? I converted the object into movieclip, so far what I did is when it click it the object disappear quickly, I want to…

---

## [Swapping instances in a symbol with code,is it possible?](https://forum.kirupa.com/t/swapping-instances-in-a-symbol-with-code-is-it-possible/330409)

<div class="topic-metadata">

**Author:** [@eggblade](https://forum.kirupa.com/u/eggblade)\
**Replies:** 0\
**Last updated:** [January 16, 2013, 8:39am UTC](https://forum.kirupa.com/t/swapping-instances-in-a-symbol-with-code-is-it-possible/330409 "2013-01-16T08:39:24Z")

</div>

I have a movie clip called A that contains instance A1. Is it possible to swap to instance A2 using code? Thank you.

---

## [Using Xml in flash problems](https://forum.kirupa.com/t/using-xml-in-flash-problems/330403)

<div class="topic-metadata">

**Author:** [@Tyrone\_Leyland](https://forum.kirupa.com/u/Tyrone_Leyland)\
**Replies:** 0\
**Last updated:** [January 15, 2013, 3:08pm UTC](https://forum.kirupa.com/t/using-xml-in-flash-problems/330403 "2013-01-15T15:08:23Z")

</div>

I am getting this error code : TypeError: Error #1006: value is not a function. at ProjectMain\_Scene5\_fla::MainTimeline/frame1() I am basically trying to load my xml file in flash and keep getting that error. My…

---

## [Flash UI Components](https://forum.kirupa.com/t/flash-ui-components/330402)

<div class="topic-metadata">

**Author:** [@flashnve](https://forum.kirupa.com/u/flashnve)\
**Replies:** 0\
**Last updated:** [January 15, 2013, 12:58pm UTC](https://forum.kirupa.com/t/flash-ui-components/330402 "2013-01-15T12:58:01Z")

</div>

Hello All, I am still learning ActionScript 3.0 but i feel i am genuinely improving all the time. Anyhow, i need a little bit of help. I am building a small basic chat app. I have a button component, a text input comp…

---

## [FPS, Memory Usage, Time Elapse - Code optimization](https://forum.kirupa.com/t/fps-memory-usage-time-elapse-code-optimization/330399)

<div class="topic-metadata">

**Author:** [@BlueWallet](https://forum.kirupa.com/u/BlueWallet)\
**Replies:** 0\
**Last updated:** [January 15, 2013, 4:39am UTC](https://forum.kirupa.com/t/fps-memory-usage-time-elapse-code-optimization/330399 "2013-01-15T04:39:12Z")

</div>

Greetings all, I am making a FPS counter, Memory Usage and Time elapse tool for myself to see what my SWF's are doing. Anyone see where I can improve it? Any helpful advice is appreciated. package { import flas…

---

## [Programming pixels/second deceleration of tween](https://forum.kirupa.com/t/programming-pixels-second-deceleration-of-tween/330397)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [January 14, 2013, 11:02pm UTC](https://forum.kirupa.com/t/programming-pixels-second-deceleration-of-tween/330397 "2013-01-14T23:02:03Z")

</div>

I have a simple project where squares move from one side of the stage to the other. I have to be able to slow them down at a constant rate, specifically in pixels/second (cm/s really, but I'm using a generic conversion r…

---

## [Extracting argument from array](https://forum.kirupa.com/t/extracting-argument-from-array/330395)

<div class="topic-metadata">

**Author:** [@chilliroom](https://forum.kirupa.com/u/chilliroom)\
**Replies:** 0\
**Last updated:** [January 14, 2013, 1:52pm UTC](https://forum.kirupa.com/t/extracting-argument-from-array/330395 "2013-01-14T13:52:13Z")

</div>

I have 4 arrows (up, down, left, right) and wish to activate only one whilst deactivating the rest. I have cast their instance names in an array & would like to pass one as an argument to a function (to activate). But ho…

---

## [Textbox Character Glitch](https://forum.kirupa.com/t/textbox-character-glitch/330393)

<div class="topic-metadata">

**Author:** [@TheOtherTedium](https://forum.kirupa.com/u/TheOtherTedium)\
**Replies:** 0\
**Last updated:** [January 14, 2013, 10:07am UTC](https://forum.kirupa.com/t/textbox-character-glitch/330393 "2013-01-14T10:07:20Z")

</div>

I don't know how common this glitch is, but it seemed to happen pretty easily, so... Anyway, when I was coding an input box, there was a point where it would only type certain letters in either uppercase or lowercase. If…

---

## [How to apply a condition that should check if the page is loaded or not?](https://forum.kirupa.com/t/how-to-apply-a-condition-that-should-check-if-the-page-is-loaded-or-not/330391)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [January 13, 2013, 6:22pm UTC](https://forum.kirupa.com/t/how-to-apply-a-condition-that-should-check-if-the-page-is-loaded-or-not/330391 "2013-01-13T18:22:12Z")

</div>

Hi, I have the following code which is working quite nice. But the problem is, it won't check whether the requested page is already loaded or not. It simply loads the page whenever the related buttons is pressed. Wha…

---

## [Please help on colliding MC](https://forum.kirupa.com/t/please-help-on-colliding-mc/330390)

<div class="topic-metadata">

**Author:** [@eggblade](https://forum.kirupa.com/u/eggblade)\
**Replies:** 0\
**Last updated:** [January 13, 2013, 2:35pm UTC](https://forum.kirupa.com/t/please-help-on-colliding-mc/330390 "2013-01-13T14:35:02Z")

</div>

I wanted to create an android app using accelerometer in as3 based on the template. \*\*I have 2 MC : \*\* -ball (the red one) -balla (the green one) The accelerometer things are fine,but what I want is both of the balls…

---

## [Change an object's layer in 2D](https://forum.kirupa.com/t/change-an-objects-layer-in-2d/330389)

<div class="topic-metadata">

**Author:** [@DSlish](https://forum.kirupa.com/u/DSlish)\
**Replies:** 0\
**Last updated:** [January 13, 2013, 1:51am UTC](https://forum.kirupa.com/t/change-an-objects-layer-in-2d/330389 "2013-01-13T01:51:56Z")

</div>

When you add objects to the stage, they layer in the order that you place them. Is there a way in AS3 to send an ojbect backwards or to the back? Thanks!

---

## [Header and footer in Flash AS3](https://forum.kirupa.com/t/header-and-footer-in-flash-as3/330387)

<div class="topic-metadata">

**Author:** [@VillaRava](https://forum.kirupa.com/u/VillaRava)\
**Replies:** 0\
**Last updated:** [January 12, 2013, 5:58pm UTC](https://forum.kirupa.com/t/header-and-footer-in-flash-as3/330387 "2013-01-12T17:58:53Z")

</div>

\[FONT=Helvetica\]I've been trying to figure out how to do a header and a footer in Flash, but without success. The tutorials I have found are either of the mark or above my level as a Flash(CS5) and AS3 beginner.\[/FONT\] …

---

## [Cross domain issue between AS3 and JSON](https://forum.kirupa.com/t/cross-domain-issue-between-as3-and-json/330384)

<div class="topic-metadata">

**Author:** [@Antsuperhack](https://forum.kirupa.com/u/Antsuperhack)\
**Replies:** 0\
**Last updated:** [January 11, 2013, 8:56pm UTC](https://forum.kirupa.com/t/cross-domain-issue-between-as3-and-json/330384 "2013-01-11T20:56:31Z")

</div>

Hey all, A very quick question ... Why when I test my fla file do I get the result I want but when I either open the swf file or upload it to my website does it stop working? The URL Request is for the same website a…

---

## [Button sticking issue](https://forum.kirupa.com/t/button-sticking-issue/330375)

<div class="topic-metadata">

**Author:** [@fwof1976](https://forum.kirupa.com/u/fwof1976)\
**Replies:** 0\
**Last updated:** [January 10, 2013, 7:11pm UTC](https://forum.kirupa.com/t/button-sticking-issue/330375 "2013-01-10T19:11:53Z")

</div>

I have built a flash website. The problem I am having is that I can click home, and it goes there, I can click ABOUT US, and it goes there...but it wont work on any of the other pages. I am not sure what I am missing. …

---

## [Is there a way to do this?](https://forum.kirupa.com/t/is-there-a-way-to-do-this/330371)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [January 10, 2013, 1:08pm UTC](https://forum.kirupa.com/t/is-there-a-way-to-do-this/330371 "2013-01-10T13:08:59Z")

</div>

I got this loop that should loop until it reaches the length of an array for (var i:int = 0; i \< d\_listDataArray.length; i++) The problem is that, it should NEVER be greater than 15.(The array can be all from 1-500) I …

---

## [AS3 Roulette Ball Simulation](https://forum.kirupa.com/t/as3-roulette-ball-simulation/330370)

<div class="topic-metadata">

**Author:** [@Frazzler](https://forum.kirupa.com/u/Frazzler)\
**Replies:** 0\
**Last updated:** [January 10, 2013, 10:30am UTC](https://forum.kirupa.com/t/as3-roulette-ball-simulation/330370 "2013-01-10T10:30:33Z")

</div>

Hi folks, I have an interview for a job next week and I have been tipped off that it's going to be to create a roulette game. I can probably figure out how to randomly spin the wheel, but I don't know where to begin in t…

---

## [Creating a Tv with moving static in ActionScript 2.0 - need help](https://forum.kirupa.com/t/creating-a-tv-with-moving-static-in-actionscript-2-0-need-help/330369)

<div class="topic-metadata">

**Author:** [@AbbyatSave](https://forum.kirupa.com/u/AbbyatSave)\
**Replies:** 0\
**Last updated:** [January 9, 2013, 11:18pm UTC](https://forum.kirupa.com/t/creating-a-tv-with-moving-static-in-actionscript-2-0-need-help/330369 "2013-01-09T23:18:54Z")

</div>

I have created a logo using AS2 and I have the "tv static" in there. When I go to play my movie, the tv static is on top of everything. I would like for it to be behind the tv and some text I have. Can anyone tell me how…

---

## [Loading errors 2032, 2035, 2036 (seems random)](https://forum.kirupa.com/t/loading-errors-2032-2035-2036-seems-random/330368)

<div class="topic-metadata">

**Author:** [@eprevot](https://forum.kirupa.com/u/eprevot)\
**Replies:** 0\
**Last updated:** [January 9, 2013, 5:25pm UTC](https://forum.kirupa.com/t/loading-errors-2032-2035-2036-seems-random/330368 "2013-01-09T17:25:07Z")

</div>

Hi, I have a full-flash website, it loads many files. Depending on the extension, I use different classes : - Sound for mp3 - Loader for png and swf - URLLoader for bin When I test my site, I don't have any loading e…

---

## [How to add movieclip inside textfield](https://forum.kirupa.com/t/how-to-add-movieclip-inside-textfield/330367)

<div class="topic-metadata">

**Author:** [@Vincentas](https://forum.kirupa.com/u/Vincentas)\
**Replies:** 0\
**Last updated:** [January 9, 2013, 1:13pm UTC](https://forum.kirupa.com/t/how-to-add-movieclip-inside-textfield/330367 "2013-01-09T13:13:31Z")

</div>

Hi, I would like to add a movieclip to a textfield. The objective is to be able to scroll the movie clip, since the uiscrollbar only works for textfield, i think my solution to scrolling the movie clip is to put it i…

---

## [How to construct an array](https://forum.kirupa.com/t/how-to-construct-an-array/330366)

<div class="topic-metadata">

**Author:** [@FJW](https://forum.kirupa.com/u/FJW)\
**Replies:** 0\
**Last updated:** [January 9, 2013, 11:15am UTC](https://forum.kirupa.com/t/how-to-construct-an-array/330366 "2013-01-09T11:15:04Z")

</div>

Hi Guys I have a piece of code that produces an array of Vector3D points correctly. i.e trace gives - \<code\> Vector3D(130, -20,0), VectorD(250, -20, 280), Vector3D(130, -20, 0); \</code\> What I need is for the array to b…

---

## [AS3 parsing JSON](https://forum.kirupa.com/t/as3-parsing-json/330361)

<div class="topic-metadata">

**Author:** [@Antsuperhack](https://forum.kirupa.com/u/Antsuperhack)\
**Replies:** 0\
**Last updated:** [January 8, 2013, 7:11pm UTC](https://forum.kirupa.com/t/as3-parsing-json/330361 "2013-01-08T19:11:16Z")

</div>

Hey all, I'm currently trying to use AS3 to check a JSON file found at : http://furydivine.net/api/hunt-dice/active I want to check if players are online and if they are playing on xbox I want to use this to trigger …

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

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