# programming

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

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

**Page:** 440

---

## [(AS3) Webcam motion detection activates a gotoAndPlay action](https://forum.kirupa.com/t/as3-webcam-motion-detection-activates-a-gotoandplay-action/312604)

<div class="topic-metadata">

**Author:** [@rsbianchi](https://forum.kirupa.com/u/rsbianchi)\
**Replies:** 0\
**Last updated:** [August 8, 2010, 8:45pm UTC](https://forum.kirupa.com/t/as3-webcam-motion-detection-activates-a-gotoandplay-action/312604 "2010-08-08T20:45:03Z")

</div>

I'm trying to play around with a flash scene which would only progress from area to area if there is any motion being detected by the webcam. I would really appreciate it if anyone could point me in the right direction. …

---

## [Dynamically adressing an existing MovieClip on Stage](https://forum.kirupa.com/t/dynamically-adressing-an-existing-movieclip-on-stage/312599)

<div class="topic-metadata">

**Author:** [@2c1](https://forum.kirupa.com/u/2c1)\
**Replies:** 0\
**Last updated:** [August 8, 2010, 4:30pm UTC](https://forum.kirupa.com/t/dynamically-adressing-an-existing-movieclip-on-stage/312599 "2010-08-08T16:30:47Z")

</div>

Hi there I am pretty new to AS3 and try to solve the following problem. I am loading an external XML file. According to the information loaded from the file I would like to highlight a symbol (MovieClip) when I press a…

---

## [Removing a listener](https://forum.kirupa.com/t/removing-a-listener/312595)

<div class="topic-metadata">

**Author:** [@kekekiko](https://forum.kirupa.com/u/kekekiko)\
**Replies:** 0\
**Last updated:** [August 8, 2010, 1:46pm UTC](https://forum.kirupa.com/t/removing-a-listener/312595 "2010-08-08T13:46:28Z")

</div>

I have this code on the first frame of a movieclip: function onCreditChanged(eventObject:Object) { if (eventObject.newCredit \>= 250) { \_root.footy.gotoAndStop("2"); }else{ \_root.fo…

---

## [Getting the distance between two movieclips' x value](https://forum.kirupa.com/t/getting-the-distance-between-two-movieclips-x-value/312594)

<div class="topic-metadata">

**Author:** [@Ransom1337](https://forum.kirupa.com/u/Ransom1337)\
**Replies:** 0\
**Last updated:** [August 8, 2010, 9:23am UTC](https://forum.kirupa.com/t/getting-the-distance-between-two-movieclips-x-value/312594 "2010-08-08T09:23:51Z")

</div>

Hello, At first it seemed simple to find out the distance between two movieclips' x values, I could have just done: mc1.x - mc2.x However, What I'm trying to achieve is a movieclip of a person climbing an un-even s…

---

## [Timeout error when loading large XML file](https://forum.kirupa.com/t/timeout-error-when-loading-large-xml-file/312590)

<div class="topic-metadata">

**Author:** [@Copper](https://forum.kirupa.com/u/Copper)\
**Replies:** 0\
**Last updated:** [August 8, 2010, 12:14am UTC](https://forum.kirupa.com/t/timeout-error-when-loading-large-xml-file/312590 "2010-08-08T00:14:24Z")

</div>

Hello guys, I need to load a dictionary into a game I'm making. It resides in a very large (on the order of 2.81 MB) XML file. While trying to load it, I get an error stating that the script has run for more than 15 se…

---

## [Kronum Flex project](https://forum.kirupa.com/t/kronum-flex-project/312584)

<div class="topic-metadata">

**Author:** [@danieljsummers](https://forum.kirupa.com/u/danieljsummers)\
**Replies:** 0\
**Last updated:** [August 7, 2010, 4:37pm UTC](https://forum.kirupa.com/t/kronum-flex-project/312584 "2010-08-07T16:37:42Z")

</div>

Guys. There's an awesome flex project out there -- It's actually a new sport that's being started up in Philly The sport's pretty crazy in and of itself, but the website's also pretty intense. The idea is to give the…

---

## [Flash vs silverlight](https://forum.kirupa.com/t/flash-vs-silverlight/312578)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [August 7, 2010, 10:47am UTC](https://forum.kirupa.com/t/flash-vs-silverlight/312578 "2010-08-07T10:47:50Z")

</div>

hello everybody, What are the benefits of flash over silverlight or viceversa, i have no knowledge of silverlight & very well aware of flash, but what want to know how flash scores over silverlight

---

## [Ongoing Research](https://forum.kirupa.com/t/ongoing-research/312577)

<div class="topic-metadata">

**Author:** [@andriusain](https://forum.kirupa.com/u/andriusain)\
**Replies:** 0\
**Last updated:** [August 7, 2010, 10:33am UTC](https://forum.kirupa.com/t/ongoing-research/312577 "2010-08-07T10:33:46Z")

</div>

Hello everyone, with the permission of Kirupa, I am doing some research on some of the threads in the forum. The research basically tries to answer the question: \*In what ways is online community Kirupa.com\*\* used fo…

---

## [IE CSS help required - working perfectly in FF/Chrome](https://forum.kirupa.com/t/ie-css-help-required-working-perfectly-in-ff-chrome/312570)

<div class="topic-metadata">

**Author:** [@ExoVoid](https://forum.kirupa.com/u/ExoVoid)\
**Replies:** 0\
**Last updated:** [August 7, 2010, 1:15am UTC](https://forum.kirupa.com/t/ie-css-help-required-working-perfectly-in-ff-chrome/312570 "2010-08-07T01:15:34Z")

</div>

Hey y'all, Having been absent from this site for around 4 years, I'm kinda surprised to see my account hasn't been deactivated. Anyways, working on my new site, after a little assistance with the CSS. This is the first…

---

## [I need help with my Flash slideshow! (AS2)](https://forum.kirupa.com/t/i-need-help-with-my-flash-slideshow-as2/312566)

<div class="topic-metadata">

**Author:** [@PhotomartCV](https://forum.kirupa.com/u/PhotomartCV)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 8:18pm UTC](https://forum.kirupa.com/t/i-need-help-with-my-flash-slideshow-as2/312566 "2010-08-06T20:18:57Z")

</div>

I have a Flash slideshow presentation that I created for my company's website, which can be seen on our frontpage: PhotomartUSA.com The slideshow has NEXT and PREVIOUS buttons, as well as other buttons that are used …

---

## [Using the NetStream Class](https://forum.kirupa.com/t/using-the-netstream-class/312565)

<div class="topic-metadata">

**Author:** [@sFoster83](https://forum.kirupa.com/u/sFoster83)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 8:15pm UTC](https://forum.kirupa.com/t/using-the-netstream-class/312565 "2010-08-06T20:15:29Z")

</div>

I have a few questions about the net stream class.. Lets start with the first one I have a netStream class that is basically set to default property values I am loading a video file off the local hard drive. Now once…

---

## [Drawing help](https://forum.kirupa.com/t/drawing-help/312562)

<div class="topic-metadata">

**Author:** [@greetification](https://forum.kirupa.com/u/greetification)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 4:51pm UTC](https://forum.kirupa.com/t/drawing-help/312562 "2010-08-06T16:51:20Z")

</div>

Hi, I've been trying to work with drawing in AS3 and I just can't seem to get this shape, can anyone help? Thanks!

---

## [Colorable, Draggable Objects - Needs Improvement (AS2:CS5)](https://forum.kirupa.com/t/colorable-draggable-objects-needs-improvement-as2-cs5/312561)

<div class="topic-metadata">

**Author:** [@kerry\_rnl](https://forum.kirupa.com/u/kerry_rnl)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 3:29pm UTC](https://forum.kirupa.com/t/colorable-draggable-objects-needs-improvement-as2-cs5/312561 "2010-08-06T15:29:24Z")

</div>

I've made a simple little flash game, attached. The basic idea is that you have three little sea creatures, a fish bowl, and some color buttons. You can click on a color button and then click on a creature, and it colors…

---

## [MaxChars actionscript created TextField](https://forum.kirupa.com/t/maxchars-actionscript-created-textfield/312560)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 1:52pm UTC](https://forum.kirupa.com/t/maxchars-actionscript-created-textfield/312560 "2010-08-06T13:52:47Z")

</div>

Hi guys, I've searched in the forum but I haven't find this issue. I've created a code that read the date of a day from xml and then put it into a textfield. Here the declaration of the textfield: var dateTxt:TextFiel…

---

## [Get Improved Quality and ROI](https://forum.kirupa.com/t/get-improved-quality-and-roi/312559)

<div class="topic-metadata">

**Author:** [@debrah\_h48](https://forum.kirupa.com/u/debrah_h48)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 1:09pm UTC](https://forum.kirupa.com/t/get-improved-quality-and-roi/312559 "2010-08-06T13:09:58Z")

</div>

When my friend suggested the name of Embedded360, I had no other choice but to take his word since my project was at a critical juncture. It proved to be a good decision since their model based development approach reduc…

---

## [Help with PHP and MySQL](https://forum.kirupa.com/t/help-with-php-and-mysql/312558)

<div class="topic-metadata">

**Author:** [@fathed](https://forum.kirupa.com/u/fathed)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 12:57pm UTC](https://forum.kirupa.com/t/help-with-php-and-mysql/312558 "2010-08-06T12:57:57Z")

</div>

I am not sure how to frame my questions so I will just do my best. I have a table called rooms and it has three fields: roomsP(P), roomNumber, imageDate I am populating a drop down menu with the roomNumber field. Wha…

---

## [Preloader works but will not run the rest of my Flash file?](https://forum.kirupa.com/t/preloader-works-but-will-not-run-the-rest-of-my-flash-file/312556)

<div class="topic-metadata">

**Author:** [@spiderq](https://forum.kirupa.com/u/spiderq)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 12:12pm UTC](https://forum.kirupa.com/t/preloader-works-but-will-not-run-the-rest-of-my-flash-file/312556 "2010-08-06T12:12:44Z")

</div>

I hope someone can point out the basic error in this code ( which I found elsewhere on the 'net) My Preloader works fine when I preview in Download mode BUT only loads the first frame of animation.I have attached my fi…

---

## [Arithmetic with Arrays and Text Fields](https://forum.kirupa.com/t/arithmetic-with-arrays-and-text-fields/312553)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 9:27am UTC](https://forum.kirupa.com/t/arithmetic-with-arrays-and-text-fields/312553 "2010-08-06T09:27:52Z")

</div>

Hello .. I have been placing 'numbers' into an array via an input text field. Then on completion, I want them to be added up and the results displayed. However, what seems to be happening, is that the numbers going in…

---

## [Sometimes the best gain is to lose](https://forum.kirupa.com/t/sometimes-the-best-gain-is-to-lose/312549)

<div class="topic-metadata">

**Author:** [@beads118](https://forum.kirupa.com/u/beads118)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 8:44am UTC](https://forum.kirupa.com/t/sometimes-the-best-gain-is-to-lose/312549 "2010-08-06T08:44:49Z")

</div>

Sometimes the best gain is to lose. \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\[Mookaite Beads\[url=http://www.21cn-beads.com/kunzite-gemstone-beads-c-27.html\]Kunzite Gemstone Beads\](http://www.21cn-beads.com/mookaite-beads-c-35.html)

---

## [3d pie chart into flash](https://forum.kirupa.com/t/3d-pie-chart-into-flash/312545)

<div class="topic-metadata">

**Author:** [@pinal](https://forum.kirupa.com/u/pinal)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 6:13am UTC](https://forum.kirupa.com/t/3d-pie-chart-into-flash/312545 "2010-08-06T06:13:25Z")

</div>

Hi, I am trying to Learn creating a 3d pie chart into flash. I found one place where i have a sample to learn it. i have some Query on that. I am attaching that files with the thread. In that chart i wanted to make i…

---

## [Flash Detection tool - quality is poor \[if not horrendous\]](https://forum.kirupa.com/t/flash-detection-tool-quality-is-poor-if-not-horrendous/312544)

<div class="topic-metadata">

**Author:** [@Leprakawn](https://forum.kirupa.com/u/Leprakawn)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 4:03am UTC](https://forum.kirupa.com/t/flash-detection-tool-quality-is-poor-if-not-horrendous/312544 "2010-08-06T04:03:01Z")

</div>

Hey, all! I doubt this is the "proper" forum to post this question, but hey... I am sure one of you will have an answer for me! (Or so I hope!) Anyway, I found the Flash detection tool over here, and I am testing it …

---

## [Hardcoded Tweens Sticking when Targeted in AS3](https://forum.kirupa.com/t/hardcoded-tweens-sticking-when-targeted-in-as3/312543)

<div class="topic-metadata">

**Author:** [@Plasmic\_Steve](https://forum.kirupa.com/u/Plasmic_Steve)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 2:46am UTC](https://forum.kirupa.com/t/hardcoded-tweens-sticking-when-targeted-in-as3/312543 "2010-08-06T02:46:23Z")

</div>

I have an animation of a human figure, where each body part is a separate movieclip. The animations are constantly looping via keyframe tweening. Once a certain button is pressed, the body parts (which contain diffe…

---

## [Any way to Trace everything to textfield?](https://forum.kirupa.com/t/any-way-to-trace-everything-to-textfield/312540)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [August 6, 2010, 12:20am UTC](https://forum.kirupa.com/t/any-way-to-trace-everything-to-textfield/312540 "2010-08-06T00:20:00Z")

</div>

Is there a way to trace every single thing, error messages, etc into a textfield without having to add it manually to each trace? Basically I have 50+ traces, and want it all to go into a textField with one command. If…

---

## [Automatic Page turn needed](https://forum.kirupa.com/t/automatic-page-turn-needed/312537)

<div class="topic-metadata">

**Author:** [@bcgraczyk](https://forum.kirupa.com/u/bcgraczyk)\
**Replies:** 0\
**Last updated:** [August 5, 2010, 11:31pm UTC](https://forum.kirupa.com/t/automatic-page-turn-needed/312537 "2010-08-05T23:31:24Z")

</div>

Hello, I need smarter people's help. I have a code for a two page turn. It works great except I need it for a banner ad, so the viewer may not click. So I need to figure out how to make it go automatically. I tried t…

---

## [Importing multiple folders at once?](https://forum.kirupa.com/t/importing-multiple-folders-at-once/312535)

<div class="topic-metadata">

**Author:** [@OMG](https://forum.kirupa.com/u/OMG)\
**Replies:** 0\
**Last updated:** [August 5, 2010, 9:39pm UTC](https://forum.kirupa.com/t/importing-multiple-folders-at-once/312535 "2010-08-05T21:39:10Z")

</div>

Is it possible to import at once all the classes from my subfolders which share the same folder? For example, in folder A there's subfolder A1, A2, A3, A4...A10, in each of these subfolders there's a class, and I want to…

---

## [Image Transition with control buttons](https://forum.kirupa.com/t/image-transition-with-control-buttons/312532)

<div class="topic-metadata">

**Author:** [@skyblu263](https://forum.kirupa.com/u/skyblu263)\
**Replies:** 0\
**Last updated:** [August 5, 2010, 7:38pm UTC](https://forum.kirupa.com/t/image-transition-with-control-buttons/312532 "2010-08-05T19:38:21Z")

</div>

I have flash banner for my homepage that transitions through multiple photos. However, if a viewer is looking at the transition, currently they can NOT go back if they missed something. I also want the viewer to be able …

---

## [Seamless Loop f4v with flvplayback](https://forum.kirupa.com/t/seamless-loop-f4v-with-flvplayback/312531)

<div class="topic-metadata">

**Author:** [@rodlab2x](https://forum.kirupa.com/u/rodlab2x)\
**Replies:** 0\
**Last updated:** [August 5, 2010, 7:31pm UTC](https://forum.kirupa.com/t/seamless-loop-f4v-with-flvplayback/312531 "2010-08-05T19:31:24Z")

</div>

I wonder how can I code this so the video loops perfectly, right now seems it stops for a bit and restarts. import fl.video.\*; // Video component instance name var flvControl:FLVPlayback = fzBackVideo; var flvSource:…

---

## [Java ExternalInterface doesn't communicate with swf in Firefox & Safari](https://forum.kirupa.com/t/java-externalinterface-doesnt-communicate-with-swf-in-firefox-safari/312529)

<div class="topic-metadata">

**Author:** [@stoniek](https://forum.kirupa.com/u/stoniek)\
**Replies:** 0\
**Last updated:** [August 5, 2010, 6:34pm UTC](https://forum.kirupa.com/t/java-externalinterface-doesnt-communicate-with-swf-in-firefox-safari/312529 "2010-08-05T18:34:33Z")

</div>

I have two swf files: swf\_sender and swf\_receiver. The swf\_sender controls the swf\_receiver via java script. Everything works fine in IE however, the swf\_receiver doesn't receive communication from java script if openned…

---

## [CSS conflict with internet explorer](https://forum.kirupa.com/t/css-conflict-with-internet-explorer/312527)

<div class="topic-metadata">

**Author:** [@4culture](https://forum.kirupa.com/u/4culture)\
**Replies:** 0\
**Last updated:** [August 5, 2010, 5:54pm UTC](https://forum.kirupa.com/t/css-conflict-with-internet-explorer/312527 "2010-08-05T17:54:32Z")

</div>

In the bottom section of the attached page (Application Info, Workshops etc), the first tab is supposed to be highlighted when you first come to the page. This works fine. The problem comes when you click on other tabs. …

---

## [Coordinates and buttons?](https://forum.kirupa.com/t/coordinates-and-buttons/312526)

<div class="topic-metadata">

**Author:** [@Axell](https://forum.kirupa.com/u/Axell)\
**Replies:** 0\
**Last updated:** [August 5, 2010, 5:36pm UTC](https://forum.kirupa.com/t/coordinates-and-buttons/312526 "2010-08-05T17:36:30Z")

</div>

I have a flash movie with 42 buttons per frame and 42 frames. Each frame is identical to all the others. ( it is an image with sections. Each section is a button) When clicking the right button in a frame a point is adde…

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

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