# programming

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

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

**Page:** 281

---

## [Help with Shadowbox](https://forum.kirupa.com/t/help-with-shadowbox/322107)

<div class="topic-metadata">

**Author:** [@Hurst88](https://forum.kirupa.com/u/Hurst88)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 10:58pm UTC](https://forum.kirupa.com/t/help-with-shadowbox/322107 "2011-05-10T22:58:23Z")

</div>

Hey guys. So I'm trying to link a button to open shadowbox. I keep getting an 1120 Error "Access of undefined property button". My code is as follows: button.addEventListener(MouseEvent.MOUSE\_DOWN, myWork); function my…

---

## [Resizable movieclip](https://forum.kirupa.com/t/resizable-movieclip/322106)

<div class="topic-metadata">

**Author:** [@lupus81](https://forum.kirupa.com/u/lupus81)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 10:52pm UTC](https://forum.kirupa.com/t/resizable-movieclip/322106 "2011-05-10T22:52:09Z")

</div>

Hi every1! Is there any built-in property to make movieclip resizable during execution? I know to do it manualy (create handlers on each corner, and set them to be invisible, when "onRoll"...blahblah), but i was wonder…

---

## [Performance tuning question : Where to declare your variables?](https://forum.kirupa.com/t/performance-tuning-question-where-to-declare-your-variables/322103)

<div class="topic-metadata">

**Author:** [@maskedMan](https://forum.kirupa.com/u/maskedMan)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 9:08pm UTC](https://forum.kirupa.com/t/performance-tuning-question-where-to-declare-your-variables/322103 "2011-05-10T21:08:51Z")

</div>

So I've been doing a little testing in a small, isolated case but I'm not yet sure whether this scales well. Maybe someone here already knows the answer. I had the feeling that declaring a variable, even if you never …

---

## [NOD32 vs FileReference](https://forum.kirupa.com/t/nod32-vs-filereference/322102)

<div class="topic-metadata">

**Author:** [@Punk\_T\_34](https://forum.kirupa.com/u/Punk_T_34)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 9:08pm UTC](https://forum.kirupa.com/t/nod32-vs-filereference/322102 "2011-05-10T21:08:25Z")

</div>

Hi, it might be interesting: I've explored that if you have ESET Smart Security 4 64bit (aka NOD32) installed in the system, then FileReference class (for AS2) doesn't show the upload progress of a file to server. You ca…

---

## [Bitmap Resolution & Zooming OUT](https://forum.kirupa.com/t/bitmap-resolution-zooming-out/322099)

<div class="topic-metadata">

**Author:** [@bluedot](https://forum.kirupa.com/u/bluedot)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 7:24pm UTC](https://forum.kirupa.com/t/bitmap-resolution-zooming-out/322099 "2011-05-10T19:24:48Z")

</div>

Hi there, I am working with some images in my flash file which I would like to have at a high resolution (approx 1280X1024 px or even higher) so that they look good when they take up a full screen, and also when I zoom…

---

## [AMFPHP help](https://forum.kirupa.com/t/amfphp-help/322094)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 4:42pm UTC](https://forum.kirupa.com/t/amfphp-help/322094 "2011-05-10T16:42:10Z")

</div>

Hopefully one of you guys can help me, because this is driving me up the wall. This is my first attempt at doing any serverside stuff, I’m using this guy’s tutorial - AS3 – AMFPHP High Score Database – ZombieFlambe I’v…

---

## [Need help creating Shopping List](https://forum.kirupa.com/t/need-help-creating-shopping-list/322092)

<div class="topic-metadata">

**Author:** [@dutch106](https://forum.kirupa.com/u/dutch106)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 4:12pm UTC](https://forum.kirupa.com/t/need-help-creating-shopping-list/322092 "2011-05-10T16:12:13Z")

</div>

\[COLOR=black\]\[FONT=Calibri\]\[FONT=Calibri\]I am new to Flash and am currently working on a project, using actionscript 2.0. My project is a page flipping magazine. On each page are several products. When you click on a …

---

## [Image Slider issue](https://forum.kirupa.com/t/image-slider-issue/322090)

<div class="topic-metadata">

**Author:** [@simranzenov](https://forum.kirupa.com/u/simranzenov)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 3:49pm UTC](https://forum.kirupa.com/t/image-slider-issue/322090 "2011-05-10T15:49:09Z")

</div>

I have a set of externally loaded images lined up horizontally. The problem is I’m trying to make it where as the images are dragged past the boundaries of the stage, the images will pop out the other side. Kind of like…

---

## [Dynamic Content MovieClip Scroller](https://forum.kirupa.com/t/dynamic-content-movieclip-scroller/322088)

<div class="topic-metadata">

**Author:** [@mgh](https://forum.kirupa.com/u/mgh)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 2:42pm UTC](https://forum.kirupa.com/t/dynamic-content-movieclip-scroller/322088 "2011-05-10T14:42:40Z")

</div>

So I just found this code from somewhere here on the forums, it's a AS3 version of the tutorial found here on this website. //based on the Kirupa's great original code and new "migratingFromAs2" altern paths by Senocu…

---

## [Flash Full Screen](https://forum.kirupa.com/t/flash-full-screen/322087)

<div class="topic-metadata">

**Author:** [@bluedot](https://forum.kirupa.com/u/bluedot)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 2:18pm UTC](https://forum.kirupa.com/t/flash-full-screen/322087 "2011-05-10T14:18:03Z")

</div>

Hi ! This is my first post here. Thanks in advance for any help ! I am currently finishing off a flash project that I began using FlashMX (with action script 1). It is a language teaching tool which will be viewed b…

---

## [Help Loop Timer](https://forum.kirupa.com/t/help-loop-timer/322085)

<div class="topic-metadata">

**Author:** [@starsoccer10921](https://forum.kirupa.com/u/starsoccer10921)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 1:22pm UTC](https://forum.kirupa.com/t/help-loop-timer/322085 "2011-05-10T13:22:38Z")

</div>

Hello there I want to add timer in a loop. for example for (var i:Number = 1; i&lt;100; i++) { var v:Number = Math.ceil(Math.random()\*(1+stage.stageWidth-0))+0; var mc:enemyGreen= new enemyGreen(); addChil…

---

## [Removing everything from stage](https://forum.kirupa.com/t/removing-everything-from-stage/322084)

<div class="topic-metadata">

**Author:** [@wouter11](https://forum.kirupa.com/u/wouter11)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 12:30pm UTC](https://forum.kirupa.com/t/removing-everything-from-stage/322084 "2011-05-10T12:30:21Z")

</div>

Hi all, I wanna remove everything from stage if i click on an image. Well it ain't that hard but there is one problem. I want to leave albumbg on stage but it's a child of bg and if i removeChild(bg) it will remove all…

---

## [Show-Hide a div tag with onLoad or something similar](https://forum.kirupa.com/t/show-hide-a-div-tag-with-onload-or-something-similar/322078)

<div class="topic-metadata">

**Author:** [@kipping](https://forum.kirupa.com/u/kipping)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 8:45am UTC](https://forum.kirupa.com/t/show-hide-a-div-tag-with-onload-or-something-similar/322078 "2011-05-10T08:45:59Z")

</div>

You can use the Show-Hide Elements Behaviour onLoad perfectly well on an image, but it doesn't work on a div tag. What I need is for the Div tag to be intially hidden when the page loads, but once it is rolled over (Mo…

---

## [XML Dynamic Buttons and Text](https://forum.kirupa.com/t/xml-dynamic-buttons-and-text/322076)

<div class="topic-metadata">

**Author:** [@jeponkz](https://forum.kirupa.com/u/jeponkz)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 7:14am UTC](https://forum.kirupa.com/t/xml-dynamic-buttons-and-text/322076 "2011-05-10T07:14:47Z")

</div>

i am creating an application in flash as3 that -load an xml file - parse the xml file -create the UI base on the xml file here is the XML file \<data\> \<button id="1" label="apple" content="This is an apple"/\> \<button…

---

## [Tweening objects to specific postion](https://forum.kirupa.com/t/tweening-objects-to-specific-postion/322074)

<div class="topic-metadata">

**Author:** [@Taco\_Pants](https://forum.kirupa.com/u/Taco_Pants)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 4:04am UTC](https://forum.kirupa.com/t/tweening-objects-to-specific-postion/322074 "2011-05-10T04:04:01Z")

</div>

Hey guys! This is my first post here, I'm new to AS and programming in general, so I apologize in advance if what I'm saying doesn't make complete sense, but I'm looking for an idea of how to accomplish what I want to …

---

## [Add text to dynamic gallery](https://forum.kirupa.com/t/add-text-to-dynamic-gallery/322072)

<div class="topic-metadata">

**Author:** [@jennyg3011](https://forum.kirupa.com/u/jennyg3011)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 11:28pm UTC](https://forum.kirupa.com/t/add-text-to-dynamic-gallery/322072 "2011-05-09T23:28:11Z")

</div>

Hi, I have created a slider menu that moves when the arrows are clicked on either side. The images for this menu are loading dynamically from an xml file onto a 'container' in my fla. I need desperately to also be a…

---

## [Collision response:as3](https://forum.kirupa.com/t/collision-response-as3/322070)

<div class="topic-metadata">

**Author:** [@neo\_de\_van](https://forum.kirupa.com/u/neo_de_van)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 5:51pm UTC](https://forum.kirupa.com/t/collision-response-as3/322070 "2011-05-09T17:51:10Z")

</div>

Can anybody help me with car sliding collision response, i am trying to work out my car collision like in that of king of drift, i have tried many methods still not able crack it, now presently am detecting collision wit…

---

## [Unloading an image, loading new one in same MC](https://forum.kirupa.com/t/unloading-an-image-loading-new-one-in-same-mc/322068)

<div class="topic-metadata">

**Author:** [@as3ohh](https://forum.kirupa.com/u/as3ohh)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 4:53pm UTC](https://forum.kirupa.com/t/unloading-an-image-loading-new-one-in-same-mc/322068 "2011-05-09T16:53:40Z")

</div>

hey peeps, I have a movie clip that I load images into. Some of the images are png's and are transparent in spots. when I load them the old image still shows underneath it. it never went away. i thought when you loa…

---

## [How to make Mp3 player info text scroll horizontally](https://forum.kirupa.com/t/how-to-make-mp3-player-info-text-scroll-horizontally/322067)

<div class="topic-metadata">

**Author:** [@KJoe](https://forum.kirupa.com/u/KJoe)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 4:25pm UTC](https://forum.kirupa.com/t/how-to-make-mp3-player-info-text-scroll-horizontally/322067 "2011-05-09T16:25:36Z")

</div>

I have created an mp3 player and I would like to make the area which displays the artist name and song scroll horizontally when the song is clicked on. I would then like this to loop until the next song is clicked or …

---

## [Making images inside of ScrollPane link to frames in main timeline?](https://forum.kirupa.com/t/making-images-inside-of-scrollpane-link-to-frames-in-main-timeline/322066)

<div class="topic-metadata">

**Author:** [@lazerbrains](https://forum.kirupa.com/u/lazerbrains)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 3:59pm UTC](https://forum.kirupa.com/t/making-images-inside-of-scrollpane-link-to-frames-in-main-timeline/322066 "2011-05-09T15:59:11Z")

</div>

I have a scrollPane on my Stage and I have it linked to a movieClip containing a series of images that have been converted to buttons. Everything works fine, except I can't seem to figure out how to get the buttons to li…

---

## [AS2 transition speed](https://forum.kirupa.com/t/as2-transition-speed/322064)

<div class="topic-metadata">

**Author:** [@Devendra\_Singh](https://forum.kirupa.com/u/Devendra_Singh)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 11:01am UTC](https://forum.kirupa.com/t/as2-transition-speed/322064 "2011-05-09T11:01:33Z")

</div>

Here is the details of my code...there are multiple transition effect written in actionscript 2 my problem is that i want to to control the speed of all the transition from XML iam attaching the XML & as2 code for …

---

## [How to increase speed of a mc and also stop it?](https://forum.kirupa.com/t/how-to-increase-speed-of-a-mc-and-also-stop-it/322063)

<div class="topic-metadata">

**Author:** [@Chbook](https://forum.kirupa.com/u/Chbook)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 10:53am UTC](https://forum.kirupa.com/t/how-to-increase-speed-of-a-mc-and-also-stop-it/322063 "2011-05-09T10:53:26Z")

</div>

hi i wish to increase/decrease the speed that the mc plays (frames are inside the mc) but if the mc reaches a certain frame it should stop. I have the code for stopping- this.onEnterFrame = function() { Cholesterol.p…

---

## [AS3 mc removing from itself problem (...again)](https://forum.kirupa.com/t/as3-mc-removing-from-itself-problem-again/322062)

<div class="topic-metadata">

**Author:** [@dardo1979](https://forum.kirupa.com/u/dardo1979)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 10:09am UTC](https://forum.kirupa.com/t/as3-mc-removing-from-itself-problem-again/322062 "2011-05-09T10:09:43Z")

</div>

Hi, i know there is many posts about this problem, but i haven't solved my problem yet. Maybe is because i'm thinking in a wrong way and i haven't understood AS3 concept yet... My problem is the following: I was progra…

---

## [Greyscale Filter a colorTransformed Movieclip](https://forum.kirupa.com/t/greyscale-filter-a-colortransformed-movieclip/322061)

<div class="topic-metadata">

**Author:** [@NickA2](https://forum.kirupa.com/u/NickA2)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 9:21am UTC](https://forum.kirupa.com/t/greyscale-filter-a-colortransformed-movieclip/322061 "2011-05-09T09:21:15Z")

</div>

Hi everyone I've been trying to apply a greyscale filter to a movieclip (usually not a problem). However, once I've colorTransformed it, it doesn't seem to work. Does anyone have a way around this? Here's the code I'…

---

## [Maze game moving obstacles](https://forum.kirupa.com/t/maze-game-moving-obstacles/322060)

<div class="topic-metadata">

**Author:** [@Willeett](https://forum.kirupa.com/u/Willeett)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 9:11am UTC](https://forum.kirupa.com/t/maze-game-moving-obstacles/322060 "2011-05-09T09:11:15Z")

</div>

Hi, I have made a maze game using this toturial: http://www.youtube.com/user/smittyguitarplyr#p/u/16/4S2eebJTWJQ The walls are a button and if you roll over the walls with your mouse you come to a Lose screen. If you r…

---

## [Simple Shader Help](https://forum.kirupa.com/t/simple-shader-help/322055)

<div class="topic-metadata">

**Author:** [@Onebigparty](https://forum.kirupa.com/u/Onebigparty)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 4:51am UTC](https://forum.kirupa.com/t/simple-shader-help/322055 "2011-05-09T04:51:08Z")

</div>

I want to build a simple shader in flash, without the use of PixelBender (or anything else for that matter). All I need is a basic shader, to learn how they work. I am having trouble finding tutorials/examples of this.…

---

## [\[Flash8\]need Help scaling a movie clip by dragging the edge](https://forum.kirupa.com/t/flash8-need-help-scaling-a-movie-clip-by-dragging-the-edge/322053)

<div class="topic-metadata">

**Author:** [@ilikebigbutts](https://forum.kirupa.com/u/ilikebigbutts)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 4:39am UTC](https://forum.kirupa.com/t/flash8-need-help-scaling-a-movie-clip-by-dragging-the-edge/322053 "2011-05-09T04:39:54Z")

</div>

hi, im stupid \[smiley\] no really... i'm not a programmer. i have a movie clip that i want to scale by dragging the edge of the symbol. i've done so far by making the .fla attached and then staring at it for 2 days, and …

---

## [Simple Rotate Question?](https://forum.kirupa.com/t/simple-rotate-question/322050)

<div class="topic-metadata">

**Author:** [@mngBJ](https://forum.kirupa.com/u/mngBJ)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 2:58am UTC](https://forum.kirupa.com/t/simple-rotate-question/322050 "2011-05-09T02:58:42Z")

</div>

Hi Kirupians, i'm making web site and there is a simple problem. http://www.astrology.com/ on this site there is a rotating horoscope. How can i make like this one. Tnx all.

---

## [Planet Pong game](https://forum.kirupa.com/t/planet-pong-game/322048)

<div class="topic-metadata">

**Author:** [@Alucard2487](https://forum.kirupa.com/u/Alucard2487)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 1:56am UTC](https://forum.kirupa.com/t/planet-pong-game/322048 "2011-05-09T01:56:47Z")

</div>

Hello again everyone! I'm trying to make yet another game and am having some problems. My problem would be adding a life meter. Every time a planet is hit it I want the meter to go down. The last problem I am having is t…

---

## [Scripts Not working after frame 1](https://forum.kirupa.com/t/scripts-not-working-after-frame-1/322047)

<div class="topic-metadata">

**Author:** [@Christicles](https://forum.kirupa.com/u/Christicles)\
**Replies:** 0\
**Last updated:** [May 8, 2011, 11:05pm UTC](https://forum.kirupa.com/t/scripts-not-working-after-frame-1/322047 "2011-05-08T23:05:32Z")

</div>

Hi I need a little bit of help. I'm making a prototype game for a Uni project and so far I have setup classes and movie clips for navigation of the menu screens. I have my movie clips all declared in the Document main fi…

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

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