# flash

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

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

**Page:** 30

---

## [Array Problem~ Urgent Help please TT](https://forum.kirupa.com/t/array-problem-urgent-help-please-tt/331340)

<div class="topic-metadata">

**Author:** [@Zn\_Jie](https://forum.kirupa.com/u/Zn_Jie)\
**Replies:** 0\
**Last updated:** [July 10, 2013, 10:02am UTC](https://forum.kirupa.com/t/array-problem-urgent-help-please-tt/331340 "2013-07-10T10:02:20Z")

</div>

I doing a catching game for my assignment Greeny1, Greeny 2, is object which dropping down and i want they to play their own different animation(different movie clip) when hit the catcher. my part of code is like.. v…

---

## [Interesting startDrag rectangle bug, love some feedback](https://forum.kirupa.com/t/interesting-startdrag-rectangle-bug-love-some-feedback/331338)

<div class="topic-metadata">

**Author:** [@katzman](https://forum.kirupa.com/u/katzman)\
**Replies:** 0\
**Last updated:** [July 9, 2013, 6:35pm UTC](https://forum.kirupa.com/t/interesting-startdrag-rectangle-bug-love-some-feedback/331338 "2013-07-09T18:35:38Z")

</div>

Ok, i did a quick scroller for a project and for the very first time i added the functionality where the scroll button changes size based on how much it has to scroll, so it works more like a normal window scroller. The …

---

## [Flash as2 Moving Character With Arror Keys](https://forum.kirupa.com/t/flash-as2-moving-character-with-arror-keys/331337)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [July 9, 2013, 1:40pm UTC](https://forum.kirupa.com/t/flash-as2-moving-character-with-arror-keys/331337 "2013-07-09T13:40:04Z")

</div>

The code I use for moving my character with the arror keys is this: if (Key.isDown(Key.RIGHT)) { var speed = 2; char\_mc.\_x += speed; } What I don't like, is when you hold down the key, the character keeps moving. I…

---

## [Flex and Jquery/javascript](https://forum.kirupa.com/t/flex-and-jquery-javascript/331335)

<div class="topic-metadata">

**Author:** [@JayanthiK](https://forum.kirupa.com/u/JayanthiK)\
**Replies:** 0\
**Last updated:** [July 9, 2013, 9:04am UTC](https://forum.kirupa.com/t/flex-and-jquery-javascript/331335 "2013-07-09T09:04:00Z")

</div>

Any one tried to integrate the UI built using jquery/javascript with the Flex pplication? How feasible is this? what are the pros and cons?

---

## [Multiple instances of many Movieclip](https://forum.kirupa.com/t/multiple-instances-of-many-movieclip/331334)

<div class="topic-metadata">

**Author:** [@kingmehr](https://forum.kirupa.com/u/kingmehr)\
**Replies:** 0\
**Last updated:** [July 9, 2013, 5:38am UTC](https://forum.kirupa.com/t/multiple-instances-of-many-movieclip/331334 "2013-07-09T05:38:50Z")

</div>

hi . tnx in advance . i have a question about this topic http://forums.adobe.com/thread/846929 that Ned Murphy was answer it but i cant post a question on the adobe site . he answer about 1 clip but if i want to use …

---

## [How to embed .pdf file in flash](https://forum.kirupa.com/t/how-to-embed-pdf-file-in-flash/331333)

<div class="topic-metadata">

**Author:** [@a\_s1](https://forum.kirupa.com/u/a_s1)\
**Replies:** 0\
**Last updated:** [July 9, 2013, 5:22am UTC](https://forum.kirupa.com/t/how-to-embed-pdf-file-in-flash/331333 "2013-07-09T05:22:15Z")

</div>

Hi, I want to embed .pdf file in flash. Is it possible? please help me about this. In my my project i put the .pdf file link to button e.g \[COLOR=#808080\]\*\* on (release) { getURL("ABC.pdf"); } \*\*\[/COLOR\] But …

---

## [Beginner Problem with Array and MovieClip](https://forum.kirupa.com/t/beginner-problem-with-array-and-movieclip/331331)

<div class="topic-metadata">

**Author:** [@schulzzz13](https://forum.kirupa.com/u/schulzzz13)\
**Replies:** 0\
**Last updated:** [July 8, 2013, 7:07pm UTC](https://forum.kirupa.com/t/beginner-problem-with-array-and-movieclip/331331 "2013-07-08T19:07:39Z")

</div>

i have several MovieClips called a1, a2, a3, b1, b2, b3 and so on. I put the names in an array, trying to adress some MovieClips called red\_a1, red\_a2 ... and so on dynamically. Here is what i tried: //var deckArr…

---

## [Compare two directions](https://forum.kirupa.com/t/compare-two-directions/331328)

<div class="topic-metadata">

**Author:** [@Michael\_Blatz](https://forum.kirupa.com/u/Michael_Blatz)\
**Replies:** 0\
**Last updated:** [July 8, 2013, 2:56pm UTC](https://forum.kirupa.com/t/compare-two-directions/331328 "2013-07-08T14:56:30Z")

</div>

Hi everyone! I'm programming a little game (not a simulation so it's not an exact AI what I need) where the player has to control ships. This game is not real time but round based. The tricky part is that there are sea…

---

## [How to call a function on a loaded SWF's timeline](https://forum.kirupa.com/t/how-to-call-a-function-on-a-loaded-swfs-timeline/331327)

<div class="topic-metadata">

**Author:** [@squadjot](https://forum.kirupa.com/u/squadjot)\
**Replies:** 0\
**Last updated:** [July 8, 2013, 2:46pm UTC](https://forum.kirupa.com/t/how-to-call-a-function-on-a-loaded-swfs-timeline/331327 "2013-07-08T14:46:39Z")

</div>

Hi , i'm used to work with AS2 where i would simply load a movieclip, and call a function like: var myMc = createMovieClip("container",getNextHighestDepth()) var mcl:MovieClipLoader = new MovieClipLoader() var myList…

---

## [PointAtCursor (nested arrows)](https://forum.kirupa.com/t/pointatcursor-nested-arrows/331323)

<div class="topic-metadata">

**Author:** [@simranzenov](https://forum.kirupa.com/u/simranzenov)\
**Replies:** 0\
**Last updated:** [July 6, 2013, 5:51pm UTC](https://forum.kirupa.com/t/pointatcursor-nested-arrows/331323 "2013-07-06T17:51:01Z")

</div>

I have 1 arrow with 2 arrows inside it. Can anyone tell me how to have all 3 arrows point at the cursor? I think I need to into account the angle of the parent or something but I don't know how to do that \[frowning\] s…

---

## [URLLoader won't reload data from server a second time](https://forum.kirupa.com/t/urlloader-wont-reload-data-from-server-a-second-time/331322)

<div class="topic-metadata">

**Author:** [@bking20](https://forum.kirupa.com/u/bking20)\
**Replies:** 0\
**Last updated:** [July 6, 2013, 5:23pm UTC](https://forum.kirupa.com/t/urlloader-wont-reload-data-from-server-a-second-time/331322 "2013-07-06T17:23:09Z")

</div>

I have this game that, as you start, loads the top 5 saved scores. After the player scores enough to be in the top 5, I have the URLLoader check to see if the original scores have changed. The loader appears to only keep…

---

## [\[Flash8\] How to increase number with decimals?](https://forum.kirupa.com/t/flash8-how-to-increase-number-with-decimals/331321)

<div class="topic-metadata">

**Author:** [@Ooomega](https://forum.kirupa.com/u/Ooomega)\
**Replies:** 0\
**Last updated:** [July 6, 2013, 2:44pm UTC](https://forum.kirupa.com/t/flash8-how-to-increase-number-with-decimals/331321 "2013-07-06T14:44:33Z")

</div>

Hi guys, I'm new with action script so I'm really sorry if my question sounds silly ^^; I'm trying to find a script to increase number from 0.00 to 999.99. When I searched online, this script works for me: timer\_txt…

---

## [Enterframe event runs slow in browser](https://forum.kirupa.com/t/enterframe-event-runs-slow-in-browser/331318)

<div class="topic-metadata">

**Author:** [@Hemanth\_Raj](https://forum.kirupa.com/u/Hemanth_Raj)\
**Replies:** 0\
**Last updated:** [July 5, 2013, 1:23pm UTC](https://forum.kirupa.com/t/enterframe-event-runs-slow-in-browser/331318 "2013-07-05T13:23:27Z")

</div>

Hi, i'm developing a car game using As 3.0 . I move every object using single enterframe event . When publishing in swf format the file runs in correct speed, but when running on browser it slows down. can u tell me how …

---

## [How to add zoom effect on xml image gallery](https://forum.kirupa.com/t/how-to-add-zoom-effect-on-xml-image-gallery/331316)

<div class="topic-metadata">

**Author:** [@a\_s1](https://forum.kirupa.com/u/a_s1)\
**Replies:** 0\
**Last updated:** [July 5, 2013, 11:32am UTC](https://forum.kirupa.com/t/how-to-add-zoom-effect-on-xml-image-gallery/331316 "2013-07-05T11:32:12Z")

</div>

i want to add zoom effect on my xml image gallery. Please help me how to I add zoom effect on my xml image gallery Following is my XML image gallery Code: \[COLOR=#a9a9a9\]function loadXML(loaded) { if (loaded) { …

---

## [Dynamic Var name by another vars name possible?](https://forum.kirupa.com/t/dynamic-var-name-by-another-vars-name-possible/331314)

<div class="topic-metadata">

**Author:** [@schulzzz13](https://forum.kirupa.com/u/schulzzz13)\
**Replies:** 0\
**Last updated:** [July 4, 2013, 2:51pm UTC](https://forum.kirupa.com/t/dynamic-var-name-by-another-vars-name-possible/331314 "2013-07-04T14:51:10Z")

</div>

I'm trying to update a variable in the root stage. The vars are called a1, a2, a3.... and so on. In the child movieClips which instances are called "a1", "a2", "a3"... and so on, I tried this: MovieClip(parent).a1 +=…

---

## [Implementing of browser-based softphone (flash web phone) for SIP-calls from site](https://forum.kirupa.com/t/implementing-of-browser-based-softphone-flash-web-phone-for-sip-calls-from-site/331313)

<div class="topic-metadata">

**Author:** [@Pol\_po](https://forum.kirupa.com/u/Pol_po)\
**Replies:** 0\
**Last updated:** [July 4, 2013, 9:45am UTC](https://forum.kirupa.com/t/implementing-of-browser-based-softphone-flash-web-phone-for-sip-calls-from-site/331313 "2013-07-04T09:45:15Z")

</div>

I faced with the dilemma of implementing softphone in client's site to perform online-calls. After long selection process, a lot of software and evaluation of all “ayes and nays”, I stopped my choice on the Web Call Serv…

---

## [Enemy Follow Character Issues (Plus Bonus Problems!)](https://forum.kirupa.com/t/enemy-follow-character-issues-plus-bonus-problems/331311)

<div class="topic-metadata">

**Author:** [@SafetySnail](https://forum.kirupa.com/u/SafetySnail)\
**Replies:** 0\
**Last updated:** [July 4, 2013, 3:01am UTC](https://forum.kirupa.com/t/enemy-follow-character-issues-plus-bonus-problems/331311 "2013-07-04T03:01:56Z")

</div>

Hi Kirupa! First time poster, long time lurker. I've decided to make a simple little Asteroid style game. I've got the basic engine working more or less how I want to, but there's something not quite right. I want the en…

---

## [2 values 1 var](https://forum.kirupa.com/t/2-values-1-var/331307)

<div class="topic-metadata">

**Author:** [@dasLuft](https://forum.kirupa.com/u/dasLuft)\
**Replies:** 0\
**Last updated:** [July 3, 2013, 5:44pm UTC](https://forum.kirupa.com/t/2-values-1-var/331307 "2013-07-03T17:44:15Z")

</div>

Hi! I'm working on a game where the player goes around picking stuff up and giving it to other characters.So I have this var theItem that is the item currently selected in the players inventory and on the characters I ha…

---

## [Change text in static text field](https://forum.kirupa.com/t/change-text-in-static-text-field/331305)

<div class="topic-metadata">

**Author:** [@sathyapriyamani](https://forum.kirupa.com/u/sathyapriyamani)\
**Replies:** 0\
**Last updated:** [July 3, 2013, 9:38am UTC](https://forum.kirupa.com/t/change-text-in-static-text-field/331305 "2013-07-03T09:38:13Z")

</div>

Hi, How to change the text displayed inside the static text field using AS2. Is this possible? Thanks, sathya

---

## [Detect objects in shape](https://forum.kirupa.com/t/detect-objects-in-shape/331303)

<div class="topic-metadata">

**Author:** [@gregmax](https://forum.kirupa.com/u/gregmax)\
**Replies:** 0\
**Last updated:** [July 2, 2013, 3:42pm UTC](https://forum.kirupa.com/t/detect-objects-in-shape/331303 "2013-07-02T15:42:59Z")

</div>

Hello, I am scratching my head about this: how do I detect if my object (circle in this case) is inside a custom shape/outline? Here is a sample image: How would I be able to detect if the green circle is in the shap…

---

## [Trouble printing with layer half transparent over](https://forum.kirupa.com/t/trouble-printing-with-layer-half-transparent-over/331301)

<div class="topic-metadata">

**Author:** [@asdronin](https://forum.kirupa.com/u/asdronin)\
**Replies:** 0\
**Last updated:** [July 2, 2013, 2:59am UTC](https://forum.kirupa.com/t/trouble-printing-with-layer-half-transparent-over/331301 "2013-07-02T02:59:47Z")

</div>

Hi all, Im currently trying to print on paper a certain drawing that is made after moving several moveclips around, but over all the draggable layers there is a laver that is half transparent (like to add shadow areas) a…

---

## [Accessing variables from other classes/ functions](https://forum.kirupa.com/t/accessing-variables-from-other-classes-functions/331300)

<div class="topic-metadata">

**Author:** [@Lumberpond](https://forum.kirupa.com/u/Lumberpond)\
**Replies:** 0\
**Last updated:** [July 1, 2013, 11:59pm UTC](https://forum.kirupa.com/t/accessing-variables-from-other-classes-functions/331300 "2013-07-01T23:59:51Z")

</div>

Hello, I'm new to AS3 and am trying to figure out what to do here. I made a class for a button, it seems to work alright. I was having trouble passing a variable through a function with an event listener, but after looki…

---

## [Capture image in as2?](https://forum.kirupa.com/t/capture-image-in-as2/331299)

<div class="topic-metadata">

**Author:** [@asdronin](https://forum.kirupa.com/u/asdronin)\
**Replies:** 0\
**Last updated:** [July 1, 2013, 10:29pm UTC](https://forum.kirupa.com/t/capture-image-in-as2/331299 "2013-07-01T22:29:33Z")

</div>

Hi all, I have been using as2 for some time now and I really like it, I mean Im not considering moving to as3 any time soon, but now I wonder if there is any way to save imagewith as2 using just the main swf. I have read…

---

## [Flash Weather Widget?](https://forum.kirupa.com/t/flash-weather-widget/331298)

<div class="topic-metadata">

**Author:** [@themoon](https://forum.kirupa.com/u/themoon)\
**Replies:** 0\
**Last updated:** [July 1, 2013, 3:31pm UTC](https://forum.kirupa.com/t/flash-weather-widget/331298 "2013-07-01T15:31:21Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]We have two digital signage displays of which I'm being asked if we can add a weather widget on there. The software we use to display content has a pretty lame weather widget built in. But th…

---

## [Changing height of one side of the sprite](https://forum.kirupa.com/t/changing-height-of-one-side-of-the-sprite/331296)

<div class="topic-metadata">

**Author:** [@arunviswam](https://forum.kirupa.com/u/arunviswam)\
**Replies:** 0\
**Last updated:** [July 1, 2013, 7:38am UTC](https://forum.kirupa.com/t/changing-height-of-one-side-of-the-sprite/331296 "2013-07-01T07:38:12Z")

</div>

Hi all, I have created a sprite in the rectangle shape. Is there any way to change the size(Height) of the right side part of the rectangle? Hope the image will explain the situation better.

---

## [\[AS2\] Preloader not appearing until x% (Usually almost 100%)](https://forum.kirupa.com/t/as2-preloader-not-appearing-until-x-usually-almost-100/331294)

<div class="topic-metadata">

**Author:** [@Mittsies](https://forum.kirupa.com/u/Mittsies)\
**Replies:** 0\
**Last updated:** [June 30, 2013, 11:22pm UTC](https://forum.kirupa.com/t/as2-preloader-not-appearing-until-x-usually-almost-100/331294 "2013-06-30T23:22:04Z")

</div>

\[Using Actionscript 2.0\] I've been having this problem for about a year now, and with \*\*extensive \*\*google-searching, I have found absolutely nothing on the problem. My preloader does not appear until the flash is almost…

---

## [\[CS5.5\] Unusual array behaviour](https://forum.kirupa.com/t/cs5-5-unusual-array-behaviour/331292)

<div class="topic-metadata">

**Author:** [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Replies:** 0\
**Last updated:** [June 30, 2013, 11:11am UTC](https://forum.kirupa.com/t/cs5-5-unusual-array-behaviour/331292 "2013-06-30T11:11:20Z")

</div>

Hi everyone. Thanks in advance for taking the time to read my question. \* Note: All arrays are multi-dimensional. \* I have some code in a function, and it is meant to take an item from the Items array, push it to t…

---

## [Input field cursor removal and keylistening](https://forum.kirupa.com/t/input-field-cursor-removal-and-keylistening/331291)

<div class="topic-metadata">

**Author:** [@Gnur](https://forum.kirupa.com/u/Gnur)\
**Replies:** 0\
**Last updated:** [June 30, 2013, 10:21am UTC](https://forum.kirupa.com/t/input-field-cursor-removal-and-keylistening/331291 "2013-06-30T10:21:00Z")

</div>

Hey. I have a textfield waiting for input, to bind a keyboard key to a function. Right now I have: \[LEFT\]inputBox.\[COLOR=#993300\]text\[/COLOR\]=\[COLOR=#0000FF\]"Click here to set key..."\[/COLOR\]; inputBox.\[COLOR=#99…

---

## [as3 and gyro for ipad. is it possible?](https://forum.kirupa.com/t/as3-and-gyro-for-ipad-is-it-possible/331290)

<div class="topic-metadata">

**Author:** [@heartglen](https://forum.kirupa.com/u/heartglen)\
**Replies:** 0\
**Last updated:** [June 30, 2013, 8:56am UTC](https://forum.kirupa.com/t/as3-and-gyro-for-ipad-is-it-possible/331290 "2013-06-30T08:56:36Z")

</div>

Greetings. I'm trying to build a children's book app with Flash for iPad. Is it possible to use gyroscope with as3 ? Actually i'm thinking a very simple physics action; if user rotates the ipad, objects in screen will …

---

## [Problem controlling stage size with preloader](https://forum.kirupa.com/t/problem-controlling-stage-size-with-preloader/331289)

<div class="topic-metadata">

**Author:** [@Kickers](https://forum.kirupa.com/u/Kickers)\
**Replies:** 0\
**Last updated:** [June 29, 2013, 8:31pm UTC](https://forum.kirupa.com/t/problem-controlling-stage-size-with-preloader/331289 "2013-06-29T20:31:23Z")

</div>

Hi, I am creating a flash website where the stage resizes and the elements on the stage reposition when the browser window is resized. I had the main flash file working fine. The stage was resizing correctly, but I r…

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

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