# flash

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

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

**Page:** 827

---

## [Why loading an XML needs a crossdomain file while playing a video even don't need one](https://forum.kirupa.com/t/why-loading-an-xml-needs-a-crossdomain-file-while-playing-a-video-even-dont-need-one/272159)

<div class="topic-metadata">

**Author:** [@zhangxiaorui](https://forum.kirupa.com/u/zhangxiaorui)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 3:03pm UTC](https://forum.kirupa.com/t/why-loading-an-xml-needs-a-crossdomain-file-while-playing-a-video-even-dont-need-one/272159 "2008-10-02T15:03:43Z")

</div>

any further explanation on the crossdomain set?

---

## [Racing Simulator](https://forum.kirupa.com/t/racing-simulator/272155)

<div class="topic-metadata">

**Author:** [@PastItAll](https://forum.kirupa.com/u/PastItAll)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 2:40pm UTC](https://forum.kirupa.com/t/racing-simulator/272155 "2008-10-02T14:40:48Z")

</div>

I'm trying to create a racing simulator. I want to make the objects (six) move across the screen at random a random pace. Any suggestions? P.S. I'm a noob.

---

## [Error accessing images from XML](https://forum.kirupa.com/t/error-accessing-images-from-xml/272154)

<div class="topic-metadata">

**Author:** [@Rundevo](https://forum.kirupa.com/u/Rundevo)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 2:39pm UTC](https://forum.kirupa.com/t/error-accessing-images-from-xml/272154 "2008-10-02T14:39:44Z")

</div>

for (var n:int = 0; n \< images.length(); n++) { if (images\[n\].attribute("source") == event.target.name) { var thumbList = images.@source\[n\].parent().parent().image.@thumb; thumbLoader = new Loader(); …

---

## [Access stage from class](https://forum.kirupa.com/t/access-stage-from-class/272151)

<div class="topic-metadata">

**Author:** [@adw999](https://forum.kirupa.com/u/adw999)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 2:09pm UTC](https://forum.kirupa.com/t/access-stage-from-class/272151 "2008-10-02T14:09:50Z")

</div>

Hi I have a package, with classes, functions etc. Basically i need to tell some movieclips on the stage to be visible etc but using this.MyMCName obviously doesn't work. How do i reference movieclips from within a clas…

---

## [Pause/Resume Timeline Sounds](https://forum.kirupa.com/t/pause-resume-timeline-sounds/272150)

<div class="topic-metadata">

**Author:** [@NRutman](https://forum.kirupa.com/u/NRutman)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 1:45pm UTC](https://forum.kirupa.com/t/pause-resume-timeline-sounds/272150 "2008-10-02T13:45:36Z")

</div>

Hello, I'm trying to pause and resume sounds my movie. I came across this helpful write-up for pausing/resuming via Sound objects. My question is whether it is possible to pause/resume sounds associated with keyfram…

---

## [Brand New Apple Iphone 3g Unlocked For Sale At$300usd](https://forum.kirupa.com/t/brand-new-apple-iphone-3g-unlocked-for-sale-at-300usd/272149)

<div class="topic-metadata">

**Author:** [@apple001](https://forum.kirupa.com/u/apple001)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 1:42pm UTC](https://forum.kirupa.com/t/brand-new-apple-iphone-3g-unlocked-for-sale-at-300usd/272149 "2008-10-02T13:42:30Z")

</div>

BRAND NEW APPLE IPHONE 3G UNLOCKED WITH COMPLETE ACCESSORIES NEVER USED,WELL SEALED FROM THE MANUFACTURER,SIM FREE WITH 1 YEAR INTERNATIONAL WARRANTY. UNIT PRICE:: 300USD SHIPPING TYPE:: FEDEX EXPRESS AND UPS EXPRESS …

---

## [Child MCs in Buttons](https://forum.kirupa.com/t/child-mcs-in-buttons/272148)

<div class="topic-metadata">

**Author:** [@NRutman](https://forum.kirupa.com/u/NRutman)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 1:39pm UTC](https://forum.kirupa.com/t/child-mcs-in-buttons/272148 "2008-10-02T13:39:57Z")

</div>

Hello. I'm building a play/pause button for my movie, and here's how I have it setup: \[LIST=1\] \[\*\]The main button object is playPause\_btn \[\*\]The first layer of the button has a movie clip with the pause graphic, named…

---

## [Transition on all iterations of a loader?](https://forum.kirupa.com/t/transition-on-all-iterations-of-a-loader/272136)

<div class="topic-metadata">

**Author:** [@Rundevo](https://forum.kirupa.com/u/Rundevo)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 12:00pm UTC](https://forum.kirupa.com/t/transition-on-all-iterations-of-a-loader/272136 "2008-10-02T12:00:41Z")

</div>

Hey guys! Can´t seem to get a transition to work on all my loader instances, it only works on the last one! for (var i:int=0; i \< imagesToLoad; i++) { startLoader=new Loader(); startLoader.contentLoaderInfo.add…

---

## [Flash \> ASP/PHP \> database.mdb](https://forum.kirupa.com/t/flash-asp-php-database-mdb/272126)

<div class="topic-metadata">

**Author:** [@dye\_123](https://forum.kirupa.com/u/dye_123)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 8:03am UTC](https://forum.kirupa.com/t/flash-asp-php-database-mdb/272126 "2008-10-02T08:03:30Z")

</div>

greetings everyone, i have downloaded the tutorial about the \[COLOR=#003366\]Flash\[FONT=Verdana\] Forms and Database Integration.\[/FONT\]\[/COLOR\] http://www.kirupa.com/developer/actionscript/forms\_database.htm but …

---

## [Papervision 3D problems](https://forum.kirupa.com/t/papervision-3d-problems/272120)

<div class="topic-metadata">

**Author:** [@blackcoma](https://forum.kirupa.com/u/blackcoma)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 5:59am UTC](https://forum.kirupa.com/t/papervision-3d-problems/272120 "2008-10-02T05:59:20Z")

</div>

I've decided to start working with Papervision 3D, I've followed all the instructions in the Getting Started FAQ: http://wiki.papervision3d.org/index.php?title=Getting\_Started\_FAQ Thing is... I keep getting all kinds…

---

## [htmlText with image inside it](https://forum.kirupa.com/t/htmltext-with-image-inside-it/272119)

<div class="topic-metadata">

**Author:** [@smeared](https://forum.kirupa.com/u/smeared)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 5:49am UTC](https://forum.kirupa.com/t/htmltext-with-image-inside-it/272119 "2008-10-02T05:49:42Z")

</div>

so yeah.. I'm loading in htmlText from an external doc.. and everything is fine and dandy.. it loads in with pictures fine.. but... if I use the scroll down (custom scroller), the pictures disappear instantly. I'm sure t…

---

## [SWF file playing ahead of the preloader](https://forum.kirupa.com/t/swf-file-playing-ahead-of-the-preloader/272116)

<div class="topic-metadata">

**Author:** [@SFuller79](https://forum.kirupa.com/u/SFuller79)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 5:29am UTC](https://forum.kirupa.com/t/swf-file-playing-ahead-of-the-preloader/272116 "2008-10-02T05:29:27Z")

</div>

Hello, I have a preloader which is loading an swf file. It seems to function fine, but the swf movie starts playing about 4 seconds before the preloader has finished loading. The site address is here: www.cashkernelonl…

---

## [Easing Formula for Dynamic TextField](https://forum.kirupa.com/t/easing-formula-for-dynamic-textfield/272115)

<div class="topic-metadata">

**Author:** [@zanemx](https://forum.kirupa.com/u/zanemx)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 5:03am UTC](https://forum.kirupa.com/t/easing-formula-for-dynamic-textfield/272115 "2008-10-02T05:03:54Z")

</div>

Hi guys I'm looking for a slick formula for easing a dynamic text field. If works fine for a text field placed on the main time line. Doesn't matter what size the scrollbar is it still scrolls the loaded text top to bott…

---

## [AS2 and AS3 conflicts with Code and Components](https://forum.kirupa.com/t/as2-and-as3-conflicts-with-code-and-components/272104)

<div class="topic-metadata">

**Author:** [@niero](https://forum.kirupa.com/u/niero)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 2:17am UTC](https://forum.kirupa.com/t/as2-and-as3-conflicts-with-code-and-components/272104 "2008-10-02T02:17:51Z")

</div>

Hey guys here is the problem I have a website that I initially started developing with Flash 8, a couple of months ago I finally got enough cash to get my hands on CS3. Whoo I thought to myself AS3 and I can finally te…

---

## [Load swf and call parent method](https://forum.kirupa.com/t/load-swf-and-call-parent-method/272099)

<div class="topic-metadata">

**Author:** [@jokoa](https://forum.kirupa.com/u/jokoa)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 12:42am UTC](https://forum.kirupa.com/t/load-swf-and-call-parent-method/272099 "2008-10-02T00:42:04Z")

</div>

Hello everyone, I have a problem and i don't know how to do. My situation is(see picture): I have a main swf(main menu), it will load 4 swf files (sub menu) by var loader:Loader=new Loader(); and load the swf to the…

---

## [Getting and using the instance name of an object](https://forum.kirupa.com/t/getting-and-using-the-instance-name-of-an-object/272095)

<div class="topic-metadata">

**Author:** [@Brent\_Summers](https://forum.kirupa.com/u/Brent_Summers)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 12:23am UTC](https://forum.kirupa.com/t/getting-and-using-the-instance-name-of-an-object/272095 "2008-10-02T00:23:02Z")

</div>

I am trying to create an easy to extend button class that takes the instance name of the movie clip that was clicked and uses that instance name to tell flash where to go. The problem is that whenever I try to get the in…

---

## [Adding text from XML using for loop](https://forum.kirupa.com/t/adding-text-from-xml-using-for-loop/272091)

<div class="topic-metadata">

**Author:** [@Rundevo](https://forum.kirupa.com/u/Rundevo)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 11:01pm UTC](https://forum.kirupa.com/t/adding-text-from-xml-using-for-loop/272091 "2008-10-01T23:01:10Z")

</div>

Can´t seem to add all the \<name\>gallery name \</name\> that I have in my XML. I only end up adding the one with the last iteration of \[l\]. Obviously I´m doing something wrong, and I´m not that good with for loops, so I´m…

---

## [Getting current image / total images in XML](https://forum.kirupa.com/t/getting-current-image-total-images-in-xml/272090)

<div class="topic-metadata">

**Author:** [@Rundevo](https://forum.kirupa.com/u/Rundevo)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 10:53pm UTC](https://forum.kirupa.com/t/getting-current-image-total-images-in-xml/272090 "2008-10-01T22:53:32Z")

</div>

Having abit of a struggle here to get the current image in the XMLList that my mouse is rolling over! My XML looks like this with afew more item tags. \<items\> \<item\> \<name\>a name\</name\> \<image source="http://ww…

---

## [gotoAndStop() for DisplayObjectContainer](https://forum.kirupa.com/t/gotoandstop-for-displayobjectcontainer/272087)

<div class="topic-metadata">

**Author:** [@HMPoweredMan](https://forum.kirupa.com/u/HMPoweredMan)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 10:38pm UTC](https://forum.kirupa.com/t/gotoandstop-for-displayobjectcontainer/272087 "2008-10-01T22:38:55Z")

</div>

I have a class called Robot that is an extension of a movieclip of a robot walking animation. It has two frames. A robotLeft frame and a robotRight frame. Now this Robot Class has a child called robotHitbox that does a…

---

## [Memory Issues](https://forum.kirupa.com/t/memory-issues/272085)

<div class="topic-metadata">

**Author:** [@justinjkiss](https://forum.kirupa.com/u/justinjkiss)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 10:24pm UTC](https://forum.kirupa.com/t/memory-issues/272085 "2008-10-01T22:24:42Z")

</div>

Hello im having a memory issues with my flash file. In IE i open a separate browser with just the website and flash file so nothing else interfers. IE started at 28mb on load within 6min it was at 90mb of ram and still g…

---

## [contentPath/complete and subdomains](https://forum.kirupa.com/t/contentpath-complete-and-subdomains/272078)

<div class="topic-metadata">

**Author:** [@liquid\_kore](https://forum.kirupa.com/u/liquid_kore)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 9:35pm UTC](https://forum.kirupa.com/t/contentpath-complete-and-subdomains/272078 "2008-10-01T21:35:55Z")

</div>

Hi everyone, I seem to have run into a problem with the "complete" event. What I am working on will have the user watch a movie and then when it is done playing the root timeline goes to frame 2. It works perfectly fine …

---

## [FLV Encoded video](https://forum.kirupa.com/t/flv-encoded-video/272076)

<div class="topic-metadata">

**Author:** [@mpalmedo](https://forum.kirupa.com/u/mpalmedo)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 9:23pm UTC](https://forum.kirupa.com/t/flv-encoded-video/272076 "2008-10-01T21:23:01Z")

</div>

I have a mov file that I encoded using FLV encoder and when I test the movie it works fine, but when I check the movie on the site it doesn't play. It seems as though the movie is buffering because the striped buffering…

---

## [Button class instance returns incorrect bounds](https://forum.kirupa.com/t/button-class-instance-returns-incorrect-bounds/272073)

<div class="topic-metadata">

**Author:** [@forumSteve](https://forum.kirupa.com/u/forumSteve)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 9:12pm UTC](https://forum.kirupa.com/t/button-class-instance-returns-incorrect-bounds/272073 "2008-10-01T21:12:09Z")

</div>

So, if you create an instance of the fl.controls.Button class and call the method getBounds or getRect, it returns a rectangle w:100, h:100 when I expect w:100, h:22. I have a workaround by getting the bounds of the Bi…

---

## [Program flow and Events](https://forum.kirupa.com/t/program-flow-and-events/272067)

<div class="topic-metadata">

**Author:** [@vurx](https://forum.kirupa.com/u/vurx)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 8:17pm UTC](https://forum.kirupa.com/t/program-flow-and-events/272067 "2008-10-01T20:17:36Z")

</div>

I'm writing a chess application and all was going smoothly until I got to pawn promotion. When the pawn reaches the last rank a dialog pops up and the user chooses a piece type. I noticed that the game was still running …

---

## [Protect Your PC](https://forum.kirupa.com/t/protect-your-pc/272066)

<div class="topic-metadata">

**Author:** [@HailMaryPC](https://forum.kirupa.com/u/HailMaryPC)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 7:44pm UTC](https://forum.kirupa.com/t/protect-your-pc/272066 "2008-10-01T19:44:09Z")

</div>

Every computer connected to the internet is vulnerable to fraud and computer vandalism. This leaves our pockets prey to the software protection industry's heavy charges to keep us safe. Yet it's possible to get legal, pr…

---

## [RegExp based on variable?](https://forum.kirupa.com/t/regexp-based-on-variable/272065)

<div class="topic-metadata">

**Author:** [@Stickeroo](https://forum.kirupa.com/u/Stickeroo)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 7:19pm UTC](https://forum.kirupa.com/t/regexp-based-on-variable/272065 "2008-10-01T19:19:19Z")

</div>

I have an array of strings (that look like numbers) that ultimately gets joined to look, say, like this: 0|1|5|8|9|12 I'm trying to avoid having to iterate the array \[0,1,5,8,9,12\] by just searching through a string.…

---

## [How do i check the dpi?](https://forum.kirupa.com/t/how-do-i-check-the-dpi/272062)

<div class="topic-metadata">

**Author:** [@nnnniiiicccc](https://forum.kirupa.com/u/nnnniiiicccc)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 6:34pm UTC](https://forum.kirupa.com/t/how-do-i-check-the-dpi/272062 "2008-10-01T18:34:35Z")

</div>

Hi could anyone tell me how i can check/change the dpi of my flash document, it needs to be 72. Thanks

---

## [Referring to linked clips](https://forum.kirupa.com/t/referring-to-linked-clips/272060)

<div class="topic-metadata">

**Author:** [@activa](https://forum.kirupa.com/u/activa)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 6:24pm UTC](https://forum.kirupa.com/t/referring-to-linked-clips/272060 "2008-10-01T18:24:03Z")

</div>

How can I instantiate a linked clip using a variable name? In other words, I want to say "var someName:String = 'clipName'; var someClip:MovieClip = addChild (new someName as MovieClip); But obviously that throws a…

---

## [Flash CS3 AS2 - Convert String to Function name](https://forum.kirupa.com/t/flash-cs3-as2-convert-string-to-function-name/272056)

<div class="topic-metadata">

**Author:** [@joseg](https://forum.kirupa.com/u/joseg)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 5:30pm UTC](https://forum.kirupa.com/t/flash-cs3-as2-convert-string-to-function-name/272056 "2008-10-01T17:30:08Z")

</div>

I am using AS 2 in Flash CS3 and XML. I have the function named in the XML file which I would like to be called via a rotating banner. However I can't seem to convert the string (read via the XML file) to convert to the …

---

## [Need Help With Flash 8](https://forum.kirupa.com/t/need-help-with-flash-8/272052)

<div class="topic-metadata">

**Author:** [@Malisah](https://forum.kirupa.com/u/Malisah)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 4:56pm UTC](https://forum.kirupa.com/t/need-help-with-flash-8/272052 "2008-10-01T16:56:04Z")

</div>

hey i need help with flash 8. I want to make the falling snow effect, but i need leaves instead of snow.... how do i do that? Please someone or anybody help! :eyeup::emb:! Malisah

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

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