# programming

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

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

**Page:** 1006

---

## [Need help with rotating an oval](https://forum.kirupa.com/t/need-help-with-rotating-an-oval/276077)

<div class="topic-metadata">

**Author:** [@beardedMan](https://forum.kirupa.com/u/beardedMan)\
**Replies:** 0\
**Last updated:** [November 22, 2008, 2:27am UTC](https://forum.kirupa.com/t/need-help-with-rotating-an-oval/276077 "2008-11-22T02:27:25Z")

</div>

Hello, I'm in a tight jam here. I've got a website that I'm working on and I need a user interactive rotary phone. Everytime someone clicks on one of the numbers, the phone dial is supposed to turn until it hits the …

---

## [MVC Question](https://forum.kirupa.com/t/mvc-question/276076)

<div class="topic-metadata">

**Author:** [@Groady](https://forum.kirupa.com/u/Groady)\
**Replies:** 0\
**Last updated:** [November 22, 2008, 1:48am UTC](https://forum.kirupa.com/t/mvc-question/276076 "2008-11-22T01:48:31Z")

</div>

I'm just looking for some advice on implementing an MCV design pattern for a game I'm developing in AS3. Specifically I'm a little stuck on where I should be instantiating display objects from. I understand the model p…

---

## [Multi Dimensional Array](https://forum.kirupa.com/t/multi-dimensional-array/276075)

<div class="topic-metadata">

**Author:** [@tolgainam](https://forum.kirupa.com/u/tolgainam)\
**Replies:** 0\
**Last updated:** [November 22, 2008, 1:05am UTC](https://forum.kirupa.com/t/multi-dimensional-array/276075 "2008-11-22T01:05:20Z")

</div>

Hello I have the fallwoing code to create a multi-dimensioanl array to hold data but somehow it doesnt work. Any ideas ? Thanks function fnDofeatured() { var featured:Array = new Array(); var featuredRoot = \_root.data…

---

## [Stage focus problem](https://forum.kirupa.com/t/stage-focus-problem/276073)

<div class="topic-metadata">

**Author:** [@Mr\_Kikkoman](https://forum.kirupa.com/u/Mr_Kikkoman)\
**Replies:** 0\
**Last updated:** [November 22, 2008, 12:32am UTC](https://forum.kirupa.com/t/stage-focus-problem/276073 "2008-11-22T00:32:25Z")

</div>

Does anyone have a working solution for listening when the stage is deactivated and activated? Event.ACTIVATE & Event.DEACTIVATE is being used with EVENT.MOUSE\_LEAVE and MouseEvent.MOUSE\_MOVE to listen but it's a littl…

---

## [\[AS2 - CS3\] XML to Array processing help!](https://forum.kirupa.com/t/as2-cs3-xml-to-array-processing-help/276068)

<div class="topic-metadata">

**Author:** [@ci5ic](https://forum.kirupa.com/u/ci5ic)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 11:22pm UTC](https://forum.kirupa.com/t/as2-cs3-xml-to-array-processing-help/276068 "2008-11-21T23:22:18Z")

</div>

I've got a function that loads an XML file, and processes it into an array. Outside the function, if I trace for any of the contents of the array, it comes back undefined. What I've noticed is that the trace command is t…

---

## [Could someone explain this? :D](https://forum.kirupa.com/t/could-someone-explain-this-d/276065)

<div class="topic-metadata">

**Author:** [@saxx](https://forum.kirupa.com/u/saxx)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 10:38pm UTC](https://forum.kirupa.com/t/could-someone-explain-this-d/276065 "2008-11-21T22:38:08Z")

</div>

I have a blank MovieClip in the library with linkage myClip. var mc\_clip:myClip = new myClip(); addChild(mc\_clip) mc\_clip.myVar = "Hello there" mc\_clip.name = 'mc\_clip2' getChildByName('mc\_clip2').x = 20 //works …

---

## [Stuck between a rock and a combobox](https://forum.kirupa.com/t/stuck-between-a-rock-and-a-combobox/276061)

<div class="topic-metadata">

**Author:** [@hc3d](https://forum.kirupa.com/u/hc3d)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 9:09pm UTC](https://forum.kirupa.com/t/stuck-between-a-rock-and-a-combobox/276061 "2008-11-21T21:09:58Z")

</div>

I ran into a strange problem. I wanted to add a small preloader to each movie clip/page that loads in my main movie. The preloader wouldn’t show up until it was at 88-90%. After doing some reading found a post that sa…

---

## [Stopping random motion](https://forum.kirupa.com/t/stopping-random-motion/276057)

<div class="topic-metadata">

**Author:** [@imcabee](https://forum.kirupa.com/u/imcabee)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 8:48pm UTC](https://forum.kirupa.com/t/stopping-random-motion/276057 "2008-11-21T20:48:41Z")

</div>

I have a Flash intro with random buttons that randomly collide. When a button is clicked all of the buttons slide to the left. I want all of the buttons to stop moving after this slide. However after they slide they ke…

---

## [Resize flash menu -short term memory fizzle](https://forum.kirupa.com/t/resize-flash-menu-short-term-memory-fizzle/276056)

<div class="topic-metadata">

**Author:** [@madpixl](https://forum.kirupa.com/u/madpixl)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 8:37pm UTC](https://forum.kirupa.com/t/resize-flash-menu-short-term-memory-fizzle/276056 "2008-11-21T20:37:10Z")

</div>

I remember when I was a boy, say in Flash MX or something. I got the entire clip to resize and it would make the content in my html page resize. And it was bad. Now that I am a man with Flash CS3, and using Actionscri…

---

## [™ ® Embedding not working when served](https://forum.kirupa.com/t/embedding-not-working-when-served/276054)

<div class="topic-metadata">

**Author:** [@jjmorga](https://forum.kirupa.com/u/jjmorga)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 8:27pm UTC](https://forum.kirupa.com/t/embedding-not-working-when-served/276054 "2008-11-21T20:27:30Z")

</div>

Any thoughts, musing and wandering appreciated on this. The ™® are embedded, the font has these glyphs in its set, it works locally; but when its served online it shows "?" instead of "®"

---

## [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…

---

## [Open WLM chat window from silverlight](https://forum.kirupa.com/t/open-wlm-chat-window-from-silverlight/276032)

<div class="topic-metadata">

**Author:** [@chan5038](https://forum.kirupa.com/u/chan5038)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 2:49pm UTC](https://forum.kirupa.com/t/open-wlm-chat-window-from-silverlight/276032 "2008-11-21T14:49:23Z")

</div>

Hi, Can we open Windows Live Messenger chat window from silverlight? If yes please give me the solution? Thanks in Advance, Chan

---

## [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…

---

## [Need Info](https://forum.kirupa.com/t/need-info/276005)

<div class="topic-metadata">

**Author:** [@Wantabe](https://forum.kirupa.com/u/Wantabe)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 6:09am UTC](https://forum.kirupa.com/t/need-info/276005 "2008-11-21T06:09:11Z")

</div>

Please refer to my other thread! Thank you! Sorry!

---

## [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…

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

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