# programming

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

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

**Page:** 422

---

## [localToGlobal question](https://forum.kirupa.com/t/localtoglobal-question/313672)

<div class="topic-metadata">

**Author:** [@OMG](https://forum.kirupa.com/u/OMG)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 12:48am UTC](https://forum.kirupa.com/t/localtoglobal-question/313672 "2010-09-07T00:48:46Z")

</div>

Hi After multiple tests I've finally made localToGlobal() work the way I want it to work, I still have some questions though: let's say on the stage I have mc1 at (50,50), inside mc1 there's mc2 at (50,50) and inside mc2…

---

## [SHould be easy But Here We Are](https://forum.kirupa.com/t/should-be-easy-but-here-we-are/313671)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 12:12am UTC](https://forum.kirupa.com/t/should-be-easy-but-here-we-are/313671 "2010-09-07T00:12:31Z")

</div>

please look at the attatchment here's the text portion: the above seem to be the order things are happening im trying to gey my ship added @ center stage in "level1" i listen for "level1" to be added then i do the s…

---

## [Black SWF Edge in Safari 5](https://forum.kirupa.com/t/black-swf-edge-in-safari-5/313670)

<div class="topic-metadata">

**Author:** [@senNOTcular](https://forum.kirupa.com/u/senNOTcular)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 10:02pm UTC](https://forum.kirupa.com/t/black-swf-edge-in-safari-5/313670 "2010-09-06T22:02:19Z")

</div>

My website is doing something weird in Safari since a recent update. It looks great in Firefox, but in Safari, the transparent .png background edge shows up black over the repeating background, and the Flash preloader…

---

## [How do I Disable ActionScript on Button Click?](https://forum.kirupa.com/t/how-do-i-disable-actionscript-on-button-click/313668)

<div class="topic-metadata">

**Author:** [@vivyo](https://forum.kirupa.com/u/vivyo)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 6:54pm UTC](https://forum.kirupa.com/t/how-do-i-disable-actionscript-on-button-click/313668 "2010-09-06T18:54:46Z")

</div>

How do I make it so that when I click a button, it disables a certain piece of ActionScript? And how do I make it enable again on a certain frame? THANK YOU! :love\_heart: Please explain thoroughly because I'm an amat…

---

## [Finding the totalFrames of external swf](https://forum.kirupa.com/t/finding-the-totalframes-of-external-swf/313665)

<div class="topic-metadata">

**Author:** [@anand\_b\_v](https://forum.kirupa.com/u/anand_b_v)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 5:42pm UTC](https://forum.kirupa.com/t/finding-the-totalframes-of-external-swf/313665 "2010-09-06T17:42:32Z")

</div>

Hi, I am working on one project where I am externally loading an swf into a movie clip which doesn't have a control on the file. But here I need to find when the swf file will end. So that I can trigger a js function a…

---

## [Creating Motion Guide / Path in AS3](https://forum.kirupa.com/t/creating-motion-guide-path-in-as3/313664)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 5:15pm UTC](https://forum.kirupa.com/t/creating-motion-guide-path-in-as3/313664 "2010-09-06T17:15:30Z")

</div>

Hi all, So I am dynamically drawing lines. Pretend you run your flash movie, and click your mouse down, and move it around on the screen. It might have a curve, it might do anything, and once you release, the line is c…

---

## [Special Scrollbars](https://forum.kirupa.com/t/special-scrollbars/313663)

<div class="topic-metadata">

**Author:** [@froggyboi](https://forum.kirupa.com/u/froggyboi)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 5:15pm UTC](https://forum.kirupa.com/t/special-scrollbars/313663 "2010-09-06T17:15:17Z")

</div>

Hi im creating a website for my potfolio and have recentley come across a seemingly simple 100% flash website with scroll bars...the thing is that the browser scroll bars have been removed due to a change in the overf…

---

## [Movie clip boundary](https://forum.kirupa.com/t/movie-clip-boundary/313661)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 4:35pm UTC](https://forum.kirupa.com/t/movie-clip-boundary/313661 "2010-09-06T16:35:19Z")

</div>

User is required to move the mouse within the movie clip, if the cursor is inside the movie clip, something will happen else if the cursor is outside the movie clip another thing happen. Please those expert help me to …

---

## [New to PHP](https://forum.kirupa.com/t/new-to-php/313660)

<div class="topic-metadata">

**Author:** [@freshy](https://forum.kirupa.com/u/freshy)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 4:22pm UTC](https://forum.kirupa.com/t/new-to-php/313660 "2010-09-06T16:22:56Z")

</div>

I am totally new to PHP. Firstly I need to know where to type in my script ?

---

## [AS3 additive tone synthesis, playing multiple generated sounds](https://forum.kirupa.com/t/as3-additive-tone-synthesis-playing-multiple-generated-sounds/313659)

<div class="topic-metadata">

**Author:** [@Drala](https://forum.kirupa.com/u/Drala)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 4:10pm UTC](https://forum.kirupa.com/t/as3-additive-tone-synthesis-playing-multiple-generated-sounds/313659 "2010-09-06T16:10:58Z")

</div>

Hello Everybody! Inspired by Andre michelle, I\`m building a tone matrix in AS3. I managed to create the matrix and generate the different sounds. They don´t sound that good, but I´m getting there \[smile\] One big probl…

---

## [Display SWF on top of Everything](https://forum.kirupa.com/t/display-swf-on-top-of-everything/313657)

<div class="topic-metadata">

**Author:** [@swizz182g](https://forum.kirupa.com/u/swizz182g)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 3:24pm UTC](https://forum.kirupa.com/t/display-swf-on-top-of-everything/313657 "2010-09-06T15:24:48Z")

</div>

Hello All I have a photogallery that is 700 x 400. When i click on the thumbnails it opena the full picture. the only problem is that the full pictures are bigger than 700 x 400 and the parent swf cuts the full picture…

---

## [Playbutton change after finished playing?](https://forum.kirupa.com/t/playbutton-change-after-finished-playing/313654)

<div class="topic-metadata">

**Author:** [@DrViolet](https://forum.kirupa.com/u/DrViolet)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 11:49am UTC](https://forum.kirupa.com/t/playbutton-change-after-finished-playing/313654 "2010-09-06T11:49:36Z")

</div>

I have a simple Flash-player button (toggle play/stop) that plays MP3s. When I press play the MP3 starts and the button changes to stop. When I press again the music stops and the stop-button changes to play. I have …

---

## [Smoothing images in AS3](https://forum.kirupa.com/t/smoothing-images-in-as3/313653)

<div class="topic-metadata">

**Author:** [@relan01](https://forum.kirupa.com/u/relan01)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 11:29am UTC](https://forum.kirupa.com/t/smoothing-images-in-as3/313653 "2010-09-06T11:29:56Z")

</div>

HI I have a problem with image smoothing in as3. the images are on the stage inside respactive movieclips and the movieclips are rotated randomly on timeline. the images come jaggered. In case of as2 we used to do mov…

---

## [Flash car collisions/hitTest (as2)](https://forum.kirupa.com/t/flash-car-collisions-hittest-as2/313651)

<div class="topic-metadata">

**Author:** [@Smitsy](https://forum.kirupa.com/u/Smitsy)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 10:52am UTC](https://forum.kirupa.com/t/flash-car-collisions-hittest-as2/313651 "2010-09-06T10:52:09Z")

</div>

Well, ive been using flash for a long time but i have to say \[COLOR=blue\]im\[/COLOR\] no pro at coding. I know some stuff, but not enough for what im trying to do. Basically, im making a little car minigame of a car in a c…

---

## [Invoking a cycle in a function without rewriting it?](https://forum.kirupa.com/t/invoking-a-cycle-in-a-function-without-rewriting-it/313650)

<div class="topic-metadata">

**Author:** [@elliria](https://forum.kirupa.com/u/elliria)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 9:11am UTC](https://forum.kirupa.com/t/invoking-a-cycle-in-a-function-without-rewriting-it/313650 "2010-09-06T09:11:05Z")

</div>

hello, i'm stuck with this problem: i have a for loop running through an array: for (var e:int = 0; e \< coo.length; e++) { coo\[e\].addEventListener(MouseEvent.ROLL\_OVER, evidenzia); coo\[e\].addEventListener(Mous…

---

## [PPI in Flash](https://forum.kirupa.com/t/ppi-in-flash/313648)

<div class="topic-metadata">

**Author:** [@Kappa](https://forum.kirupa.com/u/Kappa)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 6:44am UTC](https://forum.kirupa.com/t/ppi-in-flash/313648 "2010-09-06T06:44:35Z")

</div>

Edit: problem solved, was a stupid question. Sorry

---

## [Program that can split huge bitmaps](https://forum.kirupa.com/t/program-that-can-split-huge-bitmaps/313643)

<div class="topic-metadata">

**Author:** [@sebby64](https://forum.kirupa.com/u/sebby64)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 11:24pm UTC](https://forum.kirupa.com/t/program-that-can-split-huge-bitmaps/313643 "2010-09-05T23:24:53Z")

</div>

In my game I am importing maps that are huge, like 10000x10000 pixels. Flash cannot handle this so the bitmap does not show up at all. So to fix this I wrote a couple methods that split the bitmap into a certain number o…

---

## [HitTesting MC's From Libary Need Help \[FL8\]](https://forum.kirupa.com/t/hittesting-mcs-from-libary-need-help-fl8/313642)

<div class="topic-metadata">

**Author:** [@CodeRed](https://forum.kirupa.com/u/CodeRed)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 10:34pm UTC](https://forum.kirupa.com/t/hittesting-mcs-from-libary-need-help-fl8/313642 "2010-09-05T22:34:45Z")

</div>

I've got a game where I need the enemys to hitTest with each other, I'm going to have copys of 3 types of enemys on the stage, instead of giving them all an instance name is it possible to hittest from the libary because…

---

## [The top menu mouse over problem in firefox](https://forum.kirupa.com/t/the-top-menu-mouse-over-problem-in-firefox/313638)

<div class="topic-metadata">

**Author:** [@ashadweb](https://forum.kirupa.com/u/ashadweb)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 6:43pm UTC](https://forum.kirupa.com/t/the-top-menu-mouse-over-problem-in-firefox/313638 "2010-09-05T18:43:18Z")

</div>

Top menu mouse over not selecting properly in Firefox in ie its fine. Any ideas? Any CSS issues? http://www.dataservsl.com/mcrazy-demo

---

## [CLICK on white area/background/stage?](https://forum.kirupa.com/t/click-on-white-area-background-stage/313636)

<div class="topic-metadata">

**Author:** [@elliria](https://forum.kirupa.com/u/elliria)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 5:44pm UTC](https://forum.kirupa.com/t/click-on-white-area-background-stage/313636 "2010-09-05T17:44:30Z")

</div>

hello, is there a way to click on the stage in order to trigger some function? i searched on the web but couldn't find anything. thanks

---

## [Wrong Bounce For the Ounce(or such like)](https://forum.kirupa.com/t/wrong-bounce-for-the-ounce-or-such-like/313635)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 5:41pm UTC](https://forum.kirupa.com/t/wrong-bounce-for-the-ounce-or-such-like/313635 "2010-09-05T17:41:45Z")

</div>

please take a look at the image....

---

## [Motion by audio](https://forum.kirupa.com/t/motion-by-audio/313632)

<div class="topic-metadata">

**Author:** [@rover87](https://forum.kirupa.com/u/rover87)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 2:04pm UTC](https://forum.kirupa.com/t/motion-by-audio/313632 "2010-09-05T14:04:54Z")

</div>

I was wondering if it would be possible to play a movieclip based on the computeSpectrum. When you visualize the spectrum 256 bars will react to the music played with values -1 to +1. I would like to have a spectrum with…

---

## [iPad/iPhone app scripting help](https://forum.kirupa.com/t/ipad-iphone-app-scripting-help/313631)

<div class="topic-metadata">

**Author:** [@Kappa](https://forum.kirupa.com/u/Kappa)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 1:42pm UTC](https://forum.kirupa.com/t/ipad-iphone-app-scripting-help/313631 "2010-09-05T13:42:50Z")

</div>

Rven though the app's aren't able to be uploaded onto the appstore, i was hoping to make some for personal use. picked up the CS5 trial only to find out Apps can only be made with AS3 - and I'm only familiar with AS2. I…

---

## [Path-branching game. Choices?](https://forum.kirupa.com/t/path-branching-game-choices/313630)

<div class="topic-metadata">

**Author:** [@Proxypawaa](https://forum.kirupa.com/u/Proxypawaa)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 1:02pm UTC](https://forum.kirupa.com/t/path-branching-game-choices/313630 "2010-09-05T13:02:09Z")

</div>

Basically, I want to make a simple frame by frame path branching game. The problem is that I know that writing in and filling in EVERY FRAME going all along for EVERY CHOICE PATH would be an insanely tedious amount of wo…

---

## [Over stage size](https://forum.kirupa.com/t/over-stage-size/313629)

<div class="topic-metadata">

**Author:** [@Luigi\_Vercotti](https://forum.kirupa.com/u/Luigi_Vercotti)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 11:55am UTC](https://forum.kirupa.com/t/over-stage-size/313629 "2010-09-05T11:55:06Z")

</div>

Hello guys Do you have any idea why? When I preview my work in Firefox or IE I can see some of my movieClips which I shouldn't. It did not before...:puzzle:

---

## [AS2 Full browser script](https://forum.kirupa.com/t/as2-full-browser-script/313628)

<div class="topic-metadata">

**Author:** [@Dan008](https://forum.kirupa.com/u/Dan008)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 10:47am UTC](https://forum.kirupa.com/t/as2-full-browser-script/313628 "2010-09-05T10:47:34Z")

</div>

hi there, i am doing my site and i wanted to have the site to fit full browser but the script i am using stretches across which is kinda distorted. Anyway to fix this? thanks. stop(); this.onResize = function() { …

---

## [Lightbox in Flash as3](https://forum.kirupa.com/t/lightbox-in-flash-as3/313627)

<div class="topic-metadata">

**Author:** [@supremekareem](https://forum.kirupa.com/u/supremekareem)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 10:28am UTC](https://forum.kirupa.com/t/lightbox-in-flash-as3/313627 "2010-09-05T10:28:01Z")

</div>

Hello to all of you! Everything works just fine the only thing i need to know is how to add more pictures to the lightbox? showcase.addEventListener(MouseEvent.CLICK,pop\_up) ; function pop\_up(event:MouseEvent):void { …

---

## [Trouble with a few basic things](https://forum.kirupa.com/t/trouble-with-a-few-basic-things/313624)

<div class="topic-metadata">

**Author:** [@moselekm](https://forum.kirupa.com/u/moselekm)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 4:20am UTC](https://forum.kirupa.com/t/trouble-with-a-few-basic-things/313624 "2010-09-05T04:20:06Z")

</div>

I'm having a real hardtime with several things that seem relatively easy to do in AS2 with AS3. I can't seem to find any tutorials in AS3 to create a very basic RPG with making maps, some simple tiles and collision, and…

---

## [Multiple mc spawning](https://forum.kirupa.com/t/multiple-mc-spawning/313623)

<div class="topic-metadata">

**Author:** [@pizzadude223](https://forum.kirupa.com/u/pizzadude223)\
**Replies:** 0\
**Last updated:** [September 5, 2010, 2:39am UTC](https://forum.kirupa.com/t/multiple-mc-spawning/313623 "2010-09-05T02:39:55Z")

</div>

I read a bunch of tutorials and I cant get multiple mc's to spawn. I have this button so that when you click it, it spawns an mc that you can drag around. So I spawn one drag it around, then try to spawn another but that…

---

## [Stunt Pilot-esque Collisions](https://forum.kirupa.com/t/stunt-pilot-esque-collisions/313622)

<div class="topic-metadata">

**Author:** [@bcapecci](https://forum.kirupa.com/u/bcapecci)\
**Replies:** 0\
**Last updated:** [September 4, 2010, 11:03pm UTC](https://forum.kirupa.com/t/stunt-pilot-esque-collisions/313622 "2010-09-04T23:03:22Z")

</div>

Hi, I know how to do various types of collisions and also know how to scroll a background. I'm sort of having trouble putting two and two together for how a game like stunt pilot knows if a plane has gone through a ring …

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

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