# programming

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

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

**Page:** 597

---

## [Need assist with required fields](https://forum.kirupa.com/t/need-assist-with-required-fields/302607)

<div class="topic-metadata">

**Author:** [@ryl417](https://forum.kirupa.com/u/ryl417)\
**Replies:** 0\
**Last updated:** [January 4, 2010, 9:10am UTC](https://forum.kirupa.com/t/need-assist-with-required-fields/302607 "2010-01-04T09:10:59Z")

</div>

\[FONT=Franklin Gothic Medium\]Hi All, Apologies if this is posted in the wrong section, also did a search but couldn't really get my answer. Ok so this is starting to drive me crazy. I have a form with 5 mandatory fie…

---

## [Record a webcam with custom overlay graphics](https://forum.kirupa.com/t/record-a-webcam-with-custom-overlay-graphics/302606)

<div class="topic-metadata">

**Author:** [@Groady](https://forum.kirupa.com/u/Groady)\
**Replies:** 0\
**Last updated:** [January 4, 2010, 9:00am UTC](https://forum.kirupa.com/t/record-a-webcam-with-custom-overlay-graphics/302606 "2010-01-04T09:00:01Z")

</div>

I'm wondering if anyone knows how to "bake" custom graphics over a stream recorded from a user's webcam and save the resulting video to a server. I've looked at Flash Media Server and it looks like it's only possible t…

---

## [HELP : Stop Random Timer On Frames](https://forum.kirupa.com/t/help-stop-random-timer-on-frames/302601)

<div class="topic-metadata">

**Author:** [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Replies:** 0\
**Last updated:** [January 4, 2010, 6:11am UTC](https://forum.kirupa.com/t/help-stop-random-timer-on-frames/302601 "2010-01-04T06:11:19Z")

</div>

I tried to search some timer tutorials here but I can't seem to find one. All I get are date timers. Can someone help me on how to do timers? I'd like my movie to randomly stop on a frame every minute. Let's say: a…

---

## [How can I populate more objects and move them](https://forum.kirupa.com/t/how-can-i-populate-more-objects-and-move-them/302596)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [January 4, 2010, 3:36am UTC](https://forum.kirupa.com/t/how-can-i-populate-more-objects-and-move-them/302596 "2010-01-04T03:36:02Z")

</div>

Hi, I'm trying to understand Array and For Loops and they started to make sense. I have this code that generates 100 drops and moves them down but I would like to populate more and more move them down and delete them a…

---

## [Proper way to remove MovieClips](https://forum.kirupa.com/t/proper-way-to-remove-movieclips/302594)

<div class="topic-metadata">

**Author:** [@Nick23](https://forum.kirupa.com/u/Nick23)\
**Replies:** 0\
**Last updated:** [January 4, 2010, 2:18am UTC](https://forum.kirupa.com/t/proper-way-to-remove-movieclips/302594 "2010-01-04T02:18:33Z")

</div>

I've seen a lot about removing movie clips and I finally want to settle this. What is the proper way to remove a Movie Clip from memory? Right now what I'm doing is: removeEventListener(Event.ENTER\_FRAME, step); th…

---

## [Am I using this "IF" function right?](https://forum.kirupa.com/t/am-i-using-this-if-function-right/302593)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 4, 2010, 2:12am UTC](https://forum.kirupa.com/t/am-i-using-this-if-function-right/302593 "2010-01-04T02:12:56Z")

</div>

If not, please correct. It looks good to me... SELECT b.id AS id, b.category\_type AS category\_type, IF(b.category\_type = 0, b.name, c.name) AS name "; FROM \`#\_\_budget\_categories\` AS b, \`#\_\_k2\_categor…

---

## [Silverlight PHP Xaml Video Player](https://forum.kirupa.com/t/silverlight-php-xaml-video-player/302592)

<div class="topic-metadata">

**Author:** [@maboroshi](https://forum.kirupa.com/u/maboroshi)\
**Replies:** 0\
**Last updated:** [January 4, 2010, 2:10am UTC](https://forum.kirupa.com/t/silverlight-php-xaml-video-player/302592 "2010-01-04T02:10:43Z")

</div>

Hello I was wondering if anyone could help me. I am looking to build a PHP Silverlight Video Player without using expression blend. I am some what familiar with Silverlight XAML code using Python. I was wondering if some…

---

## [Loading JPEG/SWF Into Holder](https://forum.kirupa.com/t/loading-jpeg-swf-into-holder/302591)

<div class="topic-metadata">

**Author:** [@Playdo](https://forum.kirupa.com/u/Playdo)\
**Replies:** 0\
**Last updated:** [January 4, 2010, 1:08am UTC](https://forum.kirupa.com/t/loading-jpeg-swf-into-holder/302591 "2010-01-04T01:08:43Z")

</div>

I need some advice on the best way to tackle this idea: I want to create a page for viewing JPEGs and SWFs. There will be a holder and underneath this there will be a row of thumbnails. On release of a thumbnail the JP…

---

## [Display "chunks" of HTML code](https://forum.kirupa.com/t/display-chunks-of-html-code/302587)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 4, 2010, 12:09am UTC](https://forum.kirupa.com/t/display-chunks-of-html-code/302587 "2010-01-04T00:09:34Z")

</div>

This is probably simple for someone more proficient in PHP. Basically, I want to say "if (blabla), display this huge chunk of HTML" "else display this huge chunk". I could use a lot of echo statements, but that would…

---

## [Managing a Mailserver / Using DBMail](https://forum.kirupa.com/t/managing-a-mailserver-using-dbmail/302586)

<div class="topic-metadata">

**Author:** [@lorren\_biffin](https://forum.kirupa.com/u/lorren_biffin)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 11:55pm UTC](https://forum.kirupa.com/t/managing-a-mailserver-using-dbmail/302586 "2010-01-03T23:55:56Z")

</div>

Does anybody here manage a mailserver? If so, have you ever used or considered using DBMail? http://www.dbmail.org/ Few questions: \[LIST=1\] \[\*\]How well does it perform in general? \[\*\]The overview boasts scalability…

---

## [as2 to as3 Migration help...easy question!](https://forum.kirupa.com/t/as2-to-as3-migration-help-easy-question/302585)

<div class="topic-metadata">

**Author:** [@ishiaru](https://forum.kirupa.com/u/ishiaru)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 11:51pm UTC](https://forum.kirupa.com/t/as2-to-as3-migration-help-easy-question/302585 "2010-01-03T23:51:06Z")

</div>

Hey guys, first of I would like to apologize if this question has been already answered I need help translating this follow AS2 code: onClipEvent(enterFrame){ if(Key.isDown(Key.LEFT)){ \_x -= 5; }else if(…

---

## [Interfaces for variables?](https://forum.kirupa.com/t/interfaces-for-variables/302579)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 11:25pm UTC](https://forum.kirupa.com/t/interfaces-for-variables/302579 "2010-01-03T23:25:59Z")

</div>

Is there any way to create a sort of interface for variables? In other words to enforce a class to create and use a variable if they implement an interface or subclass something?

---

## [External html and internal flash frame links](https://forum.kirupa.com/t/external-html-and-internal-flash-frame-links/302573)

<div class="topic-metadata">

**Author:** [@waterdad568](https://forum.kirupa.com/u/waterdad568)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 10:03pm UTC](https://forum.kirupa.com/t/external-html-and-internal-flash-frame-links/302573 "2010-01-03T22:03:17Z")

</div>

Hi, Not sure if I'm in the right place, I apologize in advance if so. I'm somewhat proficient with html, but fairly new to flash, using cs4pro, as3. Here's my dilemma. Converting an existing html/css site to flash. F…

---

## [Moving Movieclip in opposite direction of mouse movement](https://forum.kirupa.com/t/moving-movieclip-in-opposite-direction-of-mouse-movement/302572)

<div class="topic-metadata">

**Author:** [@helious](https://forum.kirupa.com/u/helious)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 8:58pm UTC](https://forum.kirupa.com/t/moving-movieclip-in-opposite-direction-of-mouse-movement/302572 "2010-01-03T20:58:12Z")

</div>

I am about to make a gallery where all the pictures are ligned up, in a vertical row collum. I wan to make the Movieclip move in the opposite direction of my mouse movement. Like this: http://www.kirupa.com/develop…

---

## [Certain swf files won't load externally!](https://forum.kirupa.com/t/certain-swf-files-wont-load-externally/302571)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 8:06pm UTC](https://forum.kirupa.com/t/certain-swf-files-wont-load-externally/302571 "2010-01-03T20:06:20Z")

</div>

:hang: For some reason my slideshow gallery will not work with specific swf files. I can't find any correlation between the ones that work and the ones that don't work - stage size, length, as3 version, actions, ect do…

---

## [LoadHTML error test](https://forum.kirupa.com/t/loadhtml-error-test/302570)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 6:54pm UTC](https://forum.kirupa.com/t/loadhtml-error-test/302570 "2010-01-03T18:54:52Z")

</div>

HI I can load HTML inside AS3. My problem is to have a way to display an error message if the path is incorrect and does not exist. Here is my code: var path:String = "http://www.eyerix.net/pt/w/teste"; // this w…

---

## [ExternalInterface.call() not working in Firefox](https://forum.kirupa.com/t/externalinterface-call-not-working-in-firefox/302569)

<div class="topic-metadata">

**Author:** [@johnnymeerkat](https://forum.kirupa.com/u/johnnymeerkat)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 6:33pm UTC](https://forum.kirupa.com/t/externalinterface-call-not-working-in-firefox/302569 "2010-01-03T18:33:33Z")

</div>

It took me a good few hours to whittle down to what was causing this issue, but despite that I haven't been able to come up with a solution: I've got a very basic test file that just fires a Javascript function with an…

---

## [PHP Ming Video Player?](https://forum.kirupa.com/t/php-ming-video-player/302568)

<div class="topic-metadata">

**Author:** [@maboroshi](https://forum.kirupa.com/u/maboroshi)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 5:31pm UTC](https://forum.kirupa.com/t/php-ming-video-player/302568 "2010-01-03T17:31:16Z")

</div>

Hello I am trying to post videos from a Database using a PHP/Ming video player. The problem is all the examples I have found for a Ming Video Player in PHP do not work. Or I can't get them to work with my database Can …

---

## [How to read Excel file in DataGrid](https://forum.kirupa.com/t/how-to-read-excel-file-in-datagrid/302566)

<div class="topic-metadata">

**Author:** [@asscripter](https://forum.kirupa.com/u/asscripter)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 3:46pm UTC](https://forum.kirupa.com/t/how-to-read-excel-file-in-datagrid/302566 "2010-01-03T15:46:42Z")

</div>

Hi, I have to load and read the content of a Excel sheet into a datagrid. I am using AIR to load the FileStream, but when I display that stream, it gives me some junk character. Can anyone please help me parsing the Ro…

---

## [AS3 to AMFPHP](https://forum.kirupa.com/t/as3-to-amfphp/302564)

<div class="topic-metadata">

**Author:** [@DrMaxMad](https://forum.kirupa.com/u/DrMaxMad)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 2:37pm UTC](https://forum.kirupa.com/t/as3-to-amfphp/302564 "2010-01-03T14:37:30Z")

</div>

Hi there, i am new to php and specially AMFPHP, now all i am trying to do is send and Array to PHP using AMFPHP and get it back, but it returns "null";. here goes the AS3 code. package { import flash.display.\*; i…

---

## [Floating Sprite Tags (TagCloud)](https://forum.kirupa.com/t/floating-sprite-tags-tagcloud/302563)

<div class="topic-metadata">

**Author:** [@Hmarcel](https://forum.kirupa.com/u/Hmarcel)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 1:42pm UTC](https://forum.kirupa.com/t/floating-sprite-tags-tagcloud/302563 "2010-01-03T13:42:17Z")

</div>

Hi there, I want to create a Tagcloud. Each Tag is a Sprite Object which loads its cotent via XML. I want to let them float around like they were flying in the air. It should be a defined area and the movement must me sm…

---

## [For sell brand New Samsung B7620 Giorgio Armani$260,Sony Ericsson XPERIA X2,Nokia X6](https://forum.kirupa.com/t/for-sell-brand-new-samsung-b7620-giorgio-armani-260-sony-ericsson-xperia-x2-nokia-x6/302559)

<div class="topic-metadata">

**Author:** [@YEAR2010](https://forum.kirupa.com/u/YEAR2010)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 11:38am UTC](https://forum.kirupa.com/t/for-sell-brand-new-samsung-b7620-giorgio-armani-260-sony-ericsson-xperia-x2-nokia-x6/302559 "2010-01-03T11:38:58Z")

</div>

LANAGRADE LIMITED we are one of the leading mobile phone distributorsis. We are Legitimate registered company under government registration and licensed, Registered No.03190119 We are recognized distributor of various …

---

## [For sell brand New BlackBerry Bold 9700-$280,Nokia N97 mini,Samsung i8910 Omnia HD](https://forum.kirupa.com/t/for-sell-brand-new-blackberry-bold-9700-280-nokia-n97-mini-samsung-i8910-omnia-hd/302558)

<div class="topic-metadata">

**Author:** [@YEAR2010](https://forum.kirupa.com/u/YEAR2010)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 11:36am UTC](https://forum.kirupa.com/t/for-sell-brand-new-blackberry-bold-9700-280-nokia-n97-mini-samsung-i8910-omnia-hd/302558 "2010-01-03T11:36:28Z")

</div>

LANAGRADE LIMITED we are one of the leading mobile phone distributorsis. We are Legitimate registered company under government registration and licensed, Registered No.03190119 We are recognized distributor of various …

---

## [Dynamically add input text comp on click](https://forum.kirupa.com/t/dynamically-add-input-text-comp-on-click/302555)

<div class="topic-metadata">

**Author:** [@yossarian](https://forum.kirupa.com/u/yossarian)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 8:56am UTC](https://forum.kirupa.com/t/dynamically-add-input-text-comp-on-click/302555 "2010-01-03T08:56:23Z")

</div>

Hi, I would like users to be able to: add input textbox components on click limit the number of times they can do this limit the chars to x number Can someone explain what to do or point me in the right direction …

---

## [Input text field problems](https://forum.kirupa.com/t/input-text-field-problems/302553)

<div class="topic-metadata">

**Author:** [@SolBrad](https://forum.kirupa.com/u/SolBrad)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 8:34am UTC](https://forum.kirupa.com/t/input-text-field-problems/302553 "2010-01-03T08:34:55Z")

</div>

Hi everyone I seem to be having a very strange problem with an input textfield. If i have an original message in the input text field, eg Enter your name. Then i add a focus event to the textfield to check when the u…

---

## [Image Loading problems?](https://forum.kirupa.com/t/image-loading-problems/302549)

<div class="topic-metadata">

**Author:** [@fizzzzzzzzzzzy](https://forum.kirupa.com/u/fizzzzzzzzzzzy)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 6:21am UTC](https://forum.kirupa.com/t/image-loading-problems/302549 "2010-01-03T06:21:36Z")

</div>

Alright so there's a section in my code where I load an Image file into the swf. This is what the code looks like: public function loadImage() : void { imageLoader.contentLoaderInfo.addEventListen…

---

## [Having problems with slopes](https://forum.kirupa.com/t/having-problems-with-slopes/302545)

<div class="topic-metadata">

**Author:** [@WarChimp](https://forum.kirupa.com/u/WarChimp)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 5:07am UTC](https://forum.kirupa.com/t/having-problems-with-slopes/302545 "2010-01-03T05:07:41Z")

</div>

Hey, I've followed a tutorial for adding slopes to a platformer and it works quite well except for 1 thing. The hero goes up on the slope alright but when he goes down on the slope he kind of bounces down, it stops the…

---

## [Brand New Unlocked Apple Iphone 3GS 32GB & Blackberry Bold 9700 F/S](https://forum.kirupa.com/t/brand-new-unlocked-apple-iphone-3gs-32gb-blackberry-bold-9700-f-s/302539)

<div class="topic-metadata">

**Author:** [@vstores22](https://forum.kirupa.com/u/vstores22)\
**Replies:** 0\
**Last updated:** [January 2, 2010, 11:42pm UTC](https://forum.kirupa.com/t/brand-new-unlocked-apple-iphone-3gs-32gb-blackberry-bold-9700-f-s/302539 "2010-01-02T23:42:00Z")

</div>

\*\* Email.... v.rcommstores@live.com Website..... www.roodycomputerstore.com We specialize in a wide range of products such as laptops,mobile phones, plasma & lcd tv, mp3 & mp4 players,video games console, digita…

---

## [Asteroids game ... occasional hit undetected](https://forum.kirupa.com/t/asteroids-game-occasional-hit-undetected/302537)

<div class="topic-metadata">

**Author:** [@dexa\_007](https://forum.kirupa.com/u/dexa_007)\
**Replies:** 0\
**Last updated:** [January 2, 2010, 9:09pm UTC](https://forum.kirupa.com/t/asteroids-game-occasional-hit-undetected/302537 "2010-01-02T21:09:51Z")

</div>

Hey guys, I've constructed a "primitive" asteroids game based upon a tutorial provided at Flash Kit. All is working well except ... an occasional hit goes undetected when either the laser or spaceship makes contact wit…

---

## [Funny things with type conversion](https://forum.kirupa.com/t/funny-things-with-type-conversion/302535)

<div class="topic-metadata">

**Author:** [@a\_tadster](https://forum.kirupa.com/u/a_tadster)\
**Replies:** 0\
**Last updated:** [January 2, 2010, 7:48pm UTC](https://forum.kirupa.com/t/funny-things-with-type-conversion/302535 "2010-01-02T19:48:53Z")

</div>

ok, this is somewhat related to a recent thread about the import statement. In it was discussed the fact that import happens at run time not compile time. Well, i've run into an interesting situation and just want some …

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

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