# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=775

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

**Page:** 776

---

## [removeChild()](https://forum.kirupa.com/t/removechild/290935)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 2:14pm UTC](https://forum.kirupa.com/t/removechild/290935 "2009-06-22T14:14:24Z")

</div>

Hi - In my simple code I am adding a swf via addChild. Fine. var nws:Loader = new Loader() nws.load(new URLRequest("news.swf")) addChild(nws) however further on in my code - I want this swf or nws var to be…

---

## [Tracing fontClass](https://forum.kirupa.com/t/tracing-fontclass/290934)

<div class="topic-metadata">

**Author:** [@Garfty](https://forum.kirupa.com/u/Garfty)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 2:00pm UTC](https://forum.kirupa.com/t/tracing-fontclass/290934 "2009-06-22T14:00:55Z")

</div>

Hi all, Hope everyone's well, just a quick question. I'm loading external font swf's, when using the textFormat class, the fonts come through perfectly and I am able to style them as I need. However I would like in tim…

---

## [LoaderInfo url as null for too long](https://forum.kirupa.com/t/loaderinfo-url-as-null-for-too-long/290933)

<div class="topic-metadata">

**Author:** [@BoppreH](https://forum.kirupa.com/u/BoppreH)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 2:00pm UTC](https://forum.kirupa.com/t/loaderinfo-url-as-null-for-too-long/290933 "2009-06-22T14:00:19Z")

</div>

I have a class that loads a handful of external swfs, and a preloader class to handle them all as a single object. I was having some strange problems with the loading process and tried tracing the urls to see which fil…

---

## [Sockets Server](https://forum.kirupa.com/t/sockets-server/290930)

<div class="topic-metadata">

**Author:** [@Nexus333](https://forum.kirupa.com/u/Nexus333)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 1:04pm UTC](https://forum.kirupa.com/t/sockets-server/290930 "2009-06-22T13:04:30Z")

</div>

Hi,Im spanish developer,an my english in no long Im trying your sockets server,and when i execute the .fla in flash said Server connection established!,but if i put swf file in a html document and open it said Server …

---

## [Highlight text inside a textInput component](https://forum.kirupa.com/t/highlight-text-inside-a-textinput-component/290928)

<div class="topic-metadata">

**Author:** [@kiwiki098](https://forum.kirupa.com/u/kiwiki098)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 12:25pm UTC](https://forum.kirupa.com/t/highlight-text-inside-a-textinput-component/290928 "2009-06-22T12:25:36Z")

</div>

Hi! I'd like to highlight / select text inside a textInput when the user sets the focus on it. My code (that doesn't work): txtInput.text="abcd"; // TextInput text var txtInputListener:Object = new Object(); // cre…

---

## [Making .mp4 with Actionscript 3 and what to use for 3D animation](https://forum.kirupa.com/t/making-mp4-with-actionscript-3-and-what-to-use-for-3d-animation/290927)

<div class="topic-metadata">

**Author:** [@laaptu](https://forum.kirupa.com/u/laaptu)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 12:22pm UTC](https://forum.kirupa.com/t/making-mp4-with-actionscript-3-and-what-to-use-for-3d-animation/290927 "2009-06-22T12:22:53Z")

</div>

Dear user, I have to load several images and then do 3D image animation. For this if I use Flash CS4 platform,do I have to use Papervision 3D or other 3D open source classes. Further,I have…

---

## [Multiple external .swf files into one](https://forum.kirupa.com/t/multiple-external-swf-files-into-one/290925)

<div class="topic-metadata">

**Author:** [@Ricoo](https://forum.kirupa.com/u/Ricoo)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 10:56am UTC](https://forum.kirupa.com/t/multiple-external-swf-files-into-one/290925 "2009-06-22T10:56:11Z")

</div>

Hy, i have a problem with inserting multiple external .swf files into one .swf. Its based on very simple .xml system. Otherwords I have index.swf which creates empty movieclips and pulls thru .xml file external .swf file…

---

## [Loading Image Bottommost Layer](https://forum.kirupa.com/t/loading-image-bottommost-layer/290923)

<div class="topic-metadata">

**Author:** [@energy](https://forum.kirupa.com/u/energy)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 10:42am UTC](https://forum.kirupa.com/t/loading-image-bottommost-layer/290923 "2009-06-22T10:42:31Z")

</div>

I'm loading an image in a UILoader Component (created during runtime). var lb:UILoader = new UILoader(); addChild(lb); Now when i load any image into this then it loads on top of everything.I know this is because it…

---

## [SWFAddress is absolutely killing me.. help appreciated](https://forum.kirupa.com/t/swfaddress-is-absolutely-killing-me-help-appreciated/290920)

<div class="topic-metadata">

**Author:** [@proeliumfessus](https://forum.kirupa.com/u/proeliumfessus)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 9:34am UTC](https://forum.kirupa.com/t/swfaddress-is-absolutely-killing-me-help-appreciated/290920 "2009-06-22T09:34:06Z")

</div>

I've been on swfaddress for two days now and I've already got the swf to the point that when I upload it and begin navigating, I can see the url changing in the address bar... the problem occurs when I try to use the for…

---

## [Simple Classes Question](https://forum.kirupa.com/t/simple-classes-question/290919)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 9:27am UTC](https://forum.kirupa.com/t/simple-classes-question/290919 "2009-06-22T09:27:41Z")

</div>

Hi .. Im just getting in to start using classes .. I have a very simple question:: So if I create a rollOver and rollOff class package - to change the alpha value of some buttons .. how do 'connect' them to my butto…

---

## [Embed font example for CS3](https://forum.kirupa.com/t/embed-font-example-for-cs3/290917)

<div class="topic-metadata">

**Author:** [@gag4n](https://forum.kirupa.com/u/gag4n)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 8:56am UTC](https://forum.kirupa.com/t/embed-font-example-for-cs3/290917 "2009-06-22T08:56:39Z")

</div>

I'm trying to use the following script to embed a font in a CS3 flash file. When I publish and preview it, all I get is a blank screen :S Can someone tell me if this script is valid for AS3/CS3? Thanks. \[LEFT\] pac…

---

## [someThin.text = String(value1) and multiple values](https://forum.kirupa.com/t/somethin-text-string-value1-and-multiple-values/290916)

<div class="topic-metadata">

**Author:** [@SonOfChaos](https://forum.kirupa.com/u/SonOfChaos)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 8:54am UTC](https://forum.kirupa.com/t/somethin-text-string-value1-and-multiple-values/290916 "2009-06-22T08:54:50Z")

</div>

someThin.text = String(value1) Okay, I'm using the above code to pass an integer to a dynamic textBox. The problem is I'd like to post a second variable (value2) in the same textBox as well as a '/' between them. I co…

---

## [Accessing nested functions and scope?](https://forum.kirupa.com/t/accessing-nested-functions-and-scope/290915)

<div class="topic-metadata">

**Author:** [@SonOfChaos](https://forum.kirupa.com/u/SonOfChaos)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 8:50am UTC](https://forum.kirupa.com/t/accessing-nested-functions-and-scope/290915 "2009-06-22T08:50:59Z")

</div>

Okay, this would make my life a lot easier if this could be done somehow. How can one class access a nested function in another class. Examplish. main class{ public function main(){ doSomethin(); public fu…

---

## [An easy way to convert Mod/Tod video to regular video](https://forum.kirupa.com/t/an-easy-way-to-convert-mod-tod-video-to-regular-video/290914)

<div class="topic-metadata">

**Author:** [@shushuhua111](https://forum.kirupa.com/u/shushuhua111)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 8:23am UTC](https://forum.kirupa.com/t/an-easy-way-to-convert-mod-tod-video-to-regular-video/290914 "2009-06-22T08:23:58Z")

</div>

Anyone who has purchased a JVC Everio HDD video camera has probably learned that they chose to use some god forsaken proprietary video format - the .MOD extension. Apparently this is some sort of MPEG2 encoding, however…

---

## [Select all elements](https://forum.kirupa.com/t/select-all-elements/290913)

<div class="topic-metadata">

**Author:** [@Dimitree](https://forum.kirupa.com/u/Dimitree)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 8:00am UTC](https://forum.kirupa.com/t/select-all-elements/290913 "2009-06-22T08:00:08Z")

</div>

MC\_text.addChild(stage.getChildByName("mainLink"+(i-1).toString())); with the above line I can select all elements minus one... I need to select all children. But If i place i instead of (i-1) -\[COLOR="Red"\] i \[/COLO…

---

## [Problem with ScrollPane](https://forum.kirupa.com/t/problem-with-scrollpane/290910)

<div class="topic-metadata">

**Author:** [@SrihariCh](https://forum.kirupa.com/u/SrihariCh)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 6:29am UTC](https://forum.kirupa.com/t/problem-with-scrollpane/290910 "2009-06-22T06:29:18Z")

</div>

Hi all, I am new to Flash and AS-3.0. I am using Flash-CS3 as IDE and AS3 for programming/coding. I have created a ScrollPane component using the following AS3 code, which is a sample user-defined function writte…

---

## [Slider Thumb help](https://forum.kirupa.com/t/slider-thumb-help/290908)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 6:27am UTC](https://forum.kirupa.com/t/slider-thumb-help/290908 "2009-06-22T06:27:39Z")

</div>

I am trying to create a slider component where the thumb does not display until the user clicks on the bar. I have no experience with the display package and since im pretty new to using flash in general i cant think of …

---

## [How Next & Previous Buttons will work](https://forum.kirupa.com/t/how-next-previous-buttons-will-work/290907)

<div class="topic-metadata">

**Author:** [@jeoshamsi](https://forum.kirupa.com/u/jeoshamsi)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 6:15am UTC](https://forum.kirupa.com/t/how-next-previous-buttons-will-work/290907 "2009-06-22T06:15:16Z")

</div>

Hi guys! Once again i need the help of u all genius.. On main stage, I have Movie Clip name "container" which have 4 movie clips (pics) with different instance names. on same main Stage i have two buttons of ""PREVI…

---

## [Bounce not Working](https://forum.kirupa.com/t/bounce-not-working/290906)

<div class="topic-metadata">

**Author:** [@sumitjaswal](https://forum.kirupa.com/u/sumitjaswal)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 6:08am UTC](https://forum.kirupa.com/t/bounce-not-working/290906 "2009-06-22T06:08:11Z")

</div>

Hello there I have recently started Learning Actionscript 3.0 out of my own interest. I was trying on making a ball bounce off the edges of the stage using the Actionscript 3.0. But the code not working. The Ball …

---

## [\[fl8 as2\] dont know where to paste the as2 files from swfaddress](https://forum.kirupa.com/t/fl8-as2-dont-know-where-to-paste-the-as2-files-from-swfaddress/290905)

<div class="topic-metadata">

**Author:** [@proeliumfessus](https://forum.kirupa.com/u/proeliumfessus)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 4:30am UTC](https://forum.kirupa.com/t/fl8-as2-dont-know-where-to-paste-the-as2-files-from-swfaddress/290905 "2009-06-22T04:30:41Z")

</div>

Title kinda says it all- I looked all over google to find a tutorial that specifies where to copy the swfaddress actionscript 2 files to, for flash 8... I guess my version of flash is too old... does anyone remember what…

---

## [Trail detection?](https://forum.kirupa.com/t/trail-detection/290899)

<div class="topic-metadata">

**Author:** [@xZeRo23](https://forum.kirupa.com/u/xZeRo23)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 2:36am UTC](https://forum.kirupa.com/t/trail-detection/290899 "2009-06-22T02:36:33Z")

</div>

Is it possible to detect collision with a fire trail? Same trail effect on site: http://www.emanueleferonato.com/2007...orial-part-52/

---

## [Blending the brightness of two bitmapdatas](https://forum.kirupa.com/t/blending-the-brightness-of-two-bitmapdatas/290898)

<div class="topic-metadata">

**Author:** [@TedMilk](https://forum.kirupa.com/u/TedMilk)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 2:01am UTC](https://forum.kirupa.com/t/blending-the-brightness-of-two-bitmapdatas/290898 "2009-06-22T02:01:10Z")

</div>

I really need to know, specifically, how to overlay one bitmapdata onto another, using the hue and saturation of the top bitmapdata, and blending the brightness of the two layers. ColorMatrix gets me close but can only a…

---

## [Embeded](https://forum.kirupa.com/t/embeded/290896)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 1:24am UTC](https://forum.kirupa.com/t/embeded/290896 "2009-06-22T01:24:37Z")

</div>

I can't figure out why my fonts won't be embeded. Any clue? var tField:TextField = new TextField(); var textFormat:TextFormat = new TextFormat(); textFormat.font = "Avenir 45 Book"; textFormat.size = …

---

## [Handling the map in centered-player games](https://forum.kirupa.com/t/handling-the-map-in-centered-player-games/290895)

<div class="topic-metadata">

**Author:** [@BoppreH](https://forum.kirupa.com/u/BoppreH)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 12:30am UTC](https://forum.kirupa.com/t/handling-the-map-in-centered-player-games/290895 "2009-06-22T00:30:30Z")

</div>

How can I make a huge, non-tiled map move (efficiently) around the player? I'm not sure yet, but it might include rotation. The only way I can think of is chopping the bitmap into screen-sized chunks and hiding the par…

---

## [gotoAndPlay mc in a loop?](https://forum.kirupa.com/t/gotoandplay-mc-in-a-loop/290893)

<div class="topic-metadata">

**Author:** [@frostBite](https://forum.kirupa.com/u/frostBite)\
**Replies:** 0\
**Last updated:** [June 21, 2009, 10:09pm UTC](https://forum.kirupa.com/t/gotoandplay-mc-in-a-loop/290893 "2009-06-21T22:09:56Z")

</div>

How can I get a movie clip to play when pressing the right arrow key? The movie clip is called helicopter and it has stop(); on its first frame (with an animation following). Here is the loop that tells the arrow keys w…

---

## [External image loading & showing; Error #2007](https://forum.kirupa.com/t/external-image-loading-showing-error-2007/290891)

<div class="topic-metadata">

**Author:** [@sentroy](https://forum.kirupa.com/u/sentroy)\
**Replies:** 0\
**Last updated:** [June 21, 2009, 9:37pm UTC](https://forum.kirupa.com/t/external-image-loading-showing-error-2007/290891 "2009-06-21T21:37:38Z")

</div>

Hey everyone! Just joined kirupaForum and I'm in aid of some help here... I'm currently working on a game and I'm trying to work out a way to load images externally and display them on the screen. But the problem is …

---

## [Is a loaded swf stored in cache or something?](https://forum.kirupa.com/t/is-a-loaded-swf-stored-in-cache-or-something/290890)

<div class="topic-metadata">

**Author:** [@toffe](https://forum.kirupa.com/u/toffe)\
**Replies:** 0\
**Last updated:** [June 21, 2009, 9:13pm UTC](https://forum.kirupa.com/t/is-a-loaded-swf-stored-in-cache-or-something/290890 "2009-06-21T21:13:32Z")

</div>

If I load an swf into a movie clip, and then load another swf into that same movie clip. Is the first swf stored somewhere or is it totally gone when the second swf is loaded? What I want to know is if I need to have …

---

## [\[Flash 8\] URL Vars to Flash to PHP?](https://forum.kirupa.com/t/flash-8-url-vars-to-flash-to-php/290888)

<div class="topic-metadata">

**Author:** [@Lukes](https://forum.kirupa.com/u/Lukes)\
**Replies:** 0\
**Last updated:** [June 21, 2009, 9:05pm UTC](https://forum.kirupa.com/t/flash-8-url-vars-to-flash-to-php/290888 "2009-06-21T21:05:16Z")

</div>

Basically I am trying to get data from a url var to flash (which I have done succesfully), then I am trying to pass this variable to php using get/post, which I always end up with "undefined", I have another textbox, tha…

---

## [URL Vars to Flash to PHP?](https://forum.kirupa.com/t/url-vars-to-flash-to-php/290887)

<div class="topic-metadata">

**Author:** [@Lukes](https://forum.kirupa.com/u/Lukes)\
**Replies:** 0\
**Last updated:** [June 21, 2009, 9:00pm UTC](https://forum.kirupa.com/t/url-vars-to-flash-to-php/290887 "2009-06-21T21:00:50Z")

</div>

Basically I am trying to get data from a url var to flash (which I have done succesfully), then I am trying to pass this variable to php using get/post, which I always end up with "undefined", I have another textbox, tha…

---

## [Dynamically Stopping Child MovieClip](https://forum.kirupa.com/t/dynamically-stopping-child-movieclip/290883)

<div class="topic-metadata">

**Author:** [@MorganMoonjob](https://forum.kirupa.com/u/MorganMoonjob)\
**Replies:** 0\
**Last updated:** [June 21, 2009, 5:37pm UTC](https://forum.kirupa.com/t/dynamically-stopping-child-movieclip/290883 "2009-06-21T17:37:31Z")

</div>

I've created an object (a person named jop) from a number of other symbols, and I've added the person to the stage manually (i.e. not via AS). One of the symbols, the mouth, has multiple frames, and I would like to stop …

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=774)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=776)
