# programming

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

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

**Page:** 724

---

## [Bitmaps Disappearing - $50 Reward](https://forum.kirupa.com/t/bitmaps-disappearing-50-reward/294488)

<div class="topic-metadata">

**Author:** [@zylum](https://forum.kirupa.com/u/zylum)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 7:22pm UTC](https://forum.kirupa.com/t/bitmaps-disappearing-50-reward/294488 "2009-08-14T19:22:20Z")

</div>

Hi there, This thing has been bugging me forever. I have a drawing application where you can sketch stuff and draw various shapes. In order for the lines to be drawn properly with alpha, I had to use bitmaps (so at the…

---

## [Need help for resizable movieclip](https://forum.kirupa.com/t/need-help-for-resizable-movieclip/294484)

<div class="topic-metadata">

**Author:** [@Joselito31](https://forum.kirupa.com/u/Joselito31)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 5:56pm UTC](https://forum.kirupa.com/t/need-help-for-resizable-movieclip/294484 "2009-08-14T17:56:29Z")

</div>

Hi, please, could someone help me? I need to divide my stage into 2 movieclip. One movieclip, the upper one, will occupied ¾ of the whole screen, and the other one, the down one, will occupied the rest of screen. The…

---

## [Removing Images from Memory in a loop](https://forum.kirupa.com/t/removing-images-from-memory-in-a-loop/294482)

<div class="topic-metadata">

**Author:** [@melacroso](https://forum.kirupa.com/u/melacroso)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 4:29pm UTC](https://forum.kirupa.com/t/removing-images-from-memory-in-a-loop/294482 "2009-08-14T16:29:21Z")

</div>

Hiya everybody. Friday eve nightmare hehe. I've made a script which loads in, at intervals, images in a sequence (image1.jpg, image2.jpg,..... ). However I've being doing my nut as to how to remove the preceeding image…

---

## [Replacing Remote XML with Local](https://forum.kirupa.com/t/replacing-remote-xml-with-local/294478)

<div class="topic-metadata">

**Author:** [@mcwazza](https://forum.kirupa.com/u/mcwazza)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 3:37pm UTC](https://forum.kirupa.com/t/replacing-remote-xml-with-local/294478 "2009-08-14T15:37:56Z")

</div>

In my html, I have var frank = "http://www.deloitte.com/deloitte-ecm-cm-dpm-web/getflash?queryParams=view=dhome/cid=4030faec731c1210VgnVCM100000ba42f00aRCRD"; flashvars.john = frank; and relating to this in m…

---

## [buttonLoopScript problem](https://forum.kirupa.com/t/buttonloopscript-problem/294475)

<div class="topic-metadata">

**Author:** [@chrisribar](https://forum.kirupa.com/u/chrisribar)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 3:26pm UTC](https://forum.kirupa.com/t/buttonloopscript-problem/294475 "2009-08-14T15:26:25Z")

</div>

Attached is my .fla file for flash cs3. What I want to happen is for the first button to automatically become activated and play the PageIn0 clip upon playing. Can anyone help me out? Thanks! CODE: currentButton = nu…

---

## [as2 - disable keydown function](https://forum.kirupa.com/t/as2-disable-keydown-function/294473)

<div class="topic-metadata">

**Author:** [@danny\_brooks](https://forum.kirupa.com/u/danny_brooks)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 2:21pm UTC](https://forum.kirupa.com/t/as2-disable-keydown-function/294473 "2009-08-14T14:21:34Z")

</div>

is there a way to disable the left arrow key for a certain part of a movie. i have the follow code to make it work but need the code to disable it. //listen for keypress var myListener:Object = new Object(); myListen…

---

## [Need Your Help With This PLS](https://forum.kirupa.com/t/need-your-help-with-this-pls/294471)

<div class="topic-metadata">

**Author:** [@amnac](https://forum.kirupa.com/u/amnac)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 1:11pm UTC](https://forum.kirupa.com/t/need-your-help-with-this-pls/294471 "2009-08-14T13:11:06Z")

</div>

Note: I'm a newbie at this.... I have a cs4 file that uses xml to load images. It only has 4 layers on actionscript in frame 1 and a bunch of clips that are used to load. I created it in a seperate file and it works …

---

## [How to Convert Mod/Tod From JVC Camcorder](https://forum.kirupa.com/t/how-to-convert-mod-tod-from-jvc-camcorder/294470)

<div class="topic-metadata">

**Author:** [@Sunnyguang](https://forum.kirupa.com/u/Sunnyguang)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 12:06pm UTC](https://forum.kirupa.com/t/how-to-convert-mod-tod-from-jvc-camcorder/294470 "2009-08-14T12:06:31Z")

</div>

In summer most people prefer to have a travel. One of the necessities with them is a camcorder. It helps people record an unforgettable or beautiful moment. They can keep the precious moment forever as long as they pu…

---

## [Volume dragger with percentage output, Help!](https://forum.kirupa.com/t/volume-dragger-with-percentage-output-help/294466)

<div class="topic-metadata">

**Author:** [@Matt\_da\_best](https://forum.kirupa.com/u/Matt_da_best)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 11:11am UTC](https://forum.kirupa.com/t/volume-dragger-with-percentage-output-help/294466 "2009-08-14T11:11:48Z")

</div>

Im trying to make a volume bar that shows the volume percentage in a dynamic text box (with an instance of 'percOutput') while you are dragging. I cant even see how to do this, im having real trouble. :cantlook: Here i…

---

## [AS support on submiting images](https://forum.kirupa.com/t/as-support-on-submiting-images/294465)

<div class="topic-metadata">

**Author:** [@ron\_ron](https://forum.kirupa.com/u/ron_ron)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 11:06am UTC](https://forum.kirupa.com/t/as-support-on-submiting-images/294465 "2009-08-14T11:06:14Z")

</div>

In my submit form I've got 5 images in UI component LOADERS. I need advice on how to write the AS code to send the images to the server PHP. This is my current AS code. var senderLoad:LoadVars = new LoadVars(); va…

---

## [Help replacing the startDrag function](https://forum.kirupa.com/t/help-replacing-the-startdrag-function/294460)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 8:32am UTC](https://forum.kirupa.com/t/help-replacing-the-startdrag-function/294460 "2009-08-14T08:32:59Z")

</div>

Hi there, Currently working with the fake 3D possibilities of FP10 I found myself stuck with a xml text scroller than doesnt work anymore while being rotated in 3D. The problem is the startDrag function (i'm almost sur…

---

## [Zoom in out Transition](https://forum.kirupa.com/t/zoom-in-out-transition/294459)

<div class="topic-metadata">

**Author:** [@kpranjan1](https://forum.kirupa.com/u/kpranjan1)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 8:27am UTC](https://forum.kirupa.com/t/zoom-in-out-transition/294459 "2009-08-14T08:27:07Z")

</div>

Hi All, I need ZoomInOut Transition in As 3.0 . The Work i have to do is whenever we click on any object -- Animation should be like this. zoom in that moviclip then come to original shape and after that it will mov…

---

## [Loading multiple external swfs](https://forum.kirupa.com/t/loading-multiple-external-swfs/294455)

<div class="topic-metadata">

**Author:** [@neilp123](https://forum.kirupa.com/u/neilp123)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 6:42am UTC](https://forum.kirupa.com/t/loading-multiple-external-swfs/294455 "2009-08-14T06:42:27Z")

</div>

Hi, i really need some help here!! I can't figure out how to load external swf files(9) into my master.swf file one after the other. This is the Actionscript i have written so far.....(AS2) var myItems:Array = new A…

---

## [Playing in order instead of random - Please HELP!](https://forum.kirupa.com/t/playing-in-order-instead-of-random-please-help/294454)

<div class="topic-metadata">

**Author:** [@joehann](https://forum.kirupa.com/u/joehann)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 6:38am UTC](https://forum.kirupa.com/t/playing-in-order-instead-of-random-please-help/294454 "2009-08-14T06:38:34Z")

</div>

Hi Fellow AS Gurus, Pls help to amend the script below so that it plays in running order instead of random : ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= function RandomFLV(){ var files:Array = \["…

---

## [Dynamic TextFields with HTML images inline](https://forum.kirupa.com/t/dynamic-textfields-with-html-images-inline/294450)

<div class="topic-metadata">

**Author:** [@kreviii](https://forum.kirupa.com/u/kreviii)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 3:04am UTC](https://forum.kirupa.com/t/dynamic-textfields-with-html-images-inline/294450 "2009-08-14T03:04:13Z")

</div>

How can I achieve a series of images from an external html file, to display inline via dynamic textfield in flash. in using css im having difficulty with 'img { display:inline; }' anyone know why they seem to want …

---

## [Actionscript-Javascript-IFrame Help](https://forum.kirupa.com/t/actionscript-javascript-iframe-help/294449)

<div class="topic-metadata">

**Author:** [@hpaum99](https://forum.kirupa.com/u/hpaum99)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 2:23am UTC](https://forum.kirupa.com/t/actionscript-javascript-iframe-help/294449 "2009-08-14T02:23:32Z")

</div>

Could someone please help me troubleshoot this problem? my page loads a 'container' SWF. there is an iframe on the page the IFrame has links, each link should load a new swf into the 'container' main page JS.. \<scr…

---

## [Actionscript-Javascript-IFrame Support](https://forum.kirupa.com/t/actionscript-javascript-iframe-support/294448)

<div class="topic-metadata">

**Author:** [@hpaum99](https://forum.kirupa.com/u/hpaum99)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 2:22am UTC](https://forum.kirupa.com/t/actionscript-javascript-iframe-support/294448 "2009-08-14T02:22:19Z")

</div>

Could someone please help me troubleshoot this problem? my page loads a 'container' SWF. there is an iframe on the page the IFrame has links, each link should load a new swf into the 'container' main page JS.. \<scr…

---

## [\[AS2\]Having issues with shortened code (for var i = 0; i\<6; i++)](https://forum.kirupa.com/t/as2-having-issues-with-shortened-code-for-var-i-0-i-6-i/294437)

<div class="topic-metadata">

**Author:** [@lorne17](https://forum.kirupa.com/u/lorne17)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 11:13pm UTC](https://forum.kirupa.com/t/as2-having-issues-with-shortened-code-for-var-i-0-i-6-i/294437 "2009-08-13T23:13:00Z")

</div>

I tried to make this: \_root.MenuBar.Menu0.onRollOver = function() { \_root.MenuBar.Menu0.gotoAndPlay("Over"); } \_root.MenuBar.Menu0.onRollOut = function() { \_root.MenuBar.Menu0.gotoA…

---

## [Question?: Textfield-background color AS2](https://forum.kirupa.com/t/question-textfield-background-color-as2/294436)

<div class="topic-metadata">

**Author:** [@philipecr](https://forum.kirupa.com/u/philipecr)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 11:01pm UTC](https://forum.kirupa.com/t/question-textfield-background-color-as2/294436 "2009-08-13T23:01:11Z")

</div>

Hi guys! I would like to make a text field background-color snap to text length not the text field itself, do you think it would be possible? a pictures tells more than a thousand words. \[image\]

---

## [Drag-able Pop Up Scroll Box with external Text w/Image](https://forum.kirupa.com/t/drag-able-pop-up-scroll-box-with-external-text-w-image/294435)

<div class="topic-metadata">

**Author:** [@Mr\_Print](https://forum.kirupa.com/u/Mr_Print)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 10:32pm UTC](https://forum.kirupa.com/t/drag-able-pop-up-scroll-box-with-external-text-w-image/294435 "2009-08-13T22:32:28Z")

</div>

OK, I've worked on this for days, I would like to make the box drag-able, however I loose my text when I add the drag function. It has something to do with the cliphandler and a conflict. Everytime I add the following c…

---

## [Getting Prosperities of Dynamic Objects](https://forum.kirupa.com/t/getting-prosperities-of-dynamic-objects/294433)

<div class="topic-metadata">

**Author:** [@jesseclark](https://forum.kirupa.com/u/jesseclark)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 9:41pm UTC](https://forum.kirupa.com/t/getting-prosperities-of-dynamic-objects/294433 "2009-08-13T21:41:37Z")

</div>

I am looping through and creating a random number of dynamic objects. I am trying to create an click addEventListener that will trace the name property of the object being clicked. Here is my script: var xSpacing:int …

---

## [Using arrays to define mc color](https://forum.kirupa.com/t/using-arrays-to-define-mc-color/294432)

<div class="topic-metadata">

**Author:** [@litl\_CodeChick](https://forum.kirupa.com/u/litl_CodeChick)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 9:41pm UTC](https://forum.kirupa.com/t/using-arrays-to-define-mc-color/294432 "2009-08-13T21:41:08Z")

</div>

I know it's possible (and the answer must be under my nose) but I am at a loss as to how to accomplish this: I have 5 movie clips on the stage, and their instance names are in one array. I then have an array with hexi…

---

## [gotoAndStop(variable) , tellTarget(variable)](https://forum.kirupa.com/t/gotoandstop-variable-telltarget-variable/294431)

<div class="topic-metadata">

**Author:** [@Shuuha](https://forum.kirupa.com/u/Shuuha)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 9:30pm UTC](https://forum.kirupa.com/t/gotoandstop-variable-telltarget-variable/294431 "2009-08-13T21:30:02Z")

</div>

Would anyone know if its possible to make a movieclip to gotoAndStop on a certain variable, and whether or not you can decide which movieclip to go to also through a certain variable? var frame:Number = 2; var target:…

---

## [Is there a smarter way to do this?](https://forum.kirupa.com/t/is-there-a-smarter-way-to-do-this/294428)

<div class="topic-metadata">

**Author:** [@rahnefan](https://forum.kirupa.com/u/rahnefan)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 9:01pm UTC](https://forum.kirupa.com/t/is-there-a-smarter-way-to-do-this/294428 "2009-08-13T21:01:28Z")

</div>

Please see the small .fla attached. Is there a smarter way to script the actions of the three circles (c1, c2, and c3)? The variables in each one have different values, but other than that, they are the same. Apologies i…

---

## [Accessing a child of a movieClip composed of other movieclips](https://forum.kirupa.com/t/accessing-a-child-of-a-movieclip-composed-of-other-movieclips/294427)

<div class="topic-metadata">

**Author:** [@Kreender](https://forum.kirupa.com/u/Kreender)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 8:25pm UTC](https://forum.kirupa.com/t/accessing-a-child-of-a-movieclip-composed-of-other-movieclips/294427 "2009-08-13T20:25:01Z")

</div>

Hi I made a ship in flash, composed of different movieclips exported for actionscipt, then I converted the whole ship in a movieclip. I wanna access a wing to make it rotate but I don't know how. I tried this: packa…

---

## [Tabstops in textfield with loaded .txt?](https://forum.kirupa.com/t/tabstops-in-textfield-with-loaded-txt/294426)

<div class="topic-metadata">

**Author:** [@Bq86](https://forum.kirupa.com/u/Bq86)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 8:19pm UTC](https://forum.kirupa.com/t/tabstops-in-textfield-with-loaded-txt/294426 "2009-08-13T20:19:01Z")

</div>

Is it doable in as2? I have an external txt loaded, it has also css assigned but can't split the text into tables. Maybe is it simpy impossible in this actionscript version? Regards,

---

## [Calling the on(press) event handler](https://forum.kirupa.com/t/calling-the-on-press-event-handler/294425)

<div class="topic-metadata">

**Author:** [@zeldalink](https://forum.kirupa.com/u/zeldalink)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 8:00pm UTC](https://forum.kirupa.com/t/calling-the-on-press-event-handler/294425 "2009-08-13T20:00:58Z")

</div>

Preface Typically when you set an event handler function for buttons by code, like: mybutton.onPress = function(){ trace("Hello!"); } you can access and call this event handler function by: mybutton.onPress()…

---

## [List all current Listeners to an EventDispatcher](https://forum.kirupa.com/t/list-all-current-listeners-to-an-eventdispatcher/294424)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 7:54pm UTC](https://forum.kirupa.com/t/list-all-current-listeners-to-an-eventdispatcher/294424 "2009-08-13T19:54:56Z")

</div>

Is there any way to list all listeners to an EventDispatcher instance, or at least list all event strings that are being listened for? I know there is a "hasEventListener()" function, but you need to know the string yo…

---

## [Tiles effect](https://forum.kirupa.com/t/tiles-effect/294421)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 6:21pm UTC](https://forum.kirupa.com/t/tiles-effect/294421 "2009-08-13T18:21:12Z")

</div>

Hi i'm trying to implement an effect to a JPG in flash, simulating the tiles filter from photoshop with AS2. Dones anybody has any ideas that could help me? thanks

---

## [onOut activated after onClick...how to stop it?](https://forum.kirupa.com/t/onout-activated-after-onclick-how-to-stop-it/294419)

<div class="topic-metadata">

**Author:** [@r3h0ld3r](https://forum.kirupa.com/u/r3h0ld3r)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 5:36pm UTC](https://forum.kirupa.com/t/onout-activated-after-onclick-how-to-stop-it/294419 "2009-08-13T17:36:36Z")

</div>

I have a mc that when clicked moves off screen, however when it starts to move, once the mouse cursor is off it, it moves back to its original position because my onOut event is to have it move back to the original posit…

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

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