# programming

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

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

**Page:** 1450

---

## [Attaching MC to \_level1](https://forum.kirupa.com/t/attaching-mc-to--level1/245589)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [December 1, 2007, 10:53am UTC](https://forum.kirupa.com/t/attaching-mc-to--level1/245589 "2007-12-01T10:53:27Z")

</div>

Hi Guys, I want to attach my movie clip to \_level1 my code is as follows: var a:Number = Stage.width/2; var b:Number = Stage.height/2; function attach (){ this.attachMovie("hitarea","hitarea\_mc",10,{x:a,y:b}); …

---

## [Fading dynamic text boxes](https://forum.kirupa.com/t/fading-dynamic-text-boxes/245587)

<div class="topic-metadata">

**Author:** [@Tsukimaru](https://forum.kirupa.com/u/Tsukimaru)\
**Replies:** 0\
**Last updated:** [December 1, 2007, 8:46am UTC](https://forum.kirupa.com/t/fading-dynamic-text-boxes/245587 "2007-12-01T08:46:03Z")

</div>

In some Flash rpg's I've played, when you hit the enemy, a white number (how much damage you did) will appear and then move upwards while fading out. I'm trying to copy this, but I can't figure out how to make a dynamic …

---

## [Adding a listener to stage from within a class](https://forum.kirupa.com/t/adding-a-listener-to-stage-from-within-a-class/245581)

<div class="topic-metadata">

**Author:** [@anon4341189](https://forum.kirupa.com/u/anon4341189)\
**Replies:** 0\
**Last updated:** [December 1, 2007, 6:54am UTC](https://forum.kirupa.com/t/adding-a-listener-to-stage-from-within-a-class/245581 "2007-12-01T06:54:56Z")

</div>

Hi guys, I am trying to create a slider component class using AS 3.0. The slider works ok, but there is the onReleaseOutside problem. After googling, i came to the conclusion that one would add the MOUSE\_UP event to th…

---

## [Need some help with xml Nodes in Flash](https://forum.kirupa.com/t/need-some-help-with-xml-nodes-in-flash/245577)

<div class="topic-metadata">

**Author:** [@icebot07](https://forum.kirupa.com/u/icebot07)\
**Replies:** 0\
**Last updated:** [December 1, 2007, 5:44am UTC](https://forum.kirupa.com/t/need-some-help-with-xml-nodes-in-flash/245577 "2007-12-01T05:44:34Z")

</div>

hi, i worked on this code earlier today and had saved it as version 8, but when i got home i couldn't open it. so...i tried to recreate it from memory, which is always a bad idea for a sleep-deprived mommy. here's my …

---

## [Am I writing this class right? Need Help with OOP Plz](https://forum.kirupa.com/t/am-i-writing-this-class-right-need-help-with-oop-plz/245576)

<div class="topic-metadata">

**Author:** [@combustion007](https://forum.kirupa.com/u/combustion007)\
**Replies:** 0\
**Last updated:** [December 1, 2007, 5:12am UTC](https://forum.kirupa.com/t/am-i-writing-this-class-right-need-help-with-oop-plz/245576 "2007-12-01T05:12:35Z")

</div>

cheers, I am getting my feet wet with OOP and wrote this class but am not sure if it is right and if the constructor is written right. Appreciate your help..thx public class PlayVideo{ var vid\_arr:Array = new Array…

---

## [Color Picker from Shape Object](https://forum.kirupa.com/t/color-picker-from-shape-object/245575)

<div class="topic-metadata">

**Author:** [@klok](https://forum.kirupa.com/u/klok)\
**Replies:** 0\
**Last updated:** [December 1, 2007, 5:05am UTC](https://forum.kirupa.com/t/color-picker-from-shape-object/245575 "2007-12-01T05:05:44Z")

</div>

Hello Everyone this is my first post I'm trying to grab an imported swf's shape object fill color and pass it's value to a ColorPicker component. Is there any way to this in AS3? Thanks so much in advance.

---

## [AJAX syntax basics](https://forum.kirupa.com/t/ajax-syntax-basics/245574)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [December 1, 2007, 5:00am UTC](https://forum.kirupa.com/t/ajax-syntax-basics/245574 "2007-12-01T05:00:38Z")

</div>

This is my HTML \<input type="text" size="30" maxlength="30" name="username" id="registerUsername" onkeyup="nameAvailable(this.value, 'availability')" /\> This is a portion of my imported javascript file. I'll spare …

---

## [New here, need some help please](https://forum.kirupa.com/t/new-here-need-some-help-please/245572)

<div class="topic-metadata">

**Author:** [@AxelBitz](https://forum.kirupa.com/u/AxelBitz)\
**Replies:** 0\
**Last updated:** [December 1, 2007, 1:04am UTC](https://forum.kirupa.com/t/new-here-need-some-help-please/245572 "2007-12-01T01:04:52Z")

</div>

Hello I'm making a Flash presentation (projector) and I'm having two issues: I can't make an "email us" button to work. The standard getURL () action doesn't do anything (never ever needed such a button in a projecto…

---

## [XML Accordion Menu / Content - Question about best approach](https://forum.kirupa.com/t/xml-accordion-menu-content-question-about-best-approach/245570)

<div class="topic-metadata">

**Author:** [@dail](https://forum.kirupa.com/u/dail)\
**Replies:** 0\
**Last updated:** [December 1, 2007, 12:18am UTC](https://forum.kirupa.com/t/xml-accordion-menu-content-question-about-best-approach/245570 "2007-12-01T00:18:38Z")

</div>

Hi, I've been messing around with this AS3 version of an AS2 menu I made. The AS2 menu uses AsBroadcaster to broadcast messages to each menu item, telling it to updates its position based off what ever item is active, …

---

## [Arrays, fieldnames, and nesting oh my!](https://forum.kirupa.com/t/arrays-fieldnames-and-nesting-oh-my/245567)

<div class="topic-metadata">

**Author:** [@Esoltas](https://forum.kirupa.com/u/Esoltas)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 11:31pm UTC](https://forum.kirupa.com/t/arrays-fieldnames-and-nesting-oh-my/245567 "2007-11-30T23:31:44Z")

</div>

Thanks for even opening the post. Hopefully, you are able to help. My problem is that I cannot successfully transfer a value from one array to another. But wait, it's not that simple! Because I'm making a game, I'd rathe…

---

## [Please help with keyboard actions](https://forum.kirupa.com/t/please-help-with-keyboard-actions/245566)

<div class="topic-metadata">

**Author:** [@Brother\_Gabriel](https://forum.kirupa.com/u/Brother_Gabriel)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 11:22pm UTC](https://forum.kirupa.com/t/please-help-with-keyboard-actions/245566 "2007-11-30T23:22:43Z")

</div>

Greetings all! Can anyone provide me with a code that will let me go to the next frame by pushing the "n" button? I can figure out how to do it with the arrow keys, but it won't work with the non-constant keys. Than…

---

## [Flash Video layed over html](https://forum.kirupa.com/t/flash-video-layed-over-html/245564)

<div class="topic-metadata">

**Author:** [@Rob\_Hed](https://forum.kirupa.com/u/Rob_Hed)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 11:11pm UTC](https://forum.kirupa.com/t/flash-video-layed-over-html/245564 "2007-11-30T23:11:38Z")

</div>

Does anyone know how to do this effect. Having the flash video come from side over the html. http://www.clearhavencenter.com/

---

## [Css Help!](https://forum.kirupa.com/t/css-help/245561)

<div class="topic-metadata">

**Author:** [@nvidia](https://forum.kirupa.com/u/nvidia)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 10:45pm UTC](https://forum.kirupa.com/t/css-help/245561 "2007-11-30T22:45:17Z")

</div>

Hi am am new to CSS so i am just playing around with elements at the moment. What i would like you to pay close attention to is the divs called "#box" and "#paragraph". As you can see the orange box with text is overlapp…

---

## [PROBLEM! Playing a movieclip foward and backwards](https://forum.kirupa.com/t/problem-playing-a-movieclip-foward-and-backwards/245558)

<div class="topic-metadata">

**Author:** [@grayhorses](https://forum.kirupa.com/u/grayhorses)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 9:51pm UTC](https://forum.kirupa.com/t/problem-playing-a-movieclip-foward-and-backwards/245558 "2007-11-30T21:51:21Z")

</div>

I am trying to play a movieclip foward and backwards in the timeline with Action Script 3.0. On my stage will be a movie clip and two buttons (foward and back). When You push the foward button it will make the time line …

---

## [Transferring to Form Application - Causing problems!](https://forum.kirupa.com/t/transferring-to-form-application-causing-problems/245551)

<div class="topic-metadata">

**Author:** [@pagey](https://forum.kirupa.com/u/pagey)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 8:48pm UTC](https://forum.kirupa.com/t/transferring-to-form-application-causing-problems/245551 "2007-11-30T20:48:20Z")

</div>

Hi there, I'm new, so please be gentle :?) I've created a AS 2.0 Flash application in CS3. At the moment, it just consists of some buttons that animated when they are rolled over. Initially, I created these just on the…

---

## [Default setttings for advertising](https://forum.kirupa.com/t/default-setttings-for-advertising/245549)

<div class="topic-metadata">

**Author:** [@Yuri](https://forum.kirupa.com/u/Yuri)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 8:07pm UTC](https://forum.kirupa.com/t/default-setttings-for-advertising/245549 "2007-11-30T20:07:43Z")

</div>

Hi, I just wanted to ask if there is any option how to change global publish settings for advertising templates - everytime I create new document, publish settings are set to flash player 6 and actionscript 1. For simp…

---

## [setMask doesn't work from within a symbol?](https://forum.kirupa.com/t/setmask-doesnt-work-from-within-a-symbol/245548)

<div class="topic-metadata">

**Author:** [@shuga](https://forum.kirupa.com/u/shuga)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 8:00pm UTC](https://forum.kirupa.com/t/setmask-doesnt-work-from-within-a-symbol/245548 "2007-11-30T20:00:06Z")

</div>

I've attached two files that are exactly the same except in Mask\_symbol.fla I copied the frames from the \_root and put them in a symbol. When you open the files you'll see the mask on the \_root gets applied at runtime …

---

## [Ideas on creating an inventory?](https://forum.kirupa.com/t/ideas-on-creating-an-inventory/245547)

<div class="topic-metadata">

**Author:** [@yahoom](https://forum.kirupa.com/u/yahoom)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 7:42pm UTC](https://forum.kirupa.com/t/ideas-on-creating-an-inventory/245547 "2007-11-30T19:42:53Z")

</div>

Hi, I'm trying to create an inventory for a very basic flash site that I'm making, but I'm still learning how to use flash more creatively. I have a couple of scenes that I have made in photoshop and I'm now trying to …

---

## [Whats wrong with this script?](https://forum.kirupa.com/t/whats-wrong-with-this-script/245546)

<div class="topic-metadata">

**Author:** [@AK\_Luv](https://forum.kirupa.com/u/AK_Luv)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 7:42pm UTC](https://forum.kirupa.com/t/whats-wrong-with-this-script/245546 "2007-11-30T19:42:51Z")

</div>

I found this tutorial and followed it exactly but its not working for me. Can anyone get this to work? \[URL="http://www.newgrounds.com/bbs/topic/339291"\] http://www.newgrounds.com/bbs/topic/339291

---

## [MovieClip control / hitTestPoint...I think](https://forum.kirupa.com/t/movieclip-control-hittestpoint-i-think/245542)

<div class="topic-metadata">

**Author:** [@notSoMuch](https://forum.kirupa.com/u/notSoMuch)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 6:45pm UTC](https://forum.kirupa.com/t/movieclip-control-hittestpoint-i-think/245542 "2007-11-30T18:45:01Z")

</div>

OK, so, I want to make a movieclip play forward and backward based on whether or not the hit Test Point returns true or false, right? Keep in mind, I'm extremely stupid, so I am not going to intuitively construct my AS …

---

## [Select query](https://forum.kirupa.com/t/select-query/245541)

<div class="topic-metadata">

**Author:** [@Dali](https://forum.kirupa.com/u/Dali)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 6:42pm UTC](https://forum.kirupa.com/t/select-query/245541 "2007-11-30T18:42:48Z")

</div>

Can somebody help me with this mysql query i'm trying to make. I want to select everything from a table, but that row, where 2 columns have a certain value (both together), as in: if both the entry in column 1 is 'somet…

---

## [Circular Movement](https://forum.kirupa.com/t/circular-movement/245539)

<div class="topic-metadata">

**Author:** [@Septenary](https://forum.kirupa.com/u/Septenary)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 6:13pm UTC](https://forum.kirupa.com/t/circular-movement/245539 "2007-11-30T18:13:51Z")

</div>

Hey, I am trying to make an object move in a circular path. I need to know how to find the object's new x and y positions every frame. However, all of the tutorials I have seen so far move the object in a circle by r…

---

## [Link from a dynamic text to load into main SWF](https://forum.kirupa.com/t/link-from-a-dynamic-text-to-load-into-main-swf/245538)

<div class="topic-metadata">

**Author:** [@pimsme](https://forum.kirupa.com/u/pimsme)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 6:11pm UTC](https://forum.kirupa.com/t/link-from-a-dynamic-text-to-load-into-main-swf/245538 "2007-11-30T18:11:06Z")

</div>

Does anyone know if it is possible to load an external swf from a dyanimcally loaded text box to load into the main swf? If so can you explain how this would be done. Just to be clearer, my main swf has a dynamic text …

---

## [Gallery trouble, works in ie, but not FF or opera](https://forum.kirupa.com/t/gallery-trouble-works-in-ie-but-not-ff-or-opera/245536)

<div class="topic-metadata">

**Author:** [@albino](https://forum.kirupa.com/u/albino)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 6:01pm UTC](https://forum.kirupa.com/t/gallery-trouble-works-in-ie-but-not-ff-or-opera/245536 "2007-11-30T18:01:49Z")

</div>

hey ok, not sure how simple this is, but ive made a gallery, loosely based on the kirupa one. basically, I have a border that resizes, then the image shows in it. This all works fine in IE, but when it is viewed in F…

---

## [Sequentially preload images from XML data](https://forum.kirupa.com/t/sequentially-preload-images-from-xml-data/245533)

<div class="topic-metadata">

**Author:** [@amal\_auc](https://forum.kirupa.com/u/amal_auc)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 5:16pm UTC](https://forum.kirupa.com/t/sequentially-preload-images-from-xml-data/245533 "2007-11-30T17:16:16Z")

</div>

Hello, Am stuck and need some help. My situation is as follows : I have an XML from which I get some urls passed into flash. (urls are path to images) And I have 3 movieclips sitting on the stage waiting to hold the…

---

## [Split up words using RegExp?](https://forum.kirupa.com/t/split-up-words-using-regexp/245531)

<div class="topic-metadata">

**Author:** [@deltajam](https://forum.kirupa.com/u/deltajam)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 5:06pm UTC](https://forum.kirupa.com/t/split-up-words-using-regexp/245531 "2007-11-30T17:06:43Z")

</div>

Hi, just wondering if there is a better way to split up words in a sentenc using RegExp. This class is confusing to me, and I would liek to get a better grasp of it. Are there any resources out there that go into depth…

---

## [Mini Map Selection Box](https://forum.kirupa.com/t/mini-map-selection-box/245529)

<div class="topic-metadata">

**Author:** [@paulcybulski](https://forum.kirupa.com/u/paulcybulski)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 4:50pm UTC](https://forum.kirupa.com/t/mini-map-selection-box/245529 "2007-11-30T16:50:52Z")

</div>

I have a main window with a minimap of the main window...I have created a transparent minimap selection box that shows the view of the main window...so when you zoom in on the main window...the selection box in the minim…

---

## [XML Photo Album to play automatically](https://forum.kirupa.com/t/xml-photo-album-to-play-automatically/245528)

<div class="topic-metadata">

**Author:** [@njoay](https://forum.kirupa.com/u/njoay)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 4:39pm UTC](https://forum.kirupa.com/t/xml-photo-album-to-play-automatically/245528 "2007-11-30T16:39:14Z")

</div>

Hi, I've come across a great tutorial for the xml photo album: http://www.xmlphotoalbum.com/ How would I implement the slideshow to play automatically and continuously? Also, adding some spacing in between the thumbn…

---

## [Adobe Player Error](https://forum.kirupa.com/t/adobe-player-error/245526)

<div class="topic-metadata">

**Author:** [@andyd](https://forum.kirupa.com/u/andyd)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 4:18pm UTC](https://forum.kirupa.com/t/adobe-player-error/245526 "2007-11-30T16:18:09Z")

</div>

Hi I've recently added a flash movie to our company Intranet at work (AS below), it worked fine for a week or so but now were getting the following error; \[COLOR=red\]"A script in this movie is causing Adobe Flash Pla…

---

## [How to match parent movieclip size to grid of child clips?](https://forum.kirupa.com/t/how-to-match-parent-movieclip-size-to-grid-of-child-clips/245524)

<div class="topic-metadata">

**Author:** [@tvdhoff](https://forum.kirupa.com/u/tvdhoff)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 4:08pm UTC](https://forum.kirupa.com/t/how-to-match-parent-movieclip-size-to-grid-of-child-clips/245524 "2007-11-30T16:08:39Z")

</div>

Hello all, I've got a thumbnail grid which consists of dynamically created movieclips. A custom scrollbar moves the grids parent's y-axis behind a mask. The grid has a fixed width, but a variable height (as number o…

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

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