# flash

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

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

**Page:** 151

---

## [3D correction?](https://forum.kirupa.com/t/3d-correction/322785)

<div class="topic-metadata">

**Author:** [@patrickjv](https://forum.kirupa.com/u/patrickjv)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 2:51am UTC](https://forum.kirupa.com/t/3d-correction/322785 "2011-06-03T02:51:51Z")

</div>

I'm trying to grab some MC and turn it into bitmapData, works ok. Just an example code, try in a keyframe import flash.display.Sprite; import flash.display.MovieClip; var r = new Sprite(); r.graphics.beginFill(0xFF00…

---

## [How definitions should (theoretically) be written in AS3](https://forum.kirupa.com/t/how-definitions-should-theoretically-be-written-in-as3/322783)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 12:48am UTC](https://forum.kirupa.com/t/how-definitions-should-theoretically-be-written-in-as3/322783 "2011-06-03T00:48:10Z")

</div>

Note: Once again I am playing around with my purely fictional language beyond the confined bounds of AS3. This post has no practical applications what so ever, and is merely an exercise of the mind. \*\* Java-style def…

---

## [Accessing a class private variable in the main timeline](https://forum.kirupa.com/t/accessing-a-class-private-variable-in-the-main-timeline/322782)

<div class="topic-metadata">

**Author:** [@Zazza](https://forum.kirupa.com/u/Zazza)\
**Replies:** 0\
**Last updated:** [June 3, 2011, 12:33am UTC](https://forum.kirupa.com/t/accessing-a-class-private-variable-in-the-main-timeline/322782 "2011-06-03T00:33:04Z")

</div>

Greetings, noob question. Here's my main class: package { import flash.external.ExternalInterface; public class main { public function main() { } public function c…

---

## [How to get from external swf to my main movie to Frame Nr.5?](https://forum.kirupa.com/t/how-to-get-from-external-swf-to-my-main-movie-to-frame-nr-5/322781)

<div class="topic-metadata">

**Author:** [@judit](https://forum.kirupa.com/u/judit)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 9:03pm UTC](https://forum.kirupa.com/t/how-to-get-from-external-swf-to-my-main-movie-to-frame-nr-5/322781 "2011-06-02T21:03:15Z")

</div>

As a student Im working on a main swf (Main.swf). There are many seites with many themes. On each site (Frames 1,2,3,.....25) Theres a button to get to an external .swf. If I\`m in the external .swf, there is a button …

---

## [Very strange phenomenon:](https://forum.kirupa.com/t/very-strange-phenomenon/322780)

<div class="topic-metadata">

**Author:** [@tseyigai](https://forum.kirupa.com/u/tseyigai)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 8:25pm UTC](https://forum.kirupa.com/t/very-strange-phenomenon/322780 "2011-06-02T20:25:04Z")

</div>

Very strange phenomenon here. Now I'm noticing that after I publish my files (both the swf and the html ones), . the html shows up fine but the swf file is not complete. (My settings are ok as I can see them. ) F…

---

## [Self preloaders in AS3](https://forum.kirupa.com/t/self-preloaders-in-as3/322777)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 6:47pm UTC](https://forum.kirupa.com/t/self-preloaders-in-as3/322777 "2011-06-02T18:47:57Z")

</div>

Do any of you guys know of an elegent, pure code solution? I need to make a self preloader for a single SWF, where obviously my normal, preferred solution is an external preloader. I followed Keith's tutorial here - h…

---

## [Searching Package Contents](https://forum.kirupa.com/t/searching-package-contents/322775)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 5:02pm UTC](https://forum.kirupa.com/t/searching-package-contents/322775 "2011-06-02T17:02:22Z")

</div>

Is there a part of the AS3 API that can be used for dynamically searching the contents of a package and instantiating classes found in the search?

---

## [HitTest issue](https://forum.kirupa.com/t/hittest-issue/322773)

<div class="topic-metadata">

**Author:** [@Tattered](https://forum.kirupa.com/u/Tattered)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 4:11pm UTC](https://forum.kirupa.com/t/hittest-issue/322773 "2011-06-02T16:11:05Z")

</div>

I am having an issue with a hitTestObject inside a for loop. When I drag an item it traces back that it was a hit but still animates back to its original place. I can't figure out what is going on with this... Here is …

---

## [Problems with multiple sounds](https://forum.kirupa.com/t/problems-with-multiple-sounds/322772)

<div class="topic-metadata">

**Author:** [@netmonkey](https://forum.kirupa.com/u/netmonkey)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 3:44pm UTC](https://forum.kirupa.com/t/problems-with-multiple-sounds/322772 "2011-06-02T15:44:53Z")

</div>

I'm using the AS3 iOS mode in CS5. It seems like playing sound fx on the timeline is unreliable. I've set all my sound to stream, which I've been told works, if they're all set to the same (not event). I get this when I …

---

## [removeChild in parent MovieClip not working](https://forum.kirupa.com/t/removechild-in-parent-movieclip-not-working/322769)

<div class="topic-metadata">

**Author:** [@SammyTheBear](https://forum.kirupa.com/u/SammyTheBear)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 3:01pm UTC](https://forum.kirupa.com/t/removechild-in-parent-movieclip-not-working/322769 "2011-06-02T15:01:28Z")

</div>

Hello folks! I am trying to remove a movieclip from my main timeline but it is not working. you click a button that is in a movieclip that is dynamically added to the stage and it is supposed to remove a movieclip from…

---

## [How to set the default image in gallery?](https://forum.kirupa.com/t/how-to-set-the-default-image-in-gallery/322766)

<div class="topic-metadata">

**Author:** [@AniMi](https://forum.kirupa.com/u/AniMi)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 1:03pm UTC](https://forum.kirupa.com/t/how-to-set-the-default-image-in-gallery/322766 "2011-06-02T13:03:11Z")

</div>

I need that on load the first image and first thumbnail to show up. please help \[smile\] package { import com.greensock.events.LoaderEvent; import com.greensock.loading.XMLLoader; import com.greensock.loa…

---

## [I am facing problem with EventDispatcher](https://forum.kirupa.com/t/i-am-facing-problem-with-eventdispatcher/322765)

<div class="topic-metadata">

**Author:** [@Milan\_vaja](https://forum.kirupa.com/u/Milan_vaja)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 12:59pm UTC](https://forum.kirupa.com/t/i-am-facing-problem-with-eventdispatcher/322765 "2011-06-02T12:59:44Z")

</div>

Hello Every One i am trying to dispatch a custom event but i cant do that i cant understand what i am doing wrong here is my code in test.as package { import flash.utils.Timer; import flash.events.TimerEvent; impor…

---

## [Is there a way to create a math.random that doesn't overlap movieclips?](https://forum.kirupa.com/t/is-there-a-way-to-create-a-math-random-that-doesnt-overlap-movieclips/322763)

<div class="topic-metadata">

**Author:** [@ssubham](https://forum.kirupa.com/u/ssubham)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 11:56am UTC](https://forum.kirupa.com/t/is-there-a-way-to-create-a-math-random-that-doesnt-overlap-movieclips/322763 "2011-06-02T11:56:31Z")

</div>

Hi, I have made a functional to use a number of objects on the stage which should not load overlap with other object of the stage. But, Some time it goes stuck in infinite loops or overlap others. Any one can help m…

---

## [Swf loading external .swf/xml/font](https://forum.kirupa.com/t/swf-loading-external-swf-xml-font/322762)

<div class="topic-metadata">

**Author:** [@Ireath](https://forum.kirupa.com/u/Ireath)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 11:43am UTC](https://forum.kirupa.com/t/swf-loading-external-swf-xml-font/322762 "2011-06-02T11:43:58Z")

</div>

Hi, I've been updating a flash-file for a company and now struggle to sort the menu system. This is how I would want it to work. Had they not used external xml and font swf files it would be done by now, but I have n…

---

## [Caribbean and Northern Free Online Newspapers](https://forum.kirupa.com/t/caribbean-and-northern-free-online-newspapers/322759)

<div class="topic-metadata">

**Author:** [@may645](https://forum.kirupa.com/u/may645)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 9:03am UTC](https://forum.kirupa.com/t/caribbean-and-northern-free-online-newspapers/322759 "2011-06-02T09:03:01Z")

</div>

\[FONT=Arial\]Welcome to the best Online Newspapers from the entire world, Information on local issues, all politics, Main events, World celebrations, people and all business on onlinenewspapersz.com. Online Newspapers if …

---

## [Changing the text in the textfield](https://forum.kirupa.com/t/changing-the-text-in-the-textfield/322758)

<div class="topic-metadata">

**Author:** [@jeponkz](https://forum.kirupa.com/u/jeponkz)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 6:55am UTC](https://forum.kirupa.com/t/changing-the-text-in-the-textfield/322758 "2011-06-02T06:55:31Z")

</div>

I want to change the text in textfield1 with the inputted text in textfield2.. for example, the text in textfield1 is "HELLO" i want to make it "HI" by inputing "HI" in textfield2 after clicking the change button the "…

---

## [Simple Button Issue](https://forum.kirupa.com/t/simple-button-issue/322757)

<div class="topic-metadata">

**Author:** [@mysticlife](https://forum.kirupa.com/u/mysticlife)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 5:44am UTC](https://forum.kirupa.com/t/simple-button-issue/322757 "2011-06-02T05:44:11Z")

</div>

Hi there, I'm sure there has to be a solution to my issue, I have been using Flash for years, but I haven't been asked to design a site in flash for some time so I'm a bit rusty. Anyway what I need to do is have a mov…

---

## [Flash CS5 font size issue](https://forum.kirupa.com/t/flash-cs5-font-size-issue/322754)

<div class="topic-metadata">

**Author:** [@sindrom](https://forum.kirupa.com/u/sindrom)\
**Replies:** 0\
**Last updated:** [June 2, 2011, 12:34am UTC](https://forum.kirupa.com/t/flash-cs5-font-size-issue/322754 "2011-06-02T00:34:15Z")

</div>

How can I change the font size in flash CS5 to show in pixels rather than points? I searched for about 30 minutes with no luck... Please help.

---

## [Frame Transition](https://forum.kirupa.com/t/frame-transition/322753)

<div class="topic-metadata">

**Author:** [@superkazza](https://forum.kirupa.com/u/superkazza)\
**Replies:** 0\
**Last updated:** [June 1, 2011, 9:41pm UTC](https://forum.kirupa.com/t/frame-transition/322753 "2011-06-01T21:41:56Z")

</div>

I have a button on the first page that takes you to the next page is there anyway i could add a transition so that it looks cool. thanks in advance

---

## [Preloader does not addChild on event](https://forum.kirupa.com/t/preloader-does-not-addchild-on-event/322752)

<div class="topic-metadata">

**Author:** [@tolgainam](https://forum.kirupa.com/u/tolgainam)\
**Replies:** 0\
**Last updated:** [June 1, 2011, 8:15pm UTC](https://forum.kirupa.com/t/preloader-does-not-addchild-on-event/322752 "2011-06-01T20:15:07Z")

</div>

Hello I have a website file that I am preloading with an another swf preloader file. The code is on the first frame of preloader.swf and as follows: import flash.display.Loader; import flash.display.Sprite; import fla…

---

## [The (not-so) big OOP questions thread!](https://forum.kirupa.com/t/the-not-so-big-oop-questions-thread/322751)

<div class="topic-metadata">

**Author:** [@userman](https://forum.kirupa.com/u/userman)\
**Replies:** 0\
**Last updated:** [June 1, 2011, 6:34pm UTC](https://forum.kirupa.com/t/the-not-so-big-oop-questions-thread/322751 "2011-06-01T18:34:50Z")

</div>

The hardest thing to learn in programming (right after the syntax) is definitely OOP. The thread will answer questions related to OOP. Making a thread like this could be a very good idea, because you at a later point can…

---

## [RightClick](https://forum.kirupa.com/t/rightclick/322750)

<div class="topic-metadata">

**Author:** [@radi](https://forum.kirupa.com/u/radi)\
**Replies:** 0\
**Last updated:** [June 1, 2011, 5:29pm UTC](https://forum.kirupa.com/t/rightclick/322750 "2011-06-01T17:29:32Z")

</div>

what can be done about the context menu, is there a way i can rightclick without it i figure i ask here since i caught a virus while googling it, is CS5 service manager a nessasary part of flash or can i delete it the …

---

## [How to access static function from runtime classes?](https://forum.kirupa.com/t/how-to-access-static-function-from-runtime-classes/322748)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [June 1, 2011, 5:06pm UTC](https://forum.kirupa.com/t/how-to-access-static-function-from-runtime-classes/322748 "2011-06-01T17:06:10Z")

</div>

I load many classes in at runtime from external SWF's, accessing those classes is pretty simple, like so - var currentDomain:ApplicationDomain = ApplicationDomain.currentDomain; var modelClass:Class = currentDomain.get…

---

## [Removing one movie clip in and replacing with another](https://forum.kirupa.com/t/removing-one-movie-clip-in-and-replacing-with-another/322747)

<div class="topic-metadata">

**Author:** [@Michelle\_E](https://forum.kirupa.com/u/Michelle_E)\
**Replies:** 0\
**Last updated:** [June 1, 2011, 4:22pm UTC](https://forum.kirupa.com/t/removing-one-movie-clip-in-and-replacing-with-another/322747 "2011-06-01T16:22:23Z")

</div>

I have various movie clips that play when a button is clicked. My first movie clip (instance name is "MCABOUT") which plays on the press of the button called "about". I have another movie clip (instance name is "MCPORTFO…

---

## [Creating variables in a loop and assigning them non empty XML values](https://forum.kirupa.com/t/creating-variables-in-a-loop-and-assigning-them-non-empty-xml-values/322743)

<div class="topic-metadata">

**Author:** [@decimal](https://forum.kirupa.com/u/decimal)\
**Replies:** 0\
**Last updated:** [June 1, 2011, 2:08pm UTC](https://forum.kirupa.com/t/creating-variables-in-a-loop-and-assigning-them-non-empty-xml-values/322743 "2011-06-01T14:08:37Z")

</div>

Here is the structure of the XML file: \<xmlfile\> \<page\>\</page\> \<page\> \<source\>\</source\> \</page\> \</xmlfile\> Some "page" nodes contain the extra "source" node. What I'm currently doing is looping through all the pag…

---

## [Mp3 doesn't play in website](https://forum.kirupa.com/t/mp3-doesnt-play-in-website/322742)

<div class="topic-metadata">

**Author:** [@tseyigai](https://forum.kirupa.com/u/tseyigai)\
**Replies:** 0\
**Last updated:** [June 1, 2011, 2:00pm UTC](https://forum.kirupa.com/t/mp3-doesnt-play-in-website/322742 "2011-06-01T14:00:57Z")

</div>

I just added a mp3 song to my flash page and it plays well in preview and after it's published. But after I've uploaded it to my site along with the mp3 song, it doesn't play. I moved the mp3 onto the stage and that is h…

---

## [No images from XML onto stage](https://forum.kirupa.com/t/no-images-from-xml-onto-stage/322741)

<div class="topic-metadata">

**Author:** [@flasher333](https://forum.kirupa.com/u/flasher333)\
**Replies:** 0\
**Last updated:** [June 1, 2011, 1:17pm UTC](https://forum.kirupa.com/t/no-images-from-xml-onto-stage/322741 "2011-06-01T13:17:28Z")

</div>

Hi there, I'm having an issue with placing images loaded from an XML file in placeholders within movie clip instances on the stage. Hope someone can help me with this. Many thanks in advance. My XML file is: \<?x…

---

## [Strange uploading process](https://forum.kirupa.com/t/strange-uploading-process/322739)

<div class="topic-metadata">

**Author:** [@bumb0x](https://forum.kirupa.com/u/bumb0x)\
**Replies:** 0\
**Last updated:** [June 1, 2011, 9:47am UTC](https://forum.kirupa.com/t/strange-uploading-process/322739 "2011-06-01T09:47:12Z")

</div>

Hello guys, I have strange uploading behavior. When I try to upload few files via FileReference#upload(), the following occurs: 1) only 2 files can be uploaded at the same time 2) if uploading of other files didn't start…

---

## [Batch Processing Flash Files](https://forum.kirupa.com/t/batch-processing-flash-files/322737)

<div class="topic-metadata">

**Author:** [@Almonimus](https://forum.kirupa.com/u/Almonimus)\
**Replies:** 0\
**Last updated:** [June 1, 2011, 7:56am UTC](https://forum.kirupa.com/t/batch-processing-flash-files/322737 "2011-06-01T07:56:10Z")

</div>

Hi I'm working on an interactive company, and for each campaign we create dozens of loaders. A loader is a simple flash file contains the following elements: few lines of code for eRate (counting how many clicks hav…

---

## [KeyBoard Controls](https://forum.kirupa.com/t/keyboard-controls/322736)

<div class="topic-metadata">

**Author:** [@gopik3](https://forum.kirupa.com/u/gopik3)\
**Replies:** 0\
**Last updated:** [June 1, 2011, 7:02am UTC](https://forum.kirupa.com/t/keyboard-controls/322736 "2011-06-01T07:02:19Z")

</div>

Am Creating A game Using Action Script 2.0.The objects By KeyBoard Controls When I Moves It goes To Endless of screen How Can I Use IT in Particular Screen Width And Height

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

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