# programming

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

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

**Page:** 862

---

## [Text field that only accepts NUMBERS](https://forum.kirupa.com/t/text-field-that-only-accepts-numbers/285533)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [April 2, 2009, 12:21am UTC](https://forum.kirupa.com/t/text-field-that-only-accepts-numbers/285533 "2009-04-02T00:21:07Z")

</div>

HI I've tryed to make a textField only accept Numbers. I've embeded only numbers between 0-9 but I can still add letters. Any advice? Thanks

---

## [Datagrid with images?](https://forum.kirupa.com/t/datagrid-with-images/285532)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [April 2, 2009, 12:18am UTC](https://forum.kirupa.com/t/datagrid-with-images/285532 "2009-04-02T00:18:32Z")

</div>

Is it possible to add images to a dataGrid component? Or is there a list component that can also display an image?

---

## [Bars with random color](https://forum.kirupa.com/t/bars-with-random-color/285531)

<div class="topic-metadata">

**Author:** [@Hausnfranz](https://forum.kirupa.com/u/Hausnfranz)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 11:20pm UTC](https://forum.kirupa.com/t/bars-with-random-color/285531 "2009-04-01T23:20:40Z")

</div>

Hey, I am trying to sort out what is not working in my code that places bars across the screen with a random mix of pre-defined colors. any help? //pre-defined array to grab colors from var myColors:Array = new A…

---

## [How to make flash .mov small to import to Apple Keynote](https://forum.kirupa.com/t/how-to-make-flash-mov-small-to-import-to-apple-keynote/285530)

<div class="topic-metadata">

**Author:** [@Christina\_Flash](https://forum.kirupa.com/u/Christina_Flash)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 11:17pm UTC](https://forum.kirupa.com/t/how-to-make-flash-mov-small-to-import-to-apple-keynote/285530 "2009-04-01T23:17:38Z")

</div>

Hello all, I am using two programs on my MAC, Keynote and Flash (both programs are fairly new to me) for a conference presentation that is 1365 x 768. I want to use a 45 second animation that I created in flash and imp…

---

## [Newbie trying to get a button to link to a url](https://forum.kirupa.com/t/newbie-trying-to-get-a-button-to-link-to-a-url/285529)

<div class="topic-metadata">

**Author:** [@LWCARAB](https://forum.kirupa.com/u/LWCARAB)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 11:16pm UTC](https://forum.kirupa.com/t/newbie-trying-to-get-a-button-to-link-to-a-url/285529 "2009-04-01T23:16:38Z")

</div>

Hello, I'm fairly new t flash and I'm pretty crap at it as I can't even get my button to link to a url, I've put the following code the the script for Scene 1 (the only scene(: on (release) { getURL("http://www.bbc…

---

## [Check if movieclip is finished](https://forum.kirupa.com/t/check-if-movieclip-is-finished/285528)

<div class="topic-metadata">

**Author:** [@ninad\_pahune](https://forum.kirupa.com/u/ninad_pahune)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 10:58pm UTC](https://forum.kirupa.com/t/check-if-movieclip-is-finished/285528 "2009-04-01T22:58:09Z")

</div>

I have main flash file (main.swf) that will load movie clips dynamically one after the other from a source xml file. I need to check if the movie clip currently loaded is finished so that the main.swf will trigger the co…

---

## [Loading XML from another domain](https://forum.kirupa.com/t/loading-xml-from-another-domain/285526)

<div class="topic-metadata">

**Author:** [@evgen](https://forum.kirupa.com/u/evgen)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 10:24pm UTC](https://forum.kirupa.com/t/loading-xml-from-another-domain/285526 "2009-04-01T22:24:38Z")

</div>

I've written an app that parses Atom and RSS feeds from a few popular sites, and reacts to this data. Everything works fine locally, but fails when uploaded. Is there a security setting I should be aware of? Thanks.

---

## [Runge Kutta AS2 (I have the Verlet system working but need to integrate Runge Kutta)](https://forum.kirupa.com/t/runge-kutta-as2-i-have-the-verlet-system-working-but-need-to-integrate-runge-kutta/285525)

<div class="topic-metadata">

**Author:** [@JFdd](https://forum.kirupa.com/u/JFdd)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 9:35pm UTC](https://forum.kirupa.com/t/runge-kutta-as2-i-have-the-verlet-system-working-but-need-to-integrate-runge-kutta/285525 "2009-04-01T21:35:51Z")

</div>

Hi, I must firstly apologise as I am not an experienced Flash user. As a result I have been working in AS2 and have still (much to the digust of many I'm sure) not converted to AS3. My problem is that I have a rough …

---

## [Div Tags help!](https://forum.kirupa.com/t/div-tags-help/285524)

<div class="topic-metadata">

**Author:** [@atlnycdude24](https://forum.kirupa.com/u/atlnycdude24)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 9:25pm UTC](https://forum.kirupa.com/t/div-tags-help/285524 "2009-04-01T21:25:30Z")

</div>

I'm a web designer using tables (yuck, want to move on up) so i'm making a web page using div tags (help!). So far i've managed to put the header where it's suppose to be but the navigation, content, and footer is actin…

---

## [Importing .swf into After Effects](https://forum.kirupa.com/t/importing-swf-into-after-effects/285522)

<div class="topic-metadata">

**Author:** [@cleepa](https://forum.kirupa.com/u/cleepa)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 9:16pm UTC](https://forum.kirupa.com/t/importing-swf-into-after-effects/285522 "2009-04-01T21:16:26Z")

</div>

Is it possible to keep masks in an .swf that is imported to After Effects CS4? It seems that AE is displaying the masks every time.

---

## [ASP Sports Scores Ticker horizontal scroller](https://forum.kirupa.com/t/asp-sports-scores-ticker-horizontal-scroller/285518)

<div class="topic-metadata">

**Author:** [@Rocketrud](https://forum.kirupa.com/u/Rocketrud)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 8:27pm UTC](https://forum.kirupa.com/t/asp-sports-scores-ticker-horizontal-scroller/285518 "2009-04-01T20:27:30Z")

</div>

Trying to get some sort of javascript integrated into my Do While loop that will allow the results to display in a horizontal non stop scroll here is my asp code \<% Function displayScores(startDay,endDay) articleSQ…

---

## [Alpha keeps gradually increasing](https://forum.kirupa.com/t/alpha-keeps-gradually-increasing/285511)

<div class="topic-metadata">

**Author:** [@redelite](https://forum.kirupa.com/u/redelite)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 6:49pm UTC](https://forum.kirupa.com/t/alpha-keeps-gradually-increasing/285511 "2009-04-01T18:49:10Z")

</div>

Okay, the set up. I have a MovieClip, "my\_mc", that is hidden and shown when you MouseOver a grey block that is on the stage, similar to a tool tip. Inside of this MovieClip is a TextField, "my\_textbox", and another Movi…

---

## [Adding objects to an array Problem](https://forum.kirupa.com/t/adding-objects-to-an-array-problem/285507)

<div class="topic-metadata">

**Author:** [@justinf](https://forum.kirupa.com/u/justinf)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 5:38pm UTC](https://forum.kirupa.com/t/adding-objects-to-an-array-problem/285507 "2009-04-01T17:38:10Z")

</div>

I'm having trouble with my code. I keep getting this error TypeError: Error #1009: Cannot access a property or method of a null object reference. at Test\_fla::MainTimeline/frame1() I believe it has something to do w…

---

## [FLA Policy?](https://forum.kirupa.com/t/fla-policy/285506)

<div class="topic-metadata">

**Author:** [@yolkSac](https://forum.kirupa.com/u/yolkSac)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 5:37pm UTC](https://forum.kirupa.com/t/fla-policy/285506 "2009-04-01T17:37:54Z")

</div>

Hey All.. This may be a stupid question but... Is it common practice to give your clients the finished FLA with your projects? I do not do much flash work so I am unsure of the legitimacy of the clients request and…

---

## [A better way of writing multi Movieclips](https://forum.kirupa.com/t/a-better-way-of-writing-multi-movieclips/285504)

<div class="topic-metadata">

**Author:** [@rypp77](https://forum.kirupa.com/u/rypp77)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 5:23pm UTC](https://forum.kirupa.com/t/a-better-way-of-writing-multi-movieclips/285504 "2009-04-01T17:23:47Z")

</div>

What is a better way of writing this. function fade() { root.mcBlue1.alpha = 50; root.mcBlue12.alpha = 50; root.mcBlue13.alpha = 50; root.mcBlue14.alpha = 50; root.mcBlue15.alpha = 50; root.mcBlue16.alpha = 50; root.mc…

---

## [Putting an object into an array problem](https://forum.kirupa.com/t/putting-an-object-into-an-array-problem/285503)

<div class="topic-metadata">

**Author:** [@justinf](https://forum.kirupa.com/u/justinf)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 5:18pm UTC](https://forum.kirupa.com/t/putting-an-object-into-an-array-problem/285503 "2009-04-01T17:18:13Z")

</div>

Wrong section, moved to actionscript 3 I'm having trouble with my code. I keep getting this error TypeError: Error #1009: Cannot access a property or method of a null object reference. at Test\_fla::MainTimeline/fram…

---

## [Should I code in XHTML 1.0, 1.1 or 2.0?](https://forum.kirupa.com/t/should-i-code-in-xhtml-1-0-1-1-or-2-0/285500)

<div class="topic-metadata">

**Author:** [@vthok](https://forum.kirupa.com/u/vthok)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 4:40pm UTC](https://forum.kirupa.com/t/should-i-code-in-xhtml-1-0-1-1-or-2-0/285500 "2009-04-01T16:40:14Z")

</div>

Going to build a site that will use mySql, PHP, and CSS. Want it to be cross-browser compatible and multiplatform (Mac, Windows, etc). So which doctype and which version of xhtml to use?

---

## [Adding Loaded Asset to Display Hierarchy Issue](https://forum.kirupa.com/t/adding-loaded-asset-to-display-hierarchy-issue/285499)

<div class="topic-metadata">

**Author:** [@fatPluto](https://forum.kirupa.com/u/fatPluto)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 4:25pm UTC](https://forum.kirupa.com/t/adding-loaded-asset-to-display-hierarchy-issue/285499 "2009-04-01T16:25:47Z")

</div>

I'm trying to load a jpg and display it, but it won't display. I have a class called Bike.as, linked to a movieClip in the library. The class essentially tweens a bike graphic across the stage. At the end of the tween, I…

---

## [Optimize a function](https://forum.kirupa.com/t/optimize-a-function/285496)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 3:54pm UTC](https://forum.kirupa.com/t/optimize-a-function/285496 "2009-04-01T15:54:20Z")

</div>

I composed this function to convert a number to a time format (HH:MM:SS.T): function convert\_sec\_HHMMSST(\_arg:Number):String { var hr:int; var hrText:String; var min:int; var minText:String; var sec:int; var sec…

---

## [Auto Run inf (might be wrong forum fro this)](https://forum.kirupa.com/t/auto-run-inf-might-be-wrong-forum-fro-this/285494)

<div class="topic-metadata">

**Author:** [@neonreel](https://forum.kirupa.com/u/neonreel)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 3:45pm UTC](https://forum.kirupa.com/t/auto-run-inf-might-be-wrong-forum-fro-this/285494 "2009-04-01T15:45:07Z")

</div>

Hi, I'm sorry if this is the wrong forum for this question but here it goes anyway. I have an auto run inf file on a disc that plays a flash EXE. I want to know if there is a way to have it detect and install flash whe…

---

## [Movieclip constantly over another Movieclip](https://forum.kirupa.com/t/movieclip-constantly-over-another-movieclip/285491)

<div class="topic-metadata">

**Author:** [@Ramzah](https://forum.kirupa.com/u/Ramzah)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 2:46pm UTC](https://forum.kirupa.com/t/movieclip-constantly-over-another-movieclip/285491 "2009-04-01T14:46:31Z")

</div>

Hi, I'm not to experienced with flash. However I believe I have found a solution to my problem, however I lack the AS know how to carry it through. I want to have one MC (which happens to be a camera function) to be on…

---

## [Upload ioError 2038](https://forum.kirupa.com/t/upload-ioerror-2038/285485)

<div class="topic-metadata">

**Author:** [@orin999](https://forum.kirupa.com/u/orin999)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 1:22pm UTC](https://forum.kirupa.com/t/upload-ioerror-2038/285485 "2009-04-01T13:22:37Z")

</div>

I have a project where a user can upload an image and it moved to the server via php. All worked fine when the file was flash 9 but I had to convert it to flash 10 for the extra BitmapData functionality. But now regard…

---

## [Play selected frames from a movie](https://forum.kirupa.com/t/play-selected-frames-from-a-movie/285484)

<div class="topic-metadata">

**Author:** [@polishdude](https://forum.kirupa.com/u/polishdude)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 1:05pm UTC](https://forum.kirupa.com/t/play-selected-frames-from-a-movie/285484 "2009-04-01T13:05:24Z")

</div>

Hi, Pologies for asking simple questions, i'm just starting flash... I made a movie button, with lots of animations and frames. The idea was to play part of that animation (frame 0 to 36) for MOUSE\_OVER and 36-end fr…

---

## [Get "node name" from XML using as3](https://forum.kirupa.com/t/get-node-name-from-xml-using-as3/285479)

<div class="topic-metadata">

**Author:** [@richarddd](https://forum.kirupa.com/u/richarddd)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 12:04pm UTC](https://forum.kirupa.com/t/get-node-name-from-xml-using-as3/285479 "2009-04-01T12:04:35Z")

</div>

Hi, I have this project where people load in diffrent .xml files. Since i don't know the structure of the xml (because the xml file is diffrent all the time), i need to be able to "get" the "node name". For example…

---

## [New jQuery selectors and attribute selectors article](https://forum.kirupa.com/t/new-jquery-selectors-and-attribute-selectors-article/285478)

<div class="topic-metadata">

**Author:** [@glyn3332](https://forum.kirupa.com/u/glyn3332)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 11:50am UTC](https://forum.kirupa.com/t/new-jquery-selectors-and-attribute-selectors-article/285478 "2009-04-01T11:50:11Z")

</div>

Hi all, Was wondering if you guys fancied reading my new jQuery selectors article and giving me you opinion on improvements? It's at: http://www.pamaya.com/jquery-selectors-and-attribute-selectors/ If you like it l…

---

## [Adding a tweening class help](https://forum.kirupa.com/t/adding-a-tweening-class-help/285472)

<div class="topic-metadata">

**Author:** [@MrT](https://forum.kirupa.com/u/MrT)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 9:59am UTC](https://forum.kirupa.com/t/adding-a-tweening-class-help/285472 "2009-04-01T09:59:32Z")

</div>

Hello, hopefully someone can help me integrate a tweening class into my old method of making objects do stuff. I am a designer so its a pretty useful way of making things happen quickly but would really like more options…

---

## [Clear text field when clicked](https://forum.kirupa.com/t/clear-text-field-when-clicked/285471)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 9:37am UTC](https://forum.kirupa.com/t/clear-text-field-when-clicked/285471 "2009-04-01T09:37:09Z")

</div>

Hi I have a code that clear textfield when you click inside. My problem is that I have to many text fields so i am trying to write some function that can be used for all the text fields. What I can't do is to add so…

---

## [On load?](https://forum.kirupa.com/t/on-load/285470)

<div class="topic-metadata">

**Author:** [@RossKidd](https://forum.kirupa.com/u/RossKidd)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 9:27am UTC](https://forum.kirupa.com/t/on-load/285470 "2009-04-01T09:27:52Z")

</div>

is there an event listener that triggers only once when the movie loads? If not how can I simulate this? thanks.

---

## [Random movement in as3](https://forum.kirupa.com/t/random-movement-in-as3/285469)

<div class="topic-metadata">

**Author:** [@dilpreet](https://forum.kirupa.com/u/dilpreet)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 9:21am UTC](https://forum.kirupa.com/t/random-movement-in-as3/285469 "2009-04-01T09:21:41Z")

</div>

hey i am really a beginner in actionscript 3 i need to make an object move randomly around the stage on the click of a button and then stop the object using a different button thanx if anyone can help

---

## [AS2 - tutorial trouble](https://forum.kirupa.com/t/as2-tutorial-trouble/285467)

<div class="topic-metadata">

**Author:** [@jhf80](https://forum.kirupa.com/u/jhf80)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 7:23am UTC](https://forum.kirupa.com/t/as2-tutorial-trouble/285467 "2009-04-01T07:23:43Z")

</div>

Hi iwe been following a tutorial on how to make a vertical shooter in AS2 on:http://www.mrsunstudios.com/2009/01/tutorial-make-a-vertical-shooter-in-as2-part-2/ Annoying thing is, I cant get the final step on part two to…

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

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