# programming

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

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

**Page:** 408

---

## [Button nested inside 2 movieclips not working](https://forum.kirupa.com/t/button-nested-inside-2-movieclips-not-working/314482)

<div class="topic-metadata">

**Author:** [@nhilez](https://forum.kirupa.com/u/nhilez)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 9:13pm UTC](https://forum.kirupa.com/t/button-nested-inside-2-movieclips-not-working/314482 "2010-09-29T21:13:51Z")

</div>

I have a button that is inside a movieclip, which is in turn inside another movieclip. It seems that my event listener is not firing when the button is clicked. I set up the listener: MovieClip2.MovieClip1.ButtonIns…

---

## [Flash running locally accessing XML](https://forum.kirupa.com/t/flash-running-locally-accessing-xml/314479)

<div class="topic-metadata">

**Author:** [@theonlycarmire](https://forum.kirupa.com/u/theonlycarmire)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 8:42pm UTC](https://forum.kirupa.com/t/flash-running-locally-accessing-xml/314479 "2010-09-29T20:42:48Z")

</div>

I'm having the hardest time with this. I want to test this site locally. When I publish my Flash file, it loads up the XML file just fine. When I run it in a browser, however, it doesn't load up the XML file. I've foun…

---

## [Why does my button use disappear?](https://forum.kirupa.com/t/why-does-my-button-use-disappear/314477)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 7:39pm UTC](https://forum.kirupa.com/t/why-does-my-button-use-disappear/314477 "2010-09-29T19:39:49Z")

</div>

So I'm creating this flash game for our company's 2010 halloween greeting card and I'm having some problems. All it is is an swf that has balloons randomly moving upward. Each balloon is a movie clip that has another "…

---

## [CONTAINS CLAUSE PROBLEM (PHP Version 5.2.10)](https://forum.kirupa.com/t/contains-clause-problem-php-version-5-2-10/314475)

<div class="topic-metadata">

**Author:** [@energy](https://forum.kirupa.com/u/energy)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 7:11pm UTC](https://forum.kirupa.com/t/contains-clause-problem-php-version-5-2-10/314475 "2010-09-29T19:11:10Z")

</div>

Hi guys, I am not sure whats wrong with this CONTAINS clause. EXAMPLE - TABLE NAME scores \*\*FIELDS -\> VALUES \*\* UserName -\> amep VALUE -\> 12 UserName -\> b221 VALUE -\> 10 I am executing the…

---

## [Mouse Click with Keypress](https://forum.kirupa.com/t/mouse-click-with-keypress/314474)

<div class="topic-metadata">

**Author:** [@griff\_kasier](https://forum.kirupa.com/u/griff_kasier)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 5:36pm UTC](https://forum.kirupa.com/t/mouse-click-with-keypress/314474 "2010-09-29T17:36:28Z")

</div>

While creating an application, I ran into a unique question. I did some research and understand KeyboardEvent and MouseEvent separately, but how would I code them to be dependent on each other? For example: Let's sa…

---

## [Functioning in Flash player 5 not in 8 - same AS1](https://forum.kirupa.com/t/functioning-in-flash-player-5-not-in-8-same-as1/314471)

<div class="topic-metadata">

**Author:** [@Deepak\_Pachiann](https://forum.kirupa.com/u/Deepak_Pachiann)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 3:27pm UTC](https://forum.kirupa.com/t/functioning-in-flash-player-5-not-in-8-same-as1/314471 "2010-09-29T15:27:17Z")

</div>

I have the file which plays my need smoothly as i wish but only in publish settings of Flash player 5 in AS1.But in same i didn't have the option like Text (Anti-alias for readability) and the quality of the output also …

---

## [Audio stream in AS3](https://forum.kirupa.com/t/audio-stream-in-as3/314470)

<div class="topic-metadata">

**Author:** [@Sickgrin](https://forum.kirupa.com/u/Sickgrin)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 3:17pm UTC](https://forum.kirupa.com/t/audio-stream-in-as3/314470 "2010-09-29T15:17:36Z")

</div>

In AS3 what's the proper way to play a live audio-only stream? I know in AS2 you could bind the stream to a movieclip: someMovieClip.attachAudio(someNetStream); var sound:Sound = new Sound(someMovieClip); And for v…

---

## [Simulate pen tool behaviour with code](https://forum.kirupa.com/t/simulate-pen-tool-behaviour-with-code/314468)

<div class="topic-metadata">

**Author:** [@spectator](https://forum.kirupa.com/u/spectator)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 12:52pm UTC](https://forum.kirupa.com/t/simulate-pen-tool-behaviour-with-code/314468 "2010-09-29T12:52:56Z")

</div>

Hello :). I am wondering how I can simulate pen tool functionality with code. The problem is that if I use this simple code var pencilDraw:Shape = new Shape(); var firstPointX:int; var firstPointY:int; var firstPoint…

---

## [What do you use the Flash Professional IDE for?](https://forum.kirupa.com/t/what-do-you-use-the-flash-professional-ide-for/314462)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 12:07pm UTC](https://forum.kirupa.com/t/what-do-you-use-the-flash-professional-ide-for/314462 "2010-09-29T12:07:43Z")

</div>

Time for another friendly neighborhood poll (just to satisfy my curiosity). NOTE: This is asking what features do you use semi-regularly in Flash Professional (like CS3, CS4, or CS5), and not why you use Flash in gener…

---

## [How to convert DVD/Video to Dell Aero, new iPod, Sony Walkman MP4，AVI and other devic](https://forum.kirupa.com/t/how-to-convert-dvd-video-to-dell-aero-new-ipod-sony-walkman-mp4-avi-and-other-devic/314460)

<div class="topic-metadata">

**Author:** [@cowwinter](https://forum.kirupa.com/u/cowwinter)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 10:19am UTC](https://forum.kirupa.com/t/how-to-convert-dvd-video-to-dell-aero-new-ipod-sony-walkman-mp4-avi-and-other-devic/314460 "2010-09-29T10:19:57Z")

</div>

With the development of technology, several of media portable players emerged and have enriched our daily life greatly. We enjoy our favorite movies and music with all kinds of portable players such as iPod, iPhone, Zune…

---

## [Buttons: Make MovieClip play faster/slower, rotate, reset](https://forum.kirupa.com/t/buttons-make-movieclip-play-faster-slower-rotate-reset/314458)

<div class="topic-metadata">

**Author:** [@anhpham](https://forum.kirupa.com/u/anhpham)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 9:44am UTC](https://forum.kirupa.com/t/buttons-make-movieclip-play-faster-slower-rotate-reset/314458 "2010-09-29T09:44:35Z")

</div>

HI all, I need the code for button that makes movie clip: 1.play faster and slower 2.rotate 3.reset I need the code that make movie clip change its color automatically and randomly any help, appreciateddddd

---

## [Accordion reverse effect flash advice link](https://forum.kirupa.com/t/accordion-reverse-effect-flash-advice-link/314456)

<div class="topic-metadata">

**Author:** [@mihaispr](https://forum.kirupa.com/u/mihaispr)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 7:16am UTC](https://forum.kirupa.com/t/accordion-reverse-effect-flash-advice-link/314456 "2010-09-29T07:16:49Z")

</div>

Hi everyone and thanks for your time in reading my question! Can someone guide me how can be done a reverse accordion effect . It means when I mouseover left the image slides right , when I mouseover right the image …

---

## [\[cs4\] array.indexOf(\[1,2\]) = -1?](https://forum.kirupa.com/t/cs4-array-indexof-1-2-1/314454)

<div class="topic-metadata">

**Author:** [@mothmann](https://forum.kirupa.com/u/mothmann)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 4:54am UTC](https://forum.kirupa.com/t/cs4-array-indexof-1-2-1/314454 "2010-09-29T04:54:04Z")

</div>

sure its been asked before but I cannot find it via google or forum search. So i have a 2d array. ar1\[0\]=\[1,2\] ar1\[1\]=\[3,4\] this doesn't work obviously ar1.indexOf(\[1,2\]); neither does any version of that i can t…

---

## [Trying to add Intro Screen with a screenHandler](https://forum.kirupa.com/t/trying-to-add-intro-screen-with-a-screenhandler/314453)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 1:41am UTC](https://forum.kirupa.com/t/trying-to-add-intro-screen-with-a-screenhandler/314453 "2010-09-29T01:41:29Z")

</div>

Im trying to get my screen handler to work with transition(probably 2 early fortransitions) but here is the order: preloader (working) remove preloader (working) start screenHandler (working) makeNewScreen() in ScreenH…

---

## [Mooslide - insert a link?](https://forum.kirupa.com/t/mooslide-insert-a-link/314450)

<div class="topic-metadata">

**Author:** [@Desola](https://forum.kirupa.com/u/Desola)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 11:54pm UTC](https://forum.kirupa.com/t/mooslide-insert-a-link/314450 "2010-09-28T23:54:51Z")

</div>

Hey y'all. This is driving me mad, I've been hatching eggs in front of the computer for days now searching for a good "gallery-like" script to display my websites. What i am looking for is something similar to this: http…

---

## [\#1063 Argument Mismatch 0 got 1](https://forum.kirupa.com/t/1063-argument-mismatch-0-got-1/314449)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 11:48pm UTC](https://forum.kirupa.com/t/1063-argument-mismatch-0-got-1/314449 "2010-09-28T23:48:46Z")

</div>

ArgumentError: Error #1063: Argument count mismatch on ScreenHandler/makeNewScreen(). Expected 0, got 1. So above is the error I get. I think its getting the boolean I pass to the switch screen function but I don't kno…

---

## [Deleting a primary key with a foreign key attached](https://forum.kirupa.com/t/deleting-a-primary-key-with-a-foreign-key-attached/314448)

<div class="topic-metadata">

**Author:** [@tic](https://forum.kirupa.com/u/tic)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 10:56pm UTC](https://forum.kirupa.com/t/deleting-a-primary-key-with-a-foreign-key-attached/314448 "2010-09-28T22:56:30Z")

</div>

Hi. I have a question. If i do something like this Delete from writers where id = '1' I get errir #1451 - cannot delete or update a parent row: a foreign key constraint fails. ('library'. 'review', CONSTRAINT 'fk\_…

---

## [Fast 3D sphere to triangle collision demo](https://forum.kirupa.com/t/fast-3d-sphere-to-triangle-collision-demo/314447)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 10:54pm UTC](https://forum.kirupa.com/t/fast-3d-sphere-to-triangle-collision-demo/314447 "2010-09-28T22:54:38Z")

</div>

Hi people, I'm about to properly start work on my first game, but before I do I'm just posting this demo showcasing a few things. The main thing being 3D sphere to triangle collision detection. Also some basic dynamic …

---

## [Drag and Drop interface](https://forum.kirupa.com/t/drag-and-drop-interface/314445)

<div class="topic-metadata">

**Author:** [@dfchafin1](https://forum.kirupa.com/u/dfchafin1)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 9:06pm UTC](https://forum.kirupa.com/t/drag-and-drop-interface/314445 "2010-09-28T21:06:16Z")

</div>

I need to create something like this simple game. I need to be a able to drag and drop different elements. I can do all the drag and drop but i can bring up new menu items without effecting the current one on the screen.…

---

## [\[AS3\] Frames and Classes](https://forum.kirupa.com/t/as3-frames-and-classes/314443)

<div class="topic-metadata">

**Author:** [@mvrb](https://forum.kirupa.com/u/mvrb)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 7:58pm UTC](https://forum.kirupa.com/t/as3-frames-and-classes/314443 "2010-09-28T19:58:28Z")

</div>

Hello everyone. I have a bit of a problem here... I'm creating a Box2D game, so I'm using Document Classes, but I just added a second frame in the main timeline, but I have no idea how to stop that frame from playing? "s…

---

## [FLASH gotoAndPlay Based On Html Page](https://forum.kirupa.com/t/flash-gotoandplay-based-on-html-page/314440)

<div class="topic-metadata">

**Author:** [@illstar](https://forum.kirupa.com/u/illstar)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 7:07pm UTC](https://forum.kirupa.com/t/flash-gotoandplay-based-on-html-page/314440 "2010-09-28T19:07:38Z")

</div>

Hello! I am trying to have my flash movie go to a different frame based on which html page its on within a website. Site: http://www.malcolmjenkins27.com/v2/ so for instance...i would like to show a different flash…

---

## [What is the best way to stream an Flv?](https://forum.kirupa.com/t/what-is-the-best-way-to-stream-an-flv/314438)

<div class="topic-metadata">

**Author:** [@KateH](https://forum.kirupa.com/u/KateH)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 6:47pm UTC](https://forum.kirupa.com/t/what-is-the-best-way-to-stream-an-flv/314438 "2010-09-28T18:47:26Z")

</div>

Hello, I'm trying to stream a .flv from my host which is godaddy and it is supper Skippy. Is there something I need to tell them to do to make it play smoother. Or is there another service provider I should be looking …

---

## [Drag and drop question](https://forum.kirupa.com/t/drag-and-drop-question/314437)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 6:38pm UTC](https://forum.kirupa.com/t/drag-and-drop-question/314437 "2010-09-28T18:38:42Z")

</div>

I am making a simple quiz type drag and drop where the user drags a word to a fill-in-the-blank area and the word fills-in. All the text is coming from an xml file. I plan on using (unless advised otherwise) "id" attribu…

---

## [Stop flash pro from publishing when saving in flash builder](https://forum.kirupa.com/t/stop-flash-pro-from-publishing-when-saving-in-flash-builder/314435)

<div class="topic-metadata">

**Author:** [@Geki](https://forum.kirupa.com/u/Geki)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 5:09pm UTC](https://forum.kirupa.com/t/stop-flash-pro-from-publishing-when-saving-in-flash-builder/314435 "2010-09-28T17:09:15Z")

</div>

Hey, I have this problem. I am using flash builder as my code editor and flash IDE as the compiler. But every time I save (ctrl+s) in flash builder flash pro starts to publish. This is extremely annoying because I am u…

---

## [Show/Hide movieclip](https://forum.kirupa.com/t/show-hide-movieclip/314434)

<div class="topic-metadata">

**Author:** [@zerokvl](https://forum.kirupa.com/u/zerokvl)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 3:39pm UTC](https://forum.kirupa.com/t/show-hide-movieclip/314434 "2010-09-28T15:39:44Z")

</div>

Hi there.First i want to sorry for my bad language.I am new in AS3 and i need a little help.I just did a button and 3 movieclips.What i want? Well, when i click on the button to change the movieclips. click 1 = movieclip…

---

## [Background image behind flash](https://forum.kirupa.com/t/background-image-behind-flash/314433)

<div class="topic-metadata">

**Author:** [@skelcher1991](https://forum.kirupa.com/u/skelcher1991)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 3:35pm UTC](https://forum.kirupa.com/t/background-image-behind-flash/314433 "2010-09-28T15:35:28Z")

</div>

Hello guys, i am creating a website for a personal trainer and i am having problems with the white background behind the flash website. i have just started so need extreme help at the moment. how do i change the backgrou…

---

## [BitmapData.paletteMap How do the alphas work?](https://forum.kirupa.com/t/bitmapdata-palettemap-how-do-the-alphas-work/314431)

<div class="topic-metadata">

**Author:** [@Wedge\_Man](https://forum.kirupa.com/u/Wedge_Man)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 1:58pm UTC](https://forum.kirupa.com/t/bitmapdata-palettemap-how-do-the-alphas-work/314431 "2010-09-28T13:58:04Z")

</div>

Hi All, So I'm using the bitmapData.paletteMap function to turn a greyscale image into a colorized image. Colorizing the image works fine with my red, green, and blue arrays. However when i try and add in the alph…

---

## [Loop Loops?](https://forum.kirupa.com/t/loop-loops/314430)

<div class="topic-metadata">

**Author:** [@Uli](https://forum.kirupa.com/u/Uli)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 1:47pm UTC](https://forum.kirupa.com/t/loop-loops/314430 "2010-09-28T13:47:42Z")

</div>

Hello! This is a weird concept i know but there is something i was wondering if possible.. Say i look for some variable using a multi level loops such as for(var i = 0 ; i \< something ; i++){ for(var j = 0 ; j \< …

---

## [Font display problem - swf within an swf](https://forum.kirupa.com/t/font-display-problem-swf-within-an-swf/314425)

<div class="topic-metadata">

**Author:** [@troyt](https://forum.kirupa.com/u/troyt)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 11:14am UTC](https://forum.kirupa.com/t/font-display-problem-swf-within-an-swf/314425 "2010-09-28T11:14:09Z")

</div>

I’m modifying a project written in Flash MX and Actionscript2. This consists of a main swf file in which another is embedded. The inner swf generates text fields dynamically in as2 using fonts embedded in the flash doc…

---

## [How to Rip DVD to AVI/WMV/FLV/MP4/MPG/MP3/AAC/WMA/WAV...(Windows/Mac)](https://forum.kirupa.com/t/how-to-rip-dvd-to-avi-wmv-flv-mp4-mpg-mp3-aac-wma-wav-windows-mac/314424)

<div class="topic-metadata">

**Author:** [@facintorg](https://forum.kirupa.com/u/facintorg)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 11:07am UTC](https://forum.kirupa.com/t/how-to-rip-dvd-to-avi-wmv-flv-mp4-mpg-mp3-aac-wma-wav-windows-mac/314424 "2010-09-28T11:07:03Z")

</div>

DVD is becoming more and more popular now. Some people want to rip their dvd to popular video so as to enjoy dvd movie on iPod, iPhone, PSP, Zune, Zen, Mobile Phone, Sansa, Xbox, iRiver and other portable devides. This…

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

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