# flash

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

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

**Page:** 756

---

## [Backwards Compatibility](https://forum.kirupa.com/t/backwards-compatibility/278044)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 3:50am UTC](https://forum.kirupa.com/t/backwards-compatibility/278044 "2008-12-21T03:50:43Z")

</div>

I just bought the new CS4 master collection, but I'm worried about backwards compatibility. Does CS4 still publish to Flash 6? Is there a way to go into legacy mode? (I'm waiting on the delivery).

---

## [AS3: hitTest Help](https://forum.kirupa.com/t/as3-hittest-help/278042)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 2:29am UTC](https://forum.kirupa.com/t/as3-hittest-help/278042 "2008-12-21T02:29:10Z")

</div>

I'm using this code to detect a collision with the movieclips circle and line, but it doesn't appear to be working. if(circle.hitTestObject(line)){ // stuff } Can someone please tell me what's wrong? Thanks in a…

---

## [SharedObject is not catching .data update sometimes](https://forum.kirupa.com/t/sharedobject-is-not-catching-data-update-sometimes/278041)

<div class="topic-metadata">

**Author:** [@qhrome27](https://forum.kirupa.com/u/qhrome27)\
**Replies:** 0\
**Last updated:** [December 21, 2008, 1:13am UTC](https://forum.kirupa.com/t/sharedobject-is-not-catching-data-update-sometimes/278041 "2008-12-21T01:13:35Z")

</div>

hello, I have multiple Flash apps running the same sharedObject, but occasionally when I update the data of the shared object, the other app will not recognize this change. I am not sure why the connection is missing…

---

## [A bug: singleton, helper class and vector?](https://forum.kirupa.com/t/a-bug-singleton-helper-class-and-vector/278034)

<div class="topic-metadata">

**Author:** [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 5:54pm UTC](https://forum.kirupa.com/t/a-bug-singleton-helper-class-and-vector/278034 "2008-12-20T17:54:01Z")

</div>

Duplicate

---

## [AS3: Click On MovieClip](https://forum.kirupa.com/t/as3-click-on-movieclip/278033)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 4:52pm UTC](https://forum.kirupa.com/t/as3-click-on-movieclip/278033 "2008-12-20T16:52:27Z")

</div>

Hello, I'm new to Actionscript and I was wondering if anyone could tell me how to use Actionscript 3.0 to detect a mouse click on a movie clip. Thanks in advance =D

---

## [Adding multiple instances of a movieclip to stage](https://forum.kirupa.com/t/adding-multiple-instances-of-a-movieclip-to-stage/278032)

<div class="topic-metadata">

**Author:** [@bobcooper](https://forum.kirupa.com/u/bobcooper)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 4:05pm UTC](https://forum.kirupa.com/t/adding-multiple-instances-of-a-movieclip-to-stage/278032 "2008-12-20T16:05:10Z")

</div>

Hi there, Still in the process of learning AS3 and was wondering how to attach multiple instances of a movieclip to the stage. In AS2 I would do the following: for(var i = 1; i \<= 10; i++){ attachMovie("myMovie", "m…

---

## [Text loaded from an XML file dissapears when the text is animated](https://forum.kirupa.com/t/text-loaded-from-an-xml-file-dissapears-when-the-text-is-animated/278031)

<div class="topic-metadata">

**Author:** [@ChillDown](https://forum.kirupa.com/u/ChillDown)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 3:16pm UTC](https://forum.kirupa.com/t/text-loaded-from-an-xml-file-dissapears-when-the-text-is-animated/278031 "2008-12-20T15:16:11Z")

</div>

I've loaded a text from an .xml file into a flash animation. The .xml file can contain different translations of the text in several languages. However during development the text is initially written in English inside f…

---

## [Graphics API transition](https://forum.kirupa.com/t/graphics-api-transition/278029)

<div class="topic-metadata">

**Author:** [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 1:22pm UTC](https://forum.kirupa.com/t/graphics-api-transition/278029 "2008-12-20T13:22:27Z")

</div>

I am trying to switch from the old graphics API methods to new ones, but It seems not enugh tested/polished... graphics.beginFill(0x33FF11); graphics.drawRect(0,0,stage.stageWidth,stage.stageHeight); graphics.lineSty…

---

## [XML and Moviecliploader](https://forum.kirupa.com/t/xml-and-moviecliploader/278028)

<div class="topic-metadata">

**Author:** [@st\_james](https://forum.kirupa.com/u/st_james)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 12:46pm UTC](https://forum.kirupa.com/t/xml-and-moviecliploader/278028 "2008-12-20T12:46:00Z")

</div>

Hey guys, I'm working on this flash gallery. I want to load the images from XML and use movieclip loader to display them on my page. I have been following two different tutorials, to get what I want. One that just load…

---

## [How to use external libraries in CS4?](https://forum.kirupa.com/t/how-to-use-external-libraries-in-cs4/278023)

<div class="topic-metadata">

**Author:** [@johnlouis](https://forum.kirupa.com/u/johnlouis)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 9:29am UTC](https://forum.kirupa.com/t/how-to-use-external-libraries-in-cs4/278023 "2008-12-20T09:29:45Z")

</div>

i'm having trouble using external libraries.. I have already put the path in my ActionScript 3.0 settings under Preferences.. but it says that the class could not be found.

---

## [Closing door question](https://forum.kirupa.com/t/closing-door-question/278019)

<div class="topic-metadata">

**Author:** [@Set\_0ne](https://forum.kirupa.com/u/Set_0ne)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 8:03am UTC](https://forum.kirupa.com/t/closing-door-question/278019 "2008-12-20T08:03:17Z")

</div>

Sooo..I've been looking around for a tutorial on 'Opening/Closing doors' (no sliding doors). I need to animate a door closing towards the screen. I know this is a basic animation but mine looks like complete crud..So h…

---

## [Photo Gallery alpha fadeout?](https://forum.kirupa.com/t/photo-gallery-alpha-fadeout/278012)

<div class="topic-metadata">

**Author:** [@LustandFury](https://forum.kirupa.com/u/LustandFury)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 5:34am UTC](https://forum.kirupa.com/t/photo-gallery-alpha-fadeout/278012 "2008-12-20T05:34:55Z")

</div>

Hi I'm using a slightly modified version of the photo gallery from the tutorial: http://www.kirupa.com/developer/mx2004/xml\_slideshow.htm and it's working great however I would like to be able to have the loaded image …

---

## [Word Document in Flash](https://forum.kirupa.com/t/word-document-in-flash/278011)

<div class="topic-metadata">

**Author:** [@logeshps](https://forum.kirupa.com/u/logeshps)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 5:14am UTC](https://forum.kirupa.com/t/word-document-in-flash/278011 "2008-12-20T05:14:46Z")

</div>

hi, i need to import word document and pdf file content into flash dynamically. is this possible in flash? if is it possible tell me the way. thank you.

---

## [AS 2.0 new to CS4, import mx.transitions.TweenRGB not working](https://forum.kirupa.com/t/as-2-0-new-to-cs4-import-mx-transitions-tweenrgb-not-working/278010)

<div class="topic-metadata">

**Author:** [@conzago](https://forum.kirupa.com/u/conzago)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 5:14am UTC](https://forum.kirupa.com/t/as-2-0-new-to-cs4-import-mx-transitions-tweenrgb-not-working/278010 "2008-12-20T05:14:24Z")

</div>

AS 2.0 new to CS4, import mx.transitions.TweenRGB not working \*\*Works fine in CS3, Doesn't work in CS4? \*\* \*\*Any Ideas, seem to be having the same problem with: \*\* mport flash.display.\*; Stage.scaleMode = "noScale";//…

---

## [Flash Xml Menu](https://forum.kirupa.com/t/flash-xml-menu/278007)

<div class="topic-metadata">

**Author:** [@nick\_mok](https://forum.kirupa.com/u/nick_mok)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 2:21am UTC](https://forum.kirupa.com/t/flash-xml-menu/278007 "2008-12-20T02:21:04Z")

</div>

I have created 4 buttons in flash CS3 using AS2 for a website, But I would like to know how to use xml to define the name of the button and the url, I have looked at a lot of places but have found irrelevant tutorials. …

---

## [Movieclip troubles](https://forum.kirupa.com/t/movieclip-troubles/278004)

<div class="topic-metadata">

**Author:** [@jcafaro10](https://forum.kirupa.com/u/jcafaro10)\
**Replies:** 0\
**Last updated:** [December 20, 2008, 12:22am UTC](https://forum.kirupa.com/t/movieclip-troubles/278004 "2008-12-20T00:22:50Z")

</div>

Hello, I'm trying to create a simple sound wave effect in AS 2.0. I have an object moving and generating a soundwave everyonce in awhile but when it goes off the side I want the object and soundwave to appear on the o…

---

## [Mute button for embedded FLV](https://forum.kirupa.com/t/mute-button-for-embedded-flv/278002)

<div class="topic-metadata">

**Author:** [@para\_chan](https://forum.kirupa.com/u/para_chan)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 11:18pm UTC](https://forum.kirupa.com/t/mute-button-for-embedded-flv/278002 "2008-12-19T23:18:24Z")

</div>

I need to create a mute button for an embedded FLV file. There is no separate sound file for me to control, so I'm unsure how to tackle this. It can mute all sound coming from the Flash file, since that is the only sou…

---

## [How to dynamically load things into a scroll pane in as4, cs4](https://forum.kirupa.com/t/how-to-dynamically-load-things-into-a-scroll-pane-in-as4-cs4/278000)

<div class="topic-metadata">

**Author:** [@roi8877](https://forum.kirupa.com/u/roi8877)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 10:48pm UTC](https://forum.kirupa.com/t/how-to-dynamically-load-things-into-a-scroll-pane-in-as4-cs4/278000 "2008-12-19T22:48:56Z")

</div>

Im able to dynamically create a scroll pane, and set its source to be one of the library movieclip symbol stored in the libray off couse and it works but it does not scroll even though the content well goes over the limi…

---

## [Duplicating MovieClips](https://forum.kirupa.com/t/duplicating-movieclips/277997)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 9:56pm UTC](https://forum.kirupa.com/t/duplicating-movieclips/277997 "2008-12-19T21:56:10Z")

</div>

Hello, can anyone point me to anything which will help me dynamically attach movieclips from the library into one main movieclip, which then I can duplicate it many times.. You see, what happens with duplicateMovieClip…

---

## [Preloader Not working correctly](https://forum.kirupa.com/t/preloader-not-working-correctly/277995)

<div class="topic-metadata">

**Author:** [@para\_chan](https://forum.kirupa.com/u/para_chan)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 9:03pm UTC](https://forum.kirupa.com/t/preloader-not-working-correctly/277995 "2008-12-19T21:03:33Z")

</div>

I'm using the preloader example from: http://www.monkeyflash.com/flash/creating\_a\_custom\_preloader/ However, it's currently playing the .swf that it's supposed to be preloading as if there was no preloader at all. As s…

---

## [Snow 3.0 customization](https://forum.kirupa.com/t/snow-3-0-customization/277993)

<div class="topic-metadata">

**Author:** [@tleasure](https://forum.kirupa.com/u/tleasure)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 8:15pm UTC](https://forum.kirupa.com/t/snow-3-0-customization/277993 "2008-12-19T20:15:33Z")

</div>

I have enjoyed the Snow 3.0 code located here on this site: http://www.kirupa.com/developer/flash8/snow.htm It works beautifully. However, I am wondering how I can get the snow to end at a certain frame number. I c…

---

## [Bookmarking in Flash](https://forum.kirupa.com/t/bookmarking-in-flash/277990)

<div class="topic-metadata">

**Author:** [@abhikumar](https://forum.kirupa.com/u/abhikumar)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 6:21pm UTC](https://forum.kirupa.com/t/bookmarking-in-flash/277990 "2008-12-19T18:21:10Z")

</div>

How do i click a link and open add favorites window of the browser.. this does not work: on (release) { getURL("javascript:window.external.AddFavorite('ht tp://www.mysite.com','short title for mysite')"); } please le…

---

## [CTRL breaking eventlisteners](https://forum.kirupa.com/t/ctrl-breaking-eventlisteners/277989)

<div class="topic-metadata">

**Author:** [@Freeseus](https://forum.kirupa.com/u/Freeseus)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 6:03pm UTC](https://forum.kirupa.com/t/ctrl-breaking-eventlisteners/277989 "2008-12-19T18:03:30Z")

</div>

I am making a game and there are eventlisteners on a timeline which are added and removed when they are not needed: this.stage.addEventListener(KeyboardEvent.KEY\_DOWN, Perfect); this.stage.removeEventListener(Keyboar…

---

## [Programmatically Address a Class Instance?](https://forum.kirupa.com/t/programmatically-address-a-class-instance/277988)

<div class="topic-metadata">

**Author:** [@AntifreezeDesig](https://forum.kirupa.com/u/AntifreezeDesig)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 5:56pm UTC](https://forum.kirupa.com/t/programmatically-address-a-class-instance/277988 "2008-12-19T17:56:51Z")

</div>

I may be a bit backward in my thinking here, trying to fit my pre-OOP brain into OOP. I'm trying to access the instances of a class that was created with a loop, but am having trouble wrapping my brain around how I call …

---

## [Need help to update domain lock code](https://forum.kirupa.com/t/need-help-to-update-domain-lock-code/277984)

<div class="topic-metadata">

**Author:** [@dadaz](https://forum.kirupa.com/u/dadaz)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 4:36pm UTC](https://forum.kirupa.com/t/need-help-to-update-domain-lock-code/277984 "2008-12-19T16:36:01Z")

</div>

Hi, i was using a domain lock code for my swf for some time, all was fine, but a recent client has a trouble because his url website contain several extensions with several dots, like : www.domain.co.uk (instead of www…

---

## [Delete Help](https://forum.kirupa.com/t/delete-help/277982)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 3:58pm UTC](https://forum.kirupa.com/t/delete-help/277982 "2008-12-19T15:58:29Z")

</div>

Okay, so I'm trying to make a little game that has a whole bunch of objects moving towards a specific point, and you have to protect that point by defeating all the objects. In order to defeat the objects, you must cont…

---

## [Attaching text to an animated sprite?](https://forum.kirupa.com/t/attaching-text-to-an-animated-sprite/277978)

<div class="topic-metadata">

**Author:** [@juniorspecial](https://forum.kirupa.com/u/juniorspecial)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 3:31pm UTC](https://forum.kirupa.com/t/attaching-text-to-an-animated-sprite/277978 "2008-12-19T15:31:37Z")

</div>

I'm doing something wrong, but I don't know what.I have a basic rectangle that is animated \[moveBasicRect()\]. I want to attach a textBox to it, so that when the animated rectangle moves, the text moves with it. But whe…

---

## [Using XML to define Actionscript](https://forum.kirupa.com/t/using-xml-to-define-actionscript/277977)

<div class="topic-metadata">

**Author:** [@AkerBay](https://forum.kirupa.com/u/AkerBay)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 3:22pm UTC](https://forum.kirupa.com/t/using-xml-to-define-actionscript/277977 "2008-12-19T15:22:27Z")

</div>

Is there any way that I can have a movie clip and dynamic text on my movie and from an xml file define the movie clip to be either a quantity box, radio button, or check box? If so, could these boxes or buttons have acti…

---

## [Change dynamic text field's xml "value"](https://forum.kirupa.com/t/change-dynamic-text-fields-xml-value/277976)

<div class="topic-metadata">

**Author:** [@Nasiapostol](https://forum.kirupa.com/u/Nasiapostol)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 3:21pm UTC](https://forum.kirupa.com/t/change-dynamic-text-fields-xml-value/277976 "2008-12-19T15:21:41Z")

</div>

Hello. Here is the problem I am facing now! I want to load an xml value "name \[0\]" to a dynamic text field which is into a movie clip. The movie clip will loop, each time the timeline starts again from frame one ( of…

---

## [Simple mathquestion PLEASE HELP](https://forum.kirupa.com/t/simple-mathquestion-please-help/277974)

<div class="topic-metadata">

**Author:** [@oliie](https://forum.kirupa.com/u/oliie)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 3:07pm UTC](https://forum.kirupa.com/t/simple-mathquestion-please-help/277974 "2008-12-19T15:07:44Z")

</div>

I have a slider that I want rounded to the closest 100 and it should start from 0 to 5000. The code I’m using is the following: onMouseMove = function(){ updateAfterEvent(); } var num:Number = 52.3; num /= 100; …

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

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