# programming

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

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

**Page:** 941

---

## [Problem displaying Masks](https://forum.kirupa.com/t/problem-displaying-masks/280486)

<div class="topic-metadata">

**Author:** [@billbillbillbil](https://forum.kirupa.com/u/billbillbillbil)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 6:34am UTC](https://forum.kirupa.com/t/problem-displaying-masks/280486 "2009-01-28T06:34:26Z")

</div>

Hi I have created several masks using two techniques. They work great in Flash but do not work at all outside of Flash (the swf file does shows a blank page) Thanks for your time

---

## [Uploading Multiple Images](https://forum.kirupa.com/t/uploading-multiple-images/280483)

<div class="topic-metadata">

**Author:** [@jbig](https://forum.kirupa.com/u/jbig)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 6:07am UTC](https://forum.kirupa.com/t/uploading-multiple-images/280483 "2009-01-28T06:07:45Z")

</div>

I've been browsing Google to find a few tips but couldn't seem to get a good idea of what the best approach would be: Basically, just want to upload multiple images via form input, store the image src's as an array in …

---

## [Bloated SWF's - I invite you to discuss](https://forum.kirupa.com/t/bloated-swfs-i-invite-you-to-discuss/280480)

<div class="topic-metadata">

**Author:** [@pinkshiro](https://forum.kirupa.com/u/pinkshiro)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 4:52am UTC](https://forum.kirupa.com/t/bloated-swfs-i-invite-you-to-discuss/280480 "2009-01-28T04:52:43Z")

</div>

I came across an instance today where someone was working on a 4MB flash file, with all their images stored in the library and not externally loaded. I instantly shuddered and told them they should be loading images as…

---

## [Removing a MovieClip places on the .fla Stage](https://forum.kirupa.com/t/removing-a-movieclip-places-on-the-fla-stage/280477)

<div class="topic-metadata">

**Author:** [@esaevian](https://forum.kirupa.com/u/esaevian)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 4:03am UTC](https://forum.kirupa.com/t/removing-a-movieclip-places-on-the-fla-stage/280477 "2009-01-28T04:03:57Z")

</div>

Ok, this is a weird issue. I have several MovieClips all linked to a class in a separate .as file (as I think is appropriate) Now, on a certain event (KEY\_DOWN in this case) I want to replace one movie clip with anothe…

---

## [How to write onblur into openWinCentre](https://forum.kirupa.com/t/how-to-write-onblur-into-openwincentre/280474)

<div class="topic-metadata">

**Author:** [@will\_s](https://forum.kirupa.com/u/will_s)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 2:51am UTC](https://forum.kirupa.com/t/how-to-write-onblur-into-openwincentre/280474 "2009-01-28T02:51:48Z")

</div>

I use this code all the time, I think I got here and it works great: on (release) { //customize the window that gets opened // 0 equals NO. // 1 equals YES. address = "http://www.amazon.com"; targe…

---

## [Drawing program help](https://forum.kirupa.com/t/drawing-program-help/280473)

<div class="topic-metadata">

**Author:** [@vxd](https://forum.kirupa.com/u/vxd)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 2:49am UTC](https://forum.kirupa.com/t/drawing-program-help/280473 "2009-01-28T02:49:09Z")

</div>

Hi, I've created a drawing program that exports the SVG coordinates to a .txt and php loads the coordinates back in to flash. But is there a way to use the coordinates and have the drawing on the board? Is there anot…

---

## [Javascript problem in for loop](https://forum.kirupa.com/t/javascript-problem-in-for-loop/280472)

<div class="topic-metadata">

**Author:** [@Obi\_Wan](https://forum.kirupa.com/u/Obi_Wan)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 2:43am UTC](https://forum.kirupa.com/t/javascript-problem-in-for-loop/280472 "2009-01-28T02:43:55Z")

</div>

Hey everyone I was wondering how I can do the following in javascript below is an example What I need to do: XYYYYYX YXYYYXY YYXYXYY YYYXYYY YYXYXYY YXYYYXY XYYYYYX What I have: // X & Y THING function printX() { …

---

## [DisplayObjectContainer Handling Children with Same Name](https://forum.kirupa.com/t/displayobjectcontainer-handling-children-with-same-name/280471)

<div class="topic-metadata">

**Author:** [@McGuffin](https://forum.kirupa.com/u/McGuffin)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 2:38am UTC](https://forum.kirupa.com/t/displayobjectcontainer-handling-children-with-same-name/280471 "2009-01-28T02:38:15Z")

</div>

Hey all, pretty simple question. import flash.display.Sprite; var sp1:Sprite = new Sprite( ); var sp2\_1:Sprite = new Sprite( ); var sp2\_2:Sprite = new Sprite( ); sp1.name = "sp1"; sp2\_1.name = "sp2"; sp2\_2.name = "s…

---

## [Write to a global variable when in specific frame](https://forum.kirupa.com/t/write-to-a-global-variable-when-in-specific-frame/280470)

<div class="topic-metadata">

**Author:** [@MattiasA](https://forum.kirupa.com/u/MattiasA)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 1:15am UTC](https://forum.kirupa.com/t/write-to-a-global-variable-when-in-specific-frame/280470 "2009-01-28T01:15:07Z")

</div>

Hi This is what I need to do: When the value of root.mc1.currentframe is 10 I want the value of root.mc2.currentframe to be written (sent or changed) to a variable which I can use in mc1. So I want to be able to use…

---

## [Fluid layout problem](https://forum.kirupa.com/t/fluid-layout-problem/280467)

<div class="topic-metadata">

**Author:** [@flash123](https://forum.kirupa.com/u/flash123)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 10:41pm UTC](https://forum.kirupa.com/t/fluid-layout-problem/280467 "2009-01-27T22:41:40Z")

</div>

Hi, ive been using this tutorial http://www.tutorio.com/tutorial/liquid-flash-layout http://www.tutorio.com/media/flash/liquid-demo.html after following the tutorial everything works except when I have an image that i…

---

## [Back button on flash timeline](https://forum.kirupa.com/t/back-button-on-flash-timeline/280466)

<div class="topic-metadata">

**Author:** [@petra825](https://forum.kirupa.com/u/petra825)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 10:41pm UTC](https://forum.kirupa.com/t/back-button-on-flash-timeline/280466 "2009-01-27T22:41:29Z")

</div>

I have a small flash site that is on the main timeline, so basically to view the pages i am using a "gotoAndPlay" command. I have a menu that contains these buttons, along with a back and previous button, my question is:…

---

## [List Component Styling](https://forum.kirupa.com/t/list-component-styling/280465)

<div class="topic-metadata">

**Author:** [@JChristian](https://forum.kirupa.com/u/JChristian)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 10:38pm UTC](https://forum.kirupa.com/t/list-component-styling/280465 "2009-01-27T22:38:57Z")

</div>

Hey all, Perhaps somebody could give me a little insight (since adobe isn't being helpful).... Back in the day in AS2 you could stylize the item roll over color like so : myList.setStyle("rollOverColor","0xDDDDDD"); S…

---

## [printJob() class nightmare](https://forum.kirupa.com/t/printjob-class-nightmare/280464)

<div class="topic-metadata">

**Author:** [@madhat](https://forum.kirupa.com/u/madhat)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 10:34pm UTC](https://forum.kirupa.com/t/printjob-class-nightmare/280464 "2009-01-27T22:34:54Z")

</div>

Hi Everyone, I'm having a problem with the printJob() object. I'm beginning to think that I'm trying to do something that can't be done. I would like to know if I'm off-base here, or if there is a solution to my problem. …

---

## [Exact fit in browser](https://forum.kirupa.com/t/exact-fit-in-browser/280462)

<div class="topic-metadata">

**Author:** [@Timmytots](https://forum.kirupa.com/u/Timmytots)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 10:16pm UTC](https://forum.kirupa.com/t/exact-fit-in-browser/280462 "2009-01-27T22:16:06Z")

</div>

How do u get the swf to fit precisely in the browser window? I looked here: http://www.kirupa.com/forum/showthread.php?t=17979 tried everything suggested but it doesn't work.

---

## [One Game, One year](https://forum.kirupa.com/t/one-game-one-year/280460)

<div class="topic-metadata">

**Author:** [@Necas](https://forum.kirupa.com/u/Necas)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 9:57pm UTC](https://forum.kirupa.com/t/one-game-one-year/280460 "2009-01-27T21:57:49Z")

</div>

Hi to all users. Recently I had to develop a game in AS 2.0 for university. We ended up creating a side scrolling beat'um up based on streets of rage. We had little time to do it and the result was far from brilliant, …

---

## [Flash, full screen, cpu usage](https://forum.kirupa.com/t/flash-full-screen-cpu-usage/280459)

<div class="topic-metadata">

**Author:** [@DjyDjy](https://forum.kirupa.com/u/DjyDjy)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 9:40pm UTC](https://forum.kirupa.com/t/flash-full-screen-cpu-usage/280459 "2009-01-27T21:40:34Z")

</div>

I was wondering, i am curently making a full screen flash game. The problem is that will all effects on, the game lags (obviously) BUT My cpu does not run at 10% neither does my memory Does flash activeX has a li…

---

## [Move Along Path](https://forum.kirupa.com/t/move-along-path/280458)

<div class="topic-metadata">

**Author:** [@pi3rc3](https://forum.kirupa.com/u/pi3rc3)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 9:33pm UTC](https://forum.kirupa.com/t/move-along-path/280458 "2009-01-27T21:33:37Z")

</div>

im trying to get a movie clip to move along a square path but running into some problems. ive been searching around and so far can only find this http://proto.layer51.com/d.aspx?f=952 on senocular about doing such a task…

---

## [AIR Included Files Referencing](https://forum.kirupa.com/t/air-included-files-referencing/280456)

<div class="topic-metadata">

**Author:** [@enriquepr](https://forum.kirupa.com/u/enriquepr)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 8:45pm UTC](https://forum.kirupa.com/t/air-included-files-referencing/280456 "2009-01-27T20:45:43Z")

</div>

Hey everyone, I've got a pretty frustrating issue on my hands and am relatively new to publishing AIR applications so its time to see if anyone here has been through the same trials and tribulations. I am creating an…

---

## [Object Rendering with concern to Object code-contents](https://forum.kirupa.com/t/object-rendering-with-concern-to-object-code-contents/280453)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 8:17pm UTC](https://forum.kirupa.com/t/object-rendering-with-concern-to-object-code-contents/280453 "2009-01-27T20:17:21Z")

</div>

When creating a custom DisplayObject, and placing a number of instances on the stage that will animate - does the amount of data stored and code within each instance have an impact on the speed to render those instances? …

---

## [Flash crashes](https://forum.kirupa.com/t/flash-crashes/280448)

<div class="topic-metadata">

**Author:** [@altedious](https://forum.kirupa.com/u/altedious)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 7:12pm UTC](https://forum.kirupa.com/t/flash-crashes/280448 "2009-01-27T19:12:19Z")

</div>

i am experiencing this automatic flash crash: if i run this code on frame 1 everything is ok(this is a simple function that scale a clip): function one(){ clip.scaleX+=.01 clip.scaleY+=.01 var \_timer=set…

---

## [Sound.extract and ComputeSpectrum](https://forum.kirupa.com/t/sound-extract-and-computespectrum/280447)

<div class="topic-metadata">

**Author:** [@K2xL](https://forum.kirupa.com/u/K2xL)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 7:07pm UTC](https://forum.kirupa.com/t/sound-extract-and-computespectrum/280447 "2009-01-27T19:07:28Z")

</div>

Do to the annoying security sandbox bug with computeSpectrum (inaccessible if a user has youtube or any other flash using sound open) I decided to convert my project to Flash Player 10 to use the new sound.extract() func…

---

## [Flash XML AS3 MP3 Player](https://forum.kirupa.com/t/flash-xml-as3-mp3-player/280446)

<div class="topic-metadata">

**Author:** [@grebs](https://forum.kirupa.com/u/grebs)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 7:01pm UTC](https://forum.kirupa.com/t/flash-xml-as3-mp3-player/280446 "2009-01-27T19:01:22Z")

</div>

I have built an MP3 player using XML and this works fine. But I want this MP3 player to load a random song from the XML list everytime it runs. I have this code var my\_songs:XMLList; var my\_total:Number; var my\_sound:…

---

## [Corrupt images](https://forum.kirupa.com/t/corrupt-images/280444)

<div class="topic-metadata">

**Author:** [@qhrome27](https://forum.kirupa.com/u/qhrome27)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 6:59pm UTC](https://forum.kirupa.com/t/corrupt-images/280444 "2009-01-27T18:59:21Z")

</div>

I have built some apps for a site, originally in Flash CS3. I have brought these files into CS4 and made some slight changes to them, saving in CS4 format. It is programmed in ActionScript 2.0 The problem is, if you …

---

## [Resizing dynamic content proportionally](https://forum.kirupa.com/t/resizing-dynamic-content-proportionally/280442)

<div class="topic-metadata">

**Author:** [@jasonhardwick](https://forum.kirupa.com/u/jasonhardwick)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 6:34pm UTC](https://forum.kirupa.com/t/resizing-dynamic-content-proportionally/280442 "2009-01-27T18:34:15Z")

</div>

I have a SWF that pulls in movie files. I need a way to detect the size of the file that is being pulled in and scaling it appropriately... I have a feeling that this might be a little complicated, but maybe one of you g…

---

## [Formatting Numbers in AS3](https://forum.kirupa.com/t/formatting-numbers-in-as3/280441)

<div class="topic-metadata">

**Author:** [@Mike01](https://forum.kirupa.com/u/Mike01)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 6:32pm UTC](https://forum.kirupa.com/t/formatting-numbers-in-as3/280441 "2009-01-27T18:32:57Z")

</div>

I am calculating some numbers in Flash and then Type Casting them into a dynamic text field. I have not found a way to format the number displayed in the dynamic text field to display the values in a Dollar and Cents f…

---

## [Variable in Path/url? is that possible?](https://forum.kirupa.com/t/variable-in-path-url-is-that-possible/280439)

<div class="topic-metadata">

**Author:** [@afisette](https://forum.kirupa.com/u/afisette)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 5:45pm UTC](https://forum.kirupa.com/t/variable-in-path-url-is-that-possible/280439 "2009-01-27T17:45:03Z")

</div>

bgImage.\[COLOR=#0066cc\]loadMovie\[/COLOR\]\[COLOR=#66cc66\](\[/COLOR\]\[COLOR=#ff0000\]"1.jpg"\[/COLOR\]\[COLOR=#66cc66\])\[/COLOR\]; I was wondering if in this path it would be possible to have the ''1'' set as a variable. I wou…

---

## [Setting Button State with AS](https://forum.kirupa.com/t/setting-button-state-with-as/280438)

<div class="topic-metadata">

**Author:** [@energy](https://forum.kirupa.com/u/energy)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 5:42pm UTC](https://forum.kirupa.com/t/setting-button-state-with-as/280438 "2009-01-27T17:42:17Z")

</div>

By any chance, is it possible to change a state of button to "over" when the mouse is actually not over the button. Basically what i am trying to do is that when a user rollsover a textfield i want to change the state …

---

## [\[Flash8\]Help with Kirupa squirrel finder](https://forum.kirupa.com/t/flash8-help-with-kirupa-squirrel-finder/280437)

<div class="topic-metadata">

**Author:** [@ConceptUK2009](https://forum.kirupa.com/u/ConceptUK2009)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 5:41pm UTC](https://forum.kirupa.com/t/flash8-help-with-kirupa-squirrel-finder/280437 "2009-01-27T17:41:33Z")

</div>

http://www.kirupa.com/web/xml/examples/squirrelfinder.htm The above is the excellent tutorial I am using. I am pretty sure on the topics it covers now. I wanted to extend this method a little and am not getting anywher…

---

## [Timer with varying tick](https://forum.kirupa.com/t/timer-with-varying-tick/280436)

<div class="topic-metadata">

**Author:** [@markpenfold](https://forum.kirupa.com/u/markpenfold)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 5:39pm UTC](https://forum.kirupa.com/t/timer-with-varying-tick/280436 "2009-01-27T17:39:06Z")

</div>

Hello everyone, Is it possible to have a timer which calls various other events which are also timed, then calls again once those events are finished and so on? So it would look a bit like this: var t = new Timer(t…

---

## [Papervision And Flash](https://forum.kirupa.com/t/papervision-and-flash/280435)

<div class="topic-metadata">

**Author:** [@xPINKMERCEDESx](https://forum.kirupa.com/u/xPINKMERCEDESx)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 5:06pm UTC](https://forum.kirupa.com/t/papervision-and-flash/280435 "2009-01-27T17:06:10Z")

</div>

Hello guys. Do you know where I can find a tutorial to do this with papervision and flash: http://www.flashden.net/item/gallery-flash-v7-3d-papervision/26731 I have two projects to do and this is one I want to do to …

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

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