# flash

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

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

**Page:** 27

---

## [TransformAroundCenterPlugin.as - TweenMax](https://forum.kirupa.com/t/transformaroundcenterplugin-as-tweenmax/331561)

<div class="topic-metadata">

**Author:** [@foxdanger](https://forum.kirupa.com/u/foxdanger)\
**Replies:** 0\
**Last updated:** [August 29, 2013, 2:56pm UTC](https://forum.kirupa.com/t/transformaroundcenterplugin-as-tweenmax/331561 "2013-08-29T14:56:25Z")

</div>

Anyone has this class? Is missing in my com folder and I can't find it at internet.

---

## [Converting Flash Graphics from AS2 to AS3](https://forum.kirupa.com/t/converting-flash-graphics-from-as2-to-as3/331556)

<div class="topic-metadata">

**Author:** [@lamarin](https://forum.kirupa.com/u/lamarin)\
**Replies:** 0\
**Last updated:** [August 27, 2013, 4:03pm UTC](https://forum.kirupa.com/t/converting-flash-graphics-from-as2-to-as3/331556 "2013-08-27T16:03:03Z")

</div>

i ahev problem with few Flash graphics. I ahve to convert them form AS2 to AS3. Could some one help me???

---

## [Menu with sliding doors effect](https://forum.kirupa.com/t/menu-with-sliding-doors-effect/331555)

<div class="topic-metadata">

**Author:** [@anson](https://forum.kirupa.com/u/anson)\
**Replies:** 0\
**Last updated:** [August 27, 2013, 3:26pm UTC](https://forum.kirupa.com/t/menu-with-sliding-doors-effect/331555 "2013-08-27T15:26:21Z")

</div>

Hi all, I'm working on a flash site which has a menu with 4 to 5 buttons and a pair of sliding doors. What I wanted to do is that when each button is clicked, the doors will slide open and show the content. However, I …

---

## [Passing an instance name through a function](https://forum.kirupa.com/t/passing-an-instance-name-through-a-function/331554)

<div class="topic-metadata">

**Author:** [@iglota](https://forum.kirupa.com/u/iglota)\
**Replies:** 0\
**Last updated:** [August 27, 2013, 2:20pm UTC](https://forum.kirupa.com/t/passing-an-instance-name-through-a-function/331554 "2013-08-27T14:20:39Z")

</div>

Hi, folks! I have a slider on the stage which controls a movieclip's rotation. The thing is that I want bring more movieclips from library and I want to choose which one is the active to be rotated by this function, so…

---

## [AS3 Problem: Display Object](https://forum.kirupa.com/t/as3-problem-display-object/331552)

<div class="topic-metadata">

**Author:** [@tumbangLata](https://forum.kirupa.com/u/tumbangLata)\
**Replies:** 0\
**Last updated:** [August 27, 2013, 9:33am UTC](https://forum.kirupa.com/t/as3-problem-display-object/331552 "2013-08-27T09:33:58Z")

</div>

canArray is composed of 5 holes slipperArray is composed of how many slippers i'll throw.. each added movieclip of slippers are pushed in an array of SlipperArray.. oh and btw.. it is slipper weapon used because it wil…

---

## [Swf embedding in aspx](https://forum.kirupa.com/t/swf-embedding-in-aspx/331551)

<div class="topic-metadata">

**Author:** [@DeadlyDude](https://forum.kirupa.com/u/DeadlyDude)\
**Replies:** 0\
**Last updated:** [August 27, 2013, 6:36am UTC](https://forum.kirupa.com/t/swf-embedding-in-aspx/331551 "2013-08-27T06:36:56Z")

</div>

I have embedded a swf in aspx page. But when I run it using aspx page its creating xml path issues....:q::q::q:

---

## [Where to declare and set variables for an extended class](https://forum.kirupa.com/t/where-to-declare-and-set-variables-for-an-extended-class/331550)

<div class="topic-metadata">

**Author:** [@David\_Lees](https://forum.kirupa.com/u/David_Lees)\
**Replies:** 0\
**Last updated:** [August 26, 2013, 6:00pm UTC](https://forum.kirupa.com/t/where-to-declare-and-set-variables-for-an-extended-class/331550 "2013-08-26T18:00:53Z")

</div>

I have a class that looks like this. public class Man extends MovieClip { var typeOfPerson:String; public function Man() { trace("In Man class:- ",typeOfPerson); //null …

---

## [Audio in flash cs 5](https://forum.kirupa.com/t/audio-in-flash-cs-5/331549)

<div class="topic-metadata">

**Author:** [@ncv123456](https://forum.kirupa.com/u/ncv123456)\
**Replies:** 0\
**Last updated:** [August 26, 2013, 1:31pm UTC](https://forum.kirupa.com/t/audio-in-flash-cs-5/331549 "2013-08-26T13:31:47Z")

</div>

Hi, am working on flash cs 5.Can anyone tell me how to use audio for button?I want to call it on diffrent button and that audio should be continue with next scene till last,also it need to adjust somewhere where user wan…

---

## [Pixel text effect does not runs well](https://forum.kirupa.com/t/pixel-text-effect-does-not-runs-well/331542)

<div class="topic-metadata">

**Author:** [@M\_Hanif\_Fa](https://forum.kirupa.com/u/M_Hanif_Fa)\
**Replies:** 0\
**Last updated:** [August 25, 2013, 4:19am UTC](https://forum.kirupa.com/t/pixel-text-effect-does-not-runs-well/331542 "2013-08-25T04:19:09Z")

</div>

I've try to practice a tutorial in this page http://www.ilike2flash.com/2013/04/pixel-text-effect-actionscript-3.html but when I try to run it, when I moue over the text, the text behind doesnot appear correctly. So, I…

---

## [hitTestObject with walking man](https://forum.kirupa.com/t/hittestobject-with-walking-man/331538)

<div class="topic-metadata">

**Author:** [@HugeEuge](https://forum.kirupa.com/u/HugeEuge)\
**Replies:** 0\
**Last updated:** [August 22, 2013, 8:20am UTC](https://forum.kirupa.com/t/hittestobject-with-walking-man/331538 "2013-08-22T08:20:45Z")

</div>

Hi, I am quite new to hitTestObject.. So im making a game for an assignment, its in top down view and is not tile based. to stop players from walking where they are not allowed i've added about 5 or more walls to the s…

---

## [BitmapData draw](https://forum.kirupa.com/t/bitmapdata-draw/331534)

<div class="topic-metadata">

**Author:** [@destinier](https://forum.kirupa.com/u/destinier)\
**Replies:** 0\
**Last updated:** [August 21, 2013, 10:33am UTC](https://forum.kirupa.com/t/bitmapdata-draw/331534 "2013-08-21T10:33:33Z")

</div>

Hi, In my scenario, I have a background image upon which some A,B,C components are placed where B,C components are placed within the A component bounds. Now I want to draw A component including B,C components without…

---

## [Need help, don't know what i'm looking for](https://forum.kirupa.com/t/need-help-dont-know-what-im-looking-for/331531)

<div class="topic-metadata">

**Author:** [@HugeEuge](https://forum.kirupa.com/u/HugeEuge)\
**Replies:** 0\
**Last updated:** [August 20, 2013, 12:27pm UTC](https://forum.kirupa.com/t/need-help-dont-know-what-im-looking-for/331531 "2013-08-20T12:27:56Z")

</div>

I am learning flash AS3 at university and so far have been getting some pretty good marks. I use google to find what I need and usually I know what I am after.. Problem: I am making a game where a character can move be…

---

## [Does Adobe AIR support gamepad input for AS2?](https://forum.kirupa.com/t/does-adobe-air-support-gamepad-input-for-as2/331529)

<div class="topic-metadata">

**Author:** [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Replies:** 0\
**Last updated:** [August 20, 2013, 11:46am UTC](https://forum.kirupa.com/t/does-adobe-air-support-gamepad-input-for-as2/331529 "2013-08-20T11:46:20Z")

</div>

The title says it all really. I've looked around a little but I've only found gamepad input support for AS3. Any and all information regarding gamepad support in AS2 would be very much appreciated! Many thanks Brenda…

---

## [Move container sprite according to mouse movement](https://forum.kirupa.com/t/move-container-sprite-according-to-mouse-movement/331528)

<div class="topic-metadata">

**Author:** [@jahanpanah](https://forum.kirupa.com/u/jahanpanah)\
**Replies:** 0\
**Last updated:** [August 20, 2013, 3:50am UTC](https://forum.kirupa.com/t/move-container-sprite-according-to-mouse-movement/331528 "2013-08-20T03:50:09Z")

</div>

Hi All, Currently I'm developing a game where there is a object which follows mouse. Also there are other objects and a map on the screen.I want all of background content(whole map and other objects) to move when user …

---

## [addChild and globaltoLocal](https://forum.kirupa.com/t/addchild-and-globaltolocal/331525)

<div class="topic-metadata">

**Author:** [@BindleStick](https://forum.kirupa.com/u/BindleStick)\
**Replies:** 0\
**Last updated:** [August 19, 2013, 11:20am UTC](https://forum.kirupa.com/t/addchild-and-globaltolocal/331525 "2013-08-19T11:20:43Z")

</div>

\[COLOR=#333333\]\[FONT=adobe-clean\]I have an enemy that adds an attack movie clip. More specifically, this attack movie (We'll call it masterAttack) clip is a blank movie clip that acts like a super class, that will hold o…

---

## [How do I reduce lives when insects go off?](https://forum.kirupa.com/t/how-do-i-reduce-lives-when-insects-go-off/331522)

<div class="topic-metadata">

**Author:** [@razer56](https://forum.kirupa.com/u/razer56)\
**Replies:** 0\
**Last updated:** [August 18, 2013, 5:00pm UTC](https://forum.kirupa.com/t/how-do-i-reduce-lives-when-insects-go-off/331522 "2013-08-18T17:00:33Z")

</div>

\[FONT=Verdana\]I am trying to create a game where insects coming from the Y direction are racing to go down the screen. The point of this game is that the user has to click on the insects for them to die, if the insects g…

---

## [Newbie: How to access class instance from childSWF](https://forum.kirupa.com/t/newbie-how-to-access-class-instance-from-childswf/331521)

<div class="topic-metadata">

**Author:** [@squadjot](https://forum.kirupa.com/u/squadjot)\
**Replies:** 0\
**Last updated:** [August 18, 2013, 3:46pm UTC](https://forum.kirupa.com/t/newbie-how-to-access-class-instance-from-childswf/331521 "2013-08-18T15:46:22Z")

</div>

Hi I got a child swf that needs to access a public static function in my "main" class, in parent swf. When i compile the child SWF with code myApp.myFunction() it says it does not know what myApp is (logically) I guess …

---

## [Quadrants and items that can't touch or overlap](https://forum.kirupa.com/t/quadrants-and-items-that-cant-touch-or-overlap/331519)

<div class="topic-metadata">

**Author:** [@Iammontoya](https://forum.kirupa.com/u/Iammontoya)\
**Replies:** 0\
**Last updated:** [August 16, 2013, 6:19pm UTC](https://forum.kirupa.com/t/quadrants-and-items-that-cant-touch-or-overlap/331519 "2013-08-16T18:19:51Z")

</div>

Hi there, Could use some help... I have 4 quadrants, each can be a separate MC. Just think a square divided into 4, smaller quares. q1 q2 q3 q4 I have…

---

## [Resetting variables](https://forum.kirupa.com/t/resetting-variables/331516)

<div class="topic-metadata">

**Author:** [@Blablob](https://forum.kirupa.com/u/Blablob)\
**Replies:** 0\
**Last updated:** [August 16, 2013, 12:41pm UTC](https://forum.kirupa.com/t/resetting-variables/331516 "2013-08-16T12:41:00Z")

</div>

I've had this problem for a while now and I really don't know how to fix it. I have a class called PlayerWeapon that gets added to the game every time the player hits the Play button. This is the function that I have rig…

---

## [AS3: How to create a fighting game](https://forum.kirupa.com/t/as3-how-to-create-a-fighting-game/331514)

<div class="topic-metadata">

**Author:** [@s4f300](https://forum.kirupa.com/u/s4f300)\
**Replies:** 0\
**Last updated:** [August 15, 2013, 10:07pm UTC](https://forum.kirupa.com/t/as3-how-to-create-a-fighting-game/331514 "2013-08-15T22:07:02Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]I'm trying to create a beat em up game and right now i got my character walking, jumping and dashing. I have 6 attack animation so far 3 for punches 3 for kicks. If you hit the a key it will pu…

---

## [Object not moving even when there's no errors](https://forum.kirupa.com/t/object-not-moving-even-when-theres-no-errors/331507)

<div class="topic-metadata">

**Author:** [@Mark1989](https://forum.kirupa.com/u/Mark1989)\
**Replies:** 0\
**Last updated:** [August 14, 2013, 2:45pm UTC](https://forum.kirupa.com/t/object-not-moving-even-when-theres-no-errors/331507 "2013-08-14T14:45:41Z")

</div>

Hi guys, I've been working on my class for a while now and everything is running without errors however my PlayerPic doesn't actually move when the arrow keys are pressed which it's meant to. Can some please help me. p…

---

## [Problem with Nested Movieclip](https://forum.kirupa.com/t/problem-with-nested-movieclip/331505)

<div class="topic-metadata">

**Author:** [@kittu](https://forum.kirupa.com/u/kittu)\
**Replies:** 0\
**Last updated:** [August 14, 2013, 11:47am UTC](https://forum.kirupa.com/t/problem-with-nested-movieclip/331505 "2013-08-14T11:47:10Z")

</div>

Hi All, I have movieclip, inside a movieclip. And Inside that second movieclip I have another mc with buttonmODE enabled. The target is a mvoieclip and movieclip inside. If I click in the button then the second moviecl…

---

## [How to enable clicking through a movie clip?](https://forum.kirupa.com/t/how-to-enable-clicking-through-a-movie-clip/331504)

<div class="topic-metadata">

**Author:** [@daHsu](https://forum.kirupa.com/u/daHsu)\
**Replies:** 0\
**Last updated:** [August 14, 2013, 3:13am UTC](https://forum.kirupa.com/t/how-to-enable-clicking-through-a-movie-clip/331504 "2013-08-14T03:13:31Z")

</div>

So I'm making this game where an enemy is standing inside a tile. The enemy has MOUSE\_OVER/MOUSE\_OUT event listeners so that when you roll over it, it displays the enemy's name, hp bar, and level. The tile underneath it …

---

## [How to make on.Press from \_level2 for a button thats on \_level3 (AS2 - Flash 8 Pro)](https://forum.kirupa.com/t/how-to-make-on-press-from--level2-for-a-button-thats-on--level3-as2-flash-8-pro/331501)

<div class="topic-metadata">

**Author:** [@plainman007](https://forum.kirupa.com/u/plainman007)\
**Replies:** 0\
**Last updated:** [August 13, 2013, 1:02pm UTC](https://forum.kirupa.com/t/how-to-make-on-press-from--level2-for-a-button-thats-on--level3-as2-flash-8-pro/331501 "2013-08-13T13:02:27Z")

</div>

Hi, \*\*(AS2 - Flash 8 Pro) \*\* My script on \_level2 loads a swf webpage into \_level3. I also have a script on \_level2 main timeline as follows... \*\*\_level3.returnBtn.onPress=function(){ loadMovieNum("NoFile",3); }; \*\* I…

---

## [printJob printed extra 1 copy](https://forum.kirupa.com/t/printjob-printed-extra-1-copy/331500)

<div class="topic-metadata">

**Author:** [@Fadhli](https://forum.kirupa.com/u/Fadhli)\
**Replies:** 0\
**Last updated:** [August 13, 2013, 9:00am UTC](https://forum.kirupa.com/t/printjob-printed-extra-1-copy/331500 "2013-08-13T09:00:45Z")

</div>

Hello guys, I'm working on mobile apps development as my intern project. I've referred to many threads in here for printJob coding and so far it went well. However, the printout seems to print 2 copy of it instead of 1. …

---

## [Correct use of eval in combination with array](https://forum.kirupa.com/t/correct-use-of-eval-in-combination-with-array/331499)

<div class="topic-metadata">

**Author:** [@ToubMor](https://forum.kirupa.com/u/ToubMor)\
**Replies:** 0\
**Last updated:** [August 13, 2013, 8:26am UTC](https://forum.kirupa.com/t/correct-use-of-eval-in-combination-with-array/331499 "2013-08-13T08:26:24Z")

</div>

Hi there, its been a while since i used flash. Now and than i do small fun kind of things, ut im no hardcore coder. Im busy with a sort generatool which makes a code for a 3d application. I made a help section which i …

---

## [How to close Soft Keyboard?](https://forum.kirupa.com/t/how-to-close-soft-keyboard/331497)

<div class="topic-metadata">

**Author:** [@kiwirob](https://forum.kirupa.com/u/kiwirob)\
**Replies:** 0\
**Last updated:** [August 13, 2013, 1:45am UTC](https://forum.kirupa.com/t/how-to-close-soft-keyboard/331497 "2013-08-13T01:45:38Z")

</div>

Hi I'm developing an app on an Android phone phone which requires the soft keyboard. This works fine however closing the keyboard on pressing the enter key is proving to be problematic. I'm using: stage.focus…

---

## [One TextFormat for each font size?](https://forum.kirupa.com/t/one-textformat-for-each-font-size/331495)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [August 12, 2013, 2:18pm UTC](https://forum.kirupa.com/t/one-textformat-for-each-font-size/331495 "2013-08-12T14:18:05Z")

</div>

I want to use the same TextFormat on lots of different textFields, the only difference between these fields is the font size. Is there some way to keep the same TextFormat but just change the size? \*(I want to avoid crea…

---

## [Colors in a text](https://forum.kirupa.com/t/colors-in-a-text/331493)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [August 12, 2013, 7:11am UTC](https://forum.kirupa.com/t/colors-in-a-text/331493 "2013-08-12T07:11:07Z")

</div>

Hi, If I want to have more than one colors in a text, can it be done ? For example, I have a text, "someone", I want "so" in red color, "me" in blue color and "one" in green color, without breaking apart and change color…

---

## [Strange arithmetic is AS 3.0?](https://forum.kirupa.com/t/strange-arithmetic-is-as-3-0/331490)

<div class="topic-metadata">

**Author:** [@juniorspecial](https://forum.kirupa.com/u/juniorspecial)\
**Replies:** 0\
**Last updated:** [August 11, 2013, 4:31pm UTC](https://forum.kirupa.com/t/strange-arithmetic-is-as-3-0/331490 "2013-08-11T16:31:51Z")

</div>

I'm confused. In a function I'm running, there are these two steps: fade3.scaleX -=0.01; trace(fade3.scaleX); So, I'm puzzled that the trace reads out like this, with nice even numbers, …

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

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