# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=781

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

**Page:** 782

---

## [Only allow numbers in input Text box?](https://forum.kirupa.com/t/only-allow-numbers-in-input-text-box/276053)

<div class="topic-metadata">

**Author:** [@frescono](https://forum.kirupa.com/u/frescono)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 7:20pm UTC](https://forum.kirupa.com/t/only-allow-numbers-in-input-text-box/276053 "2008-11-21T19:20:28Z")

</div>

Please help, I have a input text box that i would like to set to only allow users to input numbers. How can i do this? Im using AS 2.0 Ive tryed searching the net, but had no luck

---

## [Tabbing in flash created code](https://forum.kirupa.com/t/tabbing-in-flash-created-code/276047)

<div class="topic-metadata">

**Author:** [@PaulGene](https://forum.kirupa.com/u/PaulGene)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 5:44pm UTC](https://forum.kirupa.com/t/tabbing-in-flash-created-code/276047 "2008-11-21T17:44:25Z")

</div>

Hello everyone, I have an XML driven website template ive been coding for a few months in Flash, no timeline or library involved, its 100% pure Actionscript 3.0 classes. I wanted to add a shopping cart feature and re…

---

## [Problem playing video clip](https://forum.kirupa.com/t/problem-playing-video-clip/276044)

<div class="topic-metadata">

**Author:** [@hagop](https://forum.kirupa.com/u/hagop)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 5:31pm UTC](https://forum.kirupa.com/t/problem-playing-video-clip/276044 "2008-11-21T17:31:45Z")

</div>

Dear all I have a single movie clip which has an embedded video inside. I use the following actionscript commands to stop and play it onClipEvent(load) { stop(); onClipEvent(mouseDown) { play(); } onClipEvent(mouseU…

---

## [Button overlay problems](https://forum.kirupa.com/t/button-overlay-problems/276040)

<div class="topic-metadata">

**Author:** [@arundracula](https://forum.kirupa.com/u/arundracula)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 4:58pm UTC](https://forum.kirupa.com/t/button-overlay-problems/276040 "2008-11-21T16:58:04Z")

</div>

In flash 8 ,we can put a button under a movieclip which also accepts mouse clicks. But how to achieve that in flash cs3? Also if we put a dynamic text in a movieclip (as name for the button) and when we place the mou…

---

## [Create Dynamic Text field problem](https://forum.kirupa.com/t/create-dynamic-text-field-problem/276033)

<div class="topic-metadata">

**Author:** [@Poncho5k](https://forum.kirupa.com/u/Poncho5k)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 3:28pm UTC](https://forum.kirupa.com/t/create-dynamic-text-field-problem/276033 "2008-11-21T15:28:00Z")

</div>

function buildImageBox() { imageText = root.Images\[root.p\].attributes.title; imageURL = \_root.Images\[\_root.p\].firstChild.nodeValue; imageURL = "images/"+imageURL; trace(imageURL); thisClip = createEmptyMovieClip("i…

---

## [Please Help - Preloading Problem](https://forum.kirupa.com/t/please-help-preloading-problem/276028)

<div class="topic-metadata">

**Author:** [@joegardner](https://forum.kirupa.com/u/joegardner)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 2:03pm UTC](https://forum.kirupa.com/t/please-help-preloading-problem/276028 "2008-11-21T14:03:05Z")

</div>

Hi I'm really stuck please help. At the moment I am loading all my images individually and then adding them to the stage one by one. I would love to have it so that they were only added to the stage (or only began the…

---

## [Coded graphics --\> Explicit editable graphics](https://forum.kirupa.com/t/coded-graphics-explicit-editable-graphics/276027)

<div class="topic-metadata">

**Author:** [@0utput](https://forum.kirupa.com/u/0utput)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 1:11pm UTC](https://forum.kirupa.com/t/coded-graphics-explicit-editable-graphics/276027 "2008-11-21T13:11:08Z")

</div>

Hi, Suppose I wrote some code (in, say, FD) to draw various graphics in a Sprite or MovieClip instance. Is there a way to export what I render into an SWF, so that I may import it into an FLA and edit it frame by frame…

---

## [Adding child using xml values as instance name](https://forum.kirupa.com/t/adding-child-using-xml-values-as-instance-name/276026)

<div class="topic-metadata">

**Author:** [@kavu](https://forum.kirupa.com/u/kavu)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 12:56pm UTC](https://forum.kirupa.com/t/adding-child-using-xml-values-as-instance-name/276026 "2008-11-21T12:56:56Z")

</div>

Hi Im trying to build menu that feeds xml. I got class that describes button and I want to add few instances of this class to display list and then populate it with date from xml. Is it possible to add Childs of this c…

---

## [3D ellipse orbiting around globe](https://forum.kirupa.com/t/3d-ellipse-orbiting-around-globe/276022)

<div class="topic-metadata">

**Author:** [@cikorka](https://forum.kirupa.com/u/cikorka)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 12:23pm UTC](https://forum.kirupa.com/t/3d-ellipse-orbiting-around-globe/276022 "2008-11-21T12:23:12Z")

</div>

Hello all :), I have a problem I hope you can help me solve. I have a logo with an orb and some semi-ellipses. I would like the ellipses to orbit around the orb in a 3D fashion (front-back of the orb) for some time, th…

---

## [Flash Clock (hard One)](https://forum.kirupa.com/t/flash-clock-hard-one/276021)

<div class="topic-metadata">

**Author:** [@xFlashStudentx](https://forum.kirupa.com/u/xFlashStudentx)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 12:12pm UTC](https://forum.kirupa.com/t/flash-clock-hard-one/276021 "2008-11-21T12:12:10Z")

</div>

I'm trying to make a Flash Clock, using my own graphics though. I had a fla with one, but it got deleted when I had to reformat my hard drive...thanks for any assistance..

---

## [Custom Flash Clock (hard One?)](https://forum.kirupa.com/t/custom-flash-clock-hard-one/276020)

<div class="topic-metadata">

**Author:** [@xFlashStudentx](https://forum.kirupa.com/u/xFlashStudentx)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 12:11pm UTC](https://forum.kirupa.com/t/custom-flash-clock-hard-one/276020 "2008-11-21T12:11:19Z")

</div>

I'm trying to make a Flash Clock, using my own graphics though. I had a fla with one, but it got deleted when I had to reformat my hard drive...thanks for any assistance..

---

## [Object Follow cursor rotation problem, Actionscript 2 coding Flash](https://forum.kirupa.com/t/object-follow-cursor-rotation-problem-actionscript-2-coding-flash/276017)

<div class="topic-metadata">

**Author:** [@squarepig](https://forum.kirupa.com/u/squarepig)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 11:10am UTC](https://forum.kirupa.com/t/object-follow-cursor-rotation-problem-actionscript-2-coding-flash/276017 "2008-11-21T11:10:18Z")

</div>

Hi Can anyone help me sort out a flip problem with an mc clip that follows the mouse and rotates towards the movement but flips awkwardly when you move the mouse again. here is the code I found //Place this on the mc …

---

## [Upload multiple files!](https://forum.kirupa.com/t/upload-multiple-files/276012)

<div class="topic-metadata">

**Author:** [@Wampiro\_UHA](https://forum.kirupa.com/u/Wampiro_UHA)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 9:22am UTC](https://forum.kirupa.com/t/upload-multiple-files/276012 "2008-11-21T09:22:40Z")

</div>

I'm trying to make a button which can upload multiple files in Flash. This is my code so far: AS3: http://pastie.org/320443 PHP: http://pastie.org/320444 The problem is that the console in Flash does say that the files…

---

## [POST in php mail](https://forum.kirupa.com/t/post-in-php-mail/276010)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 9:03am UTC](https://forum.kirupa.com/t/post-in-php-mail/276010 "2008-11-21T09:03:24Z")

</div>

Hi all, I was just wondering if it is important to include POST as a method of sending loadVars to the php file. i was using POST before and i still ecountered some problems of receiving empty mails. Since i found an e…

---

## [Flash player locks while reading in xml](https://forum.kirupa.com/t/flash-player-locks-while-reading-in-xml/276008)

<div class="topic-metadata">

**Author:** [@SolBrad](https://forum.kirupa.com/u/SolBrad)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 8:37am UTC](https://forum.kirupa.com/t/flash-player-locks-while-reading-in-xml/276008 "2008-11-21T08:37:31Z")

</div>

Hi I am having a problem with reading in a fairly large xml file (20000 lines) The problem is once i have loaded the xml file into flash, i start to parse the data into an array, during this period the flash file loc…

---

## [Loaded SWF Problem](https://forum.kirupa.com/t/loaded-swf-problem/276006)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 6:29am UTC](https://forum.kirupa.com/t/loaded-swf-problem/276006 "2008-11-21T06:29:37Z")

</div>

I've got two flash files, main.FLA and page.FLA my main.FLA loads page.SWF at runtime. I have code in page.FLA that accesses the stage property of a MovieClip called content that I have sitting in page.FLA. When I ru…

---

## [Unload Swf and Open New swf](https://forum.kirupa.com/t/unload-swf-and-open-new-swf/276002)

<div class="topic-metadata">

**Author:** [@arvindmewara](https://forum.kirupa.com/u/arvindmewara)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 4:05am UTC](https://forum.kirupa.com/t/unload-swf-and-open-new-swf/276002 "2008-11-21T04:05:49Z")

</div>

hi all, i am using adobe flash cs3. i have a two swf file. 1) title.swf 2) main.swf i m using this flah standalone, not for any web application. in the title.swf have a one button, what i want in the click of that butt…

---

## [FLV Player Issue](https://forum.kirupa.com/t/flv-player-issue/276001)

<div class="topic-metadata">

**Author:** [@whytefly](https://forum.kirupa.com/u/whytefly)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 3:11am UTC](https://forum.kirupa.com/t/flv-player-issue/276001 "2008-11-21T03:11:47Z")

</div>

On my time line I have 5 frames for 5 different pages on the site. Frame 1 I have an empty mc and a flv player that call this code and everything works fine: //empty clip var mc\_empty:MovieClip = new MovieClip(); ad…

---

## [HTML in text box](https://forum.kirupa.com/t/html-in-text-box/276000)

<div class="topic-metadata">

**Author:** [@nxsd](https://forum.kirupa.com/u/nxsd)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 3:07am UTC](https://forum.kirupa.com/t/html-in-text-box/276000 "2008-11-21T03:07:23Z")

</div>

So I'm trying to put RSS data in a text box, with formatting to the titles and the like. I have a text box with the instance name of "aText", and I have the 'Render text as HTML' checked. aText.htmlText = ""; for…

---

## [Still MovieClip Loader](https://forum.kirupa.com/t/still-movieclip-loader/275992)

<div class="topic-metadata">

**Author:** [@tolgainam](https://forum.kirupa.com/u/tolgainam)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 1:04am UTC](https://forum.kirupa.com/t/still-movieclip-loader/275992 "2008-11-21T01:04:29Z")

</div>

Hello, I am trying to make a movieclip loader that has the fallowing functions. Think that you loaded an image to an container, and you want to load another image. Normally when you click a button to load, the preloade…

---

## [AS2 Preview works, exported swf does not?!](https://forum.kirupa.com/t/as2-preview-works-exported-swf-does-not/275991)

<div class="topic-metadata">

**Author:** [@ci5ic](https://forum.kirupa.com/u/ci5ic)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 1:03am UTC](https://forum.kirupa.com/t/as2-preview-works-exported-swf-does-not/275991 "2008-11-21T01:03:11Z")

</div>

If it is relevant, I am using Flash CS3 Professional. I have been beating my head against the wall with this... basically, what happened is I developed an swf player that creates a playlist from a loaded XML file, load…

---

## [TypeError: Error #1009:](https://forum.kirupa.com/t/typeerror-error-1009/275989)

<div class="topic-metadata">

**Author:** [@whytefly](https://forum.kirupa.com/u/whytefly)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 12:55am UTC](https://forum.kirupa.com/t/typeerror-error-1009/275989 "2008-11-21T00:55:26Z")

</div>

TypeError: Error #1009: Cannot access a property or method of a null object reference. at test\_fla::MainTimeline/test\_fla::frame1() Everything was working fine until I added a new btn (btn\_4XPress) on the branding page…

---

## [Writing XML using AS3](https://forum.kirupa.com/t/writing-xml-using-as3/275987)

<div class="topic-metadata">

**Author:** [@Beaulne](https://forum.kirupa.com/u/Beaulne)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 12:00am UTC](https://forum.kirupa.com/t/writing-xml-using-as3/275987 "2008-11-21T00:00:27Z")

</div>

Hello, I would like to know if there is a way to write to an xml file using Flash and Actionscript. What I want to do is write to an xml file and then access it later. Thanks!

---

## [setInterval for a photo gallery](https://forum.kirupa.com/t/setinterval-for-a-photo-gallery/275985)

<div class="topic-metadata">

**Author:** [@VincenzoD](https://forum.kirupa.com/u/VincenzoD)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 11:09pm UTC](https://forum.kirupa.com/t/setinterval-for-a-photo-gallery/275985 "2008-11-20T23:09:22Z")

</div>

Hi ! I found a very good script : http://www.flash-game-design.com/flash-tutorials/triple-scroll-gallery.html with the actions script code here : http://www.flash-game-design.com/flash-tutorials/3scrollGallery-flash-tuto…

---

## [Problem (impossibile?) exporting mp3 data from flash 10 swf...?](https://forum.kirupa.com/t/problem-impossibile-exporting-mp3-data-from-flash-10-swf/275982)

<div class="topic-metadata">

**Author:** [@biznuge](https://forum.kirupa.com/u/biznuge)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 10:53pm UTC](https://forum.kirupa.com/t/problem-impossibile-exporting-mp3-data-from-flash-10-swf/275982 "2008-11-20T22:53:13Z")

</div>

Anyone know anything about how I might get mp3 data out of flash from an embedded wav file compressed in flash as a 16k mp3...? :insomniac: I already have a little php setup on my locahost to catch the required applica…

---

## [Preloader to pass variable to loaded swf](https://forum.kirupa.com/t/preloader-to-pass-variable-to-loaded-swf/275979)

<div class="topic-metadata">

**Author:** [@xenos](https://forum.kirupa.com/u/xenos)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 10:01pm UTC](https://forum.kirupa.com/t/preloader-to-pass-variable-to-loaded-swf/275979 "2008-11-20T22:01:31Z")

</div>

I've been reading up on LocalConnection, LoaderInfo, and SharedObject but can't seem to get anything to work. There must be a simple way for a preloader to pass a variable to the swf it loads. I've got a preloader swf …

---

## [Dynamic button text at the hitstate](https://forum.kirupa.com/t/dynamic-button-text-at-the-hitstate/275975)

<div class="topic-metadata">

**Author:** [@nkamp](https://forum.kirupa.com/u/nkamp)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 9:13pm UTC](https://forum.kirupa.com/t/dynamic-button-text-at-the-hitstate/275975 "2008-11-20T21:13:16Z")

</div>

Hello, Last time I get a question "How dow I make button text dynamically". Alex Lexcux send me the answer: var t3:TextField = (btnFeest.overState as DisplayObjectContainer).getChildAt(1) as TextField; t3.text = 'An…

---

## [Move a Flex project from one folder to another](https://forum.kirupa.com/t/move-a-flex-project-from-one-folder-to-another/275972)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 8:48pm UTC](https://forum.kirupa.com/t/move-a-flex-project-from-one-folder-to-another/275972 "2008-11-20T20:48:57Z")

</div>

How can I relocate a Flex project on my system and reestablish the connection to in Flex Builder? I don't see an easy way to relink once I've moved it.

---

## [Loader not loading](https://forum.kirupa.com/t/loader-not-loading/275971)

<div class="topic-metadata">

**Author:** [@bpdp](https://forum.kirupa.com/u/bpdp)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 8:16pm UTC](https://forum.kirupa.com/t/loader-not-loading/275971 "2008-11-20T20:16:42Z")

</div>

Hi all, I'm sure this a real noob question but I can't seem to get this to work. I'm just trying to load an image I know that the variable img\_path is being set correctly because of the trace statements, and LittleSnitch…

---

## [How to develop in Flash the RIGHT way?](https://forum.kirupa.com/t/how-to-develop-in-flash-the-right-way/275968)

<div class="topic-metadata">

**Author:** [@iFlashMuch](https://forum.kirupa.com/u/iFlashMuch)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 6:54pm UTC](https://forum.kirupa.com/t/how-to-develop-in-flash-the-right-way/275968 "2008-11-20T18:54:13Z")

</div>

\[COLOR=black\]\[FONT=Verdana\](note: I guess this is actually more like a general Flash question, but since I just upgraded to Flash CS4 and AS3, I thought this would be the best place)\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Ver…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=780)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=782)
