# flash

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

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

**Page:** 125

---

## [Update dynamic textfields from xml at runtime](https://forum.kirupa.com/t/update-dynamic-textfields-from-xml-at-runtime/324625)

<div class="topic-metadata">

**Author:** [@Rundevo](https://forum.kirupa.com/u/Rundevo)\
**Replies:** 0\
**Last updated:** [August 30, 2011, 10:07pm UTC](https://forum.kirupa.com/t/update-dynamic-textfields-from-xml-at-runtime/324625 "2011-08-30T22:07:07Z")

</div>

Hey guys! It´s been awhile, so lets not waste anymore time! \[smile\] The problem I´m having is that I can´t update the information that I get from my XML file at runtime. I have some static textfields that updates jus…

---

## [Flash tiled map using spacial averaging. (AS2)](https://forum.kirupa.com/t/flash-tiled-map-using-spacial-averaging-as2/324623)

<div class="topic-metadata">

**Author:** [@Sam\_Ingram](https://forum.kirupa.com/u/Sam_Ingram)\
**Replies:** 0\
**Last updated:** [August 30, 2011, 8:00pm UTC](https://forum.kirupa.com/t/flash-tiled-map-using-spacial-averaging-as2/324623 "2011-08-30T20:00:37Z")

</div>

I'm trying to make a tiled flash mapping programme using spatial averaging in AS2. I have a function that fills the screen with random tiles. I presumed that by running a second check where each tile checks its surro…

---

## [Changing a movieclip's color](https://forum.kirupa.com/t/changing-a-movieclips-color/324622)

<div class="topic-metadata">

**Author:** [@silverneo188](https://forum.kirupa.com/u/silverneo188)\
**Replies:** 0\
**Last updated:** [August 30, 2011, 5:19pm UTC](https://forum.kirupa.com/t/changing-a-movieclips-color/324622 "2011-08-30T17:19:44Z")

</div>

I have a problem, no I already have the code and here is what im using (MC is the original movieclip on the stage while MC1 and MC2 are child movieclips within MC) var ob1color = new color("\_root.MC.MC1"); var ob2colo…

---

## [Access global object with another global object of a different class - Please Help :S](https://forum.kirupa.com/t/access-global-object-with-another-global-object-of-a-different-class-please-help-s/324621)

<div class="topic-metadata">

**Author:** [@Taloton](https://forum.kirupa.com/u/Taloton)\
**Replies:** 0\
**Last updated:** [August 30, 2011, 5:16pm UTC](https://forum.kirupa.com/t/access-global-object-with-another-global-object-of-a-different-class-please-help-s/324621 "2011-08-30T17:16:23Z")

</div>

Hello, I would appreciate any help that I can receive with my issue. I will explain the circumstances then ask what to do. I have 2 classes: bullet class:Extends MovieClip and stores information about bullets while…

---

## [Duplicate a movie clip in original movie clip position](https://forum.kirupa.com/t/duplicate-a-movie-clip-in-original-movie-clip-position/324618)

<div class="topic-metadata">

**Author:** [@sogj](https://forum.kirupa.com/u/sogj)\
**Replies:** 0\
**Last updated:** [August 30, 2011, 1:19pm UTC](https://forum.kirupa.com/t/duplicate-a-movie-clip-in-original-movie-clip-position/324618 "2011-08-30T13:19:40Z")

</div>

I have several movie clips on the stage. They are draggable. I want to be able to drag the movie clip, then when it is dropped, a copy of that movie clip will appear where the first one had been, and the first one wil…

---

## [Singleton Class ArrayCollection within Flashbuilder (Mobile) empty?](https://forum.kirupa.com/t/singleton-class-arraycollection-within-flashbuilder-mobile-empty/324615)

<div class="topic-metadata">

**Author:** [@anix](https://forum.kirupa.com/u/anix)\
**Replies:** 0\
**Last updated:** [August 30, 2011, 9:45am UTC](https://forum.kirupa.com/t/singleton-class-arraycollection-within-flashbuilder-mobile-empty/324615 "2011-08-30T09:45:53Z")

</div>

I am currently trying to implememnt a Singleton Class in order to store a ArrayCollection of items that I can then access and manipulate across the lifecycle of my app. I have created the below Singleton Class that is de…

---

## [Background movement for shooting game](https://forum.kirupa.com/t/background-movement-for-shooting-game/324614)

<div class="topic-metadata">

**Author:** [@eternity22](https://forum.kirupa.com/u/eternity22)\
**Replies:** 0\
**Last updated:** [August 30, 2011, 8:46am UTC](https://forum.kirupa.com/t/background-movement-for-shooting-game/324614 "2011-08-30T08:46:50Z")

</div>

Hi I'm doing the shooting game. In that character should move left and right by using the arrow keys. The background is movieClip with image. The character is walking very slow sometimes. And the zombies will come au…

---

## [Why is there no way to REMOVE but not replace a character in a string?](https://forum.kirupa.com/t/why-is-there-no-way-to-remove-but-not-replace-a-character-in-a-string/324610)

<div class="topic-metadata">

**Author:** [@sogj](https://forum.kirupa.com/u/sogj)\
**Replies:** 0\
**Last updated:** [August 30, 2011, 1:03am UTC](https://forum.kirupa.com/t/why-is-there-no-way-to-remove-but-not-replace-a-character-in-a-string/324610 "2011-08-30T01:03:23Z")

</div>

I have an array of characters that for some reason is adding commas in between all it's characters. So if: array\[0\] = undefined; array\[1\] = "b"; array\[2\] = "a"; array\[3\] = undefined; Then myArray.toString(); return…

---

## [Is there a hitTest or anything similar that will return a value other than Boolean?](https://forum.kirupa.com/t/is-there-a-hittest-or-anything-similar-that-will-return-a-value-other-than-boolean/324609)

<div class="topic-metadata">

**Author:** [@sogj](https://forum.kirupa.com/u/sogj)\
**Replies:** 0\
**Last updated:** [August 29, 2011, 11:41pm UTC](https://forum.kirupa.com/t/is-there-a-hittest-or-anything-similar-that-will-return-a-value-other-than-boolean/324609 "2011-08-29T23:41:25Z")

</div>

Say I've got 30 movie clips on the stage and I want to see if any of them are overlapping a drop point I have at the bottom (i.e., if any of them have been "dropped off".) I could say dropPoint.hitTestObject(obj1) and …

---

## [Calling on URL's from XML file](https://forum.kirupa.com/t/calling-on-urls-from-xml-file/324607)

<div class="topic-metadata">

**Author:** [@kristen33](https://forum.kirupa.com/u/kristen33)\
**Replies:** 0\
**Last updated:** [August 29, 2011, 7:12pm UTC](https://forum.kirupa.com/t/calling-on-urls-from-xml-file/324607 "2011-08-29T19:12:06Z")

</div>

Hi everyone. I am having such a hard time with this. I am trying to attach URL's to a button in my Flash movie for a photo gallery. Photo, description and URL's will be generated from a XML file. The action script …

---

## ["Ease" or "Tween" Between Seconds and 10Seconds](https://forum.kirupa.com/t/ease-or-tween-between-seconds-and-10seconds/324602)

<div class="topic-metadata">

**Author:** [@SteKam](https://forum.kirupa.com/u/SteKam)\
**Replies:** 0\
**Last updated:** [August 29, 2011, 1:39pm UTC](https://forum.kirupa.com/t/ease-or-tween-between-seconds-and-10seconds/324602 "2011-08-29T13:39:42Z")

</div>

\[FONT=century gothic\]I'm working on an analog clock project (I'm a swiss watch designer) and my project is to create a clock which works with two hands for the seconds: One hand for the seconds units (1sec). One hand f…

---

## [Problem with TitleWindow in Flex3](https://forum.kirupa.com/t/problem-with-titlewindow-in-flex3/324600)

<div class="topic-metadata">

**Author:** [@montyT](https://forum.kirupa.com/u/montyT)\
**Replies:** 0\
**Last updated:** [August 29, 2011, 11:49am UTC](https://forum.kirupa.com/t/problem-with-titlewindow-in-flex3/324600 "2011-08-29T11:49:18Z")

</div>

Hi guys seems like FLEX section is been removed from kirupa forum. i having strange problem. I have created new TitleWindow and placed just one simple button with label Submit. and when i run it i see button's label …

---

## [Preloader for bigger file size](https://forum.kirupa.com/t/preloader-for-bigger-file-size/324597)

<div class="topic-metadata">

**Author:** [@eternity22](https://forum.kirupa.com/u/eternity22)\
**Replies:** 0\
**Last updated:** [August 29, 2011, 10:42am UTC](https://forum.kirupa.com/t/preloader-for-bigger-file-size/324597 "2011-08-29T10:42:44Z")

</div>

Hi, How to add preloader for the bigger file size like 10MB. How long will take to load this size? How people are managing the bigger file sizes? Tell me the solution

---

## [\[FDT\] Linked Resource Problem](https://forum.kirupa.com/t/fdt-linked-resource-problem/324595)

<div class="topic-metadata">

**Author:** [@remote](https://forum.kirupa.com/u/remote)\
**Replies:** 0\
**Last updated:** [August 29, 2011, 9:54am UTC](https://forum.kirupa.com/t/fdt-linked-resource-problem/324595 "2011-08-29T09:54:46Z")

</div>

For a AS3 project in FDT (Flex 3.6, FP9) I added a linked resource, namely the loader folder from the greensock tools. Code completion and inline documentation for the LoaderMax classes seem to work, but I cant compile…

---

## [Dijkstra Pathfinding Algorithm](https://forum.kirupa.com/t/dijkstra-pathfinding-algorithm/324593)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [August 29, 2011, 7:51am UTC](https://forum.kirupa.com/t/dijkstra-pathfinding-algorithm/324593 "2011-08-29T07:51:32Z")

</div>

Hey guys I'm making my own dynamic 2D polygon pathfinder and have reached the point where i need to incorporate the actual pathfinding between the vertices. I figured Dijkstras algorithm would do the trick. \*If you kn…

---

## [Email campaign using a flip book](https://forum.kirupa.com/t/email-campaign-using-a-flip-book/324591)

<div class="topic-metadata">

**Author:** [@flash\_fool](https://forum.kirupa.com/u/flash_fool)\
**Replies:** 0\
**Last updated:** [August 29, 2011, 6:48am UTC](https://forum.kirupa.com/t/email-campaign-using-a-flip-book/324591 "2011-08-29T06:48:22Z")

</div>

Hi Everyone, wow, its been a while..... My client wants to set up an email campaign using mailchimp or similar. They want the html email to contain a flash flip book. Is this possible? will anyone be able to view it?…

---

## [How to validate groups of fields in a form](https://forum.kirupa.com/t/how-to-validate-groups-of-fields-in-a-form/324590)

<div class="topic-metadata">

**Author:** [@Lithin](https://forum.kirupa.com/u/Lithin)\
**Replies:** 0\
**Last updated:** [August 29, 2011, 5:49am UTC](https://forum.kirupa.com/t/how-to-validate-groups-of-fields-in-a-form/324590 "2011-08-29T05:49:02Z")

</div>

Hiya. Ive made a regular submit form with regular validation and a email validation. Now i need to validate groups of fields. I got 10 rows of 4 columns. I got the columns date, to, from and time. I wanna validate it…

---

## [Splat animation effect using APE](https://forum.kirupa.com/t/splat-animation-effect-using-ape/324588)

<div class="topic-metadata">

**Author:** [@Ermaks](https://forum.kirupa.com/u/Ermaks)\
**Replies:** 0\
**Last updated:** [August 28, 2011, 11:32pm UTC](https://forum.kirupa.com/t/splat-animation-effect-using-ape/324588 "2011-08-28T23:32:15Z")

</div>

Hi there. I have been trying to see how this\[COLOR=Red\] splat effect animation \[/COLOR\]from some sort of "paintball game" works. I think this is using an open-source APE(Actionscript Physics Engine).Actually, I guess i…

---

## [Storing and preserving data localy](https://forum.kirupa.com/t/storing-and-preserving-data-localy/324586)

<div class="topic-metadata">

**Author:** [@Thovas](https://forum.kirupa.com/u/Thovas)\
**Replies:** 0\
**Last updated:** [August 28, 2011, 5:18pm UTC](https://forum.kirupa.com/t/storing-and-preserving-data-localy/324586 "2011-08-28T17:18:57Z")

</div>

I am making app that works as stand alone, do some calculations and sting formating. Also it need to save data localy, and be able to reload it when needed. I have read that Shared Objects do that but also have limitati…

---

## [Changing variable values inside of an Array](https://forum.kirupa.com/t/changing-variable-values-inside-of-an-array/324583)

<div class="topic-metadata">

**Author:** [@DavidianJones](https://forum.kirupa.com/u/DavidianJones)\
**Replies:** 0\
**Last updated:** [August 28, 2011, 3:17pm UTC](https://forum.kirupa.com/t/changing-variable-values-inside-of-an-array/324583 "2011-08-28T15:17:54Z")

</div>

I am rather new to action script so please forgive me for ignorance. I do not know if this is common knowledge or not, but I could not find anything on the subject after searching through the last few pages on Arrays. I…

---

## [AS3 Font Embedding](https://forum.kirupa.com/t/as3-font-embedding/324577)

<div class="topic-metadata">

**Author:** [@remote](https://forum.kirupa.com/u/remote)\
**Replies:** 0\
**Last updated:** [August 28, 2011, 10:41am UTC](https://forum.kirupa.com/t/as3-font-embedding/324577 "2011-08-28T10:41:53Z")

</div>

EDIT: \*\*Problem solved. Turns out, when targeting FP10, you have to specify an additional parameter for the \[Embed\] tag when creating the font SWF: embedAsCFF='false'. Otherwise the font cannot be used with Textfield…

---

## [As3 and Scorm](https://forum.kirupa.com/t/as3-and-scorm/324575)

<div class="topic-metadata">

**Author:** [@sivant](https://forum.kirupa.com/u/sivant)\
**Replies:** 0\
**Last updated:** [August 27, 2011, 6:58pm UTC](https://forum.kirupa.com/t/as3-and-scorm/324575 "2011-08-27T18:58:11Z")

</div>

in as2 i used a javascript function to connect with a javaScript wrapper for scorm and it work and now i moved to as3 so i am using the \[COLOR=#0000ff\]ExternalInterface.call\[/COLOR\] instead of the getURL and that works …

---

## [AlivePDF embedded font writeText calc. line height to match flash issue](https://forum.kirupa.com/t/alivepdf-embedded-font-writetext-calc-line-height-to-match-flash-issue/324574)

<div class="topic-metadata">

**Author:** [@pritch20001](https://forum.kirupa.com/u/pritch20001)\
**Replies:** 0\
**Last updated:** [August 27, 2011, 3:37pm UTC](https://forum.kirupa.com/t/alivepdf-embedded-font-writetext-calc-line-height-to-match-flash-issue/324574 "2011-08-27T15:37:43Z")

</div>

I'm using alivepdf's function writeText with embedded fonts but I'm having real trouble trying to get it to match the line height (or spacing between lines) proportionately from the view port in flash to the final pdf…

---

## [Gradient line matrix](https://forum.kirupa.com/t/gradient-line-matrix/324573)

<div class="topic-metadata">

**Author:** [@firefly431](https://forum.kirupa.com/u/firefly431)\
**Replies:** 0\
**Last updated:** [August 27, 2011, 3:17pm UTC](https://forum.kirupa.com/t/gradient-line-matrix/324573 "2011-08-27T15:17:47Z")

</div>

Hi, I'm making a lens flare effect, and I want to make a gradient line. The matrix has the right angle, but it does some weird stuff when you try to draw a line. Here is my code: function drawgline(x1,y1,x2,y2,bounds:…

---

## [Game Size reduces the preloader performance](https://forum.kirupa.com/t/game-size-reduces-the-preloader-performance/324569)

<div class="topic-metadata">

**Author:** [@eternity22](https://forum.kirupa.com/u/eternity22)\
**Replies:** 0\
**Last updated:** [August 27, 2011, 11:31am UTC](https://forum.kirupa.com/t/game-size-reduces-the-preloader-performance/324569 "2011-08-27T11:31:18Z")

</div>

Hi, I have done my game preloader as per this link http://www.8bitrocket.com/2008/4/22/Tutorial-Preloading-Actionscript-3-AS3-Games-in-Flash-CS3/ But still the preloader is very slow how can i get rid of this?

---

## [Pan gesture in Flash 5.5](https://forum.kirupa.com/t/pan-gesture-in-flash-5-5/324564)

<div class="topic-metadata">

**Author:** [@Carl\_Spackler](https://forum.kirupa.com/u/Carl_Spackler)\
**Replies:** 0\
**Last updated:** [August 26, 2011, 8:54pm UTC](https://forum.kirupa.com/t/pan-gesture-in-flash-5-5/324564 "2011-08-26T20:54:38Z")

</div>

I've built a small application in Flash 5.5 and exported it as an iPad app. It works fine except for the pan gesture that I added to the application via the code snippet for a pan gesture. The pan requires two fingers …

---

## [Depth vs IDE](https://forum.kirupa.com/t/depth-vs-ide/324562)

<div class="topic-metadata">

**Author:** [@noahssite](https://forum.kirupa.com/u/noahssite)\
**Replies:** 0\
**Last updated:** [August 26, 2011, 7:11pm UTC](https://forum.kirupa.com/t/depth-vs-ide/324562 "2011-08-26T19:11:50Z")

</div>

Hello, Whenever I create a MovieClip in the IDE and draw on it with the IDE then use ActionScript to add more to it (add a Sprite, draw graphics etc..) the thing I added is always behind the graphics of the MovieClip t…

---

## [Searchable XML and loadClip](https://forum.kirupa.com/t/searchable-xml-and-loadclip/324557)

<div class="topic-metadata">

**Author:** [@lletdownl](https://forum.kirupa.com/u/lletdownl)\
**Replies:** 0\
**Last updated:** [August 26, 2011, 3:41pm UTC](https://forum.kirupa.com/t/searchable-xml-and-loadclip/324557 "2011-08-26T15:41:10Z")

</div>

Hi Guys, Could really use some help and im not even sure where to start. The gist of my problem is that currently i have a searchable XML database which contains projects that when clicked on, link to a new tab or wi…

---

## [Flash and container HTML communication](https://forum.kirupa.com/t/flash-and-container-html-communication/324554)

<div class="topic-metadata">

**Author:** [@Freeseus](https://forum.kirupa.com/u/Freeseus)\
**Replies:** 0\
**Last updated:** [August 26, 2011, 2:47pm UTC](https://forum.kirupa.com/t/flash-and-container-html-communication/324554 "2011-08-26T14:47:24Z")

</div>

I am trying to read the html page that contains my SWF from inside the SWF itself. This works: function loadWebPage():void{ var url:String = "iFrame.html"; var urlRequest:URLRequest = new URLRequest(url); urlReques…

---

## [Accessing Tweened object through TweenEvent](https://forum.kirupa.com/t/accessing-tweened-object-through-tweenevent/324552)

<div class="topic-metadata">

**Author:** [@simranzenov](https://forum.kirupa.com/u/simranzenov)\
**Replies:** 0\
**Last updated:** [August 26, 2011, 2:07pm UTC](https://forum.kirupa.com/t/accessing-tweened-object-through-tweenevent/324552 "2011-08-26T14:07:41Z")

</div>

How would I go about accessing the object I am moving with a tween through TweenEvent? or is this even possible? I think e.currentTarget will give me the tween object instead of the movieclip it is controlling, but I'm n…

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

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