# programming

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

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

**Page:** 323

---

## [Slow response to gestures on Android devices](https://forum.kirupa.com/t/slow-response-to-gestures-on-android-devices/319619)

<div class="topic-metadata">

**Author:** [@pcehnaids](https://forum.kirupa.com/u/pcehnaids)\
**Replies:** 0\
**Last updated:** [February 26, 2011, 6:43pm UTC](https://forum.kirupa.com/t/slow-response-to-gestures-on-android-devices/319619 "2011-02-26T18:43:32Z")

</div>

I have created an as3 program in which a safe dial is rotated with the multitouch gesture, rotate. I tested this program by exporting as a .apk and installing on several android devices (EVO, Galaxy S, and Nexus one). …

---

## [How to set up variable to load external image in AS3 for a drag & drop object?](https://forum.kirupa.com/t/how-to-set-up-variable-to-load-external-image-in-as3-for-a-drag-drop-object/319617)

<div class="topic-metadata">

**Author:** [@antoniog447](https://forum.kirupa.com/u/antoniog447)\
**Replies:** 0\
**Last updated:** [February 26, 2011, 5:19pm UTC](https://forum.kirupa.com/t/how-to-set-up-variable-to-load-external-image-in-as3-for-a-drag-drop-object/319617 "2011-02-26T17:19:39Z")

</div>

I would like to know how to set up the URLRequest to load an external image to a movie clip that is being used in a Drag and Drop event. I have successfully implemented the drag & drop code to my design but I would lik…

---

## [Trying to wrap my mind around star maps & time lapse](https://forum.kirupa.com/t/trying-to-wrap-my-mind-around-star-maps-time-lapse/319616)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [February 26, 2011, 5:13pm UTC](https://forum.kirupa.com/t/trying-to-wrap-my-mind-around-star-maps-time-lapse/319616 "2011-02-26T17:13:12Z")

</div>

I have been asked to depict constellations as if they were time lapse photography. Because the viewpoint of the animations would be photos of night hunting zoo animals in their habitat, the view of the constellations, wo…

---

## [Help needed creating flash poker game](https://forum.kirupa.com/t/help-needed-creating-flash-poker-game/319615)

<div class="topic-metadata">

**Author:** [@Rebecca\_Marie](https://forum.kirupa.com/u/Rebecca_Marie)\
**Replies:** 0\
**Last updated:** [February 26, 2011, 4:22pm UTC](https://forum.kirupa.com/t/help-needed-creating-flash-poker-game/319615 "2011-02-26T16:22:03Z")

</div>

Hi, I am trying to build a poker game using Flash and haven't a clue where to start! Does anyone know of any any handy websites that have instructions/help guides on how to do this? Thanks in advance :thumb:

---

## [Hittest Quadrilateral](https://forum.kirupa.com/t/hittest-quadrilateral/319614)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [February 26, 2011, 4:11pm UTC](https://forum.kirupa.com/t/hittest-quadrilateral/319614 "2011-02-26T16:11:51Z")

</div>

I'm trying to test of a point is inside of a Quadrilateral, as defined by four points. I found some script on another site in another language and tried converting it, but I doesn't seem to work. It might be that I do…

---

## [computeSpectrum on seperate sound objects](https://forum.kirupa.com/t/computespectrum-on-seperate-sound-objects/319611)

<div class="topic-metadata">

**Author:** [@Geki](https://forum.kirupa.com/u/Geki)\
**Replies:** 0\
**Last updated:** [February 26, 2011, 2:21pm UTC](https://forum.kirupa.com/t/computespectrum-on-seperate-sound-objects/319611 "2011-02-26T14:21:12Z")

</div>

Is it possible to use something like the Mixer.computeSpectrum method on separate sound objects to get different spectrums?

---

## [Jump randomly on fixed manner](https://forum.kirupa.com/t/jump-randomly-on-fixed-manner/319610)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [February 26, 2011, 11:46am UTC](https://forum.kirupa.com/t/jump-randomly-on-fixed-manner/319610 "2011-02-26T11:46:46Z")

</div>

Seeking help from expert : There are 10 frames where playhead travels from frame 2 to frame 11. If I want the playhead to travel randomly in fixed manner such as : frame 2, 4, , 6, 9, 10, 3, 5, 7, 8, 11 not using gotoAnd…

---

## [Analytics - Tracking Search Querries](https://forum.kirupa.com/t/analytics-tracking-search-querries/319605)

<div class="topic-metadata">

**Author:** [@lletdownl](https://forum.kirupa.com/u/lletdownl)\
**Replies:** 0\
**Last updated:** [February 25, 2011, 11:17pm UTC](https://forum.kirupa.com/t/analytics-tracking-search-querries/319605 "2011-02-25T23:17:46Z")

</div>

Hi! I use google analytics to track viewed content on my site using tags like this... getURL("javascript:pageTracker.\_trackPageview('/MAIN/WORK/SEARCH-ENTER.html');"); Im wondering how i can however track search qu…

---

## [Keyboard event for PrntScrn](https://forum.kirupa.com/t/keyboard-event-for-prntscrn/319602)

<div class="topic-metadata">

**Author:** [@kadaj](https://forum.kirupa.com/u/kadaj)\
**Replies:** 0\
**Last updated:** [February 25, 2011, 9:41pm UTC](https://forum.kirupa.com/t/keyboard-event-for-prntscrn/319602 "2011-02-25T21:41:16Z")

</div>

What is the keyCode for PrntScrn key? The Snapshot key isn't detected during a keydown event. So is there a way to know that I pressed the snapshot key? We know that pressing the prntscrn button takes the snapshot of t…

---

## [Easing/Tweening in AS2](https://forum.kirupa.com/t/easing-tweening-in-as2/319599)

<div class="topic-metadata">

**Author:** [@lletdownl](https://forum.kirupa.com/u/lletdownl)\
**Replies:** 0\
**Last updated:** [February 25, 2011, 8:41pm UTC](https://forum.kirupa.com/t/easing-tweening-in-as2/319599 "2011-02-25T20:41:18Z")

</div>

Hello everyone, im trying to create this custom menu a bit more efficiently. As written, it operates fine glitch free. However, id like to incorporate some easing into the movement of each movie clip. mc\_ddTyp.onPre…

---

## [AS3 detecting angle of rotation](https://forum.kirupa.com/t/as3-detecting-angle-of-rotation/319596)

<div class="topic-metadata">

**Author:** [@sean\_howard](https://forum.kirupa.com/u/sean_howard)\
**Replies:** 0\
**Last updated:** [February 25, 2011, 3:53pm UTC](https://forum.kirupa.com/t/as3-detecting-angle-of-rotation/319596 "2011-02-25T15:53:01Z")

</div>

Hey guys, I'm working on an interactive animation for a university assignment. Here in this scene the user is able to turn a safe dial left and right either using on screen buttons or keyboard keys. The trouble I'm havin…

---

## [Publishing with bitmaps](https://forum.kirupa.com/t/publishing-with-bitmaps/319592)

<div class="topic-metadata">

**Author:** [@lnsiu](https://forum.kirupa.com/u/lnsiu)\
**Replies:** 0\
**Last updated:** [February 25, 2011, 1:15pm UTC](https://forum.kirupa.com/t/publishing-with-bitmaps/319592 "2011-02-25T13:15:44Z")

</div>

Sometimes I have a problem publishing to an xfl file. The bitmaps in the library do not save with the xfl save to the LIBRARY folder. I've tried resaving as another .fla before re-exporting as an xfl. but I do not seem t…

---

## [How to target an external file located up one level](https://forum.kirupa.com/t/how-to-target-an-external-file-located-up-one-level/319589)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [February 25, 2011, 11:13am UTC](https://forum.kirupa.com/t/how-to-target-an-external-file-located-up-one-level/319589 "2011-02-25T11:13:17Z")

</div>

Hi, Last night I was trying to upload an external .txt file which is located up one level from my .fla file but I couldn’t make it work, this is what I have… This code works just fine if I put my external .txt file in …

---

## [Builder vs other](https://forum.kirupa.com/t/builder-vs-other/319588)

<div class="topic-metadata">

**Author:** [@lnsiu](https://forum.kirupa.com/u/lnsiu)\
**Replies:** 0\
**Last updated:** [February 25, 2011, 10:49am UTC](https://forum.kirupa.com/t/builder-vs-other/319588 "2011-02-25T10:49:22Z")

</div>

I've reached the conclusion that the flash IDE does not know anything about the project your working in. Even textwrangler list functions. flash IDE doesn't. I've looked at flashDevelop an liked that, but I'm on a Mac…

---

## [Photo Gallery - Back and Next function](https://forum.kirupa.com/t/photo-gallery-back-and-next-function/319586)

<div class="topic-metadata">

**Author:** [@vasilestan](https://forum.kirupa.com/u/vasilestan)\
**Replies:** 0\
**Last updated:** [February 25, 2011, 10:20am UTC](https://forum.kirupa.com/t/photo-gallery-back-and-next-function/319586 "2011-02-25T10:20:40Z")

</div>

Hi all, I want to add two buttons in as2 for a photo gallery. The funtions must be: go to next picture or go back. I've created my buttons "imageBack" and "imageNext". I'm not familiar with scripting and I need to cr…

---

## [Max Movie Clip Width](https://forum.kirupa.com/t/max-movie-clip-width/319581)

<div class="topic-metadata">

**Author:** [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Replies:** 0\
**Last updated:** [February 25, 2011, 2:34am UTC](https://forum.kirupa.com/t/max-movie-clip-width/319581 "2011-02-25T02:34:31Z")

</div>

Havs had some erratic behaviour working with super wide MovieClips Is there a limit or is it in my head Regards Colin

---

## [Returning an array from within class](https://forum.kirupa.com/t/returning-an-array-from-within-class/319578)

<div class="topic-metadata">

**Author:** [@simon\_davies](https://forum.kirupa.com/u/simon_davies)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 11:18pm UTC](https://forum.kirupa.com/t/returning-an-array-from-within-class/319578 "2011-02-24T23:18:16Z")

</div>

I have this class that basically reads a json file and then places it into an array, which I then want to pass back to the var set etc, how do i go about this: I have the following at present: Heres part of my list c…

---

## [100% Background Cut Off When Scrolling](https://forum.kirupa.com/t/100-background-cut-off-when-scrolling/319577)

<div class="topic-metadata">

**Author:** [@phlegma](https://forum.kirupa.com/u/phlegma)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 10:56pm UTC](https://forum.kirupa.com/t/100-background-cut-off-when-scrolling/319577 "2011-02-24T22:56:15Z")

</div>

Hi guys, I drafted a really simple html/css document to isolate my issue. I believe this has been a common problem for many for a long time and I'm looking for a workaround. http://bigmapideas.com/projects/temp/ If …

---

## [Odd UILoader and Actionscript 2.0 question](https://forum.kirupa.com/t/odd-uiloader-and-actionscript-2-0-question/319576)

<div class="topic-metadata">

**Author:** [@Dylancougar](https://forum.kirupa.com/u/Dylancougar)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 10:55pm UTC](https://forum.kirupa.com/t/odd-uiloader-and-actionscript-2-0-question/319576 "2011-02-24T22:55:25Z")

</div>

I'm designing a site for my church, and its mostly done but I've run into a potential problem. The way I have my site set up is, I have a index page with a drop down menu and a UIloader. When you roll over the buttons a …

---

## [Animation - send to back](https://forum.kirupa.com/t/animation-send-to-back/319575)

<div class="topic-metadata">

**Author:** [@Evaeva](https://forum.kirupa.com/u/Evaeva)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 10:24pm UTC](https://forum.kirupa.com/t/animation-send-to-back/319575 "2011-02-24T22:24:30Z")

</div>

I am using this turtural: http://www.kirupa.com/developer/flas...s3\_cs4\_pg4.htm The animation is in front of the logo and the text, I want to send it to the back. Can anyone help me to change the code in the .as-…

---

## [SQL subtraction and Left Join](https://forum.kirupa.com/t/sql-subtraction-and-left-join/319574)

<div class="topic-metadata">

**Author:** [@dreamerp](https://forum.kirupa.com/u/dreamerp)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 8:37pm UTC](https://forum.kirupa.com/t/sql-subtraction-and-left-join/319574 "2011-02-24T20:37:30Z")

</div>

Hello, I have a question about optimizing an SQL query and an error that occurs sometimes. Right now, I have a query similar to: SELECT SUM( money\_earned ) \* 0.60 - (SELECT SUM( money\_lost ) \* 0.2 FROM t1) FROM t2 T…

---

## [I need AS 3.0 to scroll a text field with buttons AND a custom scroll bar](https://forum.kirupa.com/t/i-need-as-3-0-to-scroll-a-text-field-with-buttons-and-a-custom-scroll-bar/319572)

<div class="topic-metadata">

**Author:** [@dLcarlton](https://forum.kirupa.com/u/dLcarlton)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 8:26pm UTC](https://forum.kirupa.com/t/i-need-as-3-0-to-scroll-a-text-field-with-buttons-and-a-custom-scroll-bar/319572 "2011-02-24T20:26:45Z")

</div>

good afternoon, I've gotten to chapter 5 in my AS 3.0 classroom book but I need to use wisdom today (CHAPTERS before I gain it for myself), I need to create a custom scroll bar with buttons that function just like the …

---

## [Fire/Flame effect with realistic movement](https://forum.kirupa.com/t/fire-flame-effect-with-realistic-movement/319571)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 8:09pm UTC](https://forum.kirupa.com/t/fire-flame-effect-with-realistic-movement/319571 "2011-02-24T20:09:48Z")

</div>

Hello I´m creating a game, and I need to create a realistic flame or fire, like a torch, with fluid movement of thge flame and that moves in a natural way. Searched in foruns and Googled but found nothing useful. D…

---

## [Flash Buttons (Up, Over, Down, Hit)](https://forum.kirupa.com/t/flash-buttons-up-over-down-hit/319569)

<div class="topic-metadata">

**Author:** [@krisj](https://forum.kirupa.com/u/krisj)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 7:25pm UTC](https://forum.kirupa.com/t/flash-buttons-up-over-down-hit/319569 "2011-02-24T19:25:33Z")

</div>

Recently I am feeling like an idiot in Flash with buttons! I think perhaps I am forgetting something about the up, over, down, and hit states. What I am trying to do is to have the button color change to a different c…

---

## [Newbie question: Publishing Flash files](https://forum.kirupa.com/t/newbie-question-publishing-flash-files/319568)

<div class="topic-metadata">

**Author:** [@mt24](https://forum.kirupa.com/u/mt24)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 7:22pm UTC](https://forum.kirupa.com/t/newbie-question-publishing-flash-files/319568 "2011-02-24T19:22:09Z")

</div>

Hello, Is there a specific option in the Publish settings menu that I have to take into account re: security? I was told that I shouldn't have "Permit debugging" when publishing. Anything else to pay attention to? …

---

## [Interrupted Bandwidth during Video](https://forum.kirupa.com/t/interrupted-bandwidth-during-video/319567)

<div class="topic-metadata">

**Author:** [@sFoster83](https://forum.kirupa.com/u/sFoster83)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 7:09pm UTC](https://forum.kirupa.com/t/interrupted-bandwidth-during-video/319567 "2011-02-24T19:09:12Z")

</div>

My video player has a problem performing under bad bandwidth conditions. When i disconnect from my network halfway through playback this triggers a netstatus event with an info of "NetStream.Buffer.Empty".. If I reco…

---

## [Nested mc control](https://forum.kirupa.com/t/nested-mc-control/319565)

<div class="topic-metadata">

**Author:** [@pop30](https://forum.kirupa.com/u/pop30)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 6:27pm UTC](https://forum.kirupa.com/t/nested-mc-control/319565 "2011-02-24T18:27:00Z")

</div>

I have on stage one mc which is the main menu called menu. In this mc I have another mc which is the submenu sub\_menu. By clicking on items in the submenu I place mc's from the library on stage with stage.addChild(name\_o…

---

## [Compress an Embedded PNG](https://forum.kirupa.com/t/compress-an-embedded-png/319564)

<div class="topic-metadata">

**Author:** [@likwid](https://forum.kirupa.com/u/likwid)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 6:18pm UTC](https://forum.kirupa.com/t/compress-an-embedded-png/319564 "2011-02-24T18:18:13Z")

</div>

I'm using this code to embed an image into my flash file: \[Embed(source="images/grass01.png")\] As you all know, if you embed an image, it comes in without any compression at all. Is there any way to compress this im…

---

## [sortOn Messing Up my Arrays](https://forum.kirupa.com/t/sorton-messing-up-my-arrays/319563)

<div class="topic-metadata">

**Author:** [@lethalmugshots](https://forum.kirupa.com/u/lethalmugshots)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 6:15pm UTC](https://forum.kirupa.com/t/sorton-messing-up-my-arrays/319563 "2011-02-24T18:15:44Z")

</div>

Hi there, I'm using the .sortOn() function in AS3.0 to sort an array with multiple elements. First, I push the values to the array, like this: standingsQSR.push({pts: ptsVal, nam: namTemp, goal: target}); //push …

---

## [Kirupa Photo Gallery extended](https://forum.kirupa.com/t/kirupa-photo-gallery-extended/319562)

<div class="topic-metadata">

**Author:** [@WILWILWEL](https://forum.kirupa.com/u/WILWILWEL)\
**Replies:** 0\
**Last updated:** [February 24, 2011, 5:45pm UTC](https://forum.kirupa.com/t/kirupa-photo-gallery-extended/319562 "2011-02-24T17:45:48Z")

</div>

Hello and thanks in advanced for checking this out. I’m working on a update for Kirupa’s Gallery tutorial: I wanna remove the XML data loading part and replace it with a PHP/MySQL backend for better security and maint…

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

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