# programming

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

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

**Page:** 1122

---

## [Interval Trouble](https://forum.kirupa.com/t/interval-trouble/267994)

<div class="topic-metadata">

**Author:** [@Reptic](https://forum.kirupa.com/u/Reptic)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 10:47pm UTC](https://forum.kirupa.com/t/interval-trouble/267994 "2008-08-07T22:47:29Z")

</div>

Ok, I'm having a little trouble with the setInterval function. What I have right now is code that just turns a movie clip from the first frame to the second, and back to the first like turning a light on and off. Here's …

---

## [Memory Usage / Performance](https://forum.kirupa.com/t/memory-usage-performance/267990)

<div class="topic-metadata">

**Author:** [@gstewart](https://forum.kirupa.com/u/gstewart)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 9:33pm UTC](https://forum.kirupa.com/t/memory-usage-performance/267990 "2008-08-07T21:33:44Z")

</div>

HI folks, I am loading a xml file into my .fla with a list of image urls and load that info into an array. I am looping through the array and dynamically create a new movieclip, load the image using the MovieClipLoad…

---

## [TextFormat Shorthand](https://forum.kirupa.com/t/textformat-shorthand/267985)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 8:39pm UTC](https://forum.kirupa.com/t/textformat-shorthand/267985 "2008-08-07T20:39:44Z")

</div>

Does anyone know what the full list of TextFormat parameters are for the shorthand version? The longest string that I've seen is this one: myTextFormat = new TextFormat("Arial",24,0x330000,true,false,false,null,null,"…

---

## [How to Stop Recording Microphone/Camera](https://forum.kirupa.com/t/how-to-stop-recording-microphone-camera/267984)

<div class="topic-metadata">

**Author:** [@pinstripe](https://forum.kirupa.com/u/pinstripe)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 8:31pm UTC](https://forum.kirupa.com/t/how-to-stop-recording-microphone-camera/267984 "2008-08-07T20:31:32Z")

</div>

Does anyone know how to stop capturing input from the Microphone/Camera? I've got recording successfully to an FMS, but I don't know how to release the webcam/microphone after I'm done with it, without reloading the SWF.…

---

## [Multi-line text-overflow:ellipsis](https://forum.kirupa.com/t/multi-line-text-overflow-ellipsis/267981)

<div class="topic-metadata">

**Author:** [@a2thek26](https://forum.kirupa.com/u/a2thek26)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 8:13pm UTC](https://forum.kirupa.com/t/multi-line-text-overflow-ellipsis/267981 "2008-08-07T20:13:23Z")

</div>

Hello, I have a div with text in it...the text is being pulled from a database so it varies in length. The div has a defined width and height so some of the text will be clipped off... #gifts #products #info { hei…

---

## [XML Menu has no functionality](https://forum.kirupa.com/t/xml-menu-has-no-functionality/267980)

<div class="topic-metadata">

**Author:** [@carlyle](https://forum.kirupa.com/u/carlyle)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 8:07pm UTC](https://forum.kirupa.com/t/xml-menu-has-no-functionality/267980 "2008-08-07T20:07:48Z")

</div>

Hi fellas Im a novice in the realms of AS3 an have been trying to get some functionality out of an xml menu I produced from a tutorial. the menu looks fine and the rollovers work perfectly but I cant getthe correct scr…

---

## [Hover Captions on PC vs. Mac](https://forum.kirupa.com/t/hover-captions-on-pc-vs-mac/267972)

<div class="topic-metadata">

**Author:** [@pcolinhill](https://forum.kirupa.com/u/pcolinhill)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 6:39pm UTC](https://forum.kirupa.com/t/hover-captions-on-pc-vs-mac/267972 "2008-08-07T18:39:43Z")

</div>

I used the tutorial on kirupa (http://www.kirupa.com/developer/mx2004/hover\_captions.htm) to put hover captions on my site. When I view my page on my PC there is no problem, but when I use my Mac at work the font doesn't…

---

## [\[F8\] fps issue](https://forum.kirupa.com/t/f8-fps-issue/267971)

<div class="topic-metadata">

**Author:** [@flashcb70](https://forum.kirupa.com/u/flashcb70)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 6:36pm UTC](https://forum.kirupa.com/t/f8-fps-issue/267971 "2008-08-07T18:36:16Z")

</div>

Hi I'm loading a swf called game.swf into into another swf called main.swf using the script below: createEmptyMovieClip("container\_mc", 1); container\_mc.\_lockroot = true container\_mc.\_x = 270; container\_mc.\_y = 200; l…

---

## [\[AS2\]\[CS3\] How to tween the position of dynamically loaded movieclips](https://forum.kirupa.com/t/as2-cs3-how-to-tween-the-position-of-dynamically-loaded-movieclips/267963)

<div class="topic-metadata">

**Author:** [@Jaremore7](https://forum.kirupa.com/u/Jaremore7)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 5:06pm UTC](https://forum.kirupa.com/t/as2-cs3-how-to-tween-the-position-of-dynamically-loaded-movieclips/267963 "2008-08-07T17:06:07Z")

</div>

Hello guys, I have a flash project where different movie clips are loaded dynamically according to the data retrieved from an XML file. And they are positioned one after the other as if they were in a menu. Inside thos…

---

## [Loading URL into holder](https://forum.kirupa.com/t/loading-url-into-holder/267962)

<div class="topic-metadata">

**Author:** [@Covertbox](https://forum.kirupa.com/u/Covertbox)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 4:52pm UTC](https://forum.kirupa.com/t/loading-url-into-holder/267962 "2008-08-07T16:52:51Z")

</div>

Hello there, Right now on my website, I have a few .swf movies loading into a holder on my flash website, the script I use for buttons to trigger the load is: on (release) { parent.holdermc.loadMovie("movie.swf"); } …

---

## [\[CS3\]\[AS2\] combining logical operator && with variables defined by radio buttons](https://forum.kirupa.com/t/cs3-as2-combining-logical-operator-with-variables-defined-by-radio-buttons/267961)

<div class="topic-metadata">

**Author:** [@graylensman](https://forum.kirupa.com/u/graylensman)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 4:43pm UTC](https://forum.kirupa.com/t/cs3-as2-combining-logical-operator-with-variables-defined-by-radio-buttons/267961 "2008-08-07T16:43:22Z")

</div>

Okay, I have completely hit a wall. Here's what I'm after. I have two sets of radio buttons, each of which controls what loaded swf appears on stage. Then, depending on which button is clicked in group one and which butt…

---

## [{CS3} (AS2) Problem with Random Array loader](https://forum.kirupa.com/t/cs3-as2-problem-with-random-array-loader/267960)

<div class="topic-metadata">

**Author:** [@ramirez](https://forum.kirupa.com/u/ramirez)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 4:25pm UTC](https://forum.kirupa.com/t/cs3-as2-problem-with-random-array-loader/267960 "2008-08-07T16:25:43Z")

</div>

Hello All ! I have an Array Randomly loading images on to the stage, there is a 'splice' so no 2 images repeat. the problem is - once the images all get 'deleted' there are no more images the array can pull. I want the i…

---

## [Tweener onComplete not listening](https://forum.kirupa.com/t/tweener-oncomplete-not-listening/267958)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 4:10pm UTC](https://forum.kirupa.com/t/tweener-oncomplete-not-listening/267958 "2008-08-07T16:10:40Z")

</div>

\[AS\]private function buttonPushed (evt:MouseEvent) : void { Tweener.addTween (someText, { time:4, y:30, onComplete:moveleft()} ); } private function moveleft(){ Tweener.addTween (someText, { time:0.5, x:-300} ); …

---

## [Newbie here... need to do website from psd to flash](https://forum.kirupa.com/t/newbie-here-need-to-do-website-from-psd-to-flash/267957)

<div class="topic-metadata">

**Author:** [@angels](https://forum.kirupa.com/u/angels)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 4:09pm UTC](https://forum.kirupa.com/t/newbie-here-need-to-do-website-from-psd-to-flash/267957 "2008-08-07T16:09:09Z")

</div>

Hi Everyone This is my first post on these forums as i was referred to here by another member in uTube \[smile\] I'm hoping someone can help me as i'm truly stuck. I have a webpage to do in flash. Already have the …

---

## [Newbie Collision Problem](https://forum.kirupa.com/t/newbie-collision-problem/267955)

<div class="topic-metadata">

**Author:** [@Pygma](https://forum.kirupa.com/u/Pygma)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 3:24pm UTC](https://forum.kirupa.com/t/newbie-collision-problem/267955 "2008-08-07T15:24:46Z")

</div>

Hello Kirupa Community, am pretty new to Kirupa and Flash. I have a little problem, concerning a character hitting a wall. \[smile\] What i have: a char that can jump and move around by the arrow keys. What i need:…

---

## [setTextFormat with a underline, how hard can it be?](https://forum.kirupa.com/t/settextformat-with-a-underline-how-hard-can-it-be/267954)

<div class="topic-metadata">

**Author:** [@dixi](https://forum.kirupa.com/u/dixi)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 3:24pm UTC](https://forum.kirupa.com/t/settextformat-with-a-underline-how-hard-can-it-be/267954 "2008-08-07T15:24:30Z")

</div>

Hello, how hard can it be to add a simple underline on rollover, well... HARD! I'm currently working on a simple xml reader. It's almost finished except for 1 little tiny thingy. You can see the reader here http://www.…

---

## [XML inside FLA](https://forum.kirupa.com/t/xml-inside-fla/267950)

<div class="topic-metadata">

**Author:** [@bpdp](https://forum.kirupa.com/u/bpdp)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 3:06pm UTC](https://forum.kirupa.com/t/xml-inside-fla/267950 "2008-08-07T15:06:45Z")

</div>

Okay, I have an idiot of a client, that wants all assets compiled into a single swf. The piece uses an XML file. I am still fighting with them about it but I kinda want to know how long it would take if they simply won't…

---

## [Text Cursor / Caret into TextField](https://forum.kirupa.com/t/text-cursor-caret-into-textfield/267948)

<div class="topic-metadata">

**Author:** [@setcookie](https://forum.kirupa.com/u/setcookie)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 2:46pm UTC](https://forum.kirupa.com/t/text-cursor-caret-into-textfield/267948 "2008-08-07T14:46:56Z")

</div>

hi guys i really dont get it ... im trying to get the cursor the caret into a textfield on stage enterframe like this: im simply trying to get the cursor inzto the textfield on startup so people can type right away when …

---

## [Totally noob question...what is a foreign key?](https://forum.kirupa.com/t/totally-noob-question-what-is-a-foreign-key/267933)

<div class="topic-metadata">

**Author:** [@bluemagica](https://forum.kirupa.com/u/bluemagica)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 12:52pm UTC](https://forum.kirupa.com/t/totally-noob-question-what-is-a-foreign-key/267933 "2008-08-07T12:52:19Z")

</div>

As you can clearly understand i have no idea about databases, and so i am asking, what the heck is a foreign key, why, when and where is it used? I tried googling, but the definitions kindof went over my head....if you c…

---

## [Length of an array with string index](https://forum.kirupa.com/t/length-of-an-array-with-string-index/267932)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 12:44pm UTC](https://forum.kirupa.com/t/length-of-an-array-with-string-index/267932 "2008-08-07T12:44:09Z")

</div>

You can find the length of an array through the property length (e.g. arrayInstance.length) But I realize that I cannot use this property if I specify the array index through strings for example: var arrayInstance =…

---

## [Is there any way to set the transparent property in a BitmapData?](https://forum.kirupa.com/t/is-there-any-way-to-set-the-transparent-property-in-a-bitmapdata/267931)

<div class="topic-metadata">

**Author:** [@OML](https://forum.kirupa.com/u/OML)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 12:43pm UTC](https://forum.kirupa.com/t/is-there-any-way-to-set-the-transparent-property-in-a-bitmapdata/267931 "2008-08-07T12:43:12Z")

</div>

There's only a get property that returns a boolean value implying whether the BitmapData can allow transparency. Is there anyway I can set a loaded Bitmap's transparent value from the default 'false' to 'true'? Tha…

---

## [Javascript: how to make a DIV always sits at the bottom of the page](https://forum.kirupa.com/t/javascript-how-to-make-a-div-always-sits-at-the-bottom-of-the-page/267930)

<div class="topic-metadata">

**Author:** [@taurianthebull](https://forum.kirupa.com/u/taurianthebull)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 12:31pm UTC](https://forum.kirupa.com/t/javascript-how-to-make-a-div-always-sits-at-the-bottom-of-the-page/267930 "2008-08-07T12:31:48Z")

</div>

Hello, How can i make DIV always sits around at the bottom of the page. Regardless of the loading of the page. I tried using the CSS Property of Bottom and Position but the problem is that during the loading process of…

---

## [Regarding ContraVariance](https://forum.kirupa.com/t/regarding-contravariance/267929)

<div class="topic-metadata">

**Author:** [@raajkumar](https://forum.kirupa.com/u/raajkumar)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 12:21pm UTC](https://forum.kirupa.com/t/regarding-contravariance/267929 "2008-08-07T12:21:12Z")

</div>

could you please explain me about contravariance delegate in c#

---

## [XML text not showing up](https://forum.kirupa.com/t/xml-text-not-showing-up/267927)

<div class="topic-metadata">

**Author:** [@ncoetzer](https://forum.kirupa.com/u/ncoetzer)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 12:08pm UTC](https://forum.kirupa.com/t/xml-text-not-showing-up/267927 "2008-08-07T12:08:40Z")

</div>

Hi there I am loading a external swf into a empty movieclip inside my main swf. The external swf load xml text into a dynamic textfield. If I test the external swf everything is working perfectly, but once I load it in…

---

## [AIR classes don't compile with CompC](https://forum.kirupa.com/t/air-classes-dont-compile-with-compc/267922)

<div class="topic-metadata">

**Author:** [@duncanhall](https://forum.kirupa.com/u/duncanhall)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 11:23am UTC](https://forum.kirupa.com/t/air-classes-dont-compile-with-compc/267922 "2008-08-07T11:23:48Z")

</div>

I've been using compc with ANT to compile some of my class files into SWC files. This all works well, until any of the classes to be compiled contain a reference to any of the AIR classes. At this point I start getting t…

---

## [Problem during Uploading the Image to Server](https://forum.kirupa.com/t/problem-during-uploading-the-image-to-server/267921)

<div class="topic-metadata">

**Author:** [@gunapriyan](https://forum.kirupa.com/u/gunapriyan)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 10:45am UTC](https://forum.kirupa.com/t/problem-during-uploading-the-image-to-server/267921 "2008-08-07T10:45:57Z")

</div>

Hai Dears, I have developed one CMS Site. In this site the "Image Gallery" is one of the important part. I have wrote the uploading coding for images. Its working fine in the local server... But when i try to upl…

---

## [Refer the library item inside a scrollpane component](https://forum.kirupa.com/t/refer-the-library-item-inside-a-scrollpane-component/267918)

<div class="topic-metadata">

**Author:** [@NovemberRain](https://forum.kirupa.com/u/NovemberRain)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 9:49am UTC](https://forum.kirupa.com/t/refer-the-library-item-inside-a-scrollpane-component/267918 "2008-08-07T09:49:07Z")

</div>

Hi I'm using a scroll pane component to load a movieclip from library. Everything is working fine. But I want to refer that movie clip inside the compnent to add a zoom option for that. How can we refer that.

---

## [FLVPlayback component](https://forum.kirupa.com/t/flvplayback-component/267917)

<div class="topic-metadata">

**Author:** [@klouna](https://forum.kirupa.com/u/klouna)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 9:45am UTC](https://forum.kirupa.com/t/flvplayback-component/267917 "2008-08-07T09:45:55Z")

</div>

Please advice on the following inquiry: I use FLVPlayback component and I want to create a button which will rewind a frame back. Encoding the flv sets the keyframes. Is there a way to take all the keyframes (in order to…

---

## [FLVPlayback component - flv video to previous frame](https://forum.kirupa.com/t/flvplayback-component-flv-video-to-previous-frame/267915)

<div class="topic-metadata">

**Author:** [@klouna](https://forum.kirupa.com/u/klouna)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 8:30am UTC](https://forum.kirupa.com/t/flvplayback-component-flv-video-to-previous-frame/267915 "2008-08-07T08:30:24Z")

</div>

Hello, I have a question: I use FLVPlayback component, play is paused by calling the pause(). Is it possible to get an all keyframe or last keyframe? I have to create a button, which move flv video to previous frame.

---

## [How to get rid of the blink between photo transistion?](https://forum.kirupa.com/t/how-to-get-rid-of-the-blink-between-photo-transistion/267914)

<div class="topic-metadata">

**Author:** [@keitai](https://forum.kirupa.com/u/keitai)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 7:35am UTC](https://forum.kirupa.com/t/how-to-get-rid-of-the-blink-between-photo-transistion/267914 "2008-08-07T07:35:34Z")

</div>

zie http://www.bldd.nl/flashproblems/photoSlideshow3.swf i see a blink right after my animated mask is finished stop(); var myMCL:MovieClipLoader = new MovieClipLoader(); var myMCL2:MovieClipLoader = new MovieClipL…

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

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