# programming

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

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

**Page:** 123

---

## [OSX Path Environments](https://forum.kirupa.com/t/osx-path-environments/331068)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [May 8, 2013, 11:15am UTC](https://forum.kirupa.com/t/osx-path-environments/331068 "2013-05-08T11:15:58Z")

</div>

Hello - is this the right place to ask about my .bashrc file and correctly setting environment paths on osx!? Whats the difference between these setups for including scripts to my current shell? export PATH=$PATH:~/…

---

## [\[Flash8\] Help needed with as2](https://forum.kirupa.com/t/flash8-help-needed-with-as2/331067)

<div class="topic-metadata">

**Author:** [@BigEnglisHoward](https://forum.kirupa.com/u/BigEnglisHoward)\
**Replies:** 0\
**Last updated:** [May 7, 2013, 3:09pm UTC](https://forum.kirupa.com/t/flash8-help-needed-with-as2/331067 "2013-05-07T15:09:49Z")

</div>

I've a feeling this is a simple one. I have a number of buttons for which I generate very similar functions, for instance the machineW1 button generates a function which contains introduceMachine(1), machineW2 button is …

---

## [Loading bitmap and change aspect ration](https://forum.kirupa.com/t/loading-bitmap-and-change-aspect-ration/331065)

<div class="topic-metadata">

**Author:** [@cledus](https://forum.kirupa.com/u/cledus)\
**Replies:** 0\
**Last updated:** [May 7, 2013, 2:44pm UTC](https://forum.kirupa.com/t/loading-bitmap-and-change-aspect-ration/331065 "2013-05-07T14:44:27Z")

</div>

Hi! Is it possible to first create a square var myBitmapDataObject:BitmapData = new BitmapData(1024, 1024, false, 0xFFFFFF); then load a image and draw it on top of the same BitmapData to create a square Bitmap…

---

## [Why can the car still drive through the walls?](https://forum.kirupa.com/t/why-can-the-car-still-drive-through-the-walls/331064)

<div class="topic-metadata">

**Author:** [@gurre](https://forum.kirupa.com/u/gurre)\
**Replies:** 0\
**Last updated:** [May 7, 2013, 7:42am UTC](https://forum.kirupa.com/t/why-can-the-car-still-drive-through-the-walls/331064 "2013-05-07T07:42:29Z")

</div>

Hello, I'm making a simple cargame and I try to fix the collision detection right now. I have kind of fixed so the car slows down when touching walls and if you touch the walls, it rotates with 5. Here is all my code: h…

---

## [Need to use flash vars to name file in php](https://forum.kirupa.com/t/need-to-use-flash-vars-to-name-file-in-php/331063)

<div class="topic-metadata">

**Author:** [@aphexhx](https://forum.kirupa.com/u/aphexhx)\
**Replies:** 0\
**Last updated:** [May 7, 2013, 3:20am UTC](https://forum.kirupa.com/t/need-to-use-flash-vars-to-name-file-in-php/331063 "2013-05-07T03:20:07Z")

</div>

hello, I'm having issues setting a file name for an flv in PHP using flash vars . I've tried multiple methods and nothing works. I believe the issue to be with how the data is sent to php, using urlLoader.dataFormat = UR…

---

## [Disabling Touch Gestures?](https://forum.kirupa.com/t/disabling-touch-gestures/331060)

<div class="topic-metadata">

**Author:** [@Kritter5x](https://forum.kirupa.com/u/Kritter5x)\
**Replies:** 0\
**Last updated:** [May 6, 2013, 9:30am UTC](https://forum.kirupa.com/t/disabling-touch-gestures/331060 "2013-05-06T09:30:55Z")

</div>

\[COLOR=#333333\]\[FONT=Verdana\]Hi,\[/FONT\]\[/COLOR\] \[COLOR=#333333\]\[FONT=Verdana\]I am using some of the code in one of the default templates in Air for Android. Using the code, you can swipe the screen left or right and it…

---

## [Rotate a Duplicated Movieclip](https://forum.kirupa.com/t/rotate-a-duplicated-movieclip/331056)

<div class="topic-metadata">

**Author:** [@kevinfbradley](https://forum.kirupa.com/u/kevinfbradley)\
**Replies:** 0\
**Last updated:** [May 5, 2013, 2:31pm UTC](https://forum.kirupa.com/t/rotate-a-duplicated-movieclip/331056 "2013-05-05T14:31:03Z")

</div>

\[LEFT\]\[COLOR=#333333\]\[FONT=adobe-clean\]I am trying to finish a small project and am having trouble continuosly rotating a duplicated movieclip via a button. It will rotate by clicking the button; however, I have it set t…

---

## [Problem with as 3 slider when swf calling in a container movieclip](https://forum.kirupa.com/t/problem-with-as-3-slider-when-swf-calling-in-a-container-movieclip/331053)

<div class="topic-metadata">

**Author:** [@Kadir\_Khan](https://forum.kirupa.com/u/Kadir_Khan)\
**Replies:** 0\
**Last updated:** [May 4, 2013, 8:59am UTC](https://forum.kirupa.com/t/problem-with-as-3-slider-when-swf-calling-in-a-container-movieclip/331053 "2013-05-04T08:59:39Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Hi Friends, \[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]I have been working on this code for a weak, but I am not able to fix the issues. I have written a code for a slider which control a…

---

## [Cloning Class Instance](https://forum.kirupa.com/t/cloning-class-instance/331051)

<div class="topic-metadata">

**Author:** [@selacius](https://forum.kirupa.com/u/selacius)\
**Replies:** 0\
**Last updated:** [May 4, 2013, 1:51am UTC](https://forum.kirupa.com/t/cloning-class-instance/331051 "2013-05-04T01:51:33Z")

</div>

I am wondering how I can go about "cloning" a class and then breaking the association between the two. For further example: Class A = instance of class to be used as a default. Class B = clone of Class A, with exact sa…

---

## [Hello dear](https://forum.kirupa.com/t/hello-dear/331049)

<div class="topic-metadata">

**Author:** [@jamesmartin123](https://forum.kirupa.com/u/jamesmartin123)\
**Replies:** 0\
**Last updated:** [May 3, 2013, 5:01pm UTC](https://forum.kirupa.com/t/hello-dear/331049 "2013-05-03T17:01:41Z")

</div>

Can you suggest me some basic tips about flash which help to make me the website also will discuss about flip book role in them? \[TABLE="width: 290"\] \[TR\] \[TD="class: xl64, width: 290"\]\[Flipbook Booth \](http://thefl…

---

## [Capsule intersection](https://forum.kirupa.com/t/capsule-intersection/331047)

<div class="topic-metadata">

**Author:** [@Viper87](https://forum.kirupa.com/u/Viper87)\
**Replies:** 0\
**Last updated:** [May 3, 2013, 2:40pm UTC](https://forum.kirupa.com/t/capsule-intersection/331047 "2013-05-03T14:40:49Z")

</div>

Hello, I need a method that returns the intersection points of two capsule shapes (actually, two lines with a radius): \[image\] Could a simple line-line intersection method work? Thanks already!

---

## [Keeping an mc from being affected by AS](https://forum.kirupa.com/t/keeping-an-mc-from-being-affected-by-as/331044)

<div class="topic-metadata">

**Author:** [@David\_Fiorini](https://forum.kirupa.com/u/David_Fiorini)\
**Replies:** 0\
**Last updated:** [May 2, 2013, 11:32pm UTC](https://forum.kirupa.com/t/keeping-an-mc-from-being-affected-by-as/331044 "2013-05-02T23:32:41Z")

</div>

Hi I have an actionscript that turns my stage into squigglevision. The problem is, it puts EVERYTHING in squigglevision and I would like to have the movieclip unaffected by the actionscript. https://github.com/eug-/…

---

## [Accessing the Webcam in HTML5](https://forum.kirupa.com/t/accessing-the-webcam-in-html5/331042)

<div class="topic-metadata">

**Author:** [@PatrickG](https://forum.kirupa.com/u/PatrickG)\
**Replies:** 0\
**Last updated:** [May 2, 2013, 9:15am UTC](https://forum.kirupa.com/t/accessing-the-webcam-in-html5/331042 "2013-05-02T09:15:33Z")

</div>

Dear people , i have some question i saw this code http://www.kirupa.com/html5/accessing\_your\_webcam\_in\_html5.htm to show your webcam my question is how do you stream your webcam in html5 so other people can see yo…

---

## [Hit Test Object issue](https://forum.kirupa.com/t/hit-test-object-issue/331039)

<div class="topic-metadata">

**Author:** [@BindleStick](https://forum.kirupa.com/u/BindleStick)\
**Replies:** 0\
**Last updated:** [May 1, 2013, 4:39pm UTC](https://forum.kirupa.com/t/hit-test-object-issue/331039 "2013-05-01T16:39:53Z")

</div>

I have tiles generated on the screen and I have a square bitmap that represents the player, which is the size of the tile(or slightly bigger) so it can register whether it is hitting the tile completely. I'm having a pro…

---

## [Get information out of a inputfield](https://forum.kirupa.com/t/get-information-out-of-a-inputfield/331037)

<div class="topic-metadata">

**Author:** [@Enza89](https://forum.kirupa.com/u/Enza89)\
**Replies:** 0\
**Last updated:** [May 1, 2013, 12:00pm UTC](https://forum.kirupa.com/t/get-information-out-of-a-inputfield/331037 "2013-05-01T12:00:04Z")

</div>

Hello, I am building a prototype of a little game and I'm having trouble to make it work. The game has to work the following: The player clicks an object and a input field is enabled. The player fills in the right word…

---

## [Hit Test and Snap to Target](https://forum.kirupa.com/t/hit-test-and-snap-to-target/331036)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [May 1, 2013, 4:31am UTC](https://forum.kirupa.com/t/hit-test-and-snap-to-target/331036 "2013-05-01T04:31:15Z")

</div>

I would like for a movie clip to only snap to grind points that detected the hit test. Here is my attempt.... var intXPos:Number = box.x var intYPos:Number = box.y myPoint.addEventListener(MouseEvent.MOUSE\_DOWN, sta…

---

## [AS2 - Getting a function to "see" a string variable](https://forum.kirupa.com/t/as2-getting-a-function-to-see-a-string-variable/331035)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [April 30, 2013, 6:32pm UTC](https://forum.kirupa.com/t/as2-getting-a-function-to-see-a-string-variable/331035 "2013-04-30T18:32:43Z")

</div>

I'm trying to simplify some code by writing a block of code using a string variable, and then using that function at various places on a timeline where slideshows need to appear. Each slideshow is named for the date thin…

---

## [First post - AS3 Arrow Keys not looping my walk cycle](https://forum.kirupa.com/t/first-post-as3-arrow-keys-not-looping-my-walk-cycle/331033)

<div class="topic-metadata">

**Author:** [@MBockus](https://forum.kirupa.com/u/MBockus)\
**Replies:** 0\
**Last updated:** [April 30, 2013, 3:02am UTC](https://forum.kirupa.com/t/first-post-as3-arrow-keys-not-looping-my-walk-cycle/331033 "2013-04-30T03:02:32Z")

</div>

Hello People, This is my first post here. I am currently trying to make a flash based game. In my codes below line of code: if(RightKeyisDown) { Jason.x+=speed; Jason.scaleX =0.63; Jason.gotoAndStop(2); …

---

## [EsleJS - Screen Divisions](https://forum.kirupa.com/t/eslejs-screen-divisions/331031)

<div class="topic-metadata">

**Author:** [@SoupHead](https://forum.kirupa.com/u/SoupHead)\
**Replies:** 0\
**Last updated:** [April 29, 2013, 3:47pm UTC](https://forum.kirupa.com/t/eslejs-screen-divisions/331031 "2013-04-29T15:47:09Z")

</div>

Alright, hello this is SoupHead, and I have a few questions for which I want suggestions (rhyming, tee hee). Anyway, until recently I have been attempting to develop a game with Java for Android. I've been having a sl…

---

## [Parse Text/csv/xml file without webserver](https://forum.kirupa.com/t/parse-text-csv-xml-file-without-webserver/331028)

<div class="topic-metadata">

**Author:** [@sibijm](https://forum.kirupa.com/u/sibijm)\
**Replies:** 0\
**Last updated:** [April 29, 2013, 11:33am UTC](https://forum.kirupa.com/t/parse-text-csv-xml-file-without-webserver/331028 "2013-04-29T11:33:47Z")

</div>

Dear Friends, Is there any way to parse and display data from Tezt/csv/xml file without a webserver. if anyone knows the solution please help me out. Thanks Sibi

---

## [Tutorial: Animating with Easing Functions in JavaScript](https://forum.kirupa.com/t/tutorial-animating-with-easing-functions-in-javascript/331024)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [April 29, 2013, 1:54am UTC](https://forum.kirupa.com/t/tutorial-animating-with-easing-functions-in-javascript/331024 "2013-04-29T01:54:46Z")

</div>

\[COLOR=#333333\]\[COLOR=#333333\]\[COLOR=#333333\]Hi everyone,\[/COLOR\]\[/COLOR\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]\[COLOR=#333333\]This is THE place all of the cool kids hang out to discuss the Animating with Easing Function…

---

## [Introducing Starling: Free ebook from O'Reilly](https://forum.kirupa.com/t/introducing-starling-free-ebook-from-oreilly/331023)

<div class="topic-metadata">

**Author:** [@kadaj](https://forum.kirupa.com/u/kadaj)\
**Replies:** 0\
**Last updated:** [April 28, 2013, 8:40pm UTC](https://forum.kirupa.com/t/introducing-starling-free-ebook-from-oreilly/331023 "2013-04-28T20:40:16Z")

</div>

In case you didn't know, Introducing Starling by Thibault Imbert which is published for free by O'Reilly is available at http://shop.oreilly.com/product/0636920024217.do \[image\]

---

## [Custom Component](https://forum.kirupa.com/t/custom-component/331021)

<div class="topic-metadata">

**Author:** [@DeadlyDude](https://forum.kirupa.com/u/DeadlyDude)\
**Replies:** 0\
**Last updated:** [April 28, 2013, 3:23am UTC](https://forum.kirupa.com/t/custom-component/331021 "2013-04-28T03:23:31Z")

</div>

How to know if your custom component is added to stage...... Please give some good link for custom component tutorials.

---

## [Transparency Issue - Bitmap.copyPixels](https://forum.kirupa.com/t/transparency-issue-bitmap-copypixels/331017)

<div class="topic-metadata">

**Author:** [@simranzenov](https://forum.kirupa.com/u/simranzenov)\
**Replies:** 0\
**Last updated:** [April 27, 2013, 12:57am UTC](https://forum.kirupa.com/t/transparency-issue-bitmap-copypixels/331017 "2013-04-27T00:57:29Z")

</div>

For some reason I can't seem to get it to work. The transparent pixels are showing up as solid white. Any ideas? :ponder: private function getTileFromSheet (s:Number):Bitmap { var tsize:int = 32; var sheet:Bitma…

---

## [Hello Everybody](https://forum.kirupa.com/t/hello-everybody/331014)

<div class="topic-metadata">

**Author:** [@jamesmartin123](https://forum.kirupa.com/u/jamesmartin123)\
**Replies:** 0\
**Last updated:** [April 26, 2013, 2:50pm UTC](https://forum.kirupa.com/t/hello-everybody/331014 "2013-04-26T14:50:17Z")

</div>

I need some latest and colorful flip book event and pictures?I will looking forward to your response? \[TABLE="width: 290"\] \[TR\] \[TD="class: xl64, width: 290"\]\[Flipbook Event\](http://theflipbookstudio.com/flipbook-we…

---

## [Designing a gambling app](https://forum.kirupa.com/t/designing-a-gambling-app/331008)

<div class="topic-metadata">

**Author:** [@ilias\_kafetzaki](https://forum.kirupa.com/u/ilias_kafetzaki)\
**Replies:** 0\
**Last updated:** [April 25, 2013, 11:35pm UTC](https://forum.kirupa.com/t/designing-a-gambling-app/331008 "2013-04-25T23:35:08Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]I have dug up some old work and would like to create a gambling app from it. I have started redesigning with adobe flash, illustrator etc software. I was wondering how do I use a cash system pr…

---

## [Help Optimizing Code](https://forum.kirupa.com/t/help-optimizing-code/331007)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [April 25, 2013, 10:18pm UTC](https://forum.kirupa.com/t/help-optimizing-code/331007 "2013-04-25T22:18:39Z")

</div>

Is there a way for me to optimize this code? At the current rate it slows my computer all the way down... there has to be a better way. Perhaps a substitute for enterFrame? Problematic Code: stage.addEventListener(…

---

## [Need Help in creating Parallax effect : URGENT](https://forum.kirupa.com/t/need-help-in-creating-parallax-effect-urgent/331004)

<div class="topic-metadata">

**Author:** [@Eunice\_Dhivya](https://forum.kirupa.com/u/Eunice_Dhivya)\
**Replies:** 0\
**Last updated:** [April 25, 2013, 1:19pm UTC](https://forum.kirupa.com/t/need-help-in-creating-parallax-effect-urgent/331004 "2013-04-25T13:19:38Z")

</div>

Hi, I am completely new in using As3 and any programming in general. I have a document (768(px) X 1024(px)) with a container Movie clip on the stage. The container has two layers named smoke-BG and Items. On Mouse dow…

---

## [Embed video in Flash AS3 Xml Template](https://forum.kirupa.com/t/embed-video-in-flash-as3-xml-template/330998)

<div class="topic-metadata">

**Author:** [@trnghosh](https://forum.kirupa.com/u/trnghosh)\
**Replies:** 0\
**Last updated:** [April 23, 2013, 6:29pm UTC](https://forum.kirupa.com/t/embed-video-in-flash-as3-xml-template/330998 "2013-04-23T18:29:24Z")

</div>

Hello I have a flash AS3 template controlled through xml. Can anyone tell me whether we could have embeded videos and have a pop up box once a video has been selected. If so can you please tell me how can I do this o…

---

## [colorTransform - change color without losing highlights?](https://forum.kirupa.com/t/colortransform-change-color-without-losing-highlights/330996)

<div class="topic-metadata">

**Author:** [@cakepizza](https://forum.kirupa.com/u/cakepizza)\
**Replies:** 0\
**Last updated:** [April 23, 2013, 4:11pm UTC](https://forum.kirupa.com/t/colortransform-change-color-without-losing-highlights/330996 "2013-04-23T16:11:49Z")

</div>

I have an animation of some liquid and I want it to be able to dynamically change color to any color the user chooses. The liquid has white highlights in it like light is hitting it. If I play with the "adjust color" f…

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

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