# programming

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

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

**Page:** 603

---

## [Simple question about code running when adding a child](https://forum.kirupa.com/t/simple-question-about-code-running-when-adding-a-child/302190)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [December 23, 2009, 2:43am UTC](https://forum.kirupa.com/t/simple-question-about-code-running-when-adding-a-child/302190 "2009-12-23T02:43:24Z")

</div>

I have an older program that I need to update. In it I there is a movieclip that displays text. Embedded in that movieclip is a timer that makes the text disappear after a few seconds. Everything worked fine before wh…

---

## [Best way to Validate forms being used by Older people](https://forum.kirupa.com/t/best-way-to-validate-forms-being-used-by-older-people/302186)

<div class="topic-metadata">

**Author:** [@uhm](https://forum.kirupa.com/u/uhm)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 10:45pm UTC](https://forum.kirupa.com/t/best-way-to-validate-forms-being-used-by-older-people/302186 "2009-12-22T22:45:13Z")

</div>

Hi I work for a small Public Library and am rebuilding our website. But I could use some help with a few problems. I have several online forms to build, but I'm not sure which way is best to validate them. Ajax?, Jav…

---

## [Making a div box easily/safely editable without Mysql](https://forum.kirupa.com/t/making-a-div-box-easily-safely-editable-without-mysql/302185)

<div class="topic-metadata">

**Author:** [@uhm](https://forum.kirupa.com/u/uhm)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 10:38pm UTC](https://forum.kirupa.com/t/making-a-div-box-easily-safely-editable-without-mysql/302185 "2009-12-22T22:38:59Z")

</div>

\[COLOR=red\]Edit: Problem solved! Explanation and complete source code available below in my last post\[/COLOR\] Hi I work for a small Public Library and am rebuilding our website. But I could use some help with a few p…

---

## [Pull in absolute path to actionscript](https://forum.kirupa.com/t/pull-in-absolute-path-to-actionscript/302183)

<div class="topic-metadata">

**Author:** [@lorne17](https://forum.kirupa.com/u/lorne17)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 10:08pm UTC](https://forum.kirupa.com/t/pull-in-absolute-path-to-actionscript/302183 "2009-12-22T22:08:25Z")

</div>

Hello there, I have a flash file that is pulling in images from a folder and a .txt for text content. The code for the .txt file: descXmlData.load("boxdescriptions.xml"); When I change the "boxdescriptions.xml"…

---

## [\[FMX04\]Need help on Matching Game](https://forum.kirupa.com/t/fmx04-need-help-on-matching-game/302182)

<div class="topic-metadata">

**Author:** [@countpuchi](https://forum.kirupa.com/u/countpuchi)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 10:05pm UTC](https://forum.kirupa.com/t/fmx04-need-help-on-matching-game/302182 "2009-12-22T22:05:53Z")

</div>

Hi im fairly new to Flash and i need help identifying the condition which makes the cards go Disappear. The game was originally made by the creator as a card matching pairs game. So i want to change it instead of 2 cards…

---

## [Control TextField](https://forum.kirupa.com/t/control-textfield/302181)

<div class="topic-metadata">

**Author:** [@HunterGump](https://forum.kirupa.com/u/HunterGump)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 8:49pm UTC](https://forum.kirupa.com/t/control-textfield/302181 "2009-12-22T20:49:45Z")

</div>

Good day; I have been hammering at this for some time now, and it is getting a little frustrating. I have a document class that adds a TextField. The Doc class then adds another custom class (MovieClip). Inside th…

---

## [How to override addEventListener](https://forum.kirupa.com/t/how-to-override-addeventlistener/302179)

<div class="topic-metadata">

**Author:** [@RubenFlash](https://forum.kirupa.com/u/RubenFlash)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 8:03pm UTC](https://forum.kirupa.com/t/how-to-override-addeventlistener/302179 "2009-12-22T20:03:00Z")

</div>

Hi! I can't seem to override flash native addEventListener with a custom addEventListener. My code: package { import flash.events.\*; public class myClass extends EventDispatcher { ov…

---

## [Negative Array Positions?](https://forum.kirupa.com/t/negative-array-positions/302176)

<div class="topic-metadata">

**Author:** [@flyingmonkey456](https://forum.kirupa.com/u/flyingmonkey456)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 7:38pm UTC](https://forum.kirupa.com/t/negative-array-positions/302176 "2009-12-22T19:38:53Z")

</div>

I'm building a simple 2D particle physics engine where particles are created in the center of a potentially infinite area and thrown outward. I am having a problem though, it's impossible for an infinite range of numbers…

---

## [Css position doesn't work on an ipod](https://forum.kirupa.com/t/css-position-doesnt-work-on-an-ipod/302173)

<div class="topic-metadata">

**Author:** [@thevibe](https://forum.kirupa.com/u/thevibe)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 6:46pm UTC](https://forum.kirupa.com/t/css-position-doesnt-work-on-an-ipod/302173 "2009-12-22T18:46:22Z")

</div>

Hi guys, I am working on a project and have an issue with the index. On the index I have a rollover css button that is suppose to be positoned in the center of the page. It's working in every browser except on an ipod …

---

## [Control external SWF from parent SWF](https://forum.kirupa.com/t/control-external-swf-from-parent-swf/302172)

<div class="topic-metadata">

**Author:** [@wchinthaka](https://forum.kirupa.com/u/wchinthaka)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 6:26pm UTC](https://forum.kirupa.com/t/control-external-swf-from-parent-swf/302172 "2009-12-22T18:26:02Z")

</div>

Hi, I am studying yet. so I am using Macromedia Flash 8. I've created a swf file as (main project.swf) and Loaded a external swf using loader component. the file is main\_slide. Now I want send a command or data to projec…

---

## [Loader.loadBytes problem](https://forum.kirupa.com/t/loader-loadbytes-problem/302171)

<div class="topic-metadata">

**Author:** [@dorsakal](https://forum.kirupa.com/u/dorsakal)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 6:15pm UTC](https://forum.kirupa.com/t/loader-loadbytes-problem/302171 "2009-12-22T18:15:26Z")

</div>

I load photos from my local disk to flash using the FileReference class in FlashPlayer10. each photo weights 1-2 mb. for some reason, after a few photos are are loaded successfully (COMPLETE event from the loader.loa…

---

## [How do I get the 'super' or 'base' class of an object?](https://forum.kirupa.com/t/how-do-i-get-the-super-or-base-class-of-an-object/302170)

<div class="topic-metadata">

**Author:** [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 6:00pm UTC](https://forum.kirupa.com/t/how-do-i-get-the-super-or-base-class-of-an-object/302170 "2009-12-22T18:00:05Z")

</div>

How do I get the 'super' or 'base' class of an object? for example I have the classes 'Red' 'Green' 'Blue' that all extend 'Colour'; I would like to have some code that does this if(myObject.super is Colour)trace(…

---

## [Stop preloader from appearing for cached items](https://forum.kirupa.com/t/stop-preloader-from-appearing-for-cached-items/302162)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 5:24pm UTC](https://forum.kirupa.com/t/stop-preloader-from-appearing-for-cached-items/302162 "2009-12-22T17:24:53Z")

</div>

How do you guys do this? I have a master file that loads in external swf's and I'm showing a preloader during loading. This all works great until the items have been cached by the browser and then the movies still lo…

---

## [Help in FLV preloading and controls](https://forum.kirupa.com/t/help-in-flv-preloading-and-controls/302160)

<div class="topic-metadata">

**Author:** [@gajulasidhu](https://forum.kirupa.com/u/gajulasidhu)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 5:14pm UTC](https://forum.kirupa.com/t/help-in-flv-preloading-and-controls/302160 "2009-12-22T17:14:36Z")

</div>

HI all I am not expert in Action Script. But i am trying. My requirements: Preloading for video Controls for video ( Play and Pause and sound off and Sound on) if Please any one help me this that grate This is…

---

## [\[AS\] in general](https://forum.kirupa.com/t/as-in-general/302159)

<div class="topic-metadata">

**Author:** [@defecticon001](https://forum.kirupa.com/u/defecticon001)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 5:10pm UTC](https://forum.kirupa.com/t/as-in-general/302159 "2009-12-22T17:10:30Z")

</div>

Hey all, I wanted to ask anyone that'd read this a pretty good question. I want to learn Actionscript and don't know more than very basic stuff (the problem with graduating as an animator vs web designer). There are a lo…

---

## [Best database structure for a "budget" with categories?](https://forum.kirupa.com/t/best-database-structure-for-a-budget-with-categories/302155)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 4:00pm UTC](https://forum.kirupa.com/t/best-database-structure-for-a-budget-with-categories/302155 "2009-12-22T16:00:30Z")

</div>

Yet again I am not quite sure how to set the database up for this one... Any opinions, even brief, are appreciated. The site I am working on allows users to have a budget for their wedding. Each item in the budget is o…

---

## [External SWF root problem](https://forum.kirupa.com/t/external-swf-root-problem/302153)

<div class="topic-metadata">

**Author:** [@chicagolegend](https://forum.kirupa.com/u/chicagolegend)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 3:40pm UTC](https://forum.kirupa.com/t/external-swf-root-problem/302153 "2009-12-22T15:40:47Z")

</div>

OK. I'm loading an interactive external SWF into my main timeline. The SWF is a game and when it's completed successfully it plays an animation on the \_root timeline. I'm aware that the external SWF \_root action is now r…

---

## [Falling Snow: Help, I'm getting snowed in!](https://forum.kirupa.com/t/falling-snow-help-im-getting-snowed-in/302148)

<div class="topic-metadata">

**Author:** [@m00nb00ts](https://forum.kirupa.com/u/m00nb00ts)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 3:24pm UTC](https://forum.kirupa.com/t/falling-snow-help-im-getting-snowed-in/302148 "2009-12-22T15:24:52Z")

</div>

I'm working with kirupa's tutorial Falling Snow for Flash CS4/AS3 but can anyone help me with stopping the snow from becoming a blizzard! It gets really thick and I'd like to be able to tell it to stop generating new …

---

## [Flash Cs3 RSS FEED XML READER](https://forum.kirupa.com/t/flash-cs3-rss-feed-xml-reader/302146)

<div class="topic-metadata">

**Author:** [@geraldyeong](https://forum.kirupa.com/u/geraldyeong)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 2:53pm UTC](https://forum.kirupa.com/t/flash-cs3-rss-feed-xml-reader/302146 "2009-12-22T14:53:05Z")

</div>

Hi everyone, past few days i've been struggling to create a xml news board, i finally completed the news board and i had no problem displaying my offline xml file. I uploaded it to my testing server and nothing came up. …

---

## [Fireworks and Center Align in Browser](https://forum.kirupa.com/t/fireworks-and-center-align-in-browser/302144)

<div class="topic-metadata">

**Author:** [@lillizzierae](https://forum.kirupa.com/u/lillizzierae)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 2:52pm UTC](https://forum.kirupa.com/t/fireworks-and-center-align-in-browser/302144 "2009-12-22T14:52:16Z")

</div>

I'm fairly new to using Fireworks CS4. Normally I use Dreamweaver for website design but I wanted to give Fireworks a try. I'm developing a website with Fireworks and I want it to be center aligned in the browser at all …

---

## [Customizing Kirupa scroller](https://forum.kirupa.com/t/customizing-kirupa-scroller/302142)

<div class="topic-metadata">

**Author:** [@MrDares](https://forum.kirupa.com/u/MrDares)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 2:24pm UTC](https://forum.kirupa.com/t/customizing-kirupa-scroller/302142 "2009-12-22T14:24:16Z")

</div>

Hello, I'm working on the Kirupa scroller tutorial here I've tried to customize it as best as I could and added Tweener to have an effect on the content being scrolled (contentMain as it's instanced in the tut) Now I'…

---

## [Amazing Website](https://forum.kirupa.com/t/amazing-website/302141)

<div class="topic-metadata">

**Author:** [@flashfighter](https://forum.kirupa.com/u/flashfighter)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 2:11pm UTC](https://forum.kirupa.com/t/amazing-website/302141 "2009-12-22T14:11:06Z")

</div>

i have never seen a fullscreen website like this http://www.chiquita.com/ Any idea how they stretch the background and then on same stretched background center they have animation. Any idea. amazing website...

---

## [AutoResize Images](https://forum.kirupa.com/t/autoresize-images/302136)

<div class="topic-metadata">

**Author:** [@flashsujay](https://forum.kirupa.com/u/flashsujay)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 12:51pm UTC](https://forum.kirupa.com/t/autoresize-images/302136 "2009-12-22T12:51:18Z")

</div>

Hi I am loading my Images From XML file into flash..its loading no problem But...Its taking its own size..i mean actual size of the Image....:panda: Now i want to make some 100 X 100 when its load from XML.... Is…

---

## [Newbie! My link to an Url doesn't work!](https://forum.kirupa.com/t/newbie-my-link-to-an-url-doesnt-work/302134)

<div class="topic-metadata">

**Author:** [@caravaddo](https://forum.kirupa.com/u/caravaddo)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 10:26am UTC](https://forum.kirupa.com/t/newbie-my-link-to-an-url-doesnt-work/302134 "2009-12-22T10:26:26Z")

</div>

Hi guys, this is my first flash animation and obviously...it doesn't work! I need simply to link the banner to an Url, but if I click nothing happend. The strange thing is that if I create a new file and make a button in…

---

## [Problems with gotoAndStop() in Firefox](https://forum.kirupa.com/t/problems-with-gotoandstop-in-firefox/302131)

<div class="topic-metadata">

**Author:** [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 8:11am UTC](https://forum.kirupa.com/t/problems-with-gotoandstop-in-firefox/302131 "2009-12-22T08:11:18Z")

</div>

Hello Friends, I am working in Flash cs3. I am loading an external swf ie (Flash Mx 2004 swf) and it has gotoAndStop(110). Its working fine in IE. But when i am trying to run the same html in Firefox, the position of…

---

## [Help with a flash touchscreen kiosk program](https://forum.kirupa.com/t/help-with-a-flash-touchscreen-kiosk-program/302129)

<div class="topic-metadata">

**Author:** [@Brainstormer](https://forum.kirupa.com/u/Brainstormer)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 7:25am UTC](https://forum.kirupa.com/t/help-with-a-flash-touchscreen-kiosk-program/302129 "2009-12-22T07:25:58Z")

</div>

Hi guys... need some help with this one. i have created a program in flash to run on several touchscreen kiosks here in my city. its a simple flash presentation and uses basic actionscript 2.0 for navigation etc. and…

---

## [Text Help!](https://forum.kirupa.com/t/text-help/302125)

<div class="topic-metadata">

**Author:** [@Gaurav4](https://forum.kirupa.com/u/Gaurav4)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 6:06am UTC](https://forum.kirupa.com/t/text-help/302125 "2009-12-22T06:06:00Z")

</div>

Hi, I've a piece of static text that I added to the text field. Apparentlt the height is 3070.1 points!!! Although I imported it and it's neatly formatted, I'm unable to view the complete content as I used the selec…

---

## [Hide errors](https://forum.kirupa.com/t/hide-errors/302119)

<div class="topic-metadata">

**Author:** [@noobie123](https://forum.kirupa.com/u/noobie123)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 4:29am UTC](https://forum.kirupa.com/t/hide-errors/302119 "2009-12-22T04:29:52Z")

</div>

Is there a way to suppress errors from appearing in a pop up box when the swf is viewed in a browser? I get the following run-time-error: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the …

---

## [What is the best way to work with text?](https://forum.kirupa.com/t/what-is-the-best-way-to-work-with-text/302117)

<div class="topic-metadata">

**Author:** [@oluc](https://forum.kirupa.com/u/oluc)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 3:54am UTC](https://forum.kirupa.com/t/what-is-the-best-way-to-work-with-text/302117 "2009-12-22T03:54:18Z")

</div>

Hey there, I am looking for someone to give their input here. I have a flash project that consists of approx 12 different individual AVs. There is an overall menu from where you can get to each property. Each propert…

---

## [Kongregate Stats Problem](https://forum.kirupa.com/t/kongregate-stats-problem/302116)

<div class="topic-metadata">

**Author:** [@bcapecci](https://forum.kirupa.com/u/bcapecci)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 3:37am UTC](https://forum.kirupa.com/t/kongregate-stats-problem/302116 "2009-12-22T03:37:32Z")

</div>

public function loadAPI() { var paramObj:Object = LoaderInfo(root.loaderInfo).parameters; var api\_url:String = paramObj.api\_path || "http://www.kongregate.com/flash/API\_AS3\_Local.swf"; …

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

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