# programming

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

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

**Page:** 1017

---

## [PHP mail function](https://forum.kirupa.com/t/php-mail-function/275330)

<div class="topic-metadata">

**Author:** [@DangerousDan](https://forum.kirupa.com/u/DangerousDan)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 3:43pm UTC](https://forum.kirupa.com/t/php-mail-function/275330 "2008-11-12T15:43:14Z")

</div>

\<? include("db.php"); $name = $\_REQUEST\['name'\]; $saddress = $\_REQUEST\['staddress'\]; $city = $\_REQUEST\['city'\]; $zip = $\_REQUEST\['zip'\]; $phone = $\_REQUEST\['phone'\]; $cphone = $\_REQUEST\['cellphone'\]; $email = $\_REQUEST\[…

---

## [How can I make a movieclip with 3 empty keyframes purely with code?](https://forum.kirupa.com/t/how-can-i-make-a-movieclip-with-3-empty-keyframes-purely-with-code/275329)

<div class="topic-metadata">

**Author:** [@rotaercz](https://forum.kirupa.com/u/rotaercz)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 3:40pm UTC](https://forum.kirupa.com/t/how-can-i-make-a-movieclip-with-3-empty-keyframes-purely-with-code/275329 "2008-11-12T15:40:12Z")

</div>

How can I make a movieclip with 3 empty keyframes purely with code?

---

## [Spaces appearing before \<p\> tags in .htmlText](https://forum.kirupa.com/t/spaces-appearing-before-p-tags-in-htmltext/275328)

<div class="topic-metadata">

**Author:** [@thatguythatsme](https://forum.kirupa.com/u/thatguythatsme)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 3:30pm UTC](https://forum.kirupa.com/t/spaces-appearing-before-p-tags-in-htmltext/275328 "2008-11-12T15:30:05Z")

</div>

I'm using the .htmlText function in ActionScript to format some text from an xml file however I seem to be having some trubles with 2 spaces being put before the start of each \<p\> tag. I've googled it but so far haven't …

---

## [Strange MovieClip behavior](https://forum.kirupa.com/t/strange-movieclip-behavior/275326)

<div class="topic-metadata">

**Author:** [@DFox](https://forum.kirupa.com/u/DFox)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 3:05pm UTC](https://forum.kirupa.com/t/strange-movieclip-behavior/275326 "2008-11-12T15:05:38Z")

</div>

Hey, I'm having an issue with MovieClips that I haven't been able to figure out for the life of me, and I am hoping that someone can shed some light on this behavior. First off, I have a class. This class is "Box". …

---

## [Edit quiz template navigation](https://forum.kirupa.com/t/edit-quiz-template-navigation/275323)

<div class="topic-metadata">

**Author:** [@siggy84](https://forum.kirupa.com/u/siggy84)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 2:33pm UTC](https://forum.kirupa.com/t/edit-quiz-template-navigation/275323 "2008-11-12T14:33:28Z")

</div>

I've created a quiz from one of dan carrs templates, it consists of about 40 questions. i've adapted it to my needs accordingly however there a couple of things that im wanting to do and im wondering if its possible with…

---

## [Adding controls to Swf file](https://forum.kirupa.com/t/adding-controls-to-swf-file/275322)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 2:15pm UTC](https://forum.kirupa.com/t/adding-controls-to-swf-file/275322 "2008-11-12T14:15:27Z")

</div>

Hello I want to add controls ( slider) to a swf file does anyone know a tutorial or a way to do it? I have added the play pause button its making the slider bar to move the video forward or backward that is giving me…

---

## [AS2 Random Quote Project](https://forum.kirupa.com/t/as2-random-quote-project/275321)

<div class="topic-metadata">

**Author:** [@rp\_nyinuk](https://forum.kirupa.com/u/rp_nyinuk)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 2:04pm UTC](https://forum.kirupa.com/t/as2-random-quote-project/275321 "2008-11-12T14:04:28Z")

</div>

Hello to all. I have this little project on my hands that has been thoroughly handing me my asterisk for a good couple of weeks now and I would greatly appreciate if anyone could help me in any regard. So... I'm making…

---

## [How to treat numbers in binary format with AS3?](https://forum.kirupa.com/t/how-to-treat-numbers-in-binary-format-with-as3/275318)

<div class="topic-metadata">

**Author:** [@zhangxiaorui](https://forum.kirupa.com/u/zhangxiaorui)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 1:00pm UTC](https://forum.kirupa.com/t/how-to-treat-numbers-in-binary-format-with-as3/275318 "2008-11-12T13:00:44Z")

</div>

So ... since we can treat numbers like this: var someNumber:Number = 0xff0000; is there anyway to treat numbers like: var someBinaryData:Number = ??010011; Just wonder...

---

## [How to make an MC not receive mouse events?](https://forum.kirupa.com/t/how-to-make-an-mc-not-receive-mouse-events/275316)

<div class="topic-metadata">

**Author:** [@Mistykal](https://forum.kirupa.com/u/Mistykal)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 12:47pm UTC](https://forum.kirupa.com/t/how-to-make-an-mc-not-receive-mouse-events/275316 "2008-11-12T12:47:44Z")

</div>

Hiya, I have two movieclips each on its own layer, overlapping each other. Is it possible to programaticly disable the top movieclip from receiving mouse events, so that only the bottom one will register a mouse over eve…

---

## [How to make scrollbar with actions](https://forum.kirupa.com/t/how-to-make-scrollbar-with-actions/275311)

<div class="topic-metadata">

**Author:** [@blomman](https://forum.kirupa.com/u/blomman)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 11:35am UTC](https://forum.kirupa.com/t/how-to-make-scrollbar-with-actions/275311 "2008-11-12T11:35:52Z")

</div>

Hi, i just use the "Simple Custom Scrollbar at kirupa.com and i have a problem. I can make an url on som text, but i need too link a word "More info" to a scen and frame at the website. I try to make a new layer in movi…

---

## [SDK Command-line help](https://forum.kirupa.com/t/sdk-command-line-help/275310)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 11:33am UTC](https://forum.kirupa.com/t/sdk-command-line-help/275310 "2008-11-12T11:33:16Z")

</div>

Hi all Im having a tough time of finding info / help on using the command-line in the free Flex SDK. Anyone know any good link? Thanks dai

---

## [Colour Detection](https://forum.kirupa.com/t/colour-detection/275309)

<div class="topic-metadata">

**Author:** [@nyakiz](https://forum.kirupa.com/u/nyakiz)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 11:14am UTC](https://forum.kirupa.com/t/colour-detection/275309 "2008-11-12T11:14:47Z")

</div>

\[FONT=Arial\]Hey guys, I want to be able to have Flash do some colour detection using a webcam. So for example say if I had the camera looking at something red it would go to frame 2, if it was blue it would go to frame 3…

---

## [LinkBar not resizing](https://forum.kirupa.com/t/linkbar-not-resizing/275306)

<div class="topic-metadata">

**Author:** [@shubs6](https://forum.kirupa.com/u/shubs6)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 9:52am UTC](https://forum.kirupa.com/t/linkbar-not-resizing/275306 "2008-11-12T09:52:12Z")

</div>

I'm using a Viewstack alongwith a LinkBar in my app. I add tabs dynamically to Viewstack (tabs are canvas objects) and the LinkBar dtaprovider is the viewstack itself. Now the tabs get added fine but the problem is that …

---

## [Galleri - XML...no solvable](https://forum.kirupa.com/t/galleri-xml-no-solvable/275303)

<div class="topic-metadata">

**Author:** [@kyli51](https://forum.kirupa.com/u/kyli51)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 8:11am UTC](https://forum.kirupa.com/t/galleri-xml-no-solvable/275303 "2008-11-12T08:11:39Z")

</div>

hi all, someone helped me developing a gallery, loading images trough XML, problem is the images are blinking and not showing properly while loading. apparently it is suppose to be a loading problem, means all the im…

---

## [FlashDevelop?](https://forum.kirupa.com/t/flashdevelop/275302)

<div class="topic-metadata">

**Author:** [@BeerOclock](https://forum.kirupa.com/u/BeerOclock)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 7:57am UTC](https://forum.kirupa.com/t/flashdevelop/275302 "2008-11-12T07:57:32Z")

</div>

Ive been using Adobe Flash CS3 Pro Authoring tool to develop my flash applications, but I recently came across something called FlashDevelop. I know that its a free, open source editor for writing (and compiling?) flash …

---

## [Sequentially preload images](https://forum.kirupa.com/t/sequentially-preload-images/275300)

<div class="topic-metadata">

**Author:** [@jpinteractive](https://forum.kirupa.com/u/jpinteractive)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 7:19am UTC](https://forum.kirupa.com/t/sequentially-preload-images/275300 "2008-11-12T07:19:38Z")

</div>

Hi, some one help me how to do Sequentially preload images from XML data. i have a movie clip on stage thats duplicating using array. after its duplicating it need to load multiple images into it. this part is working …

---

## [Accessing property of previously created MC?](https://forum.kirupa.com/t/accessing-property-of-previously-created-mc/275299)

<div class="topic-metadata">

**Author:** [@aeroshock](https://forum.kirupa.com/u/aeroshock)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 7:05am UTC](https://forum.kirupa.com/t/accessing-property-of-previously-created-mc/275299 "2008-11-12T07:05:30Z")

</div>

Hey there. Im in the beginning stages of making a shopping cart, and I just have a container mc that has a dynamic text field for the name of the item (shirtname) and qty. (shirtnum). What Im trying to do is check if the…

---

## [Communicating with Container Movie](https://forum.kirupa.com/t/communicating-with-container-movie/275294)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 4:44am UTC](https://forum.kirupa.com/t/communicating-with-container-movie/275294 "2008-11-12T04:44:58Z")

</div>

I was hoping I could set up an array of text strings on a main timeline that would be called by the external class script but I get a null object error. I have an interface file (interface.fla) that loads in Game.swf and…

---

## [Can someone give me a quick help on my slideshow?](https://forum.kirupa.com/t/can-someone-give-me-a-quick-help-on-my-slideshow/275291)

<div class="topic-metadata">

**Author:** [@rikaro](https://forum.kirupa.com/u/rikaro)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 3:53am UTC](https://forum.kirupa.com/t/can-someone-give-me-a-quick-help-on-my-slideshow/275291 "2008-11-12T03:53:48Z")

</div>

I'm doing an image slide show right now and I have the script set up like this: image\_mc.stop(); forward\_btn.addEventListener(MouseEvent.CLICK, forward1); back\_btn.addEventListener(MouseEvent.CLICK, back1); functio…

---

## [Internet explorer "return false" solution](https://forum.kirupa.com/t/internet-explorer-return-false-solution/275287)

<div class="topic-metadata">

**Author:** [@joran420](https://forum.kirupa.com/u/joran420)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 3:23am UTC](https://forum.kirupa.com/t/internet-explorer-return-false-solution/275287 "2008-11-12T03:23:33Z")

</div>

I wanted a certain link to not be followed on click. and could get it fine in ff and opera using return false in the on click but in ie it would still follow the link. I dunno its probably common knowledge but i spent…

---

## [Help Would be appriciated](https://forum.kirupa.com/t/help-would-be-appriciated/275281)

<div class="topic-metadata">

**Author:** [@cullen90](https://forum.kirupa.com/u/cullen90)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 2:13am UTC](https://forum.kirupa.com/t/help-would-be-appriciated/275281 "2008-11-12T02:13:53Z")

</div>

Hi Guys, I am trying to use this tutorial http://www.kirupa.com/developer/mx2004/transitions2.htm When I preview the main index.html (created on Flash CS3) all of the files are fine and the transtions between the s…

---

## [Can anyone explain this bug?](https://forum.kirupa.com/t/can-anyone-explain-this-bug/275278)

<div class="topic-metadata">

**Author:** [@arunforce](https://forum.kirupa.com/u/arunforce)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 1:18am UTC](https://forum.kirupa.com/t/can-anyone-explain-this-bug/275278 "2008-11-12T01:18:10Z")

</div>

Inside the attached .rar Two seperate objects are made, object A and object B, but they share the same variable (only works with arrays) even though they aren't linked in any way. Any changes made to A is reflected in B,…

---

## [Problems with written As3 Calendar!](https://forum.kirupa.com/t/problems-with-written-as3-calendar/275277)

<div class="topic-metadata">

**Author:** [@Surekin](https://forum.kirupa.com/u/Surekin)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 1:17am UTC](https://forum.kirupa.com/t/problems-with-written-as3-calendar/275277 "2008-11-12T01:17:34Z")

</div>

Hi there, i am currently writing an event calendar in AIR, completely done in As3. Included in this program is a As3 Calendar which is basically a enhanced version of this one here: http://www.kirupa.com/forum/showthre…

---

## [Flash Detection script](https://forum.kirupa.com/t/flash-detection-script/275276)

<div class="topic-metadata">

**Author:** [@M\_Tronik](https://forum.kirupa.com/u/M_Tronik)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 12:57am UTC](https://forum.kirupa.com/t/flash-detection-script/275276 "2008-11-12T00:57:23Z")

</div>

Hi, How would I go about modifying Kirupa's flash detection script http://www.kirupa.com/developer/mx/detection.htm so that I can have an html menu appear instead of just an image? Thanks for any help.

---

## [Basic gaming question](https://forum.kirupa.com/t/basic-gaming-question/275275)

<div class="topic-metadata">

**Author:** [@kingpin803](https://forum.kirupa.com/u/kingpin803)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 12:56am UTC](https://forum.kirupa.com/t/basic-gaming-question/275275 "2008-11-12T00:56:49Z")

</div>

I've just started to learn actionscript 2.0 and I'm in the process of trying to create a simple adventure style game. Basically, i have an character that on keyboard movement will travel from one to room to another (kind…

---

## [RemoveChild throwing error...tried and tried!](https://forum.kirupa.com/t/removechild-throwing-error-tried-and-tried/275274)

<div class="topic-metadata">

**Author:** [@caveDweller](https://forum.kirupa.com/u/caveDweller)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 12:54am UTC](https://forum.kirupa.com/t/removechild-throwing-error-tried-and-tried/275274 "2008-11-12T00:54:10Z")

</div>

Can't figure out what's up. Keep getting this error: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. at flash.display::DisplayObjectContainer/removeChild() at ViewFinder\_mock…

---

## [Trouble with embedding fonts in a text field created in actionscript](https://forum.kirupa.com/t/trouble-with-embedding-fonts-in-a-text-field-created-in-actionscript/275273)

<div class="topic-metadata">

**Author:** [@snyper3xs](https://forum.kirupa.com/u/snyper3xs)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 12:39am UTC](https://forum.kirupa.com/t/trouble-with-embedding-fonts-in-a-text-field-created-in-actionscript/275273 "2008-11-12T00:39:53Z")

</div>

Hi guys I've attained soo much help from the Kirupa forums that I thought I get involved. I’ve been trying to do what should be a simple task and have got to the point where I'm cursing and pulling out my hair. Wha…

---

## [Media encoder won't encode!](https://forum.kirupa.com/t/media-encoder-wont-encode/275272)

<div class="topic-metadata">

**Author:** [@davidstar](https://forum.kirupa.com/u/davidstar)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 12:39am UTC](https://forum.kirupa.com/t/media-encoder-wont-encode/275272 "2008-11-12T00:39:22Z")

</div>

Hi! Resently upgraded to CS4 and tried to encode a couple of video files to a project, only to dicover it did't work! No files what so ever is accepted avi, mpeg etc. It accepted flv files though...It worked flawlessly…

---

## [Button gets transparent not the label!](https://forum.kirupa.com/t/button-gets-transparent-not-the-label/275271)

<div class="topic-metadata">

**Author:** [@caveDweller](https://forum.kirupa.com/u/caveDweller)\
**Replies:** 0\
**Last updated:** [November 12, 2008, 12:28am UTC](https://forum.kirupa.com/t/button-gets-transparent-not-the-label/275271 "2008-11-12T00:28:27Z")

</div>

Probably a silly question, but when I set alpha of my button to '0' button goes transparent but the label still shows up in its full glory! Any clues??Thanxxx

---

## [Poll help?](https://forum.kirupa.com/t/poll-help/275268)

<div class="topic-metadata">

**Author:** [@Kale542](https://forum.kirupa.com/u/Kale542)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 11:46pm UTC](https://forum.kirupa.com/t/poll-help/275268 "2008-11-11T23:46:46Z")

</div>

I need to make a poll, i've got everything I need to know, like dyamic text, mouse over, hit area, whatever EXCEPT the most important part: When you click on your choice, a little black dot appears inside the circle. I n…

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

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