# flash

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

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

**Page:** 14

---

## [AS3 compiler error: 1182 package cannot be used as value](https://forum.kirupa.com/t/as3-compiler-error-1182-package-cannot-be-used-as-value/332562)

<div class="topic-metadata">

**Author:** [@newtome](https://forum.kirupa.com/u/newtome)\
**Replies:** 0\
**Last updated:** [July 25, 2014, 1:47pm UTC](https://forum.kirupa.com/t/as3-compiler-error-1182-package-cannot-be-used-as-value/332562 "2014-07-25T13:47:24Z")

</div>

This is my first attempt at creating (actually modifying to suit my need) a class. This is the first bit: package { import flash.display.Sprite; import flash.text.\*; public class TextBox extends Spr…

---

## [\[AS2\] X,Y Coordinates Perfect Position](https://forum.kirupa.com/t/as2-x-y-coordinates-perfect-position/332559)

<div class="topic-metadata">

**Author:** [@theicecube92](https://forum.kirupa.com/u/theicecube92)\
**Replies:** 0\
**Last updated:** [July 23, 2014, 11:57am UTC](https://forum.kirupa.com/t/as2-x-y-coordinates-perfect-position/332559 "2014-07-23T11:57:12Z")

</div>

Hey guys, I have a little problem with the x,y coords. So the thing is that I have 2 movieclips and I want one of them to be the exact position as the other one. (object2 = same x,y coords as object1) I have a simple c…

---

## [Break appart movie clip/change color](https://forum.kirupa.com/t/break-appart-movie-clip-change-color/332554)

<div class="topic-metadata">

**Author:** [@cupz](https://forum.kirupa.com/u/cupz)\
**Replies:** 0\
**Last updated:** [July 21, 2014, 11:52pm UTC](https://forum.kirupa.com/t/break-appart-movie-clip-change-color/332554 "2014-07-21T23:52:57Z")

</div>

So I'm making a weird little dungeon generator and I was wondering if the following was in any way possible: all the walls are duplicated movieclips and are basically generated like this: \_root.wallPrefab.duplicateMov…

---

## [Any available tutors?](https://forum.kirupa.com/t/any-available-tutors/332550)

<div class="topic-metadata">

**Author:** [@Exorscizzor](https://forum.kirupa.com/u/Exorscizzor)\
**Replies:** 0\
**Last updated:** [July 21, 2014, 11:40am UTC](https://forum.kirupa.com/t/any-available-tutors/332550 "2014-07-21T11:40:27Z")

</div>

Hello, how are you all? I am a new member, I just found out about this forum and registered today, and it seems like a qualitative one at that. Its nice to meet you all, and I really hope Ill get to know some of you an…

---

## [Delete child created in another function](https://forum.kirupa.com/t/delete-child-created-in-another-function/332548)

<div class="topic-metadata">

**Author:** [@newtome](https://forum.kirupa.com/u/newtome)\
**Replies:** 0\
**Last updated:** [July 21, 2014, 3:48am UTC](https://forum.kirupa.com/t/delete-child-created-in-another-function/332548 "2014-07-21T03:48:11Z")

</div>

This is my first venture into the world of classes so apologies in advance for my newbie terminology. I have implemented a very nice "Busy" indicator courtesy of Daniels Tech Ramblings and it's initiated by: var loadIn…

---

## [Can't addChild after deleting it (Error #1009)](https://forum.kirupa.com/t/cant-addchild-after-deleting-it-error-1009/332547)

<div class="topic-metadata">

**Author:** [@nikel](https://forum.kirupa.com/u/nikel)\
**Replies:** 0\
**Last updated:** [July 19, 2014, 2:54pm UTC](https://forum.kirupa.com/t/cant-addchild-after-deleting-it-error-1009/332547 "2014-07-19T14:54:27Z")

</div>

Hello, I'm trying to delete and create new movieclip but I'm getting errors. Here's my code: function onNumericStChange(event:Event):void { subunits = event.target.value; isEditSet = false; container.…

---

## [Advantages of ActionScript 3.0](https://forum.kirupa.com/t/advantages-of-actionscript-3-0/332546)

<div class="topic-metadata">

**Author:** [@Astrum](https://forum.kirupa.com/u/Astrum)\
**Replies:** 0\
**Last updated:** [July 19, 2014, 6:12am UTC](https://forum.kirupa.com/t/advantages-of-actionscript-3-0/332546 "2014-07-19T06:12:24Z")

</div>

ActionScript 3.0 goes beyond the scripting capabilities of previous versions of ActionScript. It is designed to facilitate the creation of highly complex applications with large data sets and object-oriented, reusable co…

---

## [Question about Dictionaries](https://forum.kirupa.com/t/question-about-dictionaries/332545)

<div class="topic-metadata">

**Author:** [@IgiveUp](https://forum.kirupa.com/u/IgiveUp)\
**Replies:** 0\
**Last updated:** [July 18, 2014, 7:27pm UTC](https://forum.kirupa.com/t/question-about-dictionaries/332545 "2014-07-18T19:27:03Z")

</div>

Hi guys, I am currently writing some code to make a bunch of fairies, each fairy emits "fairy dust' (particles). These particles are on a timer and are removed after a couple seconds. I am using a dictionary to track the…

---

## [Parameter object dynamically on Tween](https://forum.kirupa.com/t/parameter-object-dynamically-on-tween/332541)

<div class="topic-metadata">

**Author:** [@atoyansk](https://forum.kirupa.com/u/atoyansk)\
**Replies:** 0\
**Last updated:** [July 17, 2014, 9:43pm UTC](https://forum.kirupa.com/t/parameter-object-dynamically-on-tween/332541 "2014-07-17T21:43:31Z")

</div>

Hi all, I have 3 MCs (my\_mc0, my\_mc1 and my\_mc2) on my stage. And I need to apply the same motion tween on them. So, follow the script that I've tried to do it: import fl.transitions.Tween; import fl.transitions.eas…

---

## [Adobe Flash using the free Flash Develop IDE-Optional debugger](https://forum.kirupa.com/t/adobe-flash-using-the-free-flash-develop-ide-optional-debugger/332535)

<div class="topic-metadata">

**Author:** [@Astrum](https://forum.kirupa.com/u/Astrum)\
**Replies:** 0\
**Last updated:** [July 17, 2014, 5:41am UTC](https://forum.kirupa.com/t/adobe-flash-using-the-free-flash-develop-ide-optional-debugger/332535 "2014-07-17T05:41:47Z")

</div>

\[LIST=1\] \[\*\]Installing a debugger \[LIST\] \[\*\]Original post on FD forums. \[\*\]Download the latest version \[here (currently fdbPlugin0.4.5.0.zip, this version is only compatible with \[URL="http://www.flashdevelop.org/communi…

---

## [Flash AS3 Remoting - working!...but a question remains](https://forum.kirupa.com/t/flash-as3-remoting-working-but-a-question-remains/332534)

<div class="topic-metadata">

**Author:** [@newtome](https://forum.kirupa.com/u/newtome)\
**Replies:** 0\
**Last updated:** [July 17, 2014, 3:49am UTC](https://forum.kirupa.com/t/flash-as3-remoting-working-but-a-question-remains/332534 "2014-07-17T03:49:21Z")

</div>

I put remoting in the title with much trepidation because my trawling of the net shows that it almost always guarantees no reponse, so I hope this forum acts differently. My program runs from the AS3 CS6 IDE and communic…

---

## [Changing Mouse Coordinates and Stimulating a Click using Keyboard](https://forum.kirupa.com/t/changing-mouse-coordinates-and-stimulating-a-click-using-keyboard/332523)

<div class="topic-metadata">

**Author:** [@Jack\_Attack](https://forum.kirupa.com/u/Jack_Attack)\
**Replies:** 0\
**Last updated:** [July 13, 2014, 8:59pm UTC](https://forum.kirupa.com/t/changing-mouse-coordinates-and-stimulating-a-click-using-keyboard/332523 "2014-07-13T20:59:46Z")

</div>

Hello, Firstly, I apologize if I misplace this thread: I am brand new to these forums, and don't know my way around yet! I am a high schooler currently partaking in an internship, and since I am the only person my team…

---

## [Load Twitch Stream in a single SWF and resize it (ActionScript)](https://forum.kirupa.com/t/load-twitch-stream-in-a-single-swf-and-resize-it-actionscript/332522)

<div class="topic-metadata">

**Author:** [@akamaths](https://forum.kirupa.com/u/akamaths)\
**Replies:** 0\
**Last updated:** [July 13, 2014, 4:09pm UTC](https://forum.kirupa.com/t/load-twitch-stream-in-a-single-swf-and-resize-it-actionscript/332522 "2014-07-13T16:09:09Z")

</div>

So what i want to do is to Load the embed code of a twitch stream in a single SWF and then Resize the Loaded twitch live\_embed\_player.swf because when it loads it comes up always in full screen and i want it to be in …

---

## [The Best Bodybuilding Equipment To Own](https://forum.kirupa.com/t/the-best-bodybuilding-equipment-to-own/332518)

<div class="topic-metadata">

**Author:** [@banjaminjoel12](https://forum.kirupa.com/u/banjaminjoel12)\
**Replies:** 0\
**Last updated:** [July 11, 2014, 4:50am UTC](https://forum.kirupa.com/t/the-best-bodybuilding-equipment-to-own/332518 "2014-07-11T04:50:12Z")

</div>

\[LEFT\]\[COLOR=#333333\]\[FONT=Verdana\]n 1970, bodybuilding became a craze because of a man in the movie Pumping Iron featuring, you guessed it, Arnold Schwarzenegger. Before jumping into bodybuilding, the first step is crea…

---

## [New Coder looking for help](https://forum.kirupa.com/t/new-coder-looking-for-help/332512)

<div class="topic-metadata">

**Author:** [@Carl\_Martin](https://forum.kirupa.com/u/Carl_Martin)\
**Replies:** 0\
**Last updated:** [July 8, 2014, 3:38am UTC](https://forum.kirupa.com/t/new-coder-looking-for-help/332512 "2014-07-08T03:38:01Z")

</div>

So, I am new to coding, not just AS3 and I have started over the past couple of days to try and achieve my dream of making a MultiUser Dungeon...or MUD. I want to start off simple though and create the base game for just…

---

## [Dual views with option to cycle video files using Actionscript](https://forum.kirupa.com/t/dual-views-with-option-to-cycle-video-files-using-actionscript/332511)

<div class="topic-metadata">

**Author:** [@thetuneupguy](https://forum.kirupa.com/u/thetuneupguy)\
**Replies:** 0\
**Last updated:** [July 7, 2014, 8:24pm UTC](https://forum.kirupa.com/t/dual-views-with-option-to-cycle-video-files-using-actionscript/332511 "2014-07-07T20:24:42Z")

</div>

\[TABLE="class: forumline, width: 100%"\] \[TR="class: messageRow"\] \[TD="class: row1 postbody"\]I am trying to discover the best way to set up a flash project that will utilize dual views of the same scene, and permit cycl…

---

## [Rotate Towards Movieclip?](https://forum.kirupa.com/t/rotate-towards-movieclip/332505)

<div class="topic-metadata">

**Author:** [@Dibbie](https://forum.kirupa.com/u/Dibbie)\
**Replies:** 0\
**Last updated:** [July 5, 2014, 12:14am UTC](https://forum.kirupa.com/t/rotate-towards-movieclip/332505 "2014-07-05T00:14:36Z")

</div>

Hey, I have 2 movieclips, lets call it MCa, and MCb. I want MCb to rotate in the oposite direction as MCa, so that MCb is ALWAYS facing MCa. How might I go about doing that? This code here is for the MCa, so that MCa…

---

## [How to Create SimpleButton with Default View](https://forum.kirupa.com/t/how-to-create-simplebutton-with-default-view/332503)

<div class="topic-metadata">

**Author:** [@nikel](https://forum.kirupa.com/u/nikel)\
**Replies:** 0\
**Last updated:** [July 4, 2014, 1:11pm UTC](https://forum.kirupa.com/t/how-to-create-simplebutton-with-default-view/332503 "2014-07-04T13:11:23Z")

</div>

Hi, I want to create default view SimpleButton in my class file. But when I test my movie I'm seeing that my code doesn't show anything. package { ... import flash.display.SimpleButton; public class MainGr…

---

## [Remove everything except substrings in string](https://forum.kirupa.com/t/remove-everything-except-substrings-in-string/332501)

<div class="topic-metadata">

**Author:** [@Food1234](https://forum.kirupa.com/u/Food1234)\
**Replies:** 0\
**Last updated:** [July 4, 2014, 11:50am UTC](https://forum.kirupa.com/t/remove-everything-except-substrings-in-string/332501 "2014-07-04T11:50:11Z")

</div>

Hi, I'd like to be able to remove everything in a String EXCEPT predefined substrings, so something like; var substring1 = "\<bullet\>" var substring2 = "\<img\>" var myString = "\<bullet\>\<img\>some text\<bullet\>\<img\>some…

---

## [Efficient Nutrition Plan For Bodybuilders Is Vital](https://forum.kirupa.com/t/efficient-nutrition-plan-for-bodybuilders-is-vital/332500)

<div class="topic-metadata">

**Author:** [@amotramarik99](https://forum.kirupa.com/u/amotramarik99)\
**Replies:** 0\
**Last updated:** [July 4, 2014, 1:58am UTC](https://forum.kirupa.com/t/efficient-nutrition-plan-for-bodybuilders-is-vital/332500 "2014-07-04T01:58:09Z")

</div>

To be a made bodybuilder, you moldiness use a nutrition design that is effective to get the wanted resultant. You testament be placing your embody under often higher than practice corporal punctuate with weight activity. …

---

## [Array MovieClip Mames](https://forum.kirupa.com/t/array-movieclip-mames/332498)

<div class="topic-metadata">

**Author:** [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Replies:** 0\
**Last updated:** [July 3, 2014, 3:14pm UTC](https://forum.kirupa.com/t/array-movieclip-mames/332498 "2014-07-03T15:14:02Z")

</div>

hi \[smile\] so simple I cant figure it out ... must have been because I had a hypo last night :/ anyways why doesn't this work if all the MovieClips are on the stage? var menuArray:Array = \[ aboutBtn\_MC, …

---

## [Need help with rendering performance - simple game](https://forum.kirupa.com/t/need-help-with-rendering-performance-simple-game/332497)

<div class="topic-metadata">

**Author:** [@BeerOclock](https://forum.kirupa.com/u/BeerOclock)\
**Replies:** 0\
**Last updated:** [July 3, 2014, 1:54pm UTC](https://forum.kirupa.com/t/need-help-with-rendering-performance-simple-game/332497 "2014-07-03T13:54:12Z")

</div>

I'm working on a game thats graphically very simple. There are some hexagons in the background for walls. All the enemies are circles, and all the bullets and projectiles are smaller circles. Granted, sometimes there are…

---

## [Jumping to frame labels with keyboard input](https://forum.kirupa.com/t/jumping-to-frame-labels-with-keyboard-input/332495)

<div class="topic-metadata">

**Author:** [@Nuclear\_Cactus](https://forum.kirupa.com/u/Nuclear_Cactus)\
**Replies:** 0\
**Last updated:** [July 2, 2014, 5:13pm UTC](https://forum.kirupa.com/t/jumping-to-frame-labels-with-keyboard-input/332495 "2014-07-02T17:13:54Z")

</div>

Hai there. So I have bunch of animations on the main timeline, for example one of them starts at frame 51 and ends at 100, another one starts at 101 and ends at 150, and another one starts at 151 and ends at 200. I g…

---

## [AS3 - using JSON and other external classes inside external classes](https://forum.kirupa.com/t/as3-using-json-and-other-external-classes-inside-external-classes/332493)

<div class="topic-metadata">

**Author:** [@Nofar\_Shaked](https://forum.kirupa.com/u/Nofar_Shaked)\
**Replies:** 0\
**Last updated:** [July 2, 2014, 5:34am UTC](https://forum.kirupa.com/t/as3-using-json-and-other-external-classes-inside-external-classes/332493 "2014-07-02T05:34:15Z")

</div>

Hey, I have a main project in Flash CS6 using external classes. Inside one of the classes I created (located in C:\\com\\classes\\classTestManager.as) I use other class such as JSON (located in C:\\com\\adobe\\serialization…

---

## [AS3 Timeline Animation Refuses to Loop](https://forum.kirupa.com/t/as3-timeline-animation-refuses-to-loop/332492)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [July 1, 2014, 8:48pm UTC](https://forum.kirupa.com/t/as3-timeline-animation-refuses-to-loop/332492 "2014-07-01T20:48:39Z")

</div>

This is a weird one. I have a run animation for a player with four states labeled on the timeline: idle (one frame with a stop(); call in the frame), start (which has no scripting in any frames), run (which has a gotoAn…

---

## [A3 Arrays of movieClips](https://forum.kirupa.com/t/a3-arrays-of-movieclips/332488)

<div class="topic-metadata">

**Author:** [@Cinquil](https://forum.kirupa.com/u/Cinquil)\
**Replies:** 0\
**Last updated:** [June 27, 2014, 8:14am UTC](https://forum.kirupa.com/t/a3-arrays-of-movieclips/332488 "2014-06-27T08:14:44Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]AS3.0\] I'm currently working on my graduation diploma and I have a problem with managing movieClips with the same instance name..sort of. I'm creating an array of objects with this Class an Arr…

---

## [If statment help for mutiple selected radio buttons](https://forum.kirupa.com/t/if-statment-help-for-mutiple-selected-radio-buttons/332487)

<div class="topic-metadata">

**Author:** [@Josh\_Medina](https://forum.kirupa.com/u/Josh_Medina)\
**Replies:** 0\
**Last updated:** [June 26, 2014, 11:34pm UTC](https://forum.kirupa.com/t/if-statment-help-for-mutiple-selected-radio-buttons/332487 "2014-06-26T23:34:32Z")

</div>

Hello fellow flashers, I need some help with if statements. I'm building a flash banner with CS6/AS2 that has 4 radio buttons that once the user rolls over, they mark with a checkmark. I want the user to only be able …

---

## [Drag Drop Rotate](https://forum.kirupa.com/t/drag-drop-rotate/332485)

<div class="topic-metadata">

**Author:** [@The\_Mort](https://forum.kirupa.com/u/The_Mort)\
**Replies:** 0\
**Last updated:** [June 26, 2014, 8:59am UTC](https://forum.kirupa.com/t/drag-drop-rotate/332485 "2014-06-26T08:59:59Z")

</div>

I am trying to get different movie clips to drag and rotate independently on the stage I have found code on the internet which has just one movie in it and does just what I want but when I add a second movie they drag …

---

## [Scrolling the Game Breaks my Collision Detection](https://forum.kirupa.com/t/scrolling-the-game-breaks-my-collision-detection/332483)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [June 25, 2014, 2:50pm UTC](https://forum.kirupa.com/t/scrolling-the-game-breaks-my-collision-detection/332483 "2014-06-25T14:50:40Z")

</div>

I am working on a side-scrolling platformer and I just added scrolling, which broke my collision detection. I have no idea WHY collision detection no longer works, so I thought I'd see if anyone here can help me. I kno…

---

## [AS3 Unloading external SWF piling up problem](https://forum.kirupa.com/t/as3-unloading-external-swf-piling-up-problem/332478)

<div class="topic-metadata">

**Author:** [@Tosif](https://forum.kirupa.com/u/Tosif)\
**Replies:** 0\
**Last updated:** [June 24, 2014, 12:31pm UTC](https://forum.kirupa.com/t/as3-unloading-external-swf-piling-up-problem/332478 "2014-06-24T12:31:03Z")

</div>

I have two buttons on main SWF what loads and Unload two external SWFs back and forth. Also one timer function is calling external Screen saver SWF and unload the existing one when no interaction found. I am using …

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

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