# flash

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

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

**Page:** 534

---

## [Preloading loadMovie](https://forum.kirupa.com/t/preloading-loadmovie/294917)

<div class="topic-metadata">

**Author:** [@DylanM](https://forum.kirupa.com/u/DylanM)\
**Replies:** 0\
**Last updated:** [August 22, 2009, 3:03am UTC](https://forum.kirupa.com/t/preloading-loadmovie/294917 "2009-08-22T03:03:26Z")

</div>

Im loading images into flash with loadMovie(imageArray\[ArrayPos\], \_root.ImageHolder) imageArray is an array with the paths to the images. Anyways. When you press the next button it adds one to ArrayPos and then....calls …

---

## [EmptyMovieClip / Stage Position](https://forum.kirupa.com/t/emptymovieclip-stage-position/294916)

<div class="topic-metadata">

**Author:** [@digartz](https://forum.kirupa.com/u/digartz)\
**Replies:** 0\
**Last updated:** [August 22, 2009, 2:57am UTC](https://forum.kirupa.com/t/emptymovieclip-stage-position/294916 "2009-08-22T02:57:07Z")

</div>

I'm having a heck of a time getting my movie clip on the stage postion where I want it (and eventually I'll want 8-10 movie clips running on different stage locations at the same time.) I've tried numerous scripts method…

---

## [Pause Game?](https://forum.kirupa.com/t/pause-game/294911)

<div class="topic-metadata">

**Author:** [@Amymation](https://forum.kirupa.com/u/Amymation)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 10:58pm UTC](https://forum.kirupa.com/t/pause-game/294911 "2009-08-21T22:58:30Z")

</div>

Hi, This may sound like a stupid question but I need help on something. I'm making a sort of mouse avoider but with keys, and because I have physics applied in the game \[Upconstant/Friction/Gravity etc..\] As soon as the…

---

## [AS2 speaking to AS3 local connection](https://forum.kirupa.com/t/as2-speaking-to-as3-local-connection/294909)

<div class="topic-metadata">

**Author:** [@Freeseus](https://forum.kirupa.com/u/Freeseus)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 8:22pm UTC](https://forum.kirupa.com/t/as2-speaking-to-as3-local-connection/294909 "2009-08-21T20:22:57Z")

</div>

For whatever reason, this doesn't seem to work: \[COLOR="DarkOrange"\]AS 2 timeline:\[/COLOR\] var listener = new LocalConnection(); listener.client=this; listener.connect("myConnection2"); function listenerFunction(…

---

## [SWF works only on FIREFOX](https://forum.kirupa.com/t/swf-works-only-on-firefox/294908)

<div class="topic-metadata">

**Author:** [@ThiZz](https://forum.kirupa.com/u/ThiZz)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 8:20pm UTC](https://forum.kirupa.com/t/swf-works-only-on-firefox/294908 "2009-08-21T20:20:49Z")

</div>

hello everyone, I finished my website and uploaded to internet. And when I showed friends that use IE7, CHROME or any other browser besides FIREFOX it failed to work. The SWF gets stuck at the preloader at a certain perc…

---

## [\_Slowly\_ draw a (curved) line?](https://forum.kirupa.com/t/-slowly--draw-a-curved-line/294906)

<div class="topic-metadata">

**Author:** [@rokosz](https://forum.kirupa.com/u/rokosz)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 7:17pm UTC](https://forum.kirupa.com/t/-slowly--draw-a-curved-line/294906 "2009-08-21T19:17:18Z")

</div>

Hi folks Here's the effort simply displayed: http://www.mountcrumpit.com/DoorSwing.swf. it uses curveto to show the arc of a doorswing. I'd like the drawn arc instead to appear/trail along the leading edge of the do…

---

## [Having trouble loading swf](https://forum.kirupa.com/t/having-trouble-loading-swf/294904)

<div class="topic-metadata">

**Author:** [@shazzmoe](https://forum.kirupa.com/u/shazzmoe)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 6:41pm UTC](https://forum.kirupa.com/t/having-trouble-loading-swf/294904 "2009-08-21T18:41:35Z")

</div>

I'm trying to simply have a flash file that acts as a preloader by loading in a separate swf to it. To my understanding it should be simple and the following should work. package { import flash.events.\*; imp…

---

## [Converting AS2 to AS3!](https://forum.kirupa.com/t/converting-as2-to-as3/294901)

<div class="topic-metadata">

**Author:** [@prone](https://forum.kirupa.com/u/prone)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 5:58pm UTC](https://forum.kirupa.com/t/converting-as2-to-as3/294901 "2009-08-21T17:58:18Z")

</div>

Hello! I am a newbie when it comes to AS3, but I'm gradually picking up things here and there. I really don't know how to convert the code below to AS3. If someone could please help me, I would greatly appreciate it! I…

---

## [Keeping Loader contents after Loader removed from memory](https://forum.kirupa.com/t/keeping-loader-contents-after-loader-removed-from-memory/294900)

<div class="topic-metadata">

**Author:** [@yedda](https://forum.kirupa.com/u/yedda)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 5:49pm UTC](https://forum.kirupa.com/t/keeping-loader-contents-after-loader-removed-from-memory/294900 "2009-08-21T17:49:40Z")

</div>

Hi I'm loading some images with Loaders, cloning the BitmapData to a new Bitmap, and adding the Bitmap as a child of a Sprite. So far, so good. I want the Loaders I'm using to be removed by garbage collection, wh…

---

## [Possible to put dynamic text in a graphic?](https://forum.kirupa.com/t/possible-to-put-dynamic-text-in-a-graphic/294897)

<div class="topic-metadata">

**Author:** [@shazzmoe](https://forum.kirupa.com/u/shazzmoe)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 4:15pm UTC](https://forum.kirupa.com/t/possible-to-put-dynamic-text-in-a-graphic/294897 "2009-08-21T16:15:54Z")

</div>

this.upgradeMC = new Sprite(); var g :Graphics = this.upgradeMC.graphics; g.lineStyle(1, 0x454545); g.beginFill(0xaaaaaa); g.drawRect(0, -25, 100, 50); …

---

## [as3 adding SWFAddress to existing flash site?](https://forum.kirupa.com/t/as3-adding-swfaddress-to-existing-flash-site/294893)

<div class="topic-metadata">

**Author:** [@ricia](https://forum.kirupa.com/u/ricia)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 3:48pm UTC](https://forum.kirupa.com/t/as3-adding-swfaddress-to-existing-flash-site/294893 "2009-08-21T15:48:42Z")

</div>

I'm still a newbie in terms of as3, but have built a code-simple flash site (using CS3 & Dreamweaver). I've only just discovered SWFAddress / SWFobject / swffit and have been combing through my flash pages to implement t…

---

## [Character Embedding](https://forum.kirupa.com/t/character-embedding/294887)

<div class="topic-metadata">

**Author:** [@gag4n](https://forum.kirupa.com/u/gag4n)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 2:38pm UTC](https://forum.kirupa.com/t/character-embedding/294887 "2009-08-21T14:38:05Z")

</div>

Can anyone explain how to disable punctuation (!@#%...) (52 glyphs) for a TextFieldType.INPUT using AS3? Thanks.

---

## [Script Source in Source Path cannot be found](https://forum.kirupa.com/t/script-source-in-source-path-cannot-be-found/294885)

<div class="topic-metadata">

**Author:** [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 2:26pm UTC](https://forum.kirupa.com/t/script-source-in-source-path-cannot-be-found/294885 "2009-08-21T14:26:51Z")

</div>

Hola, So inside my src folder I have my app.mxml file. I have a source directory pointed to my actionscript library. It appears that Flex does not look inside that source directory including an .as file within the m…

---

## [Flash and filesystem](https://forum.kirupa.com/t/flash-and-filesystem/294884)

<div class="topic-metadata">

**Author:** [@Eagle1](https://forum.kirupa.com/u/Eagle1)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 2:22pm UTC](https://forum.kirupa.com/t/flash-and-filesystem/294884 "2009-08-21T14:22:37Z")

</div>

Hi there ! I'm on a project where the main SWF loads some other swf file and show them. I told my boss that AS3 need the exact path and name of the file to load it, that it can't list a folder and take everything in ! …

---

## [Flash and youtube](https://forum.kirupa.com/t/flash-and-youtube/294883)

<div class="topic-metadata">

**Author:** [@comicjoker](https://forum.kirupa.com/u/comicjoker)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 2:02pm UTC](https://forum.kirupa.com/t/flash-and-youtube/294883 "2009-08-21T14:02:57Z")

</div>

I have a website that i have developed in CS4 Flash. I want to be able to play youtube videos out of the flash website. can any one point me in the right direction on whether this is possible and how i would go about doi…

---

## [Script errors in browser](https://forum.kirupa.com/t/script-errors-in-browser/294881)

<div class="topic-metadata">

**Author:** [@romit\_2034](https://forum.kirupa.com/u/romit_2034)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 12:12pm UTC](https://forum.kirupa.com/t/script-errors-in-browser/294881 "2009-08-21T12:12:40Z")

</div>

Hey, So, I coded this website in a super hurry. I know it is very bad practice but the code does have some unresolved issues. However that in no way affects the functionality of the site (I checked it completely) But f…

---

## [How to create random name picker like slot machine](https://forum.kirupa.com/t/how-to-create-random-name-picker-like-slot-machine/294876)

<div class="topic-metadata">

**Author:** [@bjory](https://forum.kirupa.com/u/bjory)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 6:54am UTC](https://forum.kirupa.com/t/how-to-create-random-name-picker-like-slot-machine/294876 "2009-08-21T06:54:41Z")

</div>

Hi all, Anyone knows how I can do a simple slot machine which can pick random names based on the names I put in the text area? It is almost similar to this http://classtools.net/education-games-php/fruit\_machine/ B…

---

## [Cannot load external image with special characters in file name](https://forum.kirupa.com/t/cannot-load-external-image-with-special-characters-in-file-name/294873)

<div class="topic-metadata">

**Author:** [@supafly50](https://forum.kirupa.com/u/supafly50)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 5:44am UTC](https://forum.kirupa.com/t/cannot-load-external-image-with-special-characters-in-file-name/294873 "2009-08-21T05:44:29Z")

</div>

I've made an application which loads external images using URLRequest and URLLoader. Everything works fine until it needs to load an image which has special characters in the file name/location, e.g. 'ú' or 'ð', and then…

---

## [Jump to keyframe condition counter](https://forum.kirupa.com/t/jump-to-keyframe-condition-counter/294872)

<div class="topic-metadata">

**Author:** [@patrickvallone](https://forum.kirupa.com/u/patrickvallone)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 5:29am UTC](https://forum.kirupa.com/t/jump-to-keyframe-condition-counter/294872 "2009-08-21T05:29:36Z")

</div>

I made a jeopardy game that works perfect except trying to get the game to go to final jeopardy once they finish all the questions in the first part of the game. the questions are on separate frames and all on the same l…

---

## [Accessing maintimeline](https://forum.kirupa.com/t/accessing-maintimeline/294862)

<div class="topic-metadata">

**Author:** [@AcolyTe](https://forum.kirupa.com/u/AcolyTe)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 11:36pm UTC](https://forum.kirupa.com/t/accessing-maintimeline/294862 "2009-08-20T23:36:41Z")

</div>

Just wondering, is there a way to access the maintimeline from within a movieclip? root. doesnt seem to work ;(

---

## [Weighted random numbers](https://forum.kirupa.com/t/weighted-random-numbers/294859)

<div class="topic-metadata">

**Author:** [@dandylion13](https://forum.kirupa.com/u/dandylion13)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:58pm UTC](https://forum.kirupa.com/t/weighted-random-numbers/294859 "2009-08-20T22:58:53Z")

</div>

Hello! \[smile\] I was wondering if anyone out there can point me to a forumla for generating random numbers that are weighted within a specific range. I need to generate random numbers between 1 and 100. However, I'd …

---

## [Accessing stage objects with in a class](https://forum.kirupa.com/t/accessing-stage-objects-with-in-a-class/294857)

<div class="topic-metadata">

**Author:** [@jesseclark](https://forum.kirupa.com/u/jesseclark)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:48pm UTC](https://forum.kirupa.com/t/accessing-stage-objects-with-in-a-class/294857 "2009-08-20T22:48:08Z")

</div>

Sorry if this quesiton has been posted, but I don't think I am using the right terms to search. I am trying to learn how classes can interact with each other and I came across a problem I can't solve. On my stage I hav…

---

## [Document Class and Loading classes into this class](https://forum.kirupa.com/t/document-class-and-loading-classes-into-this-class/294853)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:16pm UTC](https://forum.kirupa.com/t/document-class-and-loading-classes-into-this-class/294853 "2009-08-20T22:16:46Z")

</div>

Hi there, im trying to move to AS3 ... So I came across this code, where the fla has a document class of Main.as This loads in .. Ok. But what I dont get inside this code, is that it manages to load in Secondary.as witho…

---

## [AS2 translation](https://forum.kirupa.com/t/as2-translation/294852)

<div class="topic-metadata">

**Author:** [@Tenrag](https://forum.kirupa.com/u/Tenrag)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:11pm UTC](https://forum.kirupa.com/t/as2-translation/294852 "2009-08-20T22:11:56Z")

</div>

Hi I have to use somethink like this; slider.dragger.onPress = function(){ startDrag(slider.dragger,false,0,-15,372,-15) \_root.onEnterFrame = checkRotation; } slider.dragger.onRelease = slider.dragger.onR…

---

## [Sliding Gallery PLEASE HELP :(](https://forum.kirupa.com/t/sliding-gallery-please-help/294851)

<div class="topic-metadata">

**Author:** [@MattyFlashNoob](https://forum.kirupa.com/u/MattyFlashNoob)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:00pm UTC](https://forum.kirupa.com/t/sliding-gallery-please-help/294851 "2009-08-20T22:00:25Z")

</div>

Hi there, Ok, I have a sliding photo galley with a previous and next button. I have added action script to tell the linked pictures to slide along and for the next button its fine (I took the script from a forum...as you…

---

## [Drag and drop with multiple scenes](https://forum.kirupa.com/t/drag-and-drop-with-multiple-scenes/294850)

<div class="topic-metadata">

**Author:** [@xvkarbear](https://forum.kirupa.com/u/xvkarbear)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 9:28pm UTC](https://forum.kirupa.com/t/drag-and-drop-with-multiple-scenes/294850 "2009-08-20T21:28:21Z")

</div>

I've taken the drag and drop tutorial from this site and adjusted it to suit my needs. Me and my co-worker have been trying all day to get this to work. Here's a little of what my problems: Need it to do: when the cor…

---

## [Slowing Down While Loop](https://forum.kirupa.com/t/slowing-down-while-loop/294849)

<div class="topic-metadata">

**Author:** [@thesprucegoose](https://forum.kirupa.com/u/thesprucegoose)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 9:02pm UTC](https://forum.kirupa.com/t/slowing-down-while-loop/294849 "2009-08-20T21:02:13Z")

</div>

Hey All, I'm currently creating a rewind function that makes a video go to a certain frame number when a button is clicked. The issue is that the code is shooting through the frames too quickly. Is there any way to slo…

---

## [Parent / child movie clip buttons](https://forum.kirupa.com/t/parent-child-movie-clip-buttons/294848)

<div class="topic-metadata">

**Author:** [@pleen](https://forum.kirupa.com/u/pleen)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 8:51pm UTC](https://forum.kirupa.com/t/parent-child-movie-clip-buttons/294848 "2009-08-20T20:51:08Z")

</div>

I am a newbie trying to get this drop-down menu to work, I've followed several video tutorials and have pieced this together, but the tutorials mainly describe how to set up the stage but not how to add the functionality…

---

## [Tween - easeInOut](https://forum.kirupa.com/t/tween-easeinout/294847)

<div class="topic-metadata">

**Author:** [@Spykes](https://forum.kirupa.com/u/Spykes)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 8:49pm UTC](https://forum.kirupa.com/t/tween-easeinout/294847 "2009-08-20T20:49:09Z")

</div>

Couple of questions here. I am using the tween: easeInOut function to fade an object in in my news rotator as it cycles through the different RSS items. I can get the image fade in, but it doesn't seem to want to fade ou…

---

## [Check All Points Along a Line?](https://forum.kirupa.com/t/check-all-points-along-a-line/294844)

<div class="topic-metadata">

**Author:** [@jebego](https://forum.kirupa.com/u/jebego)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 8:32pm UTC](https://forum.kirupa.com/t/check-all-points-along-a-line/294844 "2009-08-20T20:32:05Z")

</div>

I'm using Flash 8 and AS2 I am attempting to make some code that checks whether or not a line that rotates around the screen is hitting a movie clip. Here is my code (with comments explaining it): onClipEvent(enterF…

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

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