# programming

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

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

**Page:** 384

---

## [Flash Button to Lightbox Iframe](https://forum.kirupa.com/t/flash-button-to-lightbox-iframe/315903)

<div class="topic-metadata">

**Author:** [@mcruwan](https://forum.kirupa.com/u/mcruwan)\
**Replies:** 0\
**Last updated:** [November 7, 2010, 8:14am UTC](https://forum.kirupa.com/t/flash-button-to-lightbox-iframe/315903 "2010-11-07T08:14:56Z")

</div>

HI Guys I am trying to work on something. Need to figure out a way to work Light box Iframe on a flash button the Iframe light box is here http://fancybox.net/ And I found a light box image from a flash button …

---

## [CSS: unwanted fade between image repeat](https://forum.kirupa.com/t/css-unwanted-fade-between-image-repeat/315900)

<div class="topic-metadata">

**Author:** [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Replies:** 0\
**Last updated:** [November 7, 2010, 6:29am UTC](https://forum.kirupa.com/t/css-unwanted-fade-between-image-repeat/315900 "2010-11-07T06:29:28Z")

</div>

www.apartmentrehabspecialists.com For some reason across the top nav, the background has these little spaces between where the color fades. I can't figure out whether this is a code thing or how I'm saving it in photos…

---

## [XML Tile Map Scrolling](https://forum.kirupa.com/t/xml-tile-map-scrolling/315899)

<div class="topic-metadata">

**Author:** [@LogicCreations](https://forum.kirupa.com/u/LogicCreations)\
**Replies:** 0\
**Last updated:** [November 7, 2010, 6:16am UTC](https://forum.kirupa.com/t/xml-tile-map-scrolling/315899 "2010-11-07T06:16:59Z")

</div>

Hello all, I have been looking at tutorials for the last few days and have now got my map tiles all sorted out and in my flash game. I am struggling to find some tutorials on scrolling using the XML tile format. ht…

---

## [AS3 Parameters](https://forum.kirupa.com/t/as3-parameters/315895)

<div class="topic-metadata">

**Author:** [@VeddyCent](https://forum.kirupa.com/u/VeddyCent)\
**Replies:** 0\
**Last updated:** [November 7, 2010, 3:32am UTC](https://forum.kirupa.com/t/as3-parameters/315895 "2010-11-07T03:32:39Z")

</div>

Hi everyone, I'm trying to send a dynamic textbox instance name as a parameter, so I can use it in a function. e.g. btn\_play.addEventListener(MouseEvent.MOUSE\_DOWN, playVideo); function playVideo(event.MouseEven…

---

## [Search function in Flash Template](https://forum.kirupa.com/t/search-function-in-flash-template/315893)

<div class="topic-metadata">

**Author:** [@worthless](https://forum.kirupa.com/u/worthless)\
**Replies:** 0\
**Last updated:** [November 7, 2010, 2:23am UTC](https://forum.kirupa.com/t/search-function-in-flash-template/315893 "2010-11-07T02:23:35Z")

</div>

Advise me how can I implement Search function in Flash Template / Website. I seek good tutorial and your wise advise. Regards Worthless

---

## [Please help - SendAndLoad problem](https://forum.kirupa.com/t/please-help-sendandload-problem/315892)

<div class="topic-metadata">

**Author:** [@wildliferescuer](https://forum.kirupa.com/u/wildliferescuer)\
**Replies:** 0\
**Last updated:** [November 7, 2010, 1:14am UTC](https://forum.kirupa.com/t/please-help-sendandload-problem/315892 "2010-11-07T01:14:51Z")

</div>

Please help I am trying to make a rss reader in flash using a php proxy to get the xml file from the external domain. The problem I have is I wish to send a variable url called 'url' thats used by the php to get the xml…

---

## [Loading random swf files](https://forum.kirupa.com/t/loading-random-swf-files/315891)

<div class="topic-metadata">

**Author:** [@Lotuseye](https://forum.kirupa.com/u/Lotuseye)\
**Replies:** 0\
**Last updated:** [November 7, 2010, 12:57am UTC](https://forum.kirupa.com/t/loading-random-swf-files/315891 "2010-11-07T00:57:17Z")

</div>

I have code that plays a random swf file from an array. stop(); var movieArray:Array = \['home lotus','recall','doors'\]; var loader:Loader = new Loader(); var index:int = movieArray.length \* Math.random(); var url:St…

---

## [Trying to add new buttons to 'slider tutorial'](https://forum.kirupa.com/t/trying-to-add-new-buttons-to-slider-tutorial/315890)

<div class="topic-metadata">

**Author:** [@scienceguy22](https://forum.kirupa.com/u/scienceguy22)\
**Replies:** 0\
**Last updated:** [November 7, 2010, 12:55am UTC](https://forum.kirupa.com/t/trying-to-add-new-buttons-to-slider-tutorial/315890 "2010-11-07T00:55:02Z")

</div>

I am doing the tutorial listed below.. http://www.kirupa.com/developer/mx2004/menu\_with\_slider.htm And I am trying to save time by opening the source file and changing it to support my pictures/etc. instead of start…

---

## [Remove duplicates of a movieclip](https://forum.kirupa.com/t/remove-duplicates-of-a-movieclip/315889)

<div class="topic-metadata">

**Author:** [@tracenewbie](https://forum.kirupa.com/u/tracenewbie)\
**Replies:** 0\
**Last updated:** [November 7, 2010, 12:09am UTC](https://forum.kirupa.com/t/remove-duplicates-of-a-movieclip/315889 "2010-11-07T00:09:42Z")

</div>

To remove duplicates of a movieclip, write this at the same place as your duplicate code: if( condition ){this.unloadMovie();}

---

## [MouseEvent.MOUSE\_DOWN works but MouseEvent.CLICK doesn't](https://forum.kirupa.com/t/mouseevent-mouse-down-works-but-mouseevent-click-doesnt/315886)

<div class="topic-metadata">

**Author:** [@wMattD](https://forum.kirupa.com/u/wMattD)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 10:42pm UTC](https://forum.kirupa.com/t/mouseevent-mouse-down-works-but-mouseevent-click-doesnt/315886 "2010-11-06T22:42:00Z")

</div>

I'm making a button for the first time, and I wanted to use a full click to drive it. However, when I use addEventListener(MouseEvent.CLICK, onClickHandler); nothing happens when I click on it. When I use (with the res…

---

## [ComboBox Selection to update a DataGrid..Please Help](https://forum.kirupa.com/t/combobox-selection-to-update-a-datagrid-please-help/315885)

<div class="topic-metadata">

**Author:** [@mjoel](https://forum.kirupa.com/u/mjoel)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 9:31pm UTC](https://forum.kirupa.com/t/combobox-selection-to-update-a-datagrid-please-help/315885 "2010-11-06T21:31:16Z")

</div>

Hello I am very new to ActionScript and I'am trying to create a Flex Application where users can select courses from a combo box based on the department that offers the course. The combo box has an XML variable as its d…

---

## [Send Variables one way from Flash to PHP, and then opening the PHP page](https://forum.kirupa.com/t/send-variables-one-way-from-flash-to-php-and-then-opening-the-php-page/315884)

<div class="topic-metadata">

**Author:** [@amr8521](https://forum.kirupa.com/u/amr8521)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 9:15pm UTC](https://forum.kirupa.com/t/send-variables-one-way-from-flash-to-php-and-then-opening-the-php-page/315884 "2010-11-06T21:15:50Z")

</div>

Hi. I want to send variables from my Flash (AS2) movie to a PHP file that would then process the variables and echo them, but echo in an HTML page. Basically, I want to make my Flash movie form the equivalent of an HTML …

---

## [Make movieclip B follow x-coordinate of movieclip A](https://forum.kirupa.com/t/make-movieclip-b-follow-x-coordinate-of-movieclip-a/315883)

<div class="topic-metadata">

**Author:** [@tracenewbie](https://forum.kirupa.com/u/tracenewbie)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 8:50pm UTC](https://forum.kirupa.com/t/make-movieclip-b-follow-x-coordinate-of-movieclip-a/315883 "2010-11-06T20:50:42Z")

</div>

Could someone give me advice on how to do this? This is what I want to do: //We have movieclip A and B --------------------\*\* ----------------------- -------\[A\]------------- //B is moving left, want to follow A's y…

---

## [DJ Beat Making App Problem](https://forum.kirupa.com/t/dj-beat-making-app-problem/315881)

<div class="topic-metadata">

**Author:** [@FelixT](https://forum.kirupa.com/u/FelixT)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 5:50pm UTC](https://forum.kirupa.com/t/dj-beat-making-app-problem/315881 "2010-11-06T17:50:30Z")

</div>

I am writing a DJ Beat Making Application but have a problem: when you click a button to play a sound, both the sounds start playing. Can anyone fix the problem? Link: http://wonderfl.net/c/1Ami Code: package { …

---

## [Collision Detection off by one pixel on left borders](https://forum.kirupa.com/t/collision-detection-off-by-one-pixel-on-left-borders/315880)

<div class="topic-metadata">

**Author:** [@wMattD](https://forum.kirupa.com/u/wMattD)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 4:59pm UTC](https://forum.kirupa.com/t/collision-detection-off-by-one-pixel-on-left-borders/315880 "2010-11-06T16:59:24Z")

</div>

My collision detection (using hitTestPoint) is giving false positives on the left side of objects. If I offset the points I'm testing by one to the right, the problem goes away. I've turned pixelSnapping to Always an…

---

## [Dynamic Text Box Height](https://forum.kirupa.com/t/dynamic-text-box-height/315878)

<div class="topic-metadata">

**Author:** [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 3:57pm UTC](https://forum.kirupa.com/t/dynamic-text-box-height/315878 "2010-11-06T15:57:59Z")

</div>

All, I'm trying to create a dynamic scroll bar and I bought a template and am trying to get this to work. Here is the code for the dynamic scroll bar: onClipEvent (load) { oldY = 1; Y = 1; vY = 0; newY = 0; mouse…

---

## [A library for making statistical graphs in as3?](https://forum.kirupa.com/t/a-library-for-making-statistical-graphs-in-as3/315877)

<div class="topic-metadata">

**Author:** [@Kreender](https://forum.kirupa.com/u/Kreender)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 2:31pm UTC](https://forum.kirupa.com/t/a-library-for-making-statistical-graphs-in-as3/315877 "2010-11-06T14:31:41Z")

</div>

Hi Does anyone know of a good library for making statistical graphs, such as histograms and box plots for as3. I've been looking but so far I haven't found anything really useful.

---

## [Reading HTML headers in AS3](https://forum.kirupa.com/t/reading-html-headers-in-as3/315875)

<div class="topic-metadata">

**Author:** [@sebswed](https://forum.kirupa.com/u/sebswed)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 12:24pm UTC](https://forum.kirupa.com/t/reading-html-headers-in-as3/315875 "2010-11-06T12:24:01Z")

</div>

Is it possible to read HTML headers in AS3? The header contains the following meta tag: \<meta name="language" content="en-GB" scheme="rfc1766" /\> The idea is to extract the following code into a variable to control t…

---

## [Error #1063: Argument count mismatch](https://forum.kirupa.com/t/error-1063-argument-count-mismatch/315874)

<div class="topic-metadata">

**Author:** [@FlashNewbie1000](https://forum.kirupa.com/u/FlashNewbie1000)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 10:32am UTC](https://forum.kirupa.com/t/error-1063-argument-count-mismatch/315874 "2010-11-06T10:32:38Z")

</div>

Hello everyone I have some supposedly simple code to control a component on the main timeline from a button within a movieclip on the timeline, which is resulting in: "Error #1063: Argument count mismatch on net.slides…

---

## [To see all code in editor setting please](https://forum.kirupa.com/t/to-see-all-code-in-editor-setting-please/315872)

<div class="topic-metadata">

**Author:** [@jaxz](https://forum.kirupa.com/u/jaxz)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 7:14am UTC](https://forum.kirupa.com/t/to-see-all-code-in-editor-setting-please/315872 "2010-11-06T07:14:12Z")

</div>

Hi all, my current issue is silly but very real. When working with AS3 in Flash CS4 the actual size of the window that I edit the code in does not show all my lines... Doing page down never reaches the final lines.. Is…

---

## [Automatically detect keyframes in the timeline from runtime AS3](https://forum.kirupa.com/t/automatically-detect-keyframes-in-the-timeline-from-runtime-as3/315870)

<div class="topic-metadata">

**Author:** [@psibaspace](https://forum.kirupa.com/u/psibaspace)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 6:27am UTC](https://forum.kirupa.com/t/automatically-detect-keyframes-in-the-timeline-from-runtime-as3/315870 "2010-11-06T06:27:09Z")

</div>

I want to detect when the playhead hits a keyframe without having to put a function call on the keyframe. If it hits multiple keyframes at the same time (ie keyframes on different layers) I'd want to know that too. I'd h…

---

## [How to Block IP in Windows server](https://forum.kirupa.com/t/how-to-block-ip-in-windows-server/315868)

<div class="topic-metadata">

**Author:** [@reni2040](https://forum.kirupa.com/u/reni2040)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 3:14am UTC](https://forum.kirupa.com/t/how-to-block-ip-in-windows-server/315868 "2010-11-06T03:14:36Z")

</div>

Hello guys, am hosting a website in www.webs.com. But they won't support .htaccess . So how can i block unwanted IPs there. Any other way to do it ?. Coding guys please help me...waiting for reply..thnx

---

## [Need super help on Music Game Application](https://forum.kirupa.com/t/need-super-help-on-music-game-application/315867)

<div class="topic-metadata">

**Author:** [@xyeight](https://forum.kirupa.com/u/xyeight)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 1:46am UTC](https://forum.kirupa.com/t/need-super-help-on-music-game-application/315867 "2010-11-06T01:46:45Z")

</div>

hi everyone. I've got this school project that needs me to implement a whole workable flash piano learning application. The thing is, we, the student just been thought of the basic flash. I have to submit this learnin…

---

## [Accessing a nested MC's frame when created by code](https://forum.kirupa.com/t/accessing-a-nested-mcs-frame-when-created-by-code/315865)

<div class="topic-metadata">

**Author:** [@spcow](https://forum.kirupa.com/u/spcow)\
**Replies:** 0\
**Last updated:** [November 6, 2010, 12:47am UTC](https://forum.kirupa.com/t/accessing-a-nested-mcs-frame-when-created-by-code/315865 "2010-11-06T00:47:19Z")

</div>

Good day, I have been searching for a resolution to this for weeks but to no avail. I have made a game already where I had a character names mainChar placed on the screen using the Flash IDE. With this method, i was able…

---

## [A pre-loader question](https://forum.kirupa.com/t/a-pre-loader-question/315864)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 10:09pm UTC](https://forum.kirupa.com/t/a-pre-loader-question/315864 "2010-11-05T22:09:49Z")

</div>

Here's my code: package { import flash.display.MovieClip; import flash.events.\*; import flash.text.TextField; public class Main extends MovieClip { var bar:Bar=new Bar; var ou…

---

## [Need text input to populate either a naughty or nice list](https://forum.kirupa.com/t/need-text-input-to-populate-either-a-naughty-or-nice-list/315862)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 9:26pm UTC](https://forum.kirupa.com/t/need-text-input-to-populate-either-a-naughty-or-nice-list/315862 "2010-11-05T21:26:25Z")

</div>

I am trying to figure out how to proceed. Obviously this is a christmas project.:?) The user will be presented with a text input to see whether their name is on the Naughty or Nice list at the North Pole. I would lik…

---

## [Send and save an image to the server without user interaction](https://forum.kirupa.com/t/send-and-save-an-image-to-the-server-without-user-interaction/315860)

<div class="topic-metadata">

**Author:** [@NikoAS3](https://forum.kirupa.com/u/NikoAS3)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 7:37pm UTC](https://forum.kirupa.com/t/send-and-save-an-image-to-the-server-without-user-interaction/315860 "2010-11-05T19:37:55Z")

</div>

With the FileReference class, it is quite easy to send an image to the server. But it requires user interaction. What if you need to send an image the user has drawn or captured form the webcam? Then send the data as …

---

## [CSS Sprites with AS3](https://forum.kirupa.com/t/css-sprites-with-as3/315858)

<div class="topic-metadata">

**Author:** [@NikoAS3](https://forum.kirupa.com/u/NikoAS3)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 7:34pm UTC](https://forum.kirupa.com/t/css-sprites-with-as3/315858 "2010-11-05T19:34:38Z")

</div>

My IconButton class extends the SimpleButton and works like CSS Sprites by slicing the given image and setting those slices as upState, overState and downState. The IconButton has one extra state: disabled. Read mor…

---

## [What can you do with Bitmap Data?](https://forum.kirupa.com/t/what-can-you-do-with-bitmap-data/315857)

<div class="topic-metadata">

**Author:** [@fantasticphil](https://forum.kirupa.com/u/fantasticphil)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 7:12pm UTC](https://forum.kirupa.com/t/what-can-you-do-with-bitmap-data/315857 "2010-11-05T19:12:32Z")

</div>

Hello, I imported a image file to my library and exported it for Actionscript. Which it created a new class that extends the bitmapdata class. Do I create an instance of that data and pass it to a sprite and add the…

---

## [The fastest possible 3D car physics](https://forum.kirupa.com/t/the-fastest-possible-3d-car-physics/315856)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [November 5, 2010, 6:46pm UTC](https://forum.kirupa.com/t/the-fastest-possible-3d-car-physics/315856 "2010-11-05T18:46:27Z")

</div>

Hello people, I'm working on car physics for my racing game at the moment, and I thought I would get some feedback from you, especially those that are somewhat performance or physics savvy. First of all, seeing as my…

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

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