# programming

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

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

**Page:** 286

---

## [Placing editable textfields at the cursor's position](https://forum.kirupa.com/t/placing-editable-textfields-at-the-cursors-position/321808)

<div class="topic-metadata">

**Author:** [@Curb](https://forum.kirupa.com/u/Curb)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 11:04am UTC](https://forum.kirupa.com/t/placing-editable-textfields-at-the-cursors-position/321808 "2011-05-02T11:04:42Z")

</div>

Hiya, I've got a few questions for the technical side of a project we're working on and I'd really just like to know if it would be possible before I present it to the rest of my group. The idea is to create a wall on …

---

## [Need HELP Targeting a Movieclip inside a Scroll panel AS3](https://forum.kirupa.com/t/need-help-targeting-a-movieclip-inside-a-scroll-panel-as3/321807)

<div class="topic-metadata">

**Author:** [@Dalfred](https://forum.kirupa.com/u/Dalfred)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 11:03am UTC](https://forum.kirupa.com/t/need-help-targeting-a-movieclip-inside-a-scroll-panel-as3/321807 "2011-05-02T11:03:50Z")

</div>

Hello everyone. My first time here so go easy on me :sigh: Ok, i bought a scroller that works well scrolling content. With elasticity and stuff. My problem is trying to access buttons inside the scroller. I have an…

---

## [Question regarding Molehill and Matrices](https://forum.kirupa.com/t/question-regarding-molehill-and-matrices/321803)

<div class="topic-metadata">

**Author:** [@Icewolf](https://forum.kirupa.com/u/Icewolf)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 8:24am UTC](https://forum.kirupa.com/t/question-regarding-molehill-and-matrices/321803 "2011-05-02T08:24:48Z")

</div>

Hello. I've been struggling to write a Phong shader for my Molehill project. The problem is that the light seems to shift or move when the camera rotates. So I've been investigating what could possibly be wrong, by b…

---

## [Timer slow](https://forum.kirupa.com/t/timer-slow/321799)

<div class="topic-metadata">

**Author:** [@microScript](https://forum.kirupa.com/u/microScript)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 6:36am UTC](https://forum.kirupa.com/t/timer-slow/321799 "2011-05-02T06:36:09Z")

</div>

Hi guys, I am developing a website in flash. In that I have created 4 to 5 timers. All the timers are running at a same time or many aspects. Now my problem is, the functions or any movements based on the timer, is v…

---

## [Random video generator](https://forum.kirupa.com/t/random-video-generator/321798)

<div class="topic-metadata">

**Author:** [@Dustycoats](https://forum.kirupa.com/u/Dustycoats)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 5:52am UTC](https://forum.kirupa.com/t/random-video-generator/321798 "2011-05-02T05:52:06Z")

</div>

Anyone know how I would go about building code to have both a linear anda random button for several movie clips? Such as: http://www.hillmancurtis.com/hc\_web/web\_motion/source/mtiv\_mx/index2.html Thanks

---

## [Converting a rotation angle to a direction of motion](https://forum.kirupa.com/t/converting-a-rotation-angle-to-a-direction-of-motion/321796)

<div class="topic-metadata">

**Author:** [@cermunnos](https://forum.kirupa.com/u/cermunnos)\
**Replies:** 0\
**Last updated:** [May 1, 2011, 10:22pm UTC](https://forum.kirupa.com/t/converting-a-rotation-angle-to-a-direction-of-motion/321796 "2011-05-01T22:22:33Z")

</div>

I have a rotation value in degrees(0-360) and a value for magnitude, ie (1-10 pixels per second). How to apply this information to determine what to add to an objects x and y values to send the object off in a given di…

---

## [AS3 Books](https://forum.kirupa.com/t/as3-books/321795)

<div class="topic-metadata">

**Author:** [@Macca26](https://forum.kirupa.com/u/Macca26)\
**Replies:** 0\
**Last updated:** [May 1, 2011, 9:51pm UTC](https://forum.kirupa.com/t/as3-books/321795 "2011-05-01T21:51:59Z")

</div>

Hi all, Not sure if this is in the right section or not but im wondering if anyone can suggest any good books for developing games using flash CS5 or AS3?? Thanks in advance.

---

## [Getting a loaded swf to detect that it has been removed from the stage?](https://forum.kirupa.com/t/getting-a-loaded-swf-to-detect-that-it-has-been-removed-from-the-stage/321794)

<div class="topic-metadata">

**Author:** [@madfatter](https://forum.kirupa.com/u/madfatter)\
**Replies:** 0\
**Last updated:** [May 1, 2011, 9:32pm UTC](https://forum.kirupa.com/t/getting-a-loaded-swf-to-detect-that-it-has-been-removed-from-the-stage/321794 "2011-05-01T21:32:23Z")

</div>

Hi, In the past, using Flash CS3 when I needed to remove timers or event listeners from a swf that had been loaded into a parent swf I'd use this inside the loaded swf: this.addEventListener(Event.REMOVED\_FROM\_STAGE…

---

## [Actionscript synchronised movies help?](https://forum.kirupa.com/t/actionscript-synchronised-movies-help/321789)

<div class="topic-metadata">

**Author:** [@shadarack](https://forum.kirupa.com/u/shadarack)\
**Replies:** 0\
**Last updated:** [May 1, 2011, 6:18pm UTC](https://forum.kirupa.com/t/actionscript-synchronised-movies-help/321789 "2011-05-01T18:18:45Z")

</div>

Hello! First time posting here. I could use a little help if someone is willing. I have a flash project where I have two movies that are supposed to synchronize, depending on user choices. Most of the time they do, rando…

---

## [AS3 lagging in desktop only problem](https://forum.kirupa.com/t/as3-lagging-in-desktop-only-problem/321786)

<div class="topic-metadata">

**Author:** [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Replies:** 0\
**Last updated:** [May 1, 2011, 3:46pm UTC](https://forum.kirupa.com/t/as3-lagging-in-desktop-only-problem/321786 "2011-05-01T15:46:56Z")

</div>

I'm running my app in core i7 pc in full screen, it lags, but when i run it on my i3 laoptop in full screen, it work just fine... may i know what is the problem? \*they both using the same flash player version

---

## [Referring to Movieclip in Array Using Names](https://forum.kirupa.com/t/referring-to-movieclip-in-array-using-names/321784)

<div class="topic-metadata">

**Author:** [@CCG1993](https://forum.kirupa.com/u/CCG1993)\
**Replies:** 0\
**Last updated:** [May 1, 2011, 1:53pm UTC](https://forum.kirupa.com/t/referring-to-movieclip-in-array-using-names/321784 "2011-05-01T13:53:01Z")

</div>

I am writing a program where I have used multiple movieclips (boxes) that are put into a grid using a nested for loop. Each movieclip is in an array and I want to give them names (box1, box2, e.t.c) but when I try to …

---

## [Question on FLASH SWF and SWC and media](https://forum.kirupa.com/t/question-on-flash-swf-and-swc-and-media/321783)

<div class="topic-metadata">

**Author:** [@jaxz](https://forum.kirupa.com/u/jaxz)\
**Replies:** 0\
**Last updated:** [May 1, 2011, 12:56pm UTC](https://forum.kirupa.com/t/question-on-flash-swf-and-swc-and-media/321783 "2011-05-01T12:56:25Z")

</div>

Dear all, Question on FLASH SWF and SWC I wish to save my flash outpout (SWF) as an SWC file in which I also include all media files (mp3s) that are part of my Flash application. Currently these files reside in folders…

---

## [Smoother ProgressEvent](https://forum.kirupa.com/t/smoother-progressevent/321782)

<div class="topic-metadata">

**Author:** [@zeeto](https://forum.kirupa.com/u/zeeto)\
**Replies:** 0\
**Last updated:** [May 1, 2011, 11:49am UTC](https://forum.kirupa.com/t/smoother-progressevent/321782 "2011-05-01T11:49:23Z")

</div>

Hi, I'm trying to get smoother steps in checking the ProgressEvent when loading the image to the Loader. At this moment my event:ProgressEvent checks the progress aprox twice within a second. Is there any way to make…

---

## [Senocular's Transform Tool - constrain dragging to a given area](https://forum.kirupa.com/t/senoculars-transform-tool-constrain-dragging-to-a-given-area/321780)

<div class="topic-metadata">

**Author:** [@sindrom](https://forum.kirupa.com/u/sindrom)\
**Replies:** 0\
**Last updated:** [May 1, 2011, 7:49am UTC](https://forum.kirupa.com/t/senoculars-transform-tool-constrain-dragging-to-a-given-area/321780 "2011-05-01T07:49:47Z")

</div>

Does anyone has a modified version of this awesome tool that can limit the dragging of the objects to a given area? or can point me in the right direction on how to accomplish this, which class i need to modify. Kind r…

---

## [Pre-loading/exporting best approach?](https://forum.kirupa.com/t/pre-loading-exporting-best-approach/321773)

<div class="topic-metadata">

**Author:** [@Jesscee](https://forum.kirupa.com/u/Jesscee)\
**Replies:** 0\
**Last updated:** [May 1, 2011, 1:01am UTC](https://forum.kirupa.com/t/pre-loading-exporting-best-approach/321773 "2011-05-01T01:01:37Z")

</div>

Hellooo~! :3 I am pretty rusty with flash, and was just wondering the best way (in terms of quicker loading) to export a mini flash website using Adobe Flash with Actionscript 3. I have placed a preloader on frame 1…

---

## [Accessing classes from externally loaded swf's?](https://forum.kirupa.com/t/accessing-classes-from-externally-loaded-swfs/321771)

<div class="topic-metadata">

**Author:** [@pcehnaids](https://forum.kirupa.com/u/pcehnaids)\
**Replies:** 0\
**Last updated:** [April 30, 2011, 9:56pm UTC](https://forum.kirupa.com/t/accessing-classes-from-externally-loaded-swfs/321771 "2011-04-30T21:56:39Z")

</div>

I have a document class which links to several classes, one of which adds a container onto the stage and loads external .swf's into it. Q: How do I access the various classes loaded in the document class from the exte…

---

## [Where to use ffmpeg](https://forum.kirupa.com/t/where-to-use-ffmpeg/321769)

<div class="topic-metadata">

**Author:** [@fllashk123](https://forum.kirupa.com/u/fllashk123)\
**Replies:** 0\
**Last updated:** [April 30, 2011, 8:08pm UTC](https://forum.kirupa.com/t/where-to-use-ffmpeg/321769 "2011-04-30T20:08:02Z")

</div>

Hi, I have developed an webcam recorder in flex and currently recording the videos in flv format. Read about ffmpeg that it can be used for enhancing the video quality. Can anyone please let me know how I go about th…

---

## [Implementing buffer in video recording app](https://forum.kirupa.com/t/implementing-buffer-in-video-recording-app/321768)

<div class="topic-metadata">

**Author:** [@fllashk123](https://forum.kirupa.com/u/fllashk123)\
**Replies:** 0\
**Last updated:** [April 30, 2011, 8:04pm UTC](https://forum.kirupa.com/t/implementing-buffer-in-video-recording-app/321768 "2011-04-30T20:04:54Z")

</div>

Hi, I am developing an webcam recorder and would like to implement the buffer concept in order to avoid the dropping of video frames. Can any one please help in implementing it. Find below code which I have impleme…

---

## [Quick Method For Declaring Multiple Variables](https://forum.kirupa.com/t/quick-method-for-declaring-multiple-variables/321764)

<div class="topic-metadata">

**Author:** [@CCG1993](https://forum.kirupa.com/u/CCG1993)\
**Replies:** 0\
**Last updated:** [April 30, 2011, 12:48pm UTC](https://forum.kirupa.com/t/quick-method-for-declaring-multiple-variables/321764 "2011-04-30T12:48:36Z")

</div>

I am writing a program that requires the use of 36 boolean variables with different names (e.g. box1, box2...): does anyone know of a quick way to optimize this program. Thanks, ccg1993

---

## [Open Multiple windows](https://forum.kirupa.com/t/open-multiple-windows/321763)

<div class="topic-metadata">

**Author:** [@jinackman](https://forum.kirupa.com/u/jinackman)\
**Replies:** 0\
**Last updated:** [April 30, 2011, 12:11pm UTC](https://forum.kirupa.com/t/open-multiple-windows/321763 "2011-04-30T12:11:51Z")

</div>

Hi i have a problem with opening multiple windows, I have a swf file with 5 buttons each button goes to a different url, so lets say i have 5 buttons, button 1 goes to preloader1 button 2 goes to preloader2 and so on…

---

## [kirupa.com - Transforming Objects](https://forum.kirupa.com/t/kirupa-com-transforming-objects/643255)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [April 30, 2011, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-transforming-objects/643255 "2011-04-30T07:00:00Z")

</div>

Transforming Objects by kirupaMany people, including me, once believed Swift 3D can do nothing more than simple 3D spins and turns that come with the software. Of course, you can create complex animations enti…

---

## [AddFavorite](https://forum.kirupa.com/t/addfavorite/321759)

<div class="topic-metadata">

**Author:** [@nasi](https://forum.kirupa.com/u/nasi)\
**Replies:** 0\
**Last updated:** [April 30, 2011, 3:26am UTC](https://forum.kirupa.com/t/addfavorite/321759 "2011-04-30T03:26:45Z")

</div>

Hi I have followed what you had explained in "http://www.kirupa.com/web/favorites.htm" , however by clicking on the link, nothing happens. can you please let me know where I should find the favorites that have been ad…

---

## [Need help understanding classes](https://forum.kirupa.com/t/need-help-understanding-classes/321756)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [April 29, 2011, 8:51pm UTC](https://forum.kirupa.com/t/need-help-understanding-classes/321756 "2011-04-29T20:51:25Z")

</div>

Ok, so I want to "attach" a variable to a movieclip, do I need to create the movieclip in the class file? What I have is a movieclip in the library that is placed on stage multiple times. What I would like to do is hav…

---

## [How to code Battleship with ActionSctipt 3.0](https://forum.kirupa.com/t/how-to-code-battleship-with-actionsctipt-3-0/321755)

<div class="topic-metadata">

**Author:** [@hopeless\_case](https://forum.kirupa.com/u/hopeless_case)\
**Replies:** 0\
**Last updated:** [April 29, 2011, 7:21pm UTC](https://forum.kirupa.com/t/how-to-code-battleship-with-actionsctipt-3-0/321755 "2011-04-29T19:21:26Z")

</div>

Is there anyone to help me about this toic? I need BattleShip code written with ActionScript 3.0. Please help me! Thanks.

---

## [Am I just plain dumb or are dictionaires a pain](https://forum.kirupa.com/t/am-i-just-plain-dumb-or-are-dictionaires-a-pain/321751)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [April 29, 2011, 5:07pm UTC](https://forum.kirupa.com/t/am-i-just-plain-dumb-or-are-dictionaires-a-pain/321751 "2011-04-29T17:07:25Z")

</div>

I have tried this 7 different ways but I can't get it to work. I am trying to nest 2 dictionaries and use objects as indexes. No matter which object I choose I get EVERYTHING in the main dictionary. The object indexing d…

---

## [\[HELP\] Flash webcam application: problems with resolution of snapshots and flash cam](https://forum.kirupa.com/t/help-flash-webcam-application-problems-with-resolution-of-snapshots-and-flash-cam/321746)

<div class="topic-metadata">

**Author:** [@celestale](https://forum.kirupa.com/u/celestale)\
**Replies:** 0\
**Last updated:** [April 29, 2011, 1:43pm UTC](https://forum.kirupa.com/t/help-flash-webcam-application-problems-with-resolution-of-snapshots-and-flash-cam/321746 "2011-04-29T13:43:19Z")

</div>

Hi guys, I'm a beginner in Flash AS3 and I want to ask some questions in this community. I have been having some troubles in taking a snapshot using a webcam in my flash application. My webcam flash application is suppos…

---

## [Stuck/Frustrated - MovieClip help/Youtube API](https://forum.kirupa.com/t/stuck-frustrated-movieclip-help-youtube-api/321743)

<div class="topic-metadata">

**Author:** [@Infamous\_SI](https://forum.kirupa.com/u/Infamous_SI)\
**Replies:** 0\
**Last updated:** [April 29, 2011, 6:30am UTC](https://forum.kirupa.com/t/stuck-frustrated-movieclip-help-youtube-api/321743 "2011-04-29T06:30:04Z")

</div>

It seems to me that all I need is to get my youtube chromeless player that I've loaded in the place I want it to be. \[image\] Preview ^ As you can see it's not loaded into my MovieClip! Though it IS loaded, it plays, …

---

## [Help/How to animate imported images in AS3 please](https://forum.kirupa.com/t/help-how-to-animate-imported-images-in-as3-please/321742)

<div class="topic-metadata">

**Author:** [@Steven\_B](https://forum.kirupa.com/u/Steven_B)\
**Replies:** 0\
**Last updated:** [April 29, 2011, 6:09am UTC](https://forum.kirupa.com/t/help-how-to-animate-imported-images-in-as3-please/321742 "2011-04-29T06:09:38Z")

</div>

Question: How do I (assuming it is possible) animate a drawing (gif, jpeg, png, whatever) I drew outside of flash. I have some monsters I have drawn and would like to animate them for a flash game I am creating. I've l…

---

## [Tutorial: JavaScript Events](https://forum.kirupa.com/t/tutorial-javascript-events/321740)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [April 29, 2011, 5:33am UTC](https://forum.kirupa.com/t/tutorial-javascript-events/321740 "2011-04-29T05:33:53Z")

</div>

Hi everyone, This is the place to discuss anything regarding the JavaScript Events tutorial \[smile\] Cheers, Kirupa :hugegrin:

---

## [Semi Automatic Shrink Wrapper - China Semi Automat](https://forum.kirupa.com/t/semi-automatic-shrink-wrapper-china-semi-automat/321738)

<div class="topic-metadata">

**Author:** [@fsgfsgfsvg7](https://forum.kirupa.com/u/fsgfsgfsvg7)\
**Replies:** 0\
**Last updated:** [April 29, 2011, 3:46am UTC](https://forum.kirupa.com/t/semi-automatic-shrink-wrapper-china-semi-automat/321738 "2011-04-29T03:46:17Z")

</div>

Application:Semi-Automatic Shrink Wrappers ( "L" sealers) manually feed items in to the machine to pressure seal a tight film over retail and food products. These shink wrapping machines are designed for medium to high v…

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

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