# flash

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

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

**Page:** 9

---

## [Tweening array in the loop](https://forum.kirupa.com/t/tweening-array-in-the-loop/563394)

<div class="topic-metadata">

**Author:** [@dunger99us](https://forum.kirupa.com/u/dunger99us)\
**Replies:** 14\
**Last updated:** [March 10, 2015, 5:52pm UTC](https://forum.kirupa.com/t/tweening-array-in-the-loop/563394 "2015-03-10T17:52:35Z")

</div>

Basically here is my problem: I have a stage with 13 movie clips( all named differently) that appear one after another forging a map of a country. Once settled onRollover they get Tween elastic \_xscale, \_yscale effect, …

---

## [actionscript3 , set stage limit](https://forum.kirupa.com/t/actionscript3-set-stage-limit/570264)

<div class="topic-metadata">

**Author:** [@shockwave3](https://forum.kirupa.com/u/shockwave3)\
**Replies:** 2\
**Last updated:** [March 9, 2015, 3:00pm UTC](https://forum.kirupa.com/t/actionscript3-set-stage-limit/570264 "2015-03-09T15:00:55Z")

</div>

Hi, I want to do righr/left button controlled movie clip but dont know how to set X axis/stage limit, the movieclip doesnt leave stage. Wil anybody help me?

---

## [Using Camera to Read a QR style Code to Insert an Object or Image](https://forum.kirupa.com/t/using-camera-to-read-a-qr-style-code-to-insert-an-object-or-image/569912)

<div class="topic-metadata">

**Author:** [@thegrazingelk](https://forum.kirupa.com/u/thegrazingelk)\
**Replies:** 2\
**Last updated:** [March 8, 2015, 11:38pm UTC](https://forum.kirupa.com/t/using-camera-to-read-a-qr-style-code-to-insert-an-object-or-image/569912 "2015-03-08T23:38:58Z")

</div>

I'd like to know if it's possible to use something like a QR code on a real object, say a ball, which the camera can see and flash will insert a pre-made image or object of that ball into the stage? I'm just getting back…

---

## [How to adapt game resolution to a device](https://forum.kirupa.com/t/how-to-adapt-game-resolution-to-a-device/531867)

<div class="topic-metadata">

**Author:** [@Cress](https://forum.kirupa.com/u/Cress)\
**Replies:** 1\
**Last updated:** [February 9, 2015, 10:42pm UTC](https://forum.kirupa.com/t/how-to-adapt-game-resolution-to-a-device/531867 "2015-02-09T22:42:03Z")

</div>

Hi everybody, I'm wondering how to adapt the resolution of a flash game to a device in order to publish it on different phones or tablets. I have already seen some kind of tutorials but cannot understand how it works and…

---

## [AS3 - Help With Function](https://forum.kirupa.com/t/as3-help-with-function/566485)

<div class="topic-metadata">

**Author:** [@rhanna2](https://forum.kirupa.com/u/rhanna2)\
**Replies:** 5\
**Last updated:** [March 5, 2015, 10:10pm UTC](https://forum.kirupa.com/t/as3-help-with-function/566485 "2015-03-05T22:10:40Z")

</div>

Hello, I am trying to get a function to work correctly. The first part of the code works great - when I type 24153 it displays as 1 entry; however, when I access the next function and I type 06310078, each part the numbe…

---

## [When a user types a letter, move to the next frame](https://forum.kirupa.com/t/when-a-user-types-a-letter-move-to-the-next-frame/566453)

<div class="topic-metadata">

**Author:** [@rhanna2](https://forum.kirupa.com/u/rhanna2)\
**Replies:** 1\
**Last updated:** [March 5, 2015, 4:56pm UTC](https://forum.kirupa.com/t/when-a-user-types-a-letter-move-to-the-next-frame/566453 "2015-03-05T16:56:51Z")

</div>

I have a text box at the top of a web form where the content in the form changes based on the initial that is typed in the text field. Without causing the user to do anything other than type the correct letter in the tex…

---

## [how to have an image full screen and refresh at certain clock times?](https://forum.kirupa.com/t/how-to-have-an-image-full-screen-and-refresh-at-certain-clock-times/556613)

<div class="topic-metadata">

**Author:** [@alapimba](https://forum.kirupa.com/u/alapimba)\
**Replies:** 8\
**Last updated:** [March 5, 2015, 2:36pm UTC](https://forum.kirupa.com/t/how-to-have-an-image-full-screen-and-refresh-at-certain-clock-times/556613 "2015-03-05T14:36:23Z")

</div>

Hello I want to have 3 computers side by side refreshing a fullscreen image at certain times. how can i do that? computer 1 - refresh one image every day at 00:00am (365 images/year) computer 2 - refresh one image …

---

## [Need Help controlling external SWFs loaded into MovieClip - AS3](https://forum.kirupa.com/t/need-help-controlling-external-swfs-loaded-into-movieclip-as3/562271)

<div class="topic-metadata">

**Author:** [@DaveNigella](https://forum.kirupa.com/u/DaveNigella)\
**Replies:** 2\
**Last updated:** [March 4, 2015, 7:47pm UTC](https://forum.kirupa.com/t/need-help-controlling-external-swfs-loaded-into-movieclip-as3/562271 "2015-03-04T19:47:26Z")

</div>

Doing a little hair-pulling today. I have a main timeline with two empty movie clips (originalMC, newMC). I'm loading external SWFs into each. The SWFs are in the same folder as the main file. They load fine and my Event…

---

## [How to get reference of a MovieClip on stage from a class?](https://forum.kirupa.com/t/how-to-get-reference-of-a-movieclip-on-stage-from-a-class/559617)

<div class="topic-metadata">

**Author:** [@panoss](https://forum.kirupa.com/u/panoss)\
**Replies:** 4\
**Last updated:** [March 1, 2015, 5:26pm UTC](https://forum.kirupa.com/t/how-to-get-reference-of-a-movieclip-on-stage-from-a-class/559617 "2015-03-01T17:26:19Z")

</div>

I 'm trying to get access to a MovieClip (which is on stage) from a class. I 'm using this code: In the class constructor: public function MyClass() { if (stage) init(); else addEventListener(Event.A…

---

## [error while converting the code from flex 3 to flex 4.6](https://forum.kirupa.com/t/error-while-converting-the-code-from-flex-3-to-flex-4-6/557384)

<div class="topic-metadata">

**Author:** [@sreekumar1267](https://forum.kirupa.com/u/sreekumar1267)\
**Replies:** 1\
**Last updated:** [February 27, 2015, 3:56pm UTC](https://forum.kirupa.com/t/error-while-converting-the-code-from-flex-3-to-flex-4-6/557384 "2015-02-27T15:56:30Z")

</div>

package test { import mx.core.UIComponent; import flash.filters.DropShadowFilter; public class GradientRectangle extends UIComponent { import flash.display.Graphics; import flash.geom.Rectangle; import…

---

## [AS2 - Duplicate movieClip, and send it to back](https://forum.kirupa.com/t/as2-duplicate-movieclip-and-send-it-to-back/551207)

<div class="topic-metadata">

**Author:** [@Drud14](https://forum.kirupa.com/u/Drud14)\
**Replies:** 2\
**Last updated:** [February 24, 2015, 4:14am UTC](https://forum.kirupa.com/t/as2-duplicate-movieclip-and-send-it-to-back/551207 "2015-02-24T04:14:20Z")

</div>

I am building a Tic Tac Toe game where I duplicate a movieClip "oh" and it is placed on a Tic Tac Toe board by snapping it to a position. This works, however when it duplicates movieClip "oh", it puts it on top of everyt…

---

## [I need help with code modification](https://forum.kirupa.com/t/i-need-help-with-code-modification/551524)

<div class="topic-metadata">

**Author:** [@panoss](https://forum.kirupa.com/u/panoss)\
**Replies:** 1\
**Last updated:** [February 23, 2015, 9:53am UTC](https://forum.kirupa.com/t/i-need-help-with-code-modification/551524 "2015-02-23T09:53:19Z")

</div>

I need to modify the code from here: http://www.freeactionscript.com/download/as3/realistic-floating-soap-bubbles.zip You can see it in action here: http://www.freeactionscript.com/2010/08/realistic-floating-soap-bubbles…

---

## [Hittest doesn't work always](https://forum.kirupa.com/t/hittest-doesnt-work-always/549732)

<div class="topic-metadata">

**Author:** [@panoss](https://forum.kirupa.com/u/panoss)\
**Replies:** 3\
**Last updated:** [February 22, 2015, 3:39pm UTC](https://forum.kirupa.com/t/hittest-doesnt-work-always/549732 "2015-02-22T15:39:42Z")

</div>

I 'm trying to check collision of two objects in a fash cs3 project. It's a Sprite called Pin (uses pin.png) and a Sprite called Balloon (uses balloon1.png). With balloon1.png it works ok (it works always), but when I re…

---

## [Help with code that use accelerometer](https://forum.kirupa.com/t/help-with-code-that-use-accelerometer/544379)

<div class="topic-metadata">

**Author:** [@unit7](https://forum.kirupa.com/u/unit7)\
**Replies:** 0\
**Last updated:** [February 18, 2015, 4:53am UTC](https://forum.kirupa.com/t/help-with-code-that-use-accelerometer/544379 "2015-02-18T04:53:23Z")

</div>

I am working on an android app and im stucked with the code. Need to make a code that measures the power of shake (accelerometer) in the lenght of time and send us to scene 1, 2 or 3 Assuming that: scene 1 = 0.1 - 1.0 s…

---

## [AS2 - How to target radio group data in dynamic movieClip?](https://forum.kirupa.com/t/as2-how-to-target-radio-group-data-in-dynamic-movieclip/542954)

<div class="topic-metadata">

**Author:** [@charco57](https://forum.kirupa.com/u/charco57)\
**Replies:** 3\
**Last updated:** [February 17, 2015, 5:31pm UTC](https://forum.kirupa.com/t/as2-how-to-target-radio-group-data-in-dynamic-movieclip/542954 "2015-02-17T17:31:01Z")

</div>

I have a radioGroup nested inside a dynamic mc called (for example "bond01") The radioGroup is inside a mc with the property name "atod". I call the movieClip using var q:MovieClip = attachMovie("bond01","question",…

---

## [Type coercion to the same type fails](https://forum.kirupa.com/t/type-coercion-to-the-same-type-fails/542882)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 3\
**Last updated:** [February 17, 2015, 3:54pm UTC](https://forum.kirupa.com/t/type-coercion-to-the-same-type-fails/542882 "2015-02-17T15:54:12Z")

</div>

Hi, I am having a weird casting problem: I am receiving this error TypeError: Error #1034: Type Coercion failed: cannot convert shared.plugins.toolbar2.toolbar::Globalization@18f84d9 to shared.plugins.toolbar2.toolbar.…

---

## [examples of flash / as3 android applications](https://forum.kirupa.com/t/examples-of-flash-as3-android-applications/541148)

<div class="topic-metadata">

**Author:** [@theKennedy](https://forum.kirupa.com/u/theKennedy)\
**Replies:** 1\
**Last updated:** [February 14, 2015, 1:36pm UTC](https://forum.kirupa.com/t/examples-of-flash-as3-android-applications/541148 "2015-02-14T13:36:00Z")

</div>

I have developed a few simple apps using flash cs5 and I am starting to go a little more complex but I am not sure how limited flash and as3 are for app development In android. Has anyone got any good examples of some …

---

## [as3 tutorials](https://forum.kirupa.com/t/as3-tutorials/527860)

<div class="topic-metadata">

**Author:** [@theKennedy](https://forum.kirupa.com/u/theKennedy)\
**Replies:** 1\
**Last updated:** [February 7, 2015, 8:54pm UTC](https://forum.kirupa.com/t/as3-tutorials/527860 "2015-02-07T20:54:06Z")

</div>

Can any body recommend any as3 tutorials. Books or videos. Gong from total novice

---

## [gotoandStop at a random number between a certian range](https://forum.kirupa.com/t/gotoandstop-at-a-random-number-between-a-certian-range/527572)

<div class="topic-metadata">

**Author:** [@theKennedy](https://forum.kirupa.com/u/theKennedy)\
**Replies:** 2\
**Last updated:** [February 7, 2015, 8:46pm UTC](https://forum.kirupa.com/t/gotoandstop-at-a-random-number-between-a-certian-range/527572 "2015-02-07T20:46:22Z")

</div>

i have tried several solution i have found for this problem but cant get any to work. i want a button in flash as3 to goto and stop at a random frame. (ie a frame between 20 and 30) below is what i thought would work, al…

---

## [Text replacement clicking on AS2](https://forum.kirupa.com/t/text-replacement-clicking-on-as2/527542)

<div class="topic-metadata">

**Author:** [@Hunter47](https://forum.kirupa.com/u/Hunter47)\
**Replies:** 0\
**Last updated:** [February 7, 2015, 5:06pm UTC](https://forum.kirupa.com/t/text-replacement-clicking-on-as2/527542 "2015-02-07T17:06:20Z")

</div>

Hi, I'm trying to do something considered simple, but I do not know how to fix it, A long time I did not working with Flash and I forgot how to do it, i created buttons (Movie Clip), inside i created a button with the co…

---

## [Do sa versions of flash runtime not have all the classes of the normal runtime?](https://forum.kirupa.com/t/do-sa-versions-of-flash-runtime-not-have-all-the-classes-of-the-normal-runtime/352006)

<div class="topic-metadata">

**Author:** [@cakepizza](https://forum.kirupa.com/u/cakepizza)\
**Replies:** 6\
**Last updated:** [February 7, 2015, 7:59am UTC](https://forum.kirupa.com/t/do-sa-versions-of-flash-runtime-not-have-all-the-classes-of-the-normal-runtime/352006 "2015-02-07T07:59:18Z")

</div>

I have an swf published to flash 15 that I want to run using “flashplayer\_15\_sa\_debug.exe”, NOT the default player on my machine, but when I drag the swf over flashplayer\_15\_sa\_debug.exe to run it, I get this error Ref…

---

## [How to remove dynamically created movieclips? AS2](https://forum.kirupa.com/t/how-to-remove-dynamically-created-movieclips-as2/523295)

<div class="topic-metadata">

**Author:** [@trollhead](https://forum.kirupa.com/u/trollhead)\
**Replies:** 3\
**Last updated:** [February 5, 2015, 11:11pm UTC](https://forum.kirupa.com/t/how-to-remove-dynamically-created-movieclips-as2/523295 "2015-02-05T23:11:57Z")

</div>

Hey guys, I have a button that uses this code to rollover between 2 frames: btn\_splash.onRollOver = function() { btn\_splash.gotoAndStop(2); }; btn\_splash.onRollOut = function() { btn\_splash.gotoAndStop(1); }; Whe…

---

## [Help with roots/parents.](https://forum.kirupa.com/t/help-with-roots-parents/523321)

<div class="topic-metadata">

**Author:** [@Geewhiz1011](https://forum.kirupa.com/u/Geewhiz1011)\
**Replies:** 3\
**Last updated:** [February 5, 2015, 9:57pm UTC](https://forum.kirupa.com/t/help-with-roots-parents/523321 "2015-02-05T21:57:54Z")

</div>

Hi, I've got a nested movieclip here, and I would like to call another nested movieclip in the main timeline. My main idea was to do: MovieClip(root.instance).instance.gotoAndPlay(1); , but that doesn't work (obviou…

---

## [AS3 Draggable layer/mask on y axis](https://forum.kirupa.com/t/as3-draggable-layer-mask-on-y-axis/518064)

<div class="topic-metadata">

**Author:** [@djjulia](https://forum.kirupa.com/u/djjulia)\
**Replies:** 0\
**Last updated:** [February 3, 2015, 8:50pm UTC](https://forum.kirupa.com/t/as3-draggable-layer-mask-on-y-axis/518064 "2015-02-03T20:50:08Z")

</div>

I'd like to create this exact example: http://www.nytimes.com/2008/12/28/nyregion/18thennow.html?\_r=2& however have the drag occur on the y axis instead of the x. I was working with some basic code, but wondering how to …

---

## [how do you alter a framework (starling) but stay organized and keep getting updates?](https://forum.kirupa.com/t/how-do-you-alter-a-framework-starling-but-stay-organized-and-keep-getting-updates/516644)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 3\
**Last updated:** [February 3, 2015, 11:19am UTC](https://forum.kirupa.com/t/how-do-you-alter-a-framework-starling-but-stay-organized-and-keep-getting-updates/516644 "2015-02-03T11:19:15Z")

</div>

what is the proper way to customize the source code with something like starling, but still download the latest versions without overwriting your changes? is there some way to put all modified functions somewhere seper…

---

## [how do you enable -sampler in flash develop for scout telemetry](https://forum.kirupa.com/t/how-do-you-enable-sampler-in-flash-develop-for-scout-telemetry/514403)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 5\
**Last updated:** [February 3, 2015, 11:05am UTC](https://forum.kirupa.com/t/how-do-you-enable-sampler-in-flash-develop-for-scout-telemetry/514403 "2015-02-03T11:05:16Z")

</div>

im using flash develop and I cant figure out where to put -sampler needed for ios detailed telemetry. I am able to add advanced telemetry to the compiler and it works for android, but ios needs this extra value set. i…

---

## [Confining mouse actions to MC on stage, v2](https://forum.kirupa.com/t/confining-mouse-actions-to-mc-on-stage-v2/505113)

<div class="topic-metadata">

**Author:** [@jsimpsonJSD](https://forum.kirupa.com/u/jsimpsonJSD)\
**Replies:** 3\
**Last updated:** [January 30, 2015, 8:13am UTC](https://forum.kirupa.com/t/confining-mouse-actions-to-mc-on-stage-v2/505113 "2015-01-30T08:13:38Z")

</div>

Two part question, please bear with me. Q1. Trying a different method than before to draw straight lines between mouse clicks, confined WITHIN a movie clip on the stage whose instance named "mc\_border". I have a sepa…

---

## [Variable Undefined? I think not!](https://forum.kirupa.com/t/variable-undefined-i-think-not/381119)

<div class="topic-metadata">

**Author:** [@DKaikster](https://forum.kirupa.com/u/DKaikster)\
**Replies:** 3\
**Last updated:** [November 28, 2014, 8:35pm UTC](https://forum.kirupa.com/t/variable-undefined-i-think-not/381119 "2014-11-28T20:35:34Z")

</div>

public class FightGame extends MovieClip { private var \_character:Character; private var antagonist:MovieClip; private var loadit:Loader; public var charList:XML; // Thi…

---

## [Error #2025 oh please help](https://forum.kirupa.com/t/error-2025-oh-please-help/497423)

<div class="topic-metadata">

**Author:** [@e\_v](https://forum.kirupa.com/u/e_v)\
**Replies:** 7\
**Last updated:** [January 29, 2015, 10:04pm UTC](https://forum.kirupa.com/t/error-2025-oh-please-help/497423 "2015-01-29T22:04:18Z")

</div>

Say you have a Flash document with a MovieClip symbol in the library and assign it the base class ThingOne, and ThingOne.as looks like this: package{ import flash.display.MovieClip; import flash.events.Event; …

---

## [flash as3 slider](https://forum.kirupa.com/t/flash-as3-slider/499424)

<div class="topic-metadata">

**Author:** [@afrogirl](https://forum.kirupa.com/u/afrogirl)\
**Replies:** 4\
**Last updated:** [January 28, 2015, 12:55pm UTC](https://forum.kirupa.com/t/flash-as3-slider/499424 "2015-01-28T12:55:40Z")

</div>

Hi, I'm building a flash slider in actionscript 3 using a external slider class that I found on the internet. I'm pulling in the position of the slider into a dynamic text filed when the slider first appears but I need t…

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

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