# flash

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

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

**Page:** 878

---

## [How to Create Reusable Classes](https://forum.kirupa.com/t/how-to-create-reusable-classes/268032)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [August 8, 2008, 1:33pm UTC](https://forum.kirupa.com/t/how-to-create-reusable-classes/268032 "2008-08-08T13:33:09Z")

</div>

\[FONT=Calibri\] \[COLOR=darkred\]Hi,\[/COLOR\] \[/FONT\] \[FONT=Calibri\] \[COLOR=darkred\]I have a quick question. I am just starting to use classes I have no experience, the only experience I have is basically from readin…

---

## [BitmapData breaks when changing alpha of container Sprite](https://forum.kirupa.com/t/bitmapdata-breaks-when-changing-alpha-of-container-sprite/268026)

<div class="topic-metadata">

**Author:** [@rvavruch](https://forum.kirupa.com/u/rvavruch)\
**Replies:** 0\
**Last updated:** [August 8, 2008, 11:51am UTC](https://forum.kirupa.com/t/bitmapdata-breaks-when-changing-alpha-of-container-sprite/268026 "2008-08-08T11:51:57Z")

</div>

Hi, I have the following structure: Pane:MovieClip Content:Sprite image:BitmapData Pane is an asset in the Library, and is dynamically placed inside another Sprite. The Library asset Pane already cont…

---

## [Load website into \_parent holder](https://forum.kirupa.com/t/load-website-into--parent-holder/268025)

<div class="topic-metadata">

**Author:** [@Covertbox](https://forum.kirupa.com/u/Covertbox)\
**Replies:** 0\
**Last updated:** [August 8, 2008, 11:27am UTC](https://forum.kirupa.com/t/load-website-into--parent-holder/268025 "2008-08-08T11:27:33Z")

</div>

Hi there, I recently posted in the Flash CS3 forum, I have to admit that not only am I lacking in flash skills, but I'm also being a bit vague, and seen as I'm using actionscript 2 I thought I'd rephrase my question a …

---

## [Fade in/out images in movieclip actionscript](https://forum.kirupa.com/t/fade-in-out-images-in-movieclip-actionscript/268024)

<div class="topic-metadata">

**Author:** [@awilderbeast](https://forum.kirupa.com/u/awilderbeast)\
**Replies:** 0\
**Last updated:** [August 8, 2008, 11:25am UTC](https://forum.kirupa.com/t/fade-in-out-images-in-movieclip-actionscript/268024 "2008-08-08T11:25:25Z")

</div>

Hi all, this has been a tough task for this whole week, i cant find nothing simple enough for me to understand, i can find a fwe scripts of exactly what i want, but i dont know enough to modify the complex ones heres w…

---

## [XML help required!](https://forum.kirupa.com/t/xml-help-required/268022)

<div class="topic-metadata">

**Author:** [@crazyhorsefc](https://forum.kirupa.com/u/crazyhorsefc)\
**Replies:** 0\
**Last updated:** [August 8, 2008, 11:06am UTC](https://forum.kirupa.com/t/xml-help-required/268022 "2008-08-08T11:06:32Z")

</div>

Hi there, I'm trying to create a flash file that displays two sets of information from an XML feed - the parent and the child. The feed is in six parts and I have buttons to go back and forth. However, although the p…

---

## [Load a variable via IP address link?](https://forum.kirupa.com/t/load-a-variable-via-ip-address-link/268021)

<div class="topic-metadata">

**Author:** [@AslamLevy786](https://forum.kirupa.com/u/AslamLevy786)\
**Replies:** 0\
**Last updated:** [August 8, 2008, 10:43am UTC](https://forum.kirupa.com/t/load-a-variable-via-ip-address-link/268021 "2008-08-08T10:43:10Z")

</div>

Hi All \[smile\] I'm currently having a problem with loadVariables. Is it possible to load a variable in a text file into flash player via the IP address to the text file? i.e.: loadVariables ("\\172.17.62.5\\animation$…

---

## [loadMovie() different Movieclips same movie](https://forum.kirupa.com/t/loadmovie-different-movieclips-same-movie/268018)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [August 8, 2008, 9:14am UTC](https://forum.kirupa.com/t/loadmovie-different-movieclips-same-movie/268018 "2008-08-08T09:14:12Z")

</div>

hi, Lately when using the "loadMovie" actionscript.. I've noticed that.. when i have a movieclip in the original swf.. and i have another one.. with the exact same name.. in another swf.. which is loaded into the origi…

---

## [Is there any way to update other tasks while being in a loop?](https://forum.kirupa.com/t/is-there-any-way-to-update-other-tasks-while-being-in-a-loop/268015)

<div class="topic-metadata">

**Author:** [@bonnieraymond](https://forum.kirupa.com/u/bonnieraymond)\
**Replies:** 0\
**Last updated:** [August 8, 2008, 8:04am UTC](https://forum.kirupa.com/t/is-there-any-way-to-update-other-tasks-while-being-in-a-loop/268015 "2008-08-08T08:04:28Z")

</div>

okay, I'm having a this trouble: I have a loop that run looping in several seconds, while it looping, it hangs the flash player (browser) for a while. So is there any solution to process other task while looping? like "u…

---

## [Change position registration point](https://forum.kirupa.com/t/change-position-registration-point/268011)

<div class="topic-metadata">

**Author:** [@Angel\_Ice](https://forum.kirupa.com/u/Angel_Ice)\
**Replies:** 0\
**Last updated:** [August 8, 2008, 7:18am UTC](https://forum.kirupa.com/t/change-position-registration-point/268011 "2008-08-08T07:18:23Z")

</div>

Hi guys, I have loaded an external image into my flash file and added two listeners: one for the MOUSE\_DOWN and one for the MOUSE\_UP in the way to make rotate my loaded image on DOWN and make it stop on UP. Well, il …

---

## [Help get component working](https://forum.kirupa.com/t/help-get-component-working/267999)

<div class="topic-metadata">

**Author:** [@NHansen](https://forum.kirupa.com/u/NHansen)\
**Replies:** 0\
**Last updated:** [August 8, 2008, 12:28am UTC](https://forum.kirupa.com/t/help-get-component-working/267999 "2008-08-08T00:28:27Z")

</div>

Hello. So I've been trying to learn AS3, while working on a new project using Gaia Framework (http://www.gaiaflashframework.com). The component I am trying to get working is a papervision powered 3D Carousel (http://www.…

---

## [Document Class to Timeline code?](https://forum.kirupa.com/t/document-class-to-timeline-code/267995)

<div class="topic-metadata">

**Author:** [@bmilesp](https://forum.kirupa.com/u/bmilesp)\
**Replies:** 0\
**Last updated:** [August 7, 2008, 10:47pm UTC](https://forum.kirupa.com/t/document-class-to-timeline-code/267995 "2008-08-07T22:47:44Z")

</div>

good day, I have an test fla that uses a document class and five3D effects. It works great. However i want to add the test item now to a much larger fla that has timelines, scenes, code all over the place. I've tried t…

---

## [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.…

---

## [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 …

---

## [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…

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

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